tueda / makefile4latex

A GNU Makefile for typesetting LaTeX documents.
MIT License
26 stars 3 forks source link

latex_dvips + BUILDDIR + bookmark leads to dvips error #41

Open tueda opened 1 year ago

tueda commented 1 year ago
\documentclass{article}
\usepackage{bookmark}
\begin{document}
test
\end{document}
make BUILDDIR=build TOOLCHAIN=latex_dvips
/usr/bin/dvips -Ppdf -z build/test.dvi -o build/test.ps
This is dvips(k) 2021.1 (TeX Live 2022/dev)  Copyright 2021 Radical Eye Software (www.radicaleye.com)
' TeX output 2023.05.27:1624' -> build/test.ps
</usr/share/texlive/texmf-dist/dvips/base/tex.pro>
</usr/share/texlive/texmf-dist/dvips/config/alt-rule.pro>
</usr/share/texlive/texmf-dist/dvips/l3backend/l3backend-dvips.pro>
</usr/share/texlive/texmf-dist/dvips/base/texps.pro>
</usr/share/texlive/texmf-dist/dvips/base/special.pro>
</usr/share/texlive/texmf-dist/dvips/base/hps.pro>.
</usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb>[1
/usr/bin/dvips: Could not find figure file test.out.ps; continuing.
] <./head.tmp><./body.tmp>
make: *** [Makefile:1893: test.pdf] Error 1

It seems that the *.out.ps file, used in

https://github.com/ho-tex/bookmark/blob/aba3d8038c3a7309f213b2878102a8ff1453c74e/bookmark.dtx#L2529

should be correctly handled.