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

Provide option to persist auto-grouping #593

Open
hahnjo opened this issue Apr 20, 2021 · 2 comments
Open

Provide option to persist auto-grouping #593

hahnjo opened this issue Apr 20, 2021 · 2 comments

Comments

@hahnjo
Copy link

hahnjo commented Apr 20, 2021

The auto-grouping feature is very handy for overlays created by latex-beamer. However, it doesn't work with show notes on second screen because that messes up page numbers in the PDF and the --notes option to pdfpc automatically disables auto-grouping (probably for that very same reason). What I would like to do is compile my slides first without notes, somehow persist the auto-grouping into a .pdfpc, and finally compile with notes and use the persisted grouping.

Right now, there are two complications to this:

  1. pdfpc only writes pages that have a change by the user: either manually defined as an overlay, or an added note. Because the purpose is to use the auto-grouping for overlays, I currently go through all slides and enter an empty note.
  2. The resulting .pdfpc has all the data I need, but without forcedOverlay and my understanding is that the information is still ignored as soon as I pass the --notes option. So I just replaced "overlay":[1-9] by \0,"forcedOverlay":1 and this seems to work.

My plan would be to add an option to perform these steps in pdfpc. Does this make sense and would it be accepted?

@fnevgeny
Copy link
Member

fnevgeny commented Sep 7, 2021

IMO, there should be a limit of extra miles to which one software goes introducing dirty workarounds for bugs in another software. Especially when the latter is free/open-source. If you have time and incentive, perhaps you'd rather try fixing the issue with latex-beamer?...

@fnevgeny
Copy link
Member

Please have a look at #615

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

No branches or pull requests

2 participants