![是否可以将文件附加到投影仪演示文稿?](https://linux22.com/image/418080/%E6%98%AF%E5%90%A6%E5%8F%AF%E4%BB%A5%E5%B0%86%E6%96%87%E4%BB%B6%E9%99%84%E5%8A%A0%E5%88%B0%E6%8A%95%E5%BD%B1%E4%BB%AA%E6%BC%94%E7%A4%BA%E6%96%87%E7%A8%BF%EF%BC%9F%20.png)
我熟悉 navigator 软件包,它在处理长文档时非常完美。但是,我最近想将文件附加到 beamer 演示文稿中。
我没使用 LaTex,而是使用 rmarkdown 来创建 beamer 演示文稿,使用beamer_presentation
输出选项和xelatex
渲染选项。添加 header-includes 时,navigator 似乎不起作用:
\usepackage{navigator}
\embeddedfile{2020-reuniao}{2020-reuniao.Rmd}
没有给出错误或警告,生成的文件没有嵌入2020-reuniao.Rmd
文件。
- 如何使用 rmarkdown 在 beamer 演示文稿中嵌入文件?
R version 3.6.3 (2020-02-29)
Platform: x86_64-solus-linux-gnu (64-bit)
Running under: Solus 4.1 Fortitude
Matrix products: default
BLAS/LAPACK: /usr/lib64/haswell/libopenblas_haswellp-r0.3.9.so
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=pt_BR.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=pt_BR.UTF-8 LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=pt_BR.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=pt_BR.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] forcats_0.5.0 stringr_1.4.0 dplyr_1.0.2
[4] purrr_0.3.4 readr_1.4.0 tidyr_1.1.2
[7] tibble_3.0.4 tidyverse_1.3.0 ggplot2_3.3.2
[10] naniar_0.6.0 visdat_0.5.3 here_0.1
[13] summarytools_0.9.6 ProjectTemplate_0.9.2
loaded via a namespace (and not attached):
[1] Rcpp_1.0.5 lubridate_1.7.9 assertthat_0.2.1 rprojroot_1.3-2
[5] digest_0.6.27 R6_2.5.0 cellranger_1.1.0 plyr_1.8.6
[9] backports_1.2.0 reprex_0.3.0 evaluate_0.14 httr_1.4.2
[13] pillar_1.4.6 rlang_0.4.8 readxl_1.3.1 rstudioapi_0.11
[17] magick_2.5.2 checkmate_2.0.0 rmarkdown_2.5 labeling_0.4.2
[21] pander_0.6.3 munsell_0.5.0 broom_0.7.2 compiler_3.6.3
[25] modelr_0.1.8 xfun_0.19 pkgconfig_2.0.3 base64enc_0.1-3
[29] htmltools_0.5.0 tcltk_3.6.3 tidyselect_1.1.0 codetools_0.2-16
[33] matrixStats_0.57.0 fansi_0.4.1 crayon_1.3.4 dbplyr_2.0.0
[37] withr_2.3.0 grid_3.6.3 jsonlite_1.7.1 gtable_0.3.0
[41] lifecycle_0.2.0 DBI_1.1.0 magrittr_1.5 scales_1.1.1
[45] cli_2.1.0 stringi_1.5.3 farver_2.0.3 pryr_0.1.4
[49] fs_1.5.0 xml2_1.3.2 ellipsis_0.3.1 rapportools_1.0
[53] generics_0.1.0 vctrs_0.3.4 tools_3.6.3 glue_1.4.2
[57] hms_0.5.3 yaml_2.2.1 colorspace_1.4-1 rvest_0.3.6
[61] knitr_1.30 haven_2.3.1