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/en/00-preamble.md | 1 - structure/book/pt-br/00-preamble.md | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'structure') diff --git a/structure/book/en/00-preamble.md b/structure/book/en/00-preamble.md index 4c15c09..cc6a3cb 100644 --- a/structure/book/en/00-preamble.md +++ b/structure/book/en/00-preamble.md @@ -58,7 +58,6 @@ 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('') 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