emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Stephen Tucker <brown_emu@yahoo.com>
To: nicholas.dokos@hp.com
Cc: emacs-orgmode@gnu.org
Subject: Re: export (as latex) a large number of org files in a directory
Date: Sun, 30 Aug 2009 22:58:53 -0700 (PDT)	[thread overview]
Message-ID: <574464.67671.qm@web39704.mail.mud.yahoo.com> (raw)
In-Reply-To: <3757.1251693517@gamaville.dokosmarshall.org>

Thanks yet again! That makes sense... works now!!



> I tried your code with both
> 
> > orglib=/Applications/Emacs.app/Contents/Resources/lisp/org
> > and
> > orglib=$HOME/elisp/org-mode/lisp
> 
> You need the former - the latter is where I keep my org.el[c]

(sorry, forgot to mention that I created and copied my files to the latter directory to try it out)

> #! /bin/bash
> 
> orglib=/Applications/Emacs.app/Contents/Resources/lisp/org
> emacs   --batch \
>          --eval "(add-to-list 'load-path \"$orglib\")"
                                                         \  # need a backslash here.
>          --load=$orglib/org.elc \
>          --eval "(setq org-export-headline-levels 2)" \
>          --visit=$1 --funcall org-export-as-latex-batch
> 

(yes, caught that!)

Thanks again very much, Nick - this had been on my mind for a while.

Stephen



      

  reply	other threads:[~2009-08-31  5:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-30 14:11 export (as latex) a large number of org files in a directory Stephen Tucker
2009-08-30 15:04 ` Nick Dokos
2009-08-30 19:11   ` Stephen Tucker
2009-08-31  2:27     ` Nick Dokos
2009-08-31  4:38       ` Nick Dokos
2009-08-31  5:58         ` Stephen Tucker [this message]
2009-09-02 15:21   ` Sébastien 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=574464.67671.qm@web39704.mail.mud.yahoo.com \
    --to=brown_emu@yahoo.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=nicholas.dokos@hp.com \
    /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).