Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate destination, newpax package problem #31

Open
alexKrauseTUD opened this issue Feb 6, 2023 · 0 comments
Open

Duplicate destination, newpax package problem #31

alexKrauseTUD opened this issue Feb 6, 2023 · 0 comments

Comments

@alexKrauseTUD
Copy link

alexKrauseTUD commented Feb 6, 2023

Hi,
assuming:

  • using the docker image danteev/texlive
  • one builds the proceedings following [1]
  • 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?

[1] https://gi-ev.github.io/LNI-proceedings/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant