Closed koppor closed 3 years ago
newpax should also be able to handle files found per kpathsea, so writing the newpax file into the source directory is not really an option.
With lualatex you could move the luacall before the relevant graphics, with the other engines one will probably need some option to change the name or the extension.
Then it's just a documentation issue 🎉
When using the same file name for files in different sub directories,
newpax
creates uses the parsed content of the last file wherewritenewpax
was used.I think the reason is that the
.newpax
files are created in the directory of the main.tex
file instead of creating them next to the.pdf
file included.test.tex
doc-input3.tex
graphics/doc-input3.tex
typeset
result
The first link in
test.pdf
points tohttps://adr.github.io/
instead ofhttps://adr.github.io/madr/
. Also the stringmadr/
is not hyperlinked at all.