From 92b9b197cb9f31321069df081393f8e0791d829c Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 6 Oct 2024 20:43:47 -0300 Subject: Fix: NULL at the end of the PDF TOC (2) --- structure/book/pt-br/00-preamble.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'structure/book/pt-br') 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()) { ```{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('') } ``` -- cgit v1.2.3