TeXWorks:\ scrollmode

时间:2018-09-25 11:40:55

标签: windows latex miktex

到目前为止,我在大学中一直在Windows 7 64位系统上使用TeXWorks版本0.4.3 r.857(MiKTeX 2.9 64位)。现在,我有一台装有Windows 10和MiKTeX 0.6.2版(MiKTeX 2.9.6800 64位)的新PC。

新版本的一个主要缺点是:发生错误并且我键入“ s”以继续LaTeX时,不会产生pdf输出,当然也不会显示任何内容。只有100%正确的文件有效。 当LaTeX \ scrollmode在旧版本中出现少量TeX错误后恢复时,将显示相应的输出,以便我可以检查文档的其余部分-更加舒适。 新版本中的日志甚至显示“输出写在fail.pdf(1页,14941字节)上”。因此,我假设输出是在以后有意删除的。 错误发生后,使用滚动模式从DOS外壳程序运行MiKTeX时,将生成.pdf ist。

问题:是否有办法恢复以前的行为? CTRL T的设置为:pdfLaTeX + MakeIndex + BibTeX

最小工作示例,在LaTeX停止时为滚动模式输入s:

\documentclass{article}
\begin{document}
Giving up is the only sure way to \fail. -- Gena Showalter
\end{document}

旧版本的输出

    This is pdfTeX, Version 3.1415926-2.3-1.40.12 (MiKTeX 2.9 64-bit)
entering extended mode
(D:/tmp/fail.tex
LaTeX2e <2011/06/27>
Babel <v3.8m> and hyphenation patterns for english, afrikaans, ancientgreek, ar
abic, armenian, assamese, basque, bengali, bokmal, bulgarian, catalan, coptic,
croatian, czech, danish, dutch, esperanto, estonian, farsi, finnish, french, ga
lician, german, german-x-2009-06-19, greek, gujarati, hindi, hungarian, iceland
ic, indonesian, interlingua, irish, italian, lao, latin, mongolian, mongolianlm
c, monogreek, ngerman, ngerman-x-2009-06-19, nynorsk, oriya, panjabi, pinyin, p
olish, portuguese, romanian, russian, sanskrit, serbian, slovak, slovenian, spa
nish, swedish, swissgerman, tamil, telugu, turkish, turkmen, ukenglish, ukraini
an, uppersorbian, usenglishmax, welsh, loaded.
("C:\PROGRA~1\MiKTeX 2.9\tex\latex\base\article.cls"
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
("C:\PROGRA~1\MiKTeX 2.9\tex\latex\base\size10.clo")) (D:\tmp\fail.aux)
! Undefined control sequence.
l.3 Giving up is the only sure way to \fail
. -- Gena Showalter
? s
OK, entering \scrollmode...
[1{C:/Users/xxx/AppData/Local/MiKTeX/2.9/pdftex/config/pdftex.map}]
(D:\tmp\fail.aux) )
(see the transcript file for additional information)<C:/PROGRA~1/MiKTeX 2.9/fon
ts/type1/public/amsfonts/cm/cmr10.pfb>
Output written on fail.pdf (1 page, 14948 bytes).
SyncTeX written on fail.synctex.gz.
Transcript written on fail.log.
texify: pdflatex failed for some reason (see log file).

新版本的输出:

This is pdfTeX, Version 3.14159265-2.6-1.40.19 (MiKTeX 2.9.6800 64-bit)
entering extended mode
(D:/tmp/fail.tex
LaTeX2e <2018-04-01> patch level 5
("C:\Program Files\MiKTeX 2.9\tex\latex\base\article.cls"
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
("C:\Program Files\MiKTeX 2.9\tex\latex\base\size10.clo"))
No file fail.aux.
! Undefined control sequence.
l.3 Giving up is the only sure way to \fail
. -- Gena Showalter
? s
OK, entering \scrollmode...
[1{C:/Users/xxx/AppData/Local/MiKTeX/2.9/pdftex/config/pdftex.map}]
(fail.aux) )
(see the transcript file for additional information)<C:/Program Files/MiKTeX 2.
9/fonts/type1/public/amsfonts/cm/cmr10.pfb>
Output written on fail.pdf (1 page, 14941 bytes).
SyncTeX written on fail.synctex.gz.
Transcript written on fail.log.

Sorry, but "MiKTeX Compiler Driver" did not succeed.

The log file hopefully contains the information to get MiKTeX going again:

C:\Users\xxx\AppData\Local\MiKTeX\2.9\miktex\log\texify.log

0 个答案:

没有答案