楼主: xkdog
6979 4

[问答] win10下用riticles包knit中文pdf时报错,似乎是LaTex默认引擎的问题? [推广有奖]

  • 7关注
  • 21粉丝

教师

已卖:2409份资源

副教授

67%

还不是VIP/贵宾

-

威望
0
论坛币
9731 个
通用积分
29.3654
学术水平
56 点
热心指数
57 点
信用等级
30 点
经验
27071 点
帖子
565
精华
0
在线时间
979 小时
注册时间
2005-11-27
最后登录
2024-11-26

楼主
xkdog 发表于 2016-1-19 23:28:46 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币

我用的window 10系统,装了ctex 2.9.2+r 3.2.3+ rstudio 最新版(1512月版)。但是装了rticles这个包后,按默认的中文rmarkdown文档,试图生成中文的pdf,仍然出现错误,错误提示如下,不知是什么原因?在Rstudiosweave选项里已经把默认引擎改为XeLaTex


  1. pandoc.exe:Error producing PDF from TeX source
  2. 错误: pandoc documentconversion failed with error 43
  3. 此外: Warning message:
  4. 运行命令'”C:/ProgramFiles/RStudio/bin/pandoc/pandoc” +RTS -K512m -RTS 11.utf8.md –to latex –frommarkdown+autolink_bare_uris+ascii_identifiers+tex_math_single_backslash –output11.pdf –table-of-contents –toc-depth 2 –template“C:\Users\Kahn\Documents\R\win-library\3.2\rticles\rmarkdown\templates\ctex\resources\default.latex”–number-sections –highlight-style tango –latex-engine xelatex’的状态是43
  5. 停止执行
复制代码


不过,我注意到同样使用这个包,生成英文的pdf是不成问题的,但是看它的提示,似乎仍是使用pdfLaTex引擎生成,具体如下:


  1. “C:/ProgramFiles/RStudio/bin/pandoc/pandoc” +RTS -K512m -RTS Untitled.utf8.md –to latex –frommarkdown+autolink_bare_uris+ascii_identifiers+tex_math_single_backslash-implicit_figures–output Untitled.tex –template“C:\Users\Kahn\Documents\R\win-library\3.2\rticles\rmarkdown\templates\rjournal_article\resources\template.tex”–highlight-style tango –latex-engine pdflatex
  2. outputfile: Untitled.knit.md
复制代码


不知道我应当调整哪块的设置?谢谢!


二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:win10 LaTeX Late atex LAT producing message window failed source

沙发
xkdog 发表于 2016-1-20 18:30:48
另外,在win 7 + Texlive 2014模式下,可以正确生成中文pdf。不知道这是win 10的问题,还是我装的ctex的问题?

藤椅
ygxiao 发表于 2016-5-24 22:19:50
求问最后是怎么解决的?

板凳
mfz199 发表于 2017-9-29 20:02:45
ygxiao 发表于 2016-5-24 22:19
求问最后是怎么解决的?
试试这个办法 http://mp.weixin.qq.com/s/Im8weCdH8-kAobQtH4iJAQ

报纸
mfz199 发表于 2017-9-29 20:02:47
ygxiao 发表于 2016-5-24 22:19
求问最后是怎么解决的?
试试这个办法 http://mp.weixin.qq.com/s/Im8weCdH8-kAobQtH4iJAQ

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2025-12-31 00:02