【问题标题】:In RStudio using bookdown, I am unable to compile a PDF version of my book. I get an error message "mathspec.sty" file not found在使用 bookdown 的 RStudio 中,我无法编译我的书的 PDF 版本。我收到一条错误消息“mathspec.sty”文件未找到
【发布时间】:2019-08-22 21:55:16
【问题描述】:

在使用 bookdown 的 RStudio (Windows 10) 中,我无法编译我的书的 PDF 版本。我收到一条错误消息“mathspec.sty”文件未找到。我将它安装在我的 MikTex 文件夹中,但错误仍然存​​在。如何解决这个问题?

然后,我尝试编译为 pdfdocument。现在,我从 Latex 收到错误,因为 bookdown 无法链接到我的 preamble.tex 文件。如何使 preamble.tex 可见?

【问题讨论】:

  • 您是如何安装的?您是否使用 MikTeX 工具安装附加包?

标签: pdf latex bookdown


【解决方案1】:

我在 output.yml 配置文件中将 latex _engine 更改为 pdflatex。这解决了我的问题,尽管我仍然想知道如何使用 xelatex(即在哪里包含 mathspec.sty 文件)。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2021-08-10
    • 2018-05-23
    • 1970-01-01
    • 2022-06-16
    • 1970-01-01
    • 2020-07-08
    • 1970-01-01
    相关资源
    最近更新 更多