Emin Martinian <emin.martin...@gmail.com> writes: > If latex experts and/or maintainers of org-mode are broadly in agreement > with the above, I would be happy to try and take the pull request to > el-easydraw <https://github.com/misohena/el-easydraw/pull/37> and > incorporate something like that into a PR for Org-mode. I think the way to > go would be to modify the (when (equal filetype "svg") > <https://github.com/bzg/org-mode/blob/b6dbf8881076191e1351d7cd15e26547a2531fea/lisp/ox-latex.el#L2877> > portion of ox-latex.org to call something like the > edraw-org-export-latex-link > <https://github.com/misohena/el-easydraw/pull/37/files#diff-d74d9626acb8016adf39b497068745979fef8789a108264c79e45c003a364997R57> > function in my original PR (renamed/modified to not be specific to edraw).
Looks like there are no objections to the idea, so go ahead. Just one comment - rather than creating a .pdf file in the same folder with original .svg (which may or may not be writable), please use org-persist cache. See https://code.tecosaur.net/tec/org-mode/src/branch/dev/lisp/org-latex-preview.el#L2973 for an example how to do it. -- 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>