cebe/pdfpc-latex-notes

Erases pdfpc file on rebuild

rpglover64 opened this issue · 7 comments

Ideally, customizations in the pdfpc file would be kept around.

cebe commented

that would mean you need to detect changes and merge them back into the LaTeX source. Sounds quite impossible to me.

I don't mean merge the notes section. I mean don't erase e.g. the timer section.

cebe commented

can you elaborate a bit more? what is "timer section"?

If I launch pdfpc with -d 20, it adds

[duration]
20

to the config file. Now, if I launch it without -d 20, it still remembers that I'm on a 20 minute timer. If I rebuild my document using pdfpc-latex-notes, this information is erased from the config file. Since [notes] is required to be the last section of the file, pdfpc-latex-notes could search for the section and start writing there (or at the end of the file if the section isn't found) rather than overwriting the whole file.

cebe commented

Interesting, seems behavior of pdfpc has changed since I created pdfpc-latex-notes. Will consider this.

cebe commented

cross-referencing this issue pdfpc/pdfpc#162

cebe commented

as of #11 you can now specify the options inside the package so overwriting should not be a problem.