From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Rakestraw Subject: agenda formatting Date: Mon, 9 Feb 2009 10:36:02 -0500 Message-ID: <20090209103602.537c5b85@johnrakestraw.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LWY9b-0000IN-H2 for emacs-orgmode@gnu.org; Mon, 09 Feb 2009 10:34:35 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LWY9X-0000I5-5K for emacs-orgmode@gnu.org; Mon, 09 Feb 2009 10:34:34 -0500 Received: from [199.232.76.173] (port=36404 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LWY9W-0000I2-V3 for emacs-orgmode@gnu.org; Mon, 09 Feb 2009 10:34:31 -0500 Received: from uis-ipmx-1.pdc.uis.georgetown.edu ([141.161.2.135]:61248) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.60) (envelope-from ) id 1LWY9W-0003Qf-Lr for emacs-orgmode@gnu.org; Mon, 09 Feb 2009 10:34:30 -0500 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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