From 8647bf18dc3244885683f283a07b7cb23729f30c Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Tue, 13 Feb 2024 12:35:31 +0100 Subject: render only html by default --- _quarto.yml | 35 ----------------------------------- _report.yml | 35 +++++++++++++++++++++++++++++++++++ code/index.qmd | 2 ++ graph/index.qmd | 2 -- graph/tools/index.qmd | 2 -- index.qmd | 2 -- learn/index.qmd | 2 ++ tools/index.qmd | 2 -- use/index.qmd | 2 ++ 9 files changed, 41 insertions(+), 43 deletions(-) create mode 100644 _report.yml 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 -- cgit v1.2.3