From: andrea <andrea.crotti.0@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: batch exporting
Date: Tue, 22 Dec 2009 10:20:11 +0100 [thread overview]
Message-ID: <m1vdfzpdpw.fsf@40-147.eduroam.rwth-aachen.de> (raw)
In-Reply-To: 23834.1261415451@gamaville.dokosmarshall.org
Nick Dokos <nicholas.dokos@hp.com> writes:
> andrea <andrea.crotti.0@gmail.com> wrote:
>
>
> Then prepare a skeleton .emacs just for export and load that:
>
> emacs --batch --load ~/.skeleton-emacs-for-export ...
>
Eh eh solved, I was just using the builtin emacs version on snow leopard
(22.1), which for some reasons don't work at all..
This is enough, now I'll have to play with getopt a little bit
--8<---------------cut here---------------start------------->8---
FILE=$1
ORG="$HOME/.emacs.d/org-mode/lisp/"
EMACS="/Applications/Emacs.app/Contents/MacOS/Emacs"
if ! test -f $FILE
then
help
else
echo "converting file $FILE"
$EMACS --batch \
--eval "(add-to-list 'load-path \"$ORG\")" \
--eval "(require 'org)" \
--visit=$FILE --funcall org-export-as-latex-batch
fi
--8<---------------cut here---------------end--------------->8---
prev parent reply other threads:[~2009-12-22 9:20 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-20 18:26 batch exporting andrea
2009-12-20 19:09 ` Nick Dokos
2009-12-20 22:43 ` andrea
2009-12-20 22:52 ` Carsten Dominik
2009-12-21 7:27 ` andrea
2009-12-21 10:25 ` andrea Crotti
2009-12-21 14:25 ` Nick Dokos
2009-12-21 14:51 ` andrea
2009-12-21 17:10 ` Nick Dokos
2009-12-22 9:20 ` andrea [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m1vdfzpdpw.fsf@40-147.eduroam.rwth-aachen.de \
--to=andrea.crotti.0@gmail.com \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.