- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在尝试将我的 .Rmd 文档编织为 pdf。我已经尝试安装 tinytex
并分开 miktex
分配,但都没有帮助。当我编译一个 .Rmd 文件时,我仍然得到:
"C:/Program Files/RStudio/bin/pandoc/pandoc" +RTS -K512m -RTS file-R-20200512.utf8.md --to beamer --from markdown+autolink_bare_uris+tex_math_single_backslash --output file-R-20200512.tex --highlight-style tango --pdf-engine pdflatex --self-contained
This is pdfTeX, Version 3.14159265-2.6-1.40.21 (MiKTeX 2.9.7400 64-bit)
entering extended mode
Sorry, but C:\Users\my_username~1\MIKTEX~1.9\miktex\bin\x64\pdflatex.exe did not succeed.
The log file hopefully contains the information to get MiKTeX going again:
C:\Users\my_username\AppData\Local\MiKTeX\2.9\miktex\log\pdflatex.log
I was unable to find any missing LaTeX packages from the error log file-R-20200512.log.
This is pdfTeX, Version 3.14159265-2.6-1.40.21 (MiKTeX 2.9.7400 64-bit)
entering extended mode
Sorry, but C:\Users\my_username~1\MIKTEX~1.9\miktex\bin\x64\pdflatex.exe did not succeed.
The log file hopefully contains the information to get MiKTeX going again:
C:\Users\my_username\AppData\Local\MiKTeX\2.9\miktex\log\pdflatex.log
I was unable to find any missing LaTeX packages from the error log file-R-20200512.log.
Error: LaTeX failed to compile file-R-20200512.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips.
In addition: Warning messages:
1: In readLines(log) :
incomplete final line found on 'file-R-20200512.log'
2: In readLines(log) :
incomplete final line found on 'file-R-20200512.log'
3: In readLines(log) :
incomplete final line found on 'file-R-20200512.log'
Execution halted
2020-05-06 16:01:18,180+0200 INFO pdflatex - this process (38856) started by 'Rterm' with command line: C:\Users\my_username~1\MIKTEX~1.9\miktex\bin\x64\pdflatex.exe -halt-on-error -interaction=batchmode file-R-20200512.tex
2020-05-06 16:01:18,191+0200 INFO pdflatex - allowing known shell commands
2020-05-06 16:01:18,192+0200 INFO pdflatex - enabling input (output) from (to) processes
2020-05-06 16:01:18,325+0200 INFO pdflatex - going to create file: pdflatex.fmt
2020-05-06 16:01:18,367+0200 INFO pdflatex.core - start process: initexmf --dump-by-name=pdflatex --engine=pdftex
2020-05-06 16:01:30,553+0200 FATAL pdflatex.core - GUI framework cannot be initialized.
2020-05-06 16:01:30,553+0200 FATAL pdflatex.core - Data:
2020-05-06 16:01:30,558+0200 FATAL pdflatex.core - Source: Libraries\MiKTeX\UI\Qt\mikuiqt.cpp:77
2020-05-06 16:01:30,558+0200 FATAL pdflatex - GUI framework cannot be initialized.
2020-05-06 16:01:30,558+0200 FATAL pdflatex - Info:
2020-05-06 16:01:30,559+0200 FATAL pdflatex - Source: Libraries\MiKTeX\UI\Qt\mikuiqt.cpp
2020-05-06 16:01:30,559+0200 FATAL pdflatex - Line: 77
2020-05-06 16:01:30,559+0200 INFO pdflatex - this process (38856) finishes with exit code 1
2020-05-06 16:01:30,559+0200 ERROR miktex.core - still open: file-R-20200512.tex
2020-05-06 16:01:30,559+0200 ERROR miktex.core - still open: file-R-20200512.log
2020-05-06 16:01:34,677+0200 INFO pdflatex - this process (78772) started by 'Rterm' with command line: C:\Users\my_username~1\MIKTEX~1.9\miktex\bin\x64\pdflatex.exe -halt-on-error -interaction=batchmode file-R-20200512.tex
2020-05-06 16:01:34,690+0200 INFO pdflatex - allowing known shell commands
2020-05-06 16:01:34,690+0200 INFO pdflatex - enabling input (output) from (to) processes
2020-05-06 16:01:34,911+0200 FATAL pdflatex.core - GUI framework cannot be initialized.
2020-05-06 16:01:34,911+0200 FATAL pdflatex.core - Data:
2020-05-06 16:01:34,911+0200 FATAL pdflatex.core - Source: Libraries\MiKTeX\UI\Qt\mikuiqt.cpp:77
2020-05-06 16:01:34,911+0200 FATAL pdflatex - GUI framework cannot be initialized.
2020-05-06 16:01:34,911+0200 FATAL pdflatex - Info:
2020-05-06 16:01:34,911+0200 FATAL pdflatex - Source: Libraries\MiKTeX\UI\Qt\mikuiqt.cpp
2020-05-06 16:01:34,911+0200 FATAL pdflatex - Line: 77
2020-05-06 16:01:34,911+0200 INFO pdflatex - this process (78772) finishes with exit code 1
2020-05-06 16:01:34,913+0200 ERROR miktex.core - still open: file-R-20200512.tex
2020-05-06 16:01:34,913+0200 ERROR miktex.core - still open: file-R-20200512.log
2020-05-06 16:01:43,760+0200 INFO pdflatex - this process (39904) started by 'Rterm' with command line: C:\Users\my_username~1\MIKTEX~1.9\miktex\bin\x64\pdflatex.exe -halt-on-error -interaction=batchmode file-R-20200512.tex
2020-05-06 16:01:43,773+0200 INFO pdflatex - allowing known shell commands
2020-05-06 16:01:43,773+0200 INFO pdflatex - enabling input (output) from (to) processes
2020-05-06 16:01:43,997+0200 FATAL pdflatex.core - GUI framework cannot be initialized.
2020-05-06 16:01:43,997+0200 FATAL pdflatex.core - Data:
2020-05-06 16:01:43,997+0200 FATAL pdflatex.core - Source: Libraries\MiKTeX\UI\Qt\mikuiqt.cpp:77
2020-05-06 16:01:43,998+0200 FATAL pdflatex - GUI framework cannot be initialized.
2020-05-06 16:01:43,998+0200 FATAL pdflatex - Info:
2020-05-06 16:01:43,998+0200 FATAL pdflatex - Source: Libraries\MiKTeX\UI\Qt\mikuiqt.cpp
2020-05-06 16:01:43,998+0200 FATAL pdflatex - Line: 77
2020-05-06 16:01:43,998+0200 INFO pdflatex - this process (39904) finishes with exit code 1
2020-05-06 16:01:44,000+0200 ERROR miktex.core - still open: file-R-20200512.tex
2020-05-06 16:01:44,000+0200 ERROR miktex.core - still open: file-R-20200512.log
2020-05-06 16:01:47,971+0200 INFO pdflatex - this process (74460) started by 'Rterm' with command line: C:\Users\my_username~1\MIKTEX~1.9\miktex\bin\x64\pdflatex.exe -halt-on-error -interaction=batchmode file-R-20200512.tex
2020-05-06 16:01:47,992+0200 INFO pdflatex - allowing known shell commands
2020-05-06 16:01:47,992+0200 INFO pdflatex - enabling input (output) from (to) processes
2020-05-06 16:01:48,163+0200 FATAL pdflatex.core - GUI framework cannot be initialized.
2020-05-06 16:01:48,164+0200 FATAL pdflatex.core - Data:
2020-05-06 16:01:48,164+0200 FATAL pdflatex.core - Source: Libraries\MiKTeX\UI\Qt\mikuiqt.cpp:77
2020-05-06 16:01:48,164+0200 FATAL pdflatex - GUI framework cannot be initialized.
2020-05-06 16:01:48,164+0200 FATAL pdflatex - Info:
2020-05-06 16:01:48,165+0200 FATAL pdflatex - Source: Libraries\MiKTeX\UI\Qt\mikuiqt.cpp
2020-05-06 16:01:48,165+0200 FATAL pdflatex - Line: 77
2020-05-06 16:01:48,165+0200 INFO pdflatex - this process (74460) finishes with exit code 1
2020-05-06 16:01:48,166+0200 ERROR miktex.core - still open: file-R-20200512.tex
2020-05-06 16:01:48,166+0200 ERROR miktex.core - still open: file-R-20200512.log
2020-05-06 16:09:36,414+0200 INFO pdflatex - this process (36484) started by 'Rterm' with command line: C:\Users\my_username~1\MIKTEX~1.9\miktex\bin\x64\pdflatex.exe -halt-on-error -interaction=batchmode file-R-20200512.tex
2020-05-06 16:09:36,423+0200 INFO pdflatex - allowing known shell commands
2020-05-06 16:09:36,423+0200 INFO pdflatex - enabling input (output) from (to) processes
2020-05-06 16:09:36,735+0200 FATAL pdflatex.core - GUI framework cannot be initialized.
2020-05-06 16:09:36,735+0200 FATAL pdflatex.core - Data:
2020-05-06 16:09:36,735+0200 FATAL pdflatex.core - Source: Libraries\MiKTeX\UI\Qt\mikuiqt.cpp:77
2020-05-06 16:09:36,735+0200 FATAL pdflatex - GUI framework cannot be initialized.
2020-05-06 16:09:36,735+0200 FATAL pdflatex - Info:
2020-05-06 16:09:36,735+0200 FATAL pdflatex - Source: Libraries\MiKTeX\UI\Qt\mikuiqt.cpp
2020-05-06 16:09:36,735+0200 FATAL pdflatex - Line: 77
2020-05-06 16:09:36,737+0200 INFO pdflatex - this process (36484) finishes with exit code 1
2020-05-06 16:09:36,739+0200 ERROR miktex.core - still open: file-R-20200512.tex
2020-05-06 16:09:36,739+0200 ERROR miktex.core - still open: file-R-20200512.log
2020-05-06 16:09:40,541+0200 INFO pdflatex - this process (45876) started by 'Rterm' with command line: C:\Users\my_username~1\MIKTEX~1.9\miktex\bin\x64\pdflatex.exe -halt-on-error -interaction=batchmode file-R-20200512.tex
2020-05-06 16:09:40,553+0200 INFO pdflatex - allowing known shell commands
2020-05-06 16:09:40,553+0200 INFO pdflatex - enabling input (output) from (to) processes
2020-05-06 16:09:40,774+0200 FATAL pdflatex.core - GUI framework cannot be initialized.
2020-05-06 16:09:40,774+0200 FATAL pdflatex.core - Data:
2020-05-06 16:09:40,774+0200 FATAL pdflatex.core - Source: Libraries\MiKTeX\UI\Qt\mikuiqt.cpp:77
2020-05-06 16:09:40,774+0200 FATAL pdflatex - GUI framework cannot be initialized.
2020-05-06 16:09:40,774+0200 FATAL pdflatex - Info:
2020-05-06 16:09:40,774+0200 FATAL pdflatex - Source: Libraries\MiKTeX\UI\Qt\mikuiqt.cpp
2020-05-06 16:09:40,774+0200 FATAL pdflatex - Line: 77
2020-05-06 16:09:40,774+0200 INFO pdflatex - this process (45876) finishes with exit code 1
2020-05-06 16:09:40,774+0200 ERROR miktex.core - still open: file-R-20200512.tex
2020-05-06 16:09:40,774+0200 ERROR miktex.core - still open: file-R-20200512.log
2020-05-06 16:09:49,202+0200 INFO pdflatex - this process (72048) started by 'Rterm' with command line: C:\Users\my_username~1\MIKTEX~1.9\miktex\bin\x64\pdflatex.exe -halt-on-error -interaction=batchmode file-R-20200512.tex
2020-05-06 16:09:49,215+0200 INFO pdflatex - allowing known shell commands
2020-05-06 16:09:49,215+0200 INFO pdflatex - enabling input (output) from (to) processes
2020-05-06 16:09:49,425+0200 FATAL pdflatex.core - GUI framework cannot be initialized.
2020-05-06 16:09:49,425+0200 FATAL pdflatex.core - Data:
2020-05-06 16:09:49,425+0200 FATAL pdflatex.core - Source: Libraries\MiKTeX\UI\Qt\mikuiqt.cpp:77
2020-05-06 16:09:49,427+0200 FATAL pdflatex - GUI framework cannot be initialized.
2020-05-06 16:09:49,427+0200 FATAL pdflatex - Info:
2020-05-06 16:09:49,427+0200 FATAL pdflatex - Source: Libraries\MiKTeX\UI\Qt\mikuiqt.cpp
2020-05-06 16:09:49,427+0200 FATAL pdflatex - Line: 77
2020-05-06 16:09:49,427+0200 INFO pdflatex - this process (72048) finishes with exit code 1
2020-05-06 16:09:49,429+0200 ERROR miktex.core - still open: file-R-20200512.tex
2020-05-06 16:09:49,429+0200 ERROR miktex.core - still open: file-R-20200512.log
2020-05-06 16:09:53,141+0200 INFO pdflatex - this process (64132) started by 'Rterm' with command line: C:\Users\my_username~1\MIKTEX~1.9\miktex\bin\x64\pdflatex.exe -halt-on-error -interaction=batchmode file-R-20200512.tex
2020-05-06 16:09:53,151+0200 INFO pdflatex - allowing known shell commands
2020-05-06 16:09:53,151+0200 INFO pdflatex - enabling input (output) from (to) processes
2020-05-06 16:09:53,304+0200 FATAL pdflatex.core - GUI framework cannot be initialized.
2020-05-06 16:09:53,304+0200 FATAL pdflatex.core - Data:
2020-05-06 16:09:53,304+0200 FATAL pdflatex.core - Source: Libraries\MiKTeX\UI\Qt\mikuiqt.cpp:77
2020-05-06 16:09:53,304+0200 FATAL pdflatex - GUI framework cannot be initialized.
2020-05-06 16:09:53,304+0200 FATAL pdflatex - Info:
2020-05-06 16:09:53,304+0200 FATAL pdflatex - Source: Libraries\MiKTeX\UI\Qt\mikuiqt.cpp
2020-05-06 16:09:53,304+0200 FATAL pdflatex - Line: 77
2020-05-06 16:09:53,304+0200 INFO pdflatex - this process (64132) finishes with exit code 1
2020-05-06 16:09:53,304+0200 ERROR miktex.core - still open: file-R-20200512.tex
2020-05-06 16:09:53,304+0200 ERROR miktex.core - still open: file-R-20200512.log
最佳答案
所以首先,我卸载了 tinytex(我认为是 tinytex::uninstall_tinytex()
)。
然后,在 miktex 控制台中,转到设置 > 允许即时安装丢失的包。
看看有没有用!
关于r - 由于 LaTeX,.Rmd 编译失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61637504/
有没有办法让某些文本仅在 [draft] 选项处于事件状态时显示。 例如,当草稿选项处于事件状态时,我希望在我的标题和摘要之间出现一些文字:“草稿:未经许可不得引用”或诸如此类。 最佳答案 通常这是用
我有一个小问题,我想将 LaTeX 文档的 svn diff 插入到 另一个 LaTeX 文档,目标是显示自修订版 XXX 以来发生的变化。 但是,由于差异包含大量 LaTeX 命令,我无法将其直接包
如何用它们的定义替换所有出现的用户定义的 latex 宏? 例如,给定这个文件 旧的.tex \newcommand{\blah}[2]{#1 \to #2} ... foo \blah{egg}{s
是否可以在 LaTeX 的一个环境 block 中使用多个命令?我试过类似的东西,但没有用...... \begin{sffamily,emph} I'm sans serif and ita
已结束。此问题不符合 Stack Overflow guidelines .它目前不接受答案。 这个问题似乎与 help center 中定义的范围内的编程无关。 . 关闭 8 年前。 Improve
我想将每个项目彼此更靠近,即减少行距,但我没有找到任何有用的东西。 \begin{itemize} \item Processor: Intel Core \textsuperscr
关闭。这个问题是off-topic .它目前不接受答案。 想改进这个问题? Update the question所以它是on-topic对于堆栈溢出。 9年前关闭。 Improve this que
我试图在 LaTeX 文档中插入四个数字,但如果我使用 subfigure 命令,我的两个数字保留在第一行,另外两个转到第二行。像这样: 我尝试的另一个解决方案是使用 minipage 命令,但 mi
我将做大量的讲义,然后将它们编译成 LaTeX,这样我就可以拥有出色的文档供将来查看。我正在尝试组织事物,以便我可以拥有一堆包含讲座笔记的小文档,然后在学期结束时将它们编译成包含所有内容的大文档。我过
我有几个引理,其中指定了常量 $C_1$、$C_2$ 等以供以后引用。当然,当我稍后在中间插入一个新的常量定义时,这很烦人。我想要的是一个宏,它可以让我为常量分配标签并为我处理编号。我在想一些事情 %
我想制作一个包含两个目录的 LaTeX 文档,例如: Contents overview 1 - Introduction 2 - Solution Detailed contents 1 - Int
我正在使用 Latex 输入一堆数字 \begin{figure}[h] \centering \subfloat 等等。 如何让 subfloat 数字转到下一页?我的意思是,我输入了大
我在 \documentclass{article}在 latex 。我如何将顾问的名字放在第一页上?我在 latex 中看到过类似 \principaladvisor{} 的例子。但这似乎是通过论文
我目前卡住了,有两个单独的词汇表:main & acronyms . Acronyms词汇表在文本中首次使用时打印脚注,但 main词汇表没有。除了 acronyms 之外,还有什么方法可以制作任何其
如何在 Latex 中定义标签和对自定义环境的相应引用? 例子: \newcounter{fpcounter} \newenvironment{fp}[2] { \stepcounter{fpcoun
我希望doxygen文档生成器根本不生成任何LaTeX文件。 HTML对我来说足够了。是否可以配置doxygen.ini来这样做? 最佳答案 如果使用doxygen.ini是doxygen的配置文件,
我有一个关于 Latex 表的简单对齐问题。在 它看起来如下: \begin{center} \begin{tabular}{| c | l | l | } \hline \tt {
我对 LaTeX 中的定理编号有疑问。我可以按小节编号,例如 Theorem 1.2.1 对于第一节第二小节中的第一个定理。但我需要它给我看 只有小节和定理的编号,而不是节编号,如下所示: Theor
在标题部分中,我引用了文档的各个部分: \section {标题\cite {abc},\cite {def}} 文本 我也在使用目录功能,但是Latex必须首先查看标题(针对目录)中的引文,并为它们
我正在写一个程序(用C语言编写,但我想那不太重要),它与LaTeX中的一些记录 Material 有关。我希望纪录片 Material 包含原始代码中的代码片段。 为了包括源代码并使其保持最新,我在文
我是一名优秀的程序员,十分优秀!