Hi,
I am starting using rmarkdown
and bookdown
now, and I'm having problem rendering a presentation using bookdown::ioslides_presentation2
.
Here, I include a html_document2
example working perfectly:
---
title: "title"
author: "gilberto"
date: "06/10/2021"
output: bookdown::html_document2
---
# welcome
## section 1
Definition \@ref(def:label).
::: {.definition name="Name" #label}
This is a definition.
:::
And here a example where the cross-reference is not working for
---
title: "title"
author: "gilberto"
date: "06/10/2021"
output: bookdown::ioslides_presentation2
---
# welcome
## section 1
Definition \@ref(def:label).
::: {.definition name="Name" #label}
This is a definition.
:::
Output of my xfun::session_info("bookdown")
:
R version 4.1.1 (2021-08-10)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Garuda Linux
Locale:
LC_CTYPE=pt_BR.UTF-8 LC_NUMERIC=C LC_TIME=pt_BR.UTF-8
LC_COLLATE=pt_BR.UTF-8 LC_MONETARY=pt_BR.UTF-8 LC_MESSAGES=pt_BR.UTF-8
LC_PAPER=pt_BR.UTF-8 LC_NAME=C LC_ADDRESS=C
LC_TELEPHONE=C LC_MEASUREMENT=pt_BR.UTF-8 LC_IDENTIFICATION=C
Package version:
base64enc_0.1.3 bookdown_0.24.1 digest_0.6.28 evaluate_0.14 fastmap_1.1.0 glue_1.4.2
graphics_4.1.1 grDevices_4.1.1 highr_0.9 htmltools_0.5.2 jquerylib_0.1.4 jsonlite_1.7.2
knitr_1.36 magrittr_2.0.1 methods_4.1.1 rlang_0.4.11 rmarkdown_2.11 stats_4.1.1
stringi_1.7.5 stringr_1.4.0 tinytex_0.34 tools_4.1.1 utils_4.1.1 xfun_0.26
yaml_2.2.1
In the following figure, I show the output in my machine: