Thanks everyone for your work on this branch. I've been using it for
some time locally and just switched to Ihor's latest version.
Two things I noticed:
- Given that the other startup options use the plural
(`org-startup-with-link-previews', I would have expected
`org-startup-with-latex-preview' to follow that convention?
- `:page-width' in in `org-latex-preview-appearance-options' seems to be
ignored when precompilation is enabled. I think LaTeX skips everything
before `\begin{document}' in that case, including the
`\setlength{\textwidth}{…}'.
My current workaround is to include it in the preamble:
(let ((page-width 0.8))
(setf (cl-getf org-latex-preview-appearance-options :page-width) page-width)
(setq org-latex-preview-preamble
(format "%s\n\\setlength{\\textwidth}{%s\\paperwidth}"
org-latex-preview-preamble page-width))))
FWIW `org-latex-preview--hash' does not include the page width.