From mboxrd@z Thu Jan 1 00:00:00 1970 From: hymie! Subject: html preamble Date: Mon, 23 Mar 2015 20:12:29 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37598) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ya8iG-0003ND-2A for emacs-orgmode@gnu.org; Mon, 23 Mar 2015 16:12:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ya8iC-0004pF-92 for emacs-orgmode@gnu.org; Mon, 23 Mar 2015 16:12:39 -0400 Received: from plane.gmane.org ([80.91.229.3]:47883) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ya8iC-0004p4-1m for emacs-orgmode@gnu.org; Mon, 23 Mar 2015 16:12:36 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ya8iA-0003ry-FO for emacs-orgmode@gnu.org; Mon, 23 Mar 2015 21:12:35 +0100 Received: from 128.183.234.14 ([128.183.234.14]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 23 Mar 2015 21:12:34 +0100 Received: from hymie by 128.183.234.14 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 23 Mar 2015 21:12:34 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org So my next task is to learn about the HTML preamble. >From reading the docs, it looks like all of my org files have to share a single HTML preamble, which is set in my .emacs file through either the org-html-preamble variable, the org-html-preamble-format variable, or the org-publish-project-alist variable. There is no way to tell a specific Org file "This is your HTML preamble." Is that correct? Why are there two different variables org-html-preamble-format and org-html-preamble if the org-html-preamble variable can perform all of the tasks of org-html-preamble-format and more? Finally, how do I get the current date into the preamble? I see that I can specifically set a date, and I see the current date in a comment at the top of my exported HTML, but I can't figure out how to get the current date out of the comment and into my preamble. Thanks. --hymie!