From: Zachary Young <zacharysyoung@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Export HTML from command line
Date: Tue, 16 Mar 2010 12:47:53 -0700 [thread overview]
Message-ID: <91dc62521003161247u204eb069sd4be923c9c8d62c9@mail.gmail.com> (raw)
[-- 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:
<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
[-- 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
next reply other threads:[~2010-03-16 19:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-16 19:47 Zachary Young [this message]
2010-03-17 9:35 ` Export HTML from command line Pierre de Buyl
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=91dc62521003161247u204eb069sd4be923c9c8d62c9@mail.gmail.com \
--to=zacharysyoung@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 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.