summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2024-02-13 12:35:31 +0100
committerJonas Smedegaard <dr@jones.dk>2024-02-13 13:48:29 +0100
commit8647bf18dc3244885683f283a07b7cb23729f30c (patch)
tree4fa8e64f2a46bea1b805af286cbdc36fcc939cbf
parent157c9a56e36a24cbbcb5930543d0bd36a8b3801e (diff)
render only html by default
-rw-r--r--_quarto.yml35
-rw-r--r--_report.yml35
-rw-r--r--code/index.qmd2
-rw-r--r--graph/index.qmd2
-rw-r--r--graph/tools/index.qmd2
-rw-r--r--index.qmd2
-rw-r--r--learn/index.qmd2
-rw-r--r--tools/index.qmd2
-rw-r--r--use/index.qmd2
9 files changed, 41 insertions, 43 deletions
diff --git a/_quarto.yml b/_quarto.yml
index 9063968..f3ccd3e 100644
--- a/_quarto.yml
+++ b/_quarto.yml
@@ -50,41 +50,6 @@ format:
dark: darkly
css: styles.css
toc: true
- pdf:
-# links-as-notes: true
- colorlinks: false
- pdf-engine: lualatex
- documentclass: scrreprt
- classoption:
- - DIV=calc
- csquotes: true
- papersize: a4
-# template-partials:
-# - title.tex
-
- 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 double space after punctuation
- - text: |
- \frenchspacing
-# setup graph visualization libraries
- - text: |
- \usepackage{tikz}
- \usetikzlibrary{arrows.meta,chains,positioning,shapes.geometric}
- \tikzset{
- node distance = 0.75cm and 2cm, font=\bfseries,
- >=stealth,
- vertex/.style={circle,draw,minimum size=1.5em}
- }
-
- \tikzstyle{bag} = [align=center]
# override colors otherwise inherited from html theme
mermaid:
diff --git a/_report.yml b/_report.yml
new file mode 100644
index 0000000..997f985
--- /dev/null
+++ b/_report.yml
@@ -0,0 +1,35 @@
+format:
+ pdf:
+# links-as-notes: true
+ colorlinks: false
+ pdf-engine: lualatex
+ documentclass: scrreprt
+ classoption:
+ - DIV=calc
+ csquotes: true
+ papersize: a4
+# template-partials:
+# - title.tex
+
+ 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 double space after punctuation
+ - text: |
+ \frenchspacing
+# setup graph visualization libraries
+ - text: |
+ \usepackage{tikz}
+ \usetikzlibrary{arrows.meta,chains,positioning,shapes.geometric}
+ \tikzset{
+ node distance = 0.75cm and 2cm, font=\bfseries,
+ >=stealth,
+ vertex/.style={circle,draw,minimum size=1.5em}
+ }
+ \tikzstyle{bag} = [align=center]
diff --git a/code/index.qmd b/code/index.qmd
index f5d8c46..4dc4350 100644
--- a/code/index.qmd
+++ b/code/index.qmd
@@ -7,9 +7,11 @@ subtitle: |
eksamensgruppe FIXME1234567890
metadata-files:
- _actors.yml
+ - ../_report.yml
- ../_draft.yml
format:
html: default
+ pdf: default
---
# Problemfelt
diff --git a/graph/index.qmd b/graph/index.qmd
index 4881723..466bd6b 100644
--- a/graph/index.qmd
+++ b/graph/index.qmd
@@ -1,6 +1,4 @@
---
-format:
- html: default
---
# Grafbaseret læring
diff --git a/graph/tools/index.qmd b/graph/tools/index.qmd
index 1997d7f..8d0155d 100644
--- a/graph/tools/index.qmd
+++ b/graph/tools/index.qmd
@@ -1,6 +1,4 @@
---
-format:
- html: default
---
## Grafredskaber
diff --git a/index.qmd b/index.qmd
index f88a113..b031998 100644
--- a/index.qmd
+++ b/index.qmd
@@ -1,6 +1,4 @@
---
-format:
- html: default
---
# Kommende leverancer
diff --git a/learn/index.qmd b/learn/index.qmd
index 649bc3c..cab317a 100644
--- a/learn/index.qmd
+++ b/learn/index.qmd
@@ -7,9 +7,11 @@ subtitle: |
eksamensgruppe FIXME1234567890
metadata-files:
- _actors.yml
+ - ../_report.yml
- ../_draft.yml
format:
html: default
+ pdf: default
---
# Problemfelt
diff --git a/tools/index.qmd b/tools/index.qmd
index e893786..7ffd5b3 100644
--- a/tools/index.qmd
+++ b/tools/index.qmd
@@ -1,6 +1,4 @@
---
-format:
- html: default
---
# Redskaber
diff --git a/use/index.qmd b/use/index.qmd
index 58de484..7e3fe80 100644
--- a/use/index.qmd
+++ b/use/index.qmd
@@ -7,9 +7,11 @@ subtitle: |
eksamensgruppe FIXME1234567890
metadata-files:
- _actors.yml
+ - ../_report.yml
- ../_draft.yml
format:
html: default
+ pdf: default
---
# Problemfelt