aboutsummaryrefslogtreecommitdiff
path: root/structure/book/en/00-preamble.md
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-10-06 20:34:40 -0300
committerSilvio Rhatto <rhatto@riseup.net>2024-10-06 20:34:40 -0300
commitf1a14aebedceddece373dde4fb9ee1a542f1d970 (patch)
tree0bb0b73b12a067557b50f479e2c7a60749858490 /structure/book/en/00-preamble.md
parentfafa6142de97388b3d70d959f69a4ffecb4333ba (diff)
downloadbookup-f1a14aebedceddece373dde4fb9ee1a542f1d970.tar.gz
bookup-f1a14aebedceddece373dde4fb9ee1a542f1d970.tar.bz2
Fix: NULL at the end of the PDF TOC0.2.3
Diffstat (limited to 'structure/book/en/00-preamble.md')
-rw-r--r--structure/book/en/00-preamble.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/structure/book/en/00-preamble.md b/structure/book/en/00-preamble.md
index 8746e47..4c15c09 100644
--- a/structure/book/en/00-preamble.md
+++ b/structure/book/en/00-preamble.md
@@ -59,5 +59,8 @@ if (knitr::is_html_output()) {
```{r echo=FALSE, results='asis'}
if (knitr::is_latex_output()) {
# Your code here
+ # By default, it outputs nothing.
+ # An empty code block would return the string 'NULL' to LaTeX, which would then be printed.
+ cat('')
}
```