Daniel Fleischer <[email protected]> writes: > 1. The function `org-html-format-latex' requires the `:output-file' property > in order to pick a cache dir. > > 2. The `:output-file' property is only declared in `org-export-to-file'. > > 3. I know of at least one package that uses `org-export-to-buffer' to export > org-to-HTML with latex snippets. > > 4. The result is the error `wrong-type-argument stringp nil'. > > My simple solution is using a temp dir, *see attached patch*. > > Alternatively, one could declare an `:output-file' in `org-export-to-buffer' > as well, for example a temp dir. This will handle > more backends, not just HTML; however only html/latex and texinfo currently > use this property.
See https://list.orgmode.org/orgmode/[email protected]/ -- 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>
