summaryrefslogtreecommitdiff
path: root/_issue.yml
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2024-02-09 00:23:14 +0100
committerJonas Smedegaard <dr@jones.dk>2024-02-09 00:23:14 +0100
commit521dc75ecce66ef2473cf8c6109a85ccd4029503 (patch)
treea133e4f73ff51b3c8593b0787c5bc2fe1ee03841 /_issue.yml
parentcd129029b2ba9edf4c31db7076574bf998ca4a73 (diff)
render issue as PDF
Diffstat (limited to '_issue.yml')
-rw-r--r--_issue.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/_issue.yml b/_issue.yml
new file mode 100644
index 0000000..cdaa213
--- /dev/null
+++ b/_issue.yml
@@ -0,0 +1,25 @@
+format:
+ html: default
+ pdf:
+# links-as-notes: true
+ colorlinks: false
+ pdf-engine: lualatex
+ documentclass: scrreprt
+ classoption:
+ - DIV=calc
+ csquotes: true
+ papersize: a4
+# extract-media: img
+
+ include-in-header:
+# recalculate page margins, since mainfont was set after documentclass
+ - text: |
+ \KOMAoptions{DIV=last}
+# avoid widow or orphan lines
+ - text: |
+ \usepackage[defaultlines=4,all]{nowidow}
+
+ include-before-content:
+# avoid english style of added space after punctuation
+ - text: |
+ \frenchspacing