aboutsummaryrefslogtreecommitdiff
path: root/structure/book/pt-br/00-preamble.md
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-10-06 20:43:47 -0300
committerSilvio Rhatto <rhatto@riseup.net>2024-10-06 20:43:47 -0300
commit92b9b197cb9f31321069df081393f8e0791d829c (patch)
treed5a0d8b73e6b749f1852b0ec4d7b0a7b11d7459e /structure/book/pt-br/00-preamble.md
parentf1a14aebedceddece373dde4fb9ee1a542f1d970 (diff)
downloadbookup-0.2.4.tar.gz
bookup-0.2.4.tar.bz2
Fix: NULL at the end of the PDF TOC (2)0.2.4
Diffstat (limited to 'structure/book/pt-br/00-preamble.md')
-rw-r--r--structure/book/pt-br/00-preamble.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/structure/book/pt-br/00-preamble.md b/structure/book/pt-br/00-preamble.md
index b1a24e5..367686d 100644
--- a/structure/book/pt-br/00-preamble.md
+++ b/structure/book/pt-br/00-preamble.md
@@ -58,6 +58,8 @@ if (knitr::is_html_output()) {
<!-- Sample block for the LaTeX 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('')
}
```