Hi, For my autotools setup, I need a way to export org-mode files into a different directory (for make distcheck). Currently I do that by copying all dependencies into the output directory, building the result and then killing the dependencies again - which is a horrible clutch (but works).¹ Is there a way to simply set a variable in emacs which is then used as the output-directory? Then I could call emacs with echo yes | @emacs@ --batch --load "~/.emacs" --visit "$(notdir $<)" --eval "(setq variable $VPATH)" --funcall org-beamer-export-to-pdf I tried this hint from 2012 (#+bind: ...), http://lists.gnu.org/archive/html/emacs-orgmode/2012-03/msg00272.html but it does not seem to work anymore. #+bind: org-export-publishing-directory "./exports" ¹: http://draketo.de/light/english/free-software/makefile-to-autotools#sec-4 Best wishes, Arne -- Doktorand Gruppe: GHG Raum: 435/410 Tel.: +49 721 608-22885 arne.babenhauserheide@kit.edu Karlsruher Institut für Technologie IMK-ASF Postfach 36 40 76021 Karlsruhe