LatexMK は minted が使用するファイルを誤ってビルドしようとします

LatexMK は minted が使用するファイルを誤ってビルドしようとします

私は -use-make オプション付きの Makefile から LatexMK を使用しています。すべての画像が最新であることを確認しながらドキュメントを自動的にコンパイルする、本当に優れたツールです。

minted パッケージを使用するドキュメントをコンパイルしようとすると、次のエラーが発生します。出力を簡潔にするために、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 を作成するためにこれらのファイルが必要だとなぜ考えるのか不思議です。

関連情報