在rmarkdown演示文稿中使用latex会失败

我有一些Latex幻灯片,我想放在一个rmarkdown beamer演示文稿中,例如

---
title: "Untitled"
author: "Me"
date: "8 November 2017"
output: beamer_presentation
---

```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
```

section{First section}

begin{frame}{List 1}
begin{itemize}
item Point A
item Point B
item Point C
end{itemize}
end{frame}

这会返回一个错误:

“C:/ Program Files / RStudio / bin / pandoc / pandoc”+ RTS -K512m -RTS presentation3.utf8.md --to beamer - from markdown + autolink_bare_uris + ascii_identifiers + tex_math_single_backslash --output presentation3.pdf --highlight- style tango --latex-engine pdflatex输出文件:presentation3.knit.md

! 缺少 endgroup插入。 endgroup l.85 end {frame}

pandoc.exe:生成PDF Fehler时出错:pandoc文档转换失败,错误43Zusätzlich:Warnmeldung:Ausführungvon Kommando'“C:/ Program Files / RStudio / bin / pandoc / pandoc”+ RTS -K512m -RTS presentation3.utf8.md --to beamer - from markdown + autolink_bare_uris + ascii_identifiers + tex_math_single_backslash --output presentation3.pdf - 高亮风格的探戈--latex-engine pdflatex'ergab状态43Ausführungangehalten

如何解决这个问题?

链接地址: http://www.djcxy.com/p/33481.html

上一篇: Use latex in rmarkdown presentation fails

下一篇: Remove print of chunk labels and progress bar in Rmarkdown