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


_______________________________________________
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

Reply via email to