emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* options and batch exporting
@ 2010-09-16  0:04 Samuel Potter
  2010-09-16  0:15 ` Sebastian Rose
  0 siblings, 1 reply; 3+ messages in thread
From: Samuel Potter @ 2010-09-16  0:04 UTC (permalink / raw)
  To: Org-mode ml

Hi all,
Sorry if this has been answered before -- wasn't able to track down a solution on my own. I have an org-mode file that has a set of #+OPTIONS: and #+STYLE: headers that I'd like to export to HTML from a shell script. Unfortunately, when I do so, it seems that the headers are being ignored. Any advice?

I'm running:

emacs --batch --load=$ORGPATH --visit=CA_Cell.org --funcall org-mode --funcall org-export-as-html

where $ORGPATH is the path to org.el.

The headers are the following:

#+TITLE:     CA\_Cell
#+OPTIONS:   H:3 num:nil toc:nil author:nil timestamp:nil creator:nil *:t
#+STYLE: <style type="text/css">
#+STYLE: html { font-family: helvetica, sans-serif; font-size: 12px }
#+STYLE: .title { font-size: 18px; font-weight: bold; text-align: left }
#+STYLE: ul { list-style: none; padding: 10px 0px 10px 27px }
#+STYLE: h1 { font-size: 14px; font-weight: bold; }
#+STYLE: h2 { font-size: 14px; font-weight: bold; }
#+STYLE: h3 { font-size: 14px; font-weight: bold; }
#+STYLE: </style>

(text follows...)

Thanks!

Samuel Potter
sfpotter at uw dot edu not sfp dot list at gmail dot com

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

end of thread, other threads:[~2010-09-16  0:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-16  0:04 options and batch exporting Samuel Potter
2010-09-16  0:15 ` Sebastian Rose
2010-09-16  0:42   ` Samuel Potter

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