From the documentation
http://orgmode.org/manual/Quoting-HTML-tags.html#Quoting-HTML-tags
I would say that you need to remove the ":" in "#+BEGIN_HTML:" and
the closing line. However leaving them works also on my emacs (org
6.31trans).
If it still does not work, can you send a minimal org file in which
the error is reproducible ?
Pierre
Le 16 mars 10 à 20:47, Zachary Young a écrit :
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:
<pre>Revision: 934
Message:
</p><ol>
<li>
Revved 'release-name' variable to '1.10'.
</li>
</ol>
<p>----
Modified : /trunk/scripts/AutoDoc/AutoDoc.build</pre>
#+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
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode