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) --- ChangeLog.md | 4 ++++ structure/book/en/00-preamble.md | 1 - structure/book/pt-br/00-preamble.md | 4 +++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog.md b/ChangeLog.md index 57adace..b72c275 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,5 +1,9 @@ # ChangeLog +## v0.2.4 - 2024-10-06 + +* [x] Apply the previous `NULL` fix to the portuguese template. + ## v0.2.3 - 2024-10-06 * [x] Fix a `NULL` at the end of TOC in the PDF version. 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