emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Samuel Potter <sfp.list@gmail.com>
To: Org-mode ml <emacs-orgmode@gnu.org>
Subject: options and batch exporting
Date: Wed, 15 Sep 2010 17:04:12 -0700	[thread overview]
Message-ID: <79198B02-06BC-46C6-B396-914DB94F2CB7@gmail.com> (raw)

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	other threads:[~2010-09-16  0:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-16  0:04 Samuel Potter [this message]
2010-09-16  0:15 ` options and batch exporting Sebastian Rose
2010-09-16  0:42   ` Samuel Potter

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=79198B02-06BC-46C6-B396-914DB94F2CB7@gmail.com \
    --to=sfp.list@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).