all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Export HTML from command line
@ 2010-03-16 19:47 Zachary Young
  2010-03-17  9:35 ` Pierre de Buyl
  0 siblings, 1 reply; 2+ messages in thread
From: Zachary Young @ 2010-03-16 19:47 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 873 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 1934 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

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

end of thread, other threads:[~2010-03-17  9:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-16 19:47 Export HTML from command line Zachary Young
2010-03-17  9:35 ` Pierre de Buyl

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.