papers/ contains several subfolders, e.g. A1-1 and A1-2
When executing:
lualatex -synctex=1 proceedings.tex
in the project root, there are plenty of warnings of the form:
warning (pdf backend): ignoring duplicate destination with the name 'NEWPAX@paper.newpax@13@'
This leads to the effect, that the jumpmarks of the original included pdfs (except the first included paper) are not resolved properly and point somehwere in the region of the first paper.
I see only one paper.newpax being generated in the project root (no .newpax files appear in the papers/A1-... directories) and thus creating name clashes. I assume it is due to the newpax syntax on proceedings.template.tex:
\directlua{newpax.writenewpax("papers/#3/paper")}
\saveimageresource{papers/#3/paper.pdf}
I fixed it temporarily for my project by altering it to
\directlua{newpax.writenewpax("papers/#3/#3paper")}
\saveimageresource{papers/#3/#3paper.pdf}
, subsequently also adapting the \addpaper commands and renaming the files to, e.g. A1-1/A1-1paper.pdf
This creates one distinct .newpax file for every included paper (still in the root dir) but now all jumpmarks for references, sections, etc. point to the correct location.
Is there any more elegant way of working around this issue?
Hi, assuming:
When executing:
in the project root, there are plenty of warnings of the form:
This leads to the effect, that the jumpmarks of the original included pdfs (except the first included paper) are not resolved properly and point somehwere in the region of the first paper.
I see only one paper.newpax being generated in the project root (no .newpax files appear in the papers/A1-... directories) and thus creating name clashes. I assume it is due to the newpax syntax on proceedings.template.tex: \directlua{newpax.writenewpax("papers/#3/paper")} \saveimageresource{papers/#3/paper.pdf}
I fixed it temporarily for my project by altering it to \directlua{newpax.writenewpax("papers/#3/#3paper")} \saveimageresource{papers/#3/#3paper.pdf}
, subsequently also adapting the \addpaper commands and renaming the files to, e.g. A1-1/A1-1paper.pdf
This creates one distinct .newpax file for every included paper (still in the root dir) but now all jumpmarks for references, sections, etc. point to the correct location.
Is there any more elegant way of working around this issue?
[1] https://gi-ev.github.io/LNI-proceedings/