emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [new exporter] workaround/replacement for org-export-as-html-batch
@ 2013-02-12 11:36 Detlef Steuer
  2013-02-12 19:34 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Detlef Steuer @ 2013-02-12 11:36 UTC (permalink / raw)
  To: emacs-orgmode

Dear all,

I rely on

emacs --batch \
      --eval "(add-to-list 'load-path \"${HOME}/GIT/org-mode/lisp/\")"\
      --load ${HOME}/GIT/org-mode/lisp/org.el \
      --visit file.org \
      --funcall org-export-as-html-batch

somewhere in my HTML generating workflow.

I see org-export-as-html-batch in the FIXME section in the source.

Is there any easy workaround for the moment? Or a guess when it will leave that section?

Naively loading the old stuff by adding a
      ---eval "(add-to-list 'load-path \"${HOME}/GIT/org-mode/contrib/oldexp/\")"\
line to the call above did not work either.
I then get: 
---
Exporting...
Symbol's value as variable is void: org-export-with-sub-superscripts
---

What worked was de-automating that step and export manually, so it's not an emergency.

Obviously my google-fu wasn't up to the task, too.

All that with orgmode from today.

Thanks for any help
Detlef

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [new exporter] workaround/replacement for org-export-as-html-batch
  2013-02-12 11:36 [new exporter] workaround/replacement for org-export-as-html-batch Detlef Steuer
@ 2013-02-12 19:34 ` Nicolas Goaziou
  2013-02-13  9:16   ` Detlef Steuer
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2013-02-12 19:34 UTC (permalink / raw)
  To: Detlef Steuer; +Cc: emacs-orgmode

Hello,

Detlef Steuer <detlef.steuer@gmx.de> writes:

> I rely on
>
> emacs --batch \
>       --eval "(add-to-list 'load-path \"${HOME}/GIT/org-mode/lisp/\")"\
>       --load ${HOME}/GIT/org-mode/lisp/org.el \
>       --visit file.org \
>       --funcall org-export-as-html-batch
>
> somewhere in my HTML generating workflow.

You may want to set-up a publishing project instead.

Does `org-html-export-to-html' works as a replacement for
`org-export-as-html-batch'?

> I see org-export-as-html-batch in the FIXME section in the source.

The FIXME section ought to be fixed anyway.

> Is there any easy workaround for the moment? Or a guess when it will leave that section?
>
> Naively loading the old stuff by adding a
>       ---eval "(add-to-list 'load-path \"${HOME}/GIT/org-mode/contrib/oldexp/\")"\
> line to the call above did not work either.
> I then get: 
> ---
> Exporting...
> Symbol's value as variable is void: org-export-with-sub-superscripts
> ---

The old export framework is not usable anymore from master branch.


Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [new exporter] workaround/replacement for org-export-as-html-batch
  2013-02-12 19:34 ` Nicolas Goaziou
@ 2013-02-13  9:16   ` Detlef Steuer
  0 siblings, 0 replies; 3+ messages in thread
From: Detlef Steuer @ 2013-02-13  9:16 UTC (permalink / raw)
  To: emacs-orgmode

On Tue, 12 Feb 2013 20:34:55 +0100
Nicolas Goaziou <n.goaziou@gmail.com> wrote:

> Does `org-html-export-to-html' works as a replacement for
> `org-export-as-html-batch'?

Yes! Thank you so much!

Detlef

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-02-13  9:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-12 11:36 [new exporter] workaround/replacement for org-export-as-html-batch Detlef Steuer
2013-02-12 19:34 ` Nicolas Goaziou
2013-02-13  9:16   ` Detlef Steuer

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).