Karthik Chikmagalur <[email protected]> writes: >>>> Is it ever used? From the code, this would correspond to >>>> org-latex-preview-cache = 'live (undocumented). > >> There is still a concern though - 'live looks like a valid user >> option. Maybe you should use something else, more obviously internal? > > It is not documented and not listed as one of the valid options for > org-latex-preview-cache. I don't know why users would assume that it is > an option.
This is minor. My main concern is if some curious user sets org-latex-preview-cache to 'live in the config. >> Hmm. What if a single document contains more than 1024 fragments? >> Will preview still work? > > Yes, it will still work. I think there's some confusion here. There is > no connection between the number of fragments being previewed and > org-latex-preview-live--max-cache-count. Imagine you want to type > ... > \( x + 3 \) > .... > We have now exited the fragment. The final image is copied from the > 'live cache to org-persist and the overlay is updated one final time. Ok. This was the missing piece of information I did not infer from reading the code and the docstring. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>
