LatexMK tenta incorretamente construir arquivos usados ​​pelo cunhado

LatexMK tenta incorretamente construir arquivos usados ​​pelo cunhado

Estou usando o LatexMK de um Makefile com a opção -use-make. Uma ferramenta realmente ótima para compilar automaticamente meu documento e, ao mesmo tempo, garantir que todas as imagens estejam atualizadas.

Ao tentar compilar um documento que usa o pacote criado, recebo os seguintes erros. Observe que, para manter a saída concisa, o PDF já foi criado antes, portanto não há nada a fazer. Esses erros sempre aparecem no final da saída.

O PDF parece ter sido construído corretamente, mas isso torna muito difícil ver se houve erros adicionais, pois o pdflatex sempre retorna com erros. Isso também é um problema ao executá-lo a partir de um 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

Para mim, parece que esses arquivos não precisam ser manipulados pelo LatexMK. Eu me pergunto por que ele pensa que exige que eles criem o PDF.

informação relacionada