【发布时间】:2019-11-03 06:43:15
【问题描述】:
我有一个 beamer rmarkdown 文件,用于准备 PDF 演示文稿作为教材。但是,当我单击 knit with pdf 时,输出显示在 html 文档中,而不是 beamer_presentation (pdf)。我的 yaml 是:
提前感谢大家。
早些时候它编织得很好,但一段时间后它开始出现这个问题,我在各个论坛上检查了所有“帮助”,但问题仍然存在。我什至安装了tinyverse并安装/删除了MikTex并重新启动系统以解决问题。
---
title: "Mathematics for Finance"
author:
- Dr. XXXX
institute:
- YYYY
date: "June-July 2019"
output:
beamer_presentation:
incremental: false
theme: "AnnArbor"
colortheme: "wolverine"
fonttheme: "structuresmallcapsserif"
toc: true
slide_level: 2
fig_width: 5
fig_height: 4
fig_caption: true
highlight: tango
link-citations: yes
urlcolor: red
linkcolor: red
citecolor: blue
---
没有显示错误信息,只是执行了HTM文档太空白!
"C:/Users/Kulbirs/ANACON~1/envs/rstudio/Scripts/pandoc" +RTS -K512m -RTS beamertest1.utf8.md --to html4 --from markdown+autolink_bare_uris+ascii_identifiers+tex_math_single_backslash+smart --output beamertest1.html --email-obfuscation none --self-contained --standalone --section-divs --template "C:\Users\Kulbirs\Documents\R\win-library\3.6\rmarkdown\rmd\ h\default.html" --no-highlight --variable highlightjs=1 --variable "theme:bootstrap" --include-in-header "C:\Users\Kulbirs\AppData\Local\Temp\RtmpgnjFVR\rmarkdown- str56854a3563d.html" --mathjax --variable "mathjax-url:https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" --metadata pagetitle=beamertest1.utf8.md
创建的输出:beamertest1.html
【问题讨论】:
标签: r latex r-markdown beamer