简单文档未生成 pdf

简单文档未生成 pdf

我刚刚从 Ubuntu 转到 Mint。我在新系统上安装了 TexMaker,现在它甚至无法为最小文档生成 PDF:

\documentclass{article}
\begin{document}
\end{document}

TexMaker 确实生成了辅助文件和日志文件,并且没有抛出任何错误。这是我的日志文件

This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013/Debian) (format=pdflatex 2013.12.5) 6 DEC 2013 15:17
entering extended mode
restricted \write18 enabled.
%&-line parsing enabled.
**Test.tex
(./Test.tex
LaTeX2e <2011/06/27>
Babel <3.9f> and hyphenation patterns for 2 languages loaded.
(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo
File: size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
No file Test.aux.
\openout1 = `Test.aux'.
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 2.
LaTeX Font Info: ... okay on input line 2.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 2.
LaTeX Font Info: ... okay on input line 2.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 2.
LaTeX Font Info: ... okay on input line 2.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 2.
LaTeX Font Info: ... okay on input line 2.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 2.
LaTeX Font Info: ... okay on input line 2.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 2.
LaTeX Font Info: ... okay on input line 2.
(./Test.aux) )
Here is how much of TeX's memory you used:
197 strings out of 495031
2091 string characters out of 6181531
46622 words of memory out of 5000000
3494 multiletter control sequences out of 15000+600000
3640 words of font info for 14 fonts, out of 8000000 for 9000
14 hyphenation exceptions out of 8191
23i,1n,17p,151b,36s stack positions out of 5000i,500n,10000p,200000b,80000s
No pages of output.
PDF statistics:
0 PDF objects out of 1000 (max. 8388607)
0 named destinations out of 1000 (max. 500000)
1 words of extra memory for PDF output out of 10000 (max. 10000000)

与我以前在 Linux 发行版上安装 TexMaker 时不同,TexLive 是自动下载的。这次我必须自己安装。我想知道是否还缺少创建 PDF 所需的其他软件包?否则我会有点不知所措。

答案1

至少 TeX 是聪明的...一个空文档(环境中没有结果内容document)会导致没有输出页面,正如您在以下文章中所提到的.log

No pages of output.

要查看安装或设置是否正常,请考虑一个不太简单的文档:

\documentclass{article}
\begin{document}
Test
\end{document}

相关内容