LatexMK가 Minted에서 사용하는 파일을 빌드하려고 잘못 시도함

LatexMK가 Minted에서 사용하는 파일을 빌드하려고 잘못 시도함

-use-make 옵션을 사용하여 Makefile에서 LatexMK를 사용하고 있습니다. 모든 이미지를 최신 상태로 유지하면서 문서를 자동으로 컴파일하는 정말 훌륭한 도구입니다.

제작된 패키지를 사용하는 문서를 컴파일하려고 하면 다음 오류가 발생합니다. 출력을 간결하게 유지하기 위해 PDF는 이미 이전에 작성되었으므로 실제로 수행할 작업이 없습니다. 이러한 오류는 항상 출력 끝에 나타납니다.

PDF가 올바르게 빌드된 것처럼 보이지만 pdflatex가 항상 오류와 함께 반환되므로 추가 오류가 있는지 확인하기가 매우 어렵습니다. 이는 IDE에서 실행할 때도 문제가 됩니다.

$ make
latexmk -pdf -pdflatex="pdflatex -shell-escape -interaction=nonstopmode" -use-make  report.tex
Latexmk: This is Latexmk, John Collins, 10 Nov 2013, version: 4.39.
**** Report bugs etc to John Collins <collins at phys.psu.edu>. ****
Latexmk: 'pdflatex': source file 'report.aex' doesn't exist. I'll try making it...
------------
Running 'make "report.aex"'
------------
make[1]: Entering directory '/directory/of/my/tex/file'
make[1]: *** No rule to make target 'report.aex'.  Stop.
make[1]: Leaving directory '/directory/of/my/tex/file'
Latexmk: 'pdflatex': source file 'report.out.pyg' doesn't exist. I'll try making it...
------------
Running 'make "report.out.pyg"'
------------
make[1]: Entering directory '/directory/of/my/tex/file'
make[1]: *** No rule to make target 'report.out.pyg'.  Stop.
make[1]: Leaving directory '/directory/of/my/tex/file'
Latexmk: 'pdflatex': source file 'report.pyg' doesn't exist. I'll try making it...
------------
Running 'make "report.pyg"'
------------
make[1]: Entering directory '/directory/of/my/tex/file'
make[1]: *** No rule to make target 'report.pyg'.  Stop.
make[1]: Leaving directory '/directory/of/my/tex/file'
Latexmk: 'pdflatex': source file 'report.w18' doesn't exist. I'll try making it...
------------
Running 'make "report.w18"'
------------
make[1]: Entering directory '/directory/of/my/tex/file'
make[1]: *** No rule to make target 'report.w18'.  Stop.
make[1]: Leaving directory '/directory/of/my/tex/file'
Latexmk: All targets (report.pdf) are up-to-date

나에게는 이러한 파일이 LatexMK에서 전혀 처리될 필요가 없는 것 같습니다. 왜 PDF를 작성해야 한다고 생각하는지 궁금합니다.

관련 정보