[图]我写一个latexmk的脚本如下,运行出错了。win10 64位+texlive2019 latexmk -xelatex random用xelatex运行的测试脚本运行成功。:: Called fr...
我写一个latexmk的脚本如下,运行出错了。win10 64位+texlive2019
latexmk -xelatex random
用xelatex运行的测试脚本运行成功。
:: Called from Notepad++ Run
:: [path_to_bat_file] "$(CURRENT_DIRECTORY)" "$(NAME_PART)"
:: Change Drive and to File Directory
rem %~d1
rem cd %1
:: Run Cleanup
call:cleanup
:: Run xelatex -> bibtex -> xelatex -> xelatex
xelatex -synctex=1 -shell-escape -interaction=nonstopmode -no-pdf random
bibtex random
:: If you are using multibib the following will run bibtex on all aux files
:: FOR /R . %%G IN (*.aux) DO bibtex %%G
xelatex -synctex=1 -shell-escape -interaction=nonstopmode -no-pdf random
xelatex -synctex=1 -shell-escape -interaction=nonstopmode -no-pdf random
xdvipdfmx random
:: Run Cleanup
call:cleanup
:: Open PDF
rem START "" "C:\Program Files\SumatraPDF\SumatraPDF.exe" %3 -reuse-instance
:: Cleanup Function
:cleanup
@echo off
del *.toc *.bbl *.blg *.out *.aux *.log *.bak *.thm *.synctex.gz *.fdb_latexmk *.fls *.glo *.gls *.idx *.ilg *.ind
视频这个不太对呀:
看看这个文章:
https://www.latexstudio.net/archives/51493.html
一周热门 更多>