emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: andrea <andrea.crotti.0@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: batch exporting
Date: Mon, 21 Dec 2009 09:25:08 -0500	[thread overview]
Message-ID: <23292.1261405508@gamaville.dokosmarshall.org> (raw)
In-Reply-To: Message from andrea <andrea.crotti.0@gmail.com> of "Mon, 21 Dec 2009 08:27:54 +0100." <m16380hjlx.fsf@ip116-027.hgracht.rwth-aachen.de>

andrea <andrea.crotti.0@gmail.com> wrote:

> Carsten Dominik <carsten.dominik@gmail.com> writes:
> 
> > On Dec 20, 2009, at 11:43 PM, andrea wrote:
> >
> >> Nick Dokos <nicholas.dokos@hp.com> 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

  parent reply	other threads:[~2009-12-21 14:27 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 [this message]
2009-12-21 14:51           ` andrea
2009-12-21 17:10             ` Nick Dokos
2009-12-22  9:20               ` andrea

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=23292.1261405508@gamaville.dokosmarshall.org \
    --to=nicholas.dokos@hp.com \
    --cc=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 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).