首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
社区首页 >问答首页 >RMD转换为PDF

RMD转换为PDF
EN

Stack Overflow用户
提问于 2016-09-12 08:13:02
回答 1查看 173关注 0票数 1

我正在尝试将RMD转换为PDF,但不断收到此错误

代码语言:javascript
代码运行次数:0
运行
复制
output file: hw1.knit.md

/Volumes/RStudio-0.99.893/RStudio.app/Contents/MacOS/pandoc/pandoc +RTS -K512m -RTS hw1.utf8.md --to latex --from markdown+autolink_bare_uris+ascii_identifiers+tex_math_single_backslash --output hw1.tex --template /Library/Frameworks/R.framework/Versions/3.2/Resources/library/rmarkdown/rmd/latex/default-1.15.2.tex --highlight-style tango --latex-engine /Library/TeX/texbin/xelatex --variable graphics=yes --variable 'geometry:margin=1in' 
/Volumes/RStudio-0.99.893/RStudio.app/Contents/MacOS/pandoc/pandoc +RTS -K512m -RTS hw1.utf8.md --to latex --from markdown+autolink_bare_uris+ascii_identifiers+tex_math_single_backslash --output hw1.pdf --template /Library/Frameworks/R.framework/Versions/3.2/Resources/library/rmarkdown/rmd/latex/default-1.15.2.tex --highlight-style tango --latex-engine /Library/TeX/texbin/xelatex --variable graphics=yes --variable 'geometry:margin=1in' 
! LaTeX Error: Command \end{enumerate} invalid in math mode.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
...                                              

l.206 \end{enumerate}

pandoc: Error producing PDF from TeX source
Error: pandoc document conversion failed with error 43

如果格式完美到一个html,但我需要一个PDF。我有TeX,并尝试了我在这里看到的各种修复程序,但都不起作用

EN

回答 1

Stack Overflow用户

发布于 2016-09-15 04:04:13

枚举应为

1. part of 2. a numbered list

* an un- * ordered list

你能把你的.Rmd的那部分发出来吗?

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/39441861

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档