You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So now #86 is done, we still have the issue that re-compiling a PDF with modified annotations will remove all annotations.
I haven’t worked out how to circumvent this:
Notes are stored as regular PDF annotations in the file (and thus also viewable and editable with other PDF editors)
I’m not keen on having a metadata file next to the PDF
However, beamer can not re-import notes when re-compiling a file, and adding a ton of \pdffreetextcomment is a bit of a hassle
Right now I’m thinking of saving the file as-is with a hardlink to filename.pdf -> .filename-annotated.pdf (or somehow hidden in a platform-specific way), or maybe in ~/.cache or something. That could allow a) to detect when the file is re-generated and b) to reload the notes modifications.
However it still doesn’t seem ideal, there’s going to be a lot of guess work. Should we re-import all notes? What if the slides have a new frame or if pages are moved around? Would it be better to simply allow to re-export PDF comments in LaTeX source format?
The text was updated successfully, but these errors were encountered:
Maybe you can add export and import commands. Thus, the user will be able to export all the comments (to JSON/XML/whatever suits you...), then the user will import them back after recompilation.
It also has the added benefit that the user can keep the notes as some textual file, know that they are backed up regardless of the pdf changes, and maybe handle them with git.
I think you’re right, a text and user-readable format is probably best. Import/export and an optional auto-export on modify should cover all use cases.
So now #86 is done, we still have the issue that re-compiling a PDF with modified annotations will remove all annotations.
I haven’t worked out how to circumvent this:
\pdffreetextcomment
is a bit of a hassleRight now I’m thinking of saving the file as-is with a hardlink to
filename.pdf
->.filename-annotated.pdf
(or somehow hidden in a platform-specific way), or maybe in~/.cache
or something. That could allow a) to detect when the file is re-generated and b) to reload the notes modifications.However it still doesn’t seem ideal, there’s going to be a lot of guess work. Should we re-import all notes? What if the slides have a new frame or if pages are moved around? Would it be better to simply allow to re-export PDF comments in LaTeX source format?
The text was updated successfully, but these errors were encountered: