Emin Martinian <emin.martin...@gmail.com> writes: > Ihor Radchenko <yanta...@posteo.net> writes: > >> I think that rather than inventing something new, we can reuse >> the >> existing semantics of `org-latex-pdf-process' and >> `org-compile-file'. > > I redid the code (see attached patch) to you use =defcustom= to > define only a single variable and have that variable use the =%o= > and =%f= syntax similar to =`org-latex-pdf-process=. I also allow > the user to set that variable to indicate not to do conversion if > desired and issue a warning only if the variable is unset and > neither inkscape nor rsvg-convert are found.
Thanks! Any reason you did not just call `org-compile-file' directly? > I am sorry for not being able to get org-persist working. I tried > your suggestions but could not figure out how to do it.... Did you try looking into org-persist.el commentary? (To be clear, using org-persist would be nice to have, but it is not something I consider necessary for this patch) -- 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>