diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4c62f4c --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +buch.pdf diff --git a/build-pdf.sh b/build-pdf.sh new file mode 100755 index 0000000..6387a87 --- /dev/null +++ b/build-pdf.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +docker run --rm -v "$(pwd):/data" --user $(id -u):$(id -g) \ + fpod/pandoc-weasyprint \ + akt*/*.md \ + --pdf-engine=weasyprint \ + --css=/data/style.css \ + -o /data/buch.pdf diff --git a/style.css b/style.css new file mode 100644 index 0000000..ff2cc9e --- /dev/null +++ b/style.css @@ -0,0 +1,13 @@ +@page { + size: A5; + margin: 1.5cm; +} +body { + font-family: Arial, sans-serif; + font-size: 10pt; + line-height: 1.6; +} +h1 { + break-before: page; +} +