emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] Export HTML from command line


From: Zachary Young
Subject: [Orgmode] Export HTML from command line
Date: Tue, 16 Mar 2010 12:47:53 -0700

Hi all,

When I run `org-export-as-html' in a buffer, it works as I expect, but when I try to run it from an emacs batch command:

emacs --batch --execute='(setq vc-follow-symlinks nil)' --visit=current-day.org --execute='(org-export-as-html-and-open nil)'

anything between #+BEGIN_HTML: and #+END_HTML: are exported like the following:

<p>#+BEGIN_HTML:
&lt;pre&gt;Revision: 934
Message:
</p><ol> 
<li> 
Revved 'release-name' variable to '1.10'.
</li> 
</ol> 
 
<p>----
Modified : /trunk/scripts/AutoDoc/AutoDoc.build&lt;/pre&gt;
#+END_HTML:
</p>

and I am expecting:

<pre>Revision: 934
Message:
1) Revved 'release-name' variable to '1.10'.
----
Modified : /trunk/scripts/AutoDoc/AutoDoc.build</pre>

This is my first try at running emacs as a batch command, so I might be doing something wrong there.

If more information is required, please let me know.

Thank you,
Zach

reply via email to

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