Hello, Julien Cubizolles writes: > Julien Cubizolles writes: > >> I noticed that the :preparation-function defined in >> org-publish-project-alist isn't run anymore when publishing a project. > > It seems the preparation-function isn't run either. Consider the > following more simple examples > > > #+TITLE: Hello > #+begin_src emacs-lisp :tangle none :exports none > (setq org-export-in-background nil) > (defun jc-preparation () > "Preparation functions to be run before actually pubishing" > (setq org-latex-title-command "") > ) > (setq org-publish-project-alist > `(("pdf" > :base-directory "./" > :publishing-directory "./" > :preparation-function jc-preparation > :publishing-function org-beamer-publish-to-pdf > :exclude ".*" > :include ,(list (file-name-nondirectory buffer-file-name)) > ) > )) > #+end_src > > #+RESULTS: > | pdf | :base-directory | ./ | :publishing-directory | ./ | :preparation-function | jc-preparation | :publishing-function | org-beamer-publish-to-pdf | :exclude | .* | :include | (test.org) | > > * 1st section > ** 1st subsection > ** 2nd subsection > > Save the to test.org and publish using the "pdf" > project. org-beamer-publish-to-pdf creates test.pdf as it should but the > preparation-function should remove the titlepage wich it doesn't. I didn't investigate much the issue yet, but, out of curiosity, would the following patch solve the issue: Regards, -- Nicolas Goaziou