Skip to content

Commit efbd2ba

Browse files
committed
Reader mode
1 parent 1b93823 commit efbd2ba

1 file changed

Lines changed: 25 additions & 22 deletions

File tree

docs/_quarto.yml

Lines changed: 25 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ book:
4646
location: sidebar # navbar, sidebar
4747
#type: textbox # overlay, textbox
4848

49+
reader-mode: true
50+
4951
#navbar:
5052
# right:
5153
# - href: exercises/index.qmd
@@ -224,10 +226,29 @@ format:
224226
# gtag('config', 'G-....');
225227
# </script>
226228

227-
# THIS IS NOT WORKING YET ON GITHUB ACTIONS
228-
#pdf:
229-
# documentclass: scrreprt
230-
#
229+
pdf:
230+
231+
# use XeLaTeX or LuaLaTeX so fontspec works:
232+
latex-engine: xelatex
233+
234+
mainfont: "Source Sans 3" # "Merriweather"
235+
sansfont: "Source Sans 3" # "Helvetica Neue"
236+
monofont: "Menlo"
237+
#fontsize: 11pt
238+
#linestretch: 1.2
239+
240+
includes:
241+
in-header: _pdf_styles.tex
242+
243+
#geometry:
244+
# - showframe
245+
246+
247+
248+
249+
250+
251+
231252
#epub:
232253
# toc: true # include a table of contents
233254
# cover-image: images/predictive-modeling-book-banner.png
@@ -245,21 +266,3 @@ format:
245266
# toc: true # include a table of contents
246267
# toc-depth: 2 # control depth of table of contents
247268
# embed-fonts: true # embed fonts in the DOCX
248-
249-
250-
pdf:
251-
252-
# use XeLaTeX or LuaLaTeX so fontspec works:
253-
latex-engine: xelatex
254-
255-
mainfont: "Source Sans 3" # "Merriweather"
256-
sansfont: "Source Sans 3" # "Helvetica Neue"
257-
monofont: "Menlo"
258-
#fontsize: 11pt
259-
#linestretch: 1.2
260-
261-
includes:
262-
in-header: _pdf_styles.tex
263-
264-
#PrettyPDF-pdf:
265-
# keep-tex: true

0 commit comments

Comments
 (0)