emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Arne Babenhauserheide (IMK)" <arne.babenhauserheide@kit.edu>
To: emacs-orgmode@gnu.org
Subject: Can I export a file into another target directory by setting one variable?
Date: Fri, 25 Oct 2013 09:34:42 +0200	[thread overview]
Message-ID: <526A1F12.9010004@kit.edu> (raw)


[-- 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 --]

             reply	other threads:[~2013-10-25  7:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-25  7:34 Arne Babenhauserheide (IMK) [this message]
2013-10-25  8:16 ` Can I export a file into another target directory by setting one variable? Sebastien Vauban

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=526A1F12.9010004@kit.edu \
    --to=arne.babenhauserheide@kit.edu \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).