summaryrefslogtreecommitdiff
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
parentcd129029b2ba9edf4c31db7076574bf998ca4a73 (diff)
render issue as PDF
-rw-r--r--_issue.yml25
-rw-r--r--_quarto.yml14
-rw-r--r--nummer1/_metadata.qmd5
-rw-r--r--nummer1/nummer1.qmd51
4 files changed, 95 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
diff --git a/_quarto.yml b/_quarto.yml
index 0729349..d1a81c1 100644
--- a/_quarto.yml
+++ b/_quarto.yml
@@ -26,6 +26,17 @@ title-block-banner: false
callout-appearance: simple
+# tell latex where to locate images
+resource-path:
+ - nummer1/leder
+ - nummer1/biodiversitet
+ - nummer1/energi
+ - nummer1/forsamlingshuset
+ - nummer1/tilflytter
+ - nummer1/trampestier
+ - nummer1/vand
+ - nummer1/fritid
+
format:
html:
default-image-extension: svg
@@ -34,3 +45,6 @@ format:
dark: slate
# css: styles.css
# toc: true
+
+resources:
+ - nummer1/nummer1.pdf
diff --git a/nummer1/_metadata.qmd b/nummer1/_metadata.qmd
new file mode 100644
index 0000000..49d4ec6
--- /dev/null
+++ b/nummer1/_metadata.qmd
@@ -0,0 +1,5 @@
+---
+title: Orø Posten
+subtitle: Første nummer
+date: 2023-02-11
+---
diff --git a/nummer1/nummer1.qmd b/nummer1/nummer1.qmd
new file mode 100644
index 0000000..1f1124d
--- /dev/null
+++ b/nummer1/nummer1.qmd
@@ -0,0 +1,51 @@
+---
+title: Orøposten
+subtitle: Første nummer
+date: 2024-02-11
+metadata-files:
+ - ../_issue.yml
+format:
+ pdf: default
+---
+
+# Orø Posten
+
+## Vores nye netavis?
+
+{{< include leder/index.qmd >}}
+
+# Biologisk mangfoldighed på Orø Fællesjord
+
+{{< include biodiversitet/index.qmd >}}
+
+# Bæredygtig energi på Orø
+
+## Nye muligheder for lokalsamfundet
+
+{{< include energi/index.qmd >}}
+
+# Orø Kultur- og Forsamlingshus
+
+## Foreningernes ø
+
+{{< include forsamlingshuset/index.qmd >}}
+
+# Fem år på Orø
+
+{{< include tilflytter/index.qmd >}}
+
+# Trampestierne på Orø
+
+{{< include trampestier/index.qmd >}}
+
+# Fra jord til bord
+
+## Drikkevand -- kommer det ikke bare ud af vandhanen? Vandforsyning på Orø
+
+{{< include vand/index.qmd >}}
+
+# Fritidsaktiviteter for børn og unge på Orø
+
+{{< include fritid/index.qmd >}}
+
+{{< include _metadata.qmd >}}