我使用以下命令来更改辅助目录和输出目录
Specifying the Directory for Auxiliary Files
The option `--aux-directory=dir` causes TeX to create auxiliary files in another directory. For example:
> mkdir C:\texoutput
> mkdir C:\tobedeleted
> latex -output-directory=C:\texoutput -aux-directory=C:\tobedeleted foo.tex
...
>
This ensures that 1) foo.dvi will be created in C:\texoutput\ and 2) all other files (foo.log, …) will be created in C:\tobedeleted\..
但这样做,我陷入了麻烦。我现在收到以下错误
xelatex.exe: Windows API error 87: The parameter is incorrect. xelatex.exe: Data: C:\Users\user\AppData\Local\MiKTeX\2.9\miktex/data/le\df2c24cb21984fa85003c1ecc818ff83.fndb
Process exited with error(s)
如何修复该问题或恢复默认行为?
答案1
如果 MiKTeX 已打开,则会出现此错误。只需关闭所有 MiKTeX 实例并重新编译即可。已解决。