emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Rakestraw <lists@johnrakestraw.com>
To: emacs-orgmode@gnu.org
Subject: agenda formatting
Date: Mon, 9 Feb 2009 10:36:02 -0500	[thread overview]
Message-ID: <20090209103602.537c5b85@johnrakestraw.com> (raw)

Hi --

I'd like to export my agenda to an html page, and I'd like to do
regularly with a cron job. I've set up the custom agenda view, and
use the batch processing described here:

http://orgmode.org/manual/Using-the-agenda-elsewhere.html#Using-the-agenda-elsewhere

When I export the custom agenda using C-c a e interactively from within
emacs, the agenda.html file has all the formatting of the usual agenda
within org -- colored and bold fonts as I expect them to be. However,
when I create the agenda using this command from the command line:

emacs -batch -l ~/.emacs -eval '(org-batch-agenda "e")'

all of the text in agenda.html is the same color. In addition, much of
the text in the html version is italicized.

Looking at the html source of the two different versions, I see that
the CSS style settings are different, so the export process of the
batch file is picking up a different css style sheet than the one
picked up by the export process called within emacs. (I found the file
org.css in my org git directory, but that seems to have still different
settings for faces.)

I've not changed any of the default face settings.

Should the formatting in the html file produced by the batch process be
the same as the formatting produced using C-c a e within emacs. Or, in
other words, is there a problem with my set-up? 

Apologies if there's an obvious answer to this -- my searches haven't
turned up anything.

Thanks --

-- 
John Rakestraw

             reply	other threads:[~2009-02-09 15:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-09 15:36 John Rakestraw [this message]
2009-02-10  1:52 ` agenda formatting John Rakestraw
2009-02-10 10:50   ` Carsten Dominik

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=20090209103602.537c5b85@johnrakestraw.com \
    --to=lists@johnrakestraw.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).