Skip to content

Commit 76ca5f7

Browse files
authored
build: 🔧 render to PDF (#163)
# Description Closes #157 This PR needs a quick review. ## Checklist - [x] Ran `just run-all`
1 parent 5b5c37b commit 76ca5f7

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

_quarto.yml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ book:
2727
search:
2828
location: navbar
2929
type: textbox
30+
downloads: [pdf]
3031
chapters:
3132
- index.qmd
3233
- part: "Sections"
@@ -42,8 +43,6 @@ book:
4243
appendices:
4344
- CONTRIBUTING.md
4445
- CHANGELOG.md
45-
- text: "License"
46-
href: LICENSE.md
4746
tools:
4847
- icon: github
4948
href: "https://github.com/onlimit-study/dmp"
@@ -57,6 +56,23 @@ format:
5756
onlimit-theme-html:
5857
theme:
5958
- brand
59+
pdf:
60+
include-in-header:
61+
text: |
62+
\usepackage{scrlayer-scrpage}
63+
\pagestyle{scrheadings}
64+
\clearpairofpagestyles
65+
\rohead*{\today}
66+
\cofoot*{\pagemark}
67+
\rofoot*{CC-BY 4.0}
68+
from: markdown+emoji
69+
fontsize: 11pt
70+
papersize: a4
71+
geometry:
72+
- top=2.5cm
73+
- bottom=2.5cm
74+
- left=2.5cm
75+
- right=2.5cm
6076

6177
editor:
6278
markdown:

0 commit comments

Comments
 (0)