emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Batch export to html


From: Achim Gratz
Subject: Re: [O] Batch export to html
Date: Thu, 08 Dec 2011 20:49:37 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (gnu/linux)

Vikas Rawal <address@hidden> writes:
> I would like to export an org file to html using a batch command. This
> is the command I tried.
>
> emacs --batch --load=$HOME/lisp/org-7.01/lisp/org.el --eval "(setq
> org-export-headline-levels 1)" --visit=$HOME/file.org --funcall 
> org-export-as-html-batch

That won't work.  At least you will need to load org-install.el, which
conatains all the autoload stuff that org-mode needs.  The export will
likely require some more customization of org-mode variables, so you'll
probably want to load a startup file that includes those customizations
and then a (require 'org-install).

> But I get an error which says: 
>
> Symbol's function definition is void: org-in-block-p
>
> Could anyone explain what this could mean?

It means the function isn't already defined and emacs doesn't know any
way to find that definition.  Which is exactly what you prevented by not
loading org-install.


HTH,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptation for Waldorf rackAttack V1.04R1:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada




reply via email to

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