Serghei Iakovlev via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org> writes:
> --8<---------------cut here---------------start------------->8--- > (require 'ps-print) > (ps-print-buffer-with-faces > (concat (file-name-sans-extension file) ".ps")) > (call-process "ps2pdf" nil nil nil > (expand-file-name > (concat (file-name-sans-extension file) ".ps")) > (expand-file-name file)) > (delete-file (concat (file-name-sans-extension file) ".ps")) > (message "PDF written to %s" file) > --8<---------------cut here---------------end--------------->8--- (A comment to Eli and other Emacs maintainers) I believe that what we observe here is a problem in `ps-print-buffer', not in Org mode. In other words, it looks like Emacs bug, not Org mode bug. -- Ihor Radchenko // yantar92, Org mode contributor, 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>