From 8edac16879c7fbea64fefde0a1c71541c87b0b29 Mon Sep 17 00:00:00 2001 From: Raphael Weniger Date: Fri, 14 May 2021 10:50:13 +0200 Subject: [PATCH] added yaml-config file for pandoc and put the resulting pdf files in .gitignore --- .gitignore | 2 ++ README.md | 6 ++++-- statutes.yaml | 13 +++++++++++++ 3 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 .gitignore create mode 100644 statutes.yaml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d57ead6 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +hacc_eV_Satzung_en.pdf +hacc_eV_Satzung.pdf diff --git a/README.md b/README.md index 93f2ae5..d5f2688 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ -To get a pdf file out of the mark down file use pandoc: +To get a pdf file out of the mark down file use pandoc like: - pandoc hacc_eV_Satzung.md -o hacc_eV_Satzung.odt + pandoc -d statutes.yaml hacc_eV_Satzung.md -o hacc_eV_Satzung.pdf + +You will need tex live with open sans fonts. diff --git a/statutes.yaml b/statutes.yaml new file mode 100644 index 0000000..8858cd5 --- /dev/null +++ b/statutes.yaml @@ -0,0 +1,13 @@ +variables: + documentclass: article + papersize: a4 + geometry: + - top=30mm + - bottom=30mm + - left=25mm + - right=25mm + - heightrounded + fontfamily: opensans + fontfamilyoptions: + - default + fontsize: 11pt