emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Achim Gratz <Stromeko@nexgo.de>
To: emacs-orgmode@gnu.org
Subject: Re: Batch export to html
Date: Thu, 08 Dec 2011 20:49:37 +0100	[thread overview]
Message-ID: <87iplqg7xq.fsf@Rainer.invalid> (raw)
In-Reply-To: 20111207111621.GA9897@panahar

Vikas Rawal <vikaslists@agrarianresearch.org> 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	other threads:[~2011-12-08 19:49 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-07 11:16 Batch export to html Vikas Rawal
2011-12-08 19:49 ` Achim Gratz [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-11-05 20:54 error: Execution of bibtex2html Vikas Rawal
2012-11-06 16:43 ` Suvayu Ali
2012-11-06 21:09   ` Vikas Rawal
2012-11-06 21:24     ` Myles English
2012-11-07  2:57       ` Vikas Rawal
2012-11-07  3:24         ` Yagnesh Raghava Yakkala
2012-11-07  4:10           ` Nick Dokos
2012-11-07  9:02             ` Renaming the thread: orgmode-bibtex/html-export issues Vikas Rawal
2012-11-09 21:32               ` Vikas Rawal
2012-11-09 22:16                 ` Vikas Rawal
2012-11-06 21:26   ` error: Execution of bibtex2html Vikas Rawal
2011-09-29 16:13 org-mobile-push Vikas Rawal
2011-09-29 16:48 ` org-mobile-push Jambunathan K
     [not found] ` <vikaslists@agrarianresearch.org>
2011-09-29 16:54   ` org-mobile-push Nick Dokos
2011-09-29 23:34     ` org-mobile-push Vikas Rawal
2011-10-01  6:40   ` org-mobile-push Nick Dokos
2011-10-02  3:09     ` org-mobile-push Vikas Rawal
2011-12-07 16:49   ` Batch export to html Nick Dokos
2012-11-06 21:23   ` error: Execution of bibtex2html Nick Dokos
2012-11-07  3:51     ` Vikas Rawal

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=87iplqg7xq.fsf@Rainer.invalid \
    --to=stromeko@nexgo.de \
    --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).