更新:我重新安装了 MiKTeX 并更新了 MiKTeX 控制台(先是管理员控制台,然后是“普通”控制台)。
然后我重新安装了 TeXstudio,但它仍然不稳定,并要求 MiKTeX 更新和加密INFO pdflatex - starting with command line: pdflatex.exe -interaction=nonstopmode -ini "&pdflatex hJCqMsk \dump"
信息
我刚开始使用 TeXstudio,它运行得非常好。但是,我使用的是 Windows,它经常要求更新 MiKTeX(这会导致弹出有关管理员权限的窗口)。请参阅下面的日志文件。
Prozess gestartet: pdflatex.exe -synctex=1 -interaction=nonstopmode "MoodlePruefungMusterloesung".tex
Sorry, but pdflatex.exe did not succeed.
The log file hopefully contains the information to get MiKTeX going again: C:\Users\sqc\AppData\Local\MiKTeX\2.9\miktex\log\pdflatex.log
Kommando abgestürzt: pdflatex.exe -synctex=1 -interaction=nonstopmode "MoodlePruefungMusterloesung".tex
Prozess endete mit Fehler(n)
我可以排除的是:
- 它不是远程仓库。整个文件夹位于 C:/... 下(好吧,路径有点长 ;-))
- 该软件包很长时间以来都没有改变,例如今天,更新过程启动了大约 8 次。再次使用如下所示的神秘名称。
- C 盘未加密或类似的东西。
- 据我所知,我允许每次安装,并且在呈现的 pdf 中找不到任何错误或拼写错误。
- 我保存了我的 tex 文件
- 我还更新了 Miktex
我的脚本主体:
\documentclass[12pt]{article}
\usepackage{a4wide,german,fancyhdr}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{listings}
\usepackage{array}
\usepackage{graphicx}
\usepackage{epstopdf}
\usepackage{amsmath,amssymb}
\usepackage{url}
\usepackage[parfill]{parskip}
\usepackage{framed}
\usepackage{xcolor}
\usepackage{color}
\usepackage{soul}
\definecolor{light-gray}{gray}{0.95}
\lstset{%numbers=right,
numberstyle=\tiny,
breaklines=true,
backgroundcolor=\color{light-gray},
numbersep=5pt,
xleftmargin=0.5cm,
xrightmargin=0cm}
\setcounter{page}{0}
\setlength{\footskip}{1cm}
\lhead{\textsf{Probeprüfung Moodle \\}}
\rhead{\textsf{Bachelor of Science FHO in Wirtschaftsingenieurwesen \\ MOSIM}}
\lfoot{\textsf{\tiny \copyright FHS St.Gallen | Fachbereich Bau und Technik | SQC | \today}}
\cfoot{}
\rfoot{\textsf{Seite \thepage \ von 21}}
\setlength{\headheight}{15pt}
% Abkürzungen
\newcolumntype{C}[1]{>{\centering\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
\newcommand\filledcirc{{\color{black}\bullet}}
\newcommand{\mcode}[1]{\colorbox{lightgray}{\lstinline{#1}}}
\begin{document}
\end{document}
登录 .tex 文件的文件夹:
MoodlePruefungMusterloesung.log is empty
来自 C:\Users\sqc\AppData\Local\MiKTeX\2.9\miktex\log 的日志文件
2019-12-09 17:07:35,412+0100 INFO pdflatex - starting with command line: pdflatex.exe -synctex=1 -interaction=nonstopmode MoodlePruefungMusterloesung.tex
2019-12-09 17:07:35,412+0100 INFO pdflatex - allowing known shell commands
2019-12-09 17:07:35,412+0100 INFO pdflatex - enabling input (output) from (to) processes
2019-12-09 17:07:35,601+0100 INFO pdflatex - installing package oberdiek triggered by tex/latex/oberdiek\epstopdf.sty
2019-12-09 17:07:37,927+0100 INFO pdflatex - mpm: starting package maintenance...
2019-12-09 17:07:37,927+0100 INFO pdflatex - mpm: installation directory: "C:\Program Files\MiKTeX 2.9"
2019-12-09 17:07:37,927+0100 INFO pdflatex - mpm: package repository: http://ctan.ebinger.cc/tex-archive/systems/win32/miktex/tm/packages/
2019-12-09 17:07:38,112+0100 INFO pdflatex - mpm: package repository digest: a6cb6c9187fb4e420ce11bbc10b57326
2019-12-09 17:07:38,888+0100 INFO pdflatex - mpm: going to download 17301207 bytes
2019-12-09 17:07:38,888+0100 INFO pdflatex - mpm: going to install 180 file(s) (1 package(s))
2019-12-09 17:07:39,479+0100 INFO pdflatex - mpm: downloading http://ctan.ebinger.cc/tex-archive/systems/win32/miktex/tm/packages/oberdiek.tar.lzma...
2019-12-09 17:07:41,516+0100 INFO pdflatex - mpm: 17.30 MB, 68.25 Mbit/s
2019-12-09 17:07:41,686+0100 INFO pdflatex - mpm: extracting files from oberdiek.tar.lzma...
2019-12-09 17:07:45,488+0100 FATAL pdflatex - The installed file does not exist.
2019-12-09 17:07:45,488+0100 FATAL pdflatex - Info: fileName="C:\Program Files\MiKTeX 2.9\tex/latex/oberdiek\epstopdf.sty"
2019-12-09 17:07:45,488+0100 FATAL pdflatex - Source: Libraries\MiKTeX\Core\Session\findfile.cpp
2019-12-09 17:07:45,488+0100 FATAL pdflatex - Line: 59
2019-12-09 17:07:45,488+0100 INFO pdflatex - finishing with exit code 1
2019-12-09 17:09:42,562+0100 INFO pdflatex - starting with command line: pdflatex.exe -synctex=1 -interaction=nonstopmode MoodlePruefungMusterloesung.tex
2019-12-09 17:09:42,570+0100 INFO pdflatex - allowing known shell commands
2019-12-09 17:09:42,570+0100 INFO pdflatex - enabling input (output) from (to) processes
2019-12-09 17:09:43,257+0100 INFO pdflatex - installing package oberdiek triggered by tex/latex/oberdiek\epstopdf.sty
2019-12-09 17:09:46,033+0100 INFO pdflatex - mpm: starting package maintenance...
2019-12-09 17:09:46,034+0100 INFO pdflatex - mpm: installation directory: "C:\Program Files\MiKTeX 2.9"
2019-12-09 17:09:46,034+0100 INFO pdflatex - mpm: package repository: http://ctan.ebinger.cc/tex-archive/systems/win32/miktex/tm/packages/
2019-12-09 17:09:46,357+0100 INFO pdflatex - mpm: package repository digest: a6cb6c9187fb4e420ce11bbc10b57326
2019-12-09 17:09:48,388+0100 INFO pdflatex - mpm: going to download 17301207 bytes
2019-12-09 17:09:48,391+0100 INFO pdflatex - mpm: going to install 180 file(s) (1 package(s))
2019-12-09 17:09:50,292+0100 INFO pdflatex - mpm: downloading http://ctan.ebinger.cc/tex-archive/systems/win32/miktex/tm/packages/oberdiek.tar.lzma...
2019-12-09 17:09:51,806+0100 INFO pdflatex - mpm: 17.30 MB, 91.66 Mbit/s
2019-12-09 17:09:52,070+0100 INFO pdflatex - mpm: extracting files from oberdiek.tar.lzma...
2019-12-09 17:09:59,688+0100 FATAL pdflatex - The installed file does not exist.
2019-12-09 17:09:59,689+0100 FATAL pdflatex - Info: fileName="C:\Program Files\MiKTeX 2.9\tex/latex/oberdiek\epstopdf.sty"
2019-12-09 17:09:59,689+0100 FATAL pdflatex - Source: Libraries\MiKTeX\Core\Session\findfile.cpp
2019-12-09 17:09:59,689+0100 FATAL pdflatex - Line: 59
2019-12-09 17:09:59,689+0100 INFO pdflatex - finishing with exit code 1