Feature suggestion: LaTeX annotations

Currently, one can mark up PDFs with highlights, notes, and image annotations.

In particular, for scientific/mathematical formulas, either we highlight it as text, appearing weirdly formatted, or annotate as image, loosing its content to be treated (copied, etc.).

Ideally (the requested feature), we could select the formula so the new annotation would be a LaTeX annotation. In next link there are referenced distinct software which take images to LaTeX: https://tex.stackexchange.com/questions/116863/image-equation-to-tex

In particular, pix2tex (https://github.com/lukas-blecher/LaTeX-OCR) is open source, so it could be used.

What do you think?

This is for zotero-core or plugin developers.
  • running python from Zotero is going to be fragile.
  • > either we highlight it as text, appearing weirdly formatted, or annotate as image,

    This either-or kind of surprises me. Being able to jump to the formula in its original context is arguably the most important feature and it's already implemented.

    > annotate as image losing its content to be treated (copied, etc.).

    What treatment are you thinking of? An image can be copied. Do you intend to edit a LaTeX transcription of the formula?
  • @mmplx

    > Being able to jump to the formula in its original context is [...] already implemented.

    I am a bit lost. What do you mean?/How?

    > What treatment are you thinking of? An image can be copied. Do you intend to edit a LaTeX transcription of the formula?

    That's the point, I would not want to copy the formula as an image, but as a LaTeX formula
  • This is probably what you are looking for, from the Actions and Tags plugin:
    https://github.com/windingwind/zotero-actions-tags/discussions/220

    I have just tested with SimpleTeX and it is working nicely.
    You can also have a look at the Better Notes plugin linked there if you want to do more complex operations with the notes and annotations.
  • @mjthoraval it seems so, thanks!
Sign In or Register to comment.