emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Converting to html in a shell script
@ 2008-03-13  0:01 lanas
  2008-03-13  1:04 ` Bastien Guerry
  2008-03-13 17:36 ` Michael Hohn
  0 siblings, 2 replies; 3+ messages in thread
From: lanas @ 2008-03-13  0:01 UTC (permalink / raw)
  To: emacs-orgmode

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

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

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

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-13  0:01 Converting to html in a shell script lanas
2008-03-13  1:04 ` Bastien Guerry
2008-03-13 17:36 ` Michael Hohn

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).