emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Using Buffer name in :include export property


From: Julien Cubizolles
Subject: [O] Using Buffer name in :include export property
Date: Thu, 28 Aug 2014 23:37:29 +0200
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4.50 (gnu/linux)

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

[Prev in Thread] Current Thread [Next in Thread]