From: Jambunathan K <kjambunathan@gmail.com>
To: Sean Davis <sdavis2@mail.nih.gov>
Cc: emacs-orgmode@gnu.org
Subject: Re: export org file to html from command-line
Date: Thu, 07 Apr 2011 10:42:58 +0530 [thread overview]
Message-ID: <81oc4iiqzp.fsf@gmail.com> (raw)
In-Reply-To: <BANLkTinsPyrZYAPsovFmkyn-0npmDT9xxA@mail.gmail.com> (Sean Davis's message of "Wed, 6 Apr 2011 21:36:29 -0400")
Sean Davis <sdavis2@mail.nih.gov> writes:
> I would like to have a way to export a file to html from the
> command-line
,----[ C-h f org-export-as-html-batch RET ]
| org-export-as-html-batch is a compiled Lisp function in `org-html.el'.
|
| (org-export-as-html-batch)
|
| Call the function `org-export-as-html'.
| This function can be used in batch processing as:
| emacs --batch
| --load=$HOME/lib/emacs/org.el
| --eval "(setq org-export-headline-levels 2)"
| --visit=MyFile --funcall org-export-as-html-batch
|
| [back]
`----
--
next prev parent reply other threads:[~2011-04-07 5:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-07 1:36 export org file to html from command-line Sean Davis
2011-04-07 5:12 ` Jambunathan K [this message]
2011-04-07 11:44 ` Sean Davis
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=81oc4iiqzp.fsf@gmail.com \
--to=kjambunathan@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=sdavis2@mail.nih.gov \
/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).