Quantcast
Channel: Cross-referencing not working in rmarkdown beamer presentation - Stack Overflow
Viewing all articles
Browse latest Browse all 2

Cross-referencing not working in rmarkdown beamer presentation

$
0
0

I would like to link section headers in a beamer_presentation via Rmarkdown (ie., creating cross-references or Pandoc's internal links). For example, I would like to have a link such as "see 'introduction'", by clicking this link, the presentation should jump to slide with the title 'introduction'.

I have tried this code:

---output: beamer_presentation---## TOC- [Important](#Important)- [More](#More)- [Stuff](#stuff)## Importantjklödfs## Moresdfjkls## stuff {#stuff}

However, the expected behavior does not show up. Instead, if the link is clicked, the first pages is shown (but not the respective slide).


SessionInfo:

pandoc 1.19.1

R version 3.4.0 (2017-04-21)Platform: x86_64-apple-darwin15.6.0 (64-bit)Running under: macOS Sierra 10.12.5

Matrix products: defaultBLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylibLAPACK: /Library/Frameworks/R.framework/Versions/3.4/Resources/lib/libRlapack.dylib

locale:[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:[1] stats graphics grDevices utils datasets methods base

loaded via a namespace (and not attached): [1] compiler_3.4.0 backports_1.1.0 magrittr_1.5 rsconnect_0.8 rprojroot_1.2 htmltools_0.3.6 tools_3.4.0 yaml_2.1.14 Rcpp_0.12.11
[10] stringi_1.1.5 rmarkdown_1.5 knitr_1.16 stringr_1.2.0 digest_0.6.12 evaluate_0.10


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images