emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Re: batch exporting


From: Nick Dokos
Subject: Re: [Orgmode] Re: batch exporting
Date: Mon, 21 Dec 2009 09:25:08 -0500

andrea <address@hidden> wrote:

> Carsten Dominik <address@hidden> writes:
> 
> > On Dec 20, 2009, at 11:43 PM, andrea wrote:
> >
> >> Nick Dokos <address@hidden> writes:
> >>
> >>> See the thread at
> >>>
> >>>    http://thread.gmane.org/gmane.emacs.orgmode/17059
> >>
> >> I also tried the scripts from that thread (but it's actually the same
> >> thing), I always get the same error.
> >> What could that mean:
> >>
> >> "converting file euler.org
> >> Wrong type argument: commandp, org-export-as-html-batch"
> >
> > Have you tried (as the installation instructions say)
> >
> > (require 'org-install)
> >
> > ??
> >
> Now it goes a bit further
> 
>     emacs   --batch \
>       --eval "(add-to-list 'load-path \"$HOME/.emacs.d/org-mode/lisp/\")" \
>       --eval "(require 'org-install)" \
>       --load=$orglib/org.el \
>       --visit=$1 --funcall org-export-as-html-batch
> 
> ip116-027:euler_project andrea$ org_html.sh euler.org 
> converting file euler.org
> Exporting...
> htmlize.el 1.34 or later is needed for source code formatting
> Exporting...
> Exporting...
> Wrong type argument: stringp, nil
> 
> How can I have more verbose errors by the way?
> 

Further along in the thread I pointed out to you, there is a discussion
of emacs --batch implying emacs -q and how to load your .emacs file.
I believe that't the problem you are having.

HTH,
Nick




reply via email to

[Prev in Thread] Current Thread [Next in Thread]