I'm using the following elisp source block in my org files to choose the
publication options.

--8<---------------cut here---------------start------------->8---
  (setq org-publish-project-alist
        '(("TeX"
           :base-directory "./"
           :publishing-directory "./"
           :publishing-function org-beamer-publish-to-latex
           :exclude ".*"
           :latex-class "mpsi_beamer"
           :include ("test.org"))
          ))
--8<---------------cut here---------------end--------------->8---

I'd like to define it once and for all in my emacs
configuration files but I'd need to replace the

--8<---------------cut here---------------start------------->8---
           :include ("test.org")
--8<---------------cut here---------------end--------------->8---

line with the result of (buffer-name). Is it possible ?

Julien.


Reply via email to