emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] options and batch exporting


From: Samuel Potter
Subject: [Orgmode] options and batch exporting
Date: Wed, 15 Sep 2010 17:04:12 -0700

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]