Initial commit
authorMart Lubbers <mart@martlubbers.net>
Wed, 7 Dec 2016 19:07:08 +0000 (20:07 +0100)
committerMart Lubbers <mart@martlubbers.net>
Wed, 7 Dec 2016 19:07:08 +0000 (20:07 +0100)
2016/.gitignore [new file with mode: 0644]
2016/Makefile [new file with mode: 0644]
2016/a.tex [new file with mode: 0644]
2016/preamble.tex [new file with mode: 0644]

diff --git a/2016/.gitignore b/2016/.gitignore
new file mode 100644 (file)
index 0000000..d835d4a
--- /dev/null
@@ -0,0 +1,4 @@
+*.aux
+*.fmt
+*.pdf
+*.log
diff --git a/2016/Makefile b/2016/Makefile
new file mode 100644 (file)
index 0000000..951ce18
--- /dev/null
@@ -0,0 +1,25 @@
+DOC:=a
+LATEX:=pdflatex
+BIBTEX:=bibtex
+LATEXFLAGS:=-file-line-error -halt-on-error -no-shell-escape
+
+TEXS:=$(wildcard *.tex)
+
+.PHONY: all
+.SECONDARY: $(DOC).fmt
+
+$(DOC).pdf:
+
+%.fmt: preamble.tex
+       $(LATEX) $(LATEXFLAGS) -ini -jobname="$(basename $@)" "&$(LATEX) $<\dump"
+
+%.pdf: %.mlog
+       grep -qiF 'rerun' $< && $(LATEX) $(LATEXFLAGS) $(basename $<) || true
+
+%.mlog: %.tex %.fmt $(TEXS)
+       $(LATEX) $(LATEXFLAGS) $<
+       grep -q '^\\bibdata{' $(basename $<).aux && $(BIBTEX) $(basename $<) || true
+       $(LATEX) $(LATEXFLAGS) $< | tee $@
+
+clean:
+       $(RM) $(addprefix $(DOC).,aux log fmt toc bbl blg out pdf mlog)
diff --git a/2016/a.tex b/2016/a.tex
new file mode 100644 (file)
index 0000000..db776d0
--- /dev/null
@@ -0,0 +1,19 @@
+%&a
+\begin{document}
+\begin{letter}{Goudkampsweg 11\\7637 PR Oud Ootmarsum}
+       \opening{Best Jorrit}
+
+       \begin{verse}
+               2016 was een bewogen jaar\\
+               Cohen, Prince, Bowie, Ali, Snape en natuurlijk Harambe\\
+               Voor velen was het erg zwaar\\
+               Zelfs zwarte piet ligt op de bres, iedereen wil PC
+       \end{verse}
+
+       \begin{verse}
+
+       \end{verse}
+
+       \closing{Groeten}
+\end{letter}
+\end{document}
diff --git a/2016/preamble.tex b/2016/preamble.tex
new file mode 100644 (file)
index 0000000..c6c5d8c
--- /dev/null
@@ -0,0 +1,7 @@
+\documentclass[a4paper]{letter}
+
+\usepackage[dutch]{babel}
+\usepackage{verse}
+
+\signature{Sinterklaas}
+\longindentation=0pt