diff options
Diffstat (limited to 'annual')
-rw-r--r-- | annual/2024/motions/Makefile | 11 | ||||
-rw-r--r-- | annual/2024/motions/drop.sed | 4 | ||||
-rw-r--r-- | annual/2024/motions/options.tex | 1 |
3 files changed, 16 insertions, 0 deletions
diff --git a/annual/2024/motions/Makefile b/annual/2024/motions/Makefile new file mode 100644 index 0000000..244dbc8 --- /dev/null +++ b/annual/2024/motions/Makefile @@ -0,0 +1,11 @@ +YL = $(basename $(wildcard *.yml)) + +all: $(addsuffix .pdf, $(YL)) + +PD = \ + -N -s -f markdown -t latex -H ../head.tex \ + -V classoption=a4paper + +$(addsuffix .pdf, $(YL)): %.pdf: %.yml %.md + cat < $*.md | sed -f ../pre.sed | sed -f drop.sed | \ + pandoc $(PD) --metadata-file=$*.yml -o $@ diff --git a/annual/2024/motions/drop.sed b/annual/2024/motions/drop.sed new file mode 100644 index 0000000..b4c87bb --- /dev/null +++ b/annual/2024/motions/drop.sed @@ -0,0 +1,4 @@ + +s/^.*DROP.*$/`{\\color{red!50!black}`{=latex}/ +s/^.*ADD.*$/`{\\color{green!33!black}`{=latex}/ +s/^.*END.*$/`}`{=latex}/ diff --git a/annual/2024/motions/options.tex b/annual/2024/motions/options.tex new file mode 100644 index 0000000..4bdf68e --- /dev/null +++ b/annual/2024/motions/options.tex @@ -0,0 +1 @@ +\PassOptionsToPackage{svgnames}{xcolor} |