Ihor Radchenko <yanta...@posteo.net> writes: >> When doing: >> (org-export-to-file 'html "~/new/path/thing.html") >> and the file option has the path "~/other/path/file.org", the 'ltximg' >> directory is made in "~/other/path/", which is not intutive, or useful >> behaviour. >> >> >> (the option 'tex' is set to 'dvisvgm') > > Confirmed. > Something like the attached patch should fix this.
Fixed, on main. Using a modified version of the patch with NEWS entry and appropriate commit message. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=d4a13e6a06 -- 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>