"Pedro A. Aranda" <paag...@gmail.com> writes: > + (unless (plist-get info :with-author) > + (setq template (replace-regexp-in-string "%a" "" template))) > + (unless (plist-get info :with-title) > + ;; Replace title *and* subtitle > + (setq template (replace-regexp-in-string "%[ts]" "" template))) > + (format-spec template spec)))
I believe that we can simplify this part by moving the checks into `org-latex--format-spec'. It will then automatically work for all the derived backends. -- 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>