我安装MikTex
并使用得很好,然而,我卸载了它,然后下载了最新版本的MikTex 2.9.5840
安装后,编译.tex
文件时出现许多错误。我尝试更新软件包(以防有重要的软件包未安装),并收到以下消息:
Error: Windows API error 87: The parameter is incorrect.
Could not start Build & View:PdfLaTeX: pdflatex -synctex=1 -interaction=nonstopmode "<file name>".tex
我在尝试使用以下方式更新 MiKTeX 时收到此错误
MiKTeX Update (Admin)
最后,所有软件包都安装好了,但我的.tex
文件仍然无法编译。有人遇到过这个问题吗?您如何解决?
编辑
我尝试运行更新格式,但对于所有格式它都没有更新并给出错误,这里是 pdflatex 的错误:
======================================================================
Unfortunately, the package miktex-latex could not be installed.Please check the log file:
C:/Users/MUHAMMAD/AppData/Local/MiKTeX/2.9/miktex/log/miktex-makefmt.log
======================================================================
Sorry, but miktex-makefmt did not succeed for the following reason:
The input file could not be found.
The log file hopefully contains the information to get MiKTeX going again:
C:/Users/MUHAMMAD/AppData/Local/MiKTeX/2.9/miktex/log/miktex-makefmt.log
You may want to visit the MiKTeX project page, if you need help.
Sorry, but "MiKTeX Configuration Utility" did not succeed.
The log file hopefully contains the information to get MiKTeX going again:
C:/Users/MUHAMMAD/AppData/Local/MiKTeX/2.9/miktex/log/initexmf.log
You may want to visit the MiKTeX project page, if you need help.