pandoc 文档转换失败,错误 43:pdflatex:找不到内存转储文件 [英] pandoc document conversion failed with error 43 : pdflatex: The memory dump file could not be found

查看:133
本文介绍了pandoc 文档转换失败,错误 43:pdflatex:找不到内存转储文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

RStudio:0.98.994操作系统:Microsoft Windows 7 Ultimate Edition,64 位 Service Pack 1MiKTeX:2.9.4503

RStudio : 0.98.994 OS: Microsoft Windows 7 Ultimate Edition, 64-bit Service Pack 1 MiKTeX: 2.9.4503

当我尝试编织 PDF 文档时出现以下错误.

I get the following error when I try to knit a PDF document.

pandoc.exe:从 TeX 源生成 PDF 时出错.这是 pdfTeX,版本 3.1415926-1.40.11 (MiKTeX 2.9)pdflatex:找不到内存转储文件.pdflatex:数据:pdflatex.fmt

pandoc.exe: Error producing PDF from TeX source. This is pdfTeX, Version 3.1415926-1.40.11 (MiKTeX 2.9) pdflatex: The memory dump file could not be found. pdflatex: Data: pdflatex.fmt

推荐答案

我也尝试过 devtools::install_github('rstudio/rmarkdown') 但在添加 时仍然出现错误'fig.align='center' 到我文档中的 ggplot2 图.它可以作为 HTML 工作,但不能作为 PDF 工作.

I also tried devtools::install_github('rstudio/rmarkdown') but was still getting an error when I added 'fig.align='center' to a ggplot2 plot in my document. It would work as HTML, but not as PDF.

在看到 isomorphismes 的帖子后,我点击了 knit PDF 按钮旁边的齿轮符号,然后在高级选项卡下我将 LaTeX 引擎更改为 xelatex.之后,我不再收到错误消息,并且我的 PDF 文档创建没有问题.

After seeing isomorphismes's post I clicked on the gear symbol next to the knit PDF button, then under the advanced tab I changed the LaTeX Engine to xelatex. After that I no longer received the error message and my PDF document was created without problems.

谢谢.

这篇关于pandoc 文档转换失败,错误 43:pdflatex:找不到内存转储文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆