diff --git a/password_paper/.gitignore b/password_paper/.gitignore new file mode 100644 index 00000000..ec1b91c9 --- /dev/null +++ b/password_paper/.gitignore @@ -0,0 +1,7 @@ +missfont.log +pass.aux +pass.fdb_latexmk +pass.fls +pass.log +pass.out +teams.pass diff --git a/password_paper/Makefile b/password_paper/Makefile new file mode 100644 index 00000000..8383eada --- /dev/null +++ b/password_paper/Makefile @@ -0,0 +1,12 @@ +all: pass.pdf + +.sh.tex: + sh $< < teams.pass > $@ + +.tex.pdf: + latexmk --xelatex ${.IMPSRC} + +clean: + latexmk -c + +.SUFFIXES: .sh .tex .pdf diff --git a/password_paper/README.md b/password_paper/README.md new file mode 100644 index 00000000..80f31c7c --- /dev/null +++ b/password_paper/README.md @@ -0,0 +1,42 @@ +Password Paper +============== + +These scripts generate A4 sheets filled with 2x5 + + +## Requirements + +Those scripts requires XeLaTeX and the `texlive-fonts-extra` package. + +It uses the TexLive +[dingbat package](http://www.ctan.org/tex-archive/fonts/dingbat/). + +The fonts used come from the +[Libertine open fonts project](http://linuxlibertine.org/) and +[Fantasque Sans Mono](https://github.com/belluzj/fantasque-sans). + + +## Usage + +First, you need to generate the file containing teams and passwords. + + +### Password file format + +Passwords are given through a DSV file, using `:` as separator. + +For example, a valid `teams.pass` file with 6 teams could be: + +``` +Abricot:hie9iJ