From 4925cae0d29338347a67458a47bb2afca878a71a Mon Sep 17 00:00:00 2001 From: Mart Lubbers Date: Wed, 7 Dec 2016 20:07:08 +0100 Subject: [PATCH] Initial commit --- 2016/.gitignore | 4 ++++ 2016/Makefile | 25 +++++++++++++++++++++++++ 2016/a.tex | 19 +++++++++++++++++++ 2016/preamble.tex | 7 +++++++ 4 files changed, 55 insertions(+) create mode 100644 2016/.gitignore create mode 100644 2016/Makefile create mode 100644 2016/a.tex create mode 100644 2016/preamble.tex diff --git a/2016/.gitignore b/2016/.gitignore new file mode 100644 index 0000000..d835d4a --- /dev/null +++ b/2016/.gitignore @@ -0,0 +1,4 @@ +*.aux +*.fmt +*.pdf +*.log diff --git a/2016/Makefile b/2016/Makefile new file mode 100644 index 0000000..951ce18 --- /dev/null +++ b/2016/Makefile @@ -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 index 0000000..db776d0 --- /dev/null +++ b/2016/a.tex @@ -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 index 0000000..c6c5d8c --- /dev/null +++ b/2016/preamble.tex @@ -0,0 +1,7 @@ +\documentclass[a4paper]{letter} + +\usepackage[dutch]{babel} +\usepackage{verse} + +\signature{Sinterklaas} +\longindentation=0pt -- 2.20.1