* Can I export a file into another target directory by setting one variable?
@ 2013-10-25 7:34 Arne Babenhauserheide (IMK)
2013-10-25 8:16 ` Sebastien Vauban
0 siblings, 1 reply; 2+ messages in thread
From: Arne Babenhauserheide (IMK) @ 2013-10-25 7:34 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1.1: Type: text/plain, Size: 1064 bytes --]
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
[-- Attachment #1.2: 0xA70DA09E.asc --]
[-- Type: application/pgp-keys, Size: 1893 bytes --]
[-- Attachment #1.3: arne_babenhauserheide.vcf --]
[-- Type: text/x-vcard, Size: 366 bytes --]
begin:vcard
fn:Arne Babenhauserheide
n:Babenhauserheide;Arne
org:KIT;GHG, IMK-ASF
adr;quoted-printable:;;Geb=C3=A4ude 435, Raum 410, Campus Nord;Karlsruhe;BW;76021;Deutschland
email;internet:arne.babenhauserheide@kit.edu
title:Doktorand
tel;work:+49 721 608-22885
x-mozilla-html:FALSE
url:http://www.imk-asf.kit.edu/874_1194.php
version:2.1
end:vcard
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 555 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Can I export a file into another target directory by setting one variable?
2013-10-25 7:34 Can I export a file into another target directory by setting one variable? Arne Babenhauserheide (IMK)
@ 2013-10-25 8:16 ` Sebastien Vauban
0 siblings, 0 replies; 2+ messages in thread
From: Sebastien Vauban @ 2013-10-25 8:16 UTC (permalink / raw)
To: emacs-orgmode-mXXj517/zsQ
Hello Arne,
"Arne Babenhauserheide IMK" wrote:
> For my autotools setup, I need a way to export org-mode files into a
> different directory (for make distcheck).
Shouldn't you try to bake something with org-publish? It offers the "different
directory" feature for free ;-)
Best regards,
Seb
--
Sebastien Vauban
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-10-25 8:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-25 7:34 Can I export a file into another target directory by setting one variable? Arne Babenhauserheide (IMK)
2013-10-25 8:16 ` Sebastien Vauban
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).