From: lanas <lanas@securenet.net>
To: emacs-orgmode@gnu.org
Subject: Converting to html in a shell script
Date: Wed, 12 Mar 2008 20:01:41 -0400 [thread overview]
Message-ID: <20080312200141.4273426f@mistral.stie> (raw)
Hi all,
I would like to convert an org file to HTML, much like C-c C-e h
would do, automatically from a shell script. So far I've tried
unsuccesfully some permutaions of:
emacs -batch -l ~/.emacs -eval '(org-export-as-html "./file.org")'
emacs -batch -l ~/.emacs -eval '(org-export-as-html)' ./file.org
Is it at all possible and if so, what would be the actual way of
calling emacs to do this ?
Thanks,
Al
next reply other threads:[~2008-03-13 0:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-13 0:01 lanas [this message]
2008-03-13 1:04 ` Converting to html in a shell script Bastien Guerry
2008-03-13 17:36 ` Michael Hohn
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080312200141.4273426f@mistral.stie \
--to=lanas@securenet.net \
--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 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).