emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Xin Shi <xs32@cornell.edu>
To: org-mode mailing list <emacs-orgmode@gnu.org>
Subject: org export html with header and footer option
Date: 20 Feb 2008 21:31:07 -0500	[thread overview]
Message-ID: <yleodabavmc.fsf_-_@lnx618.lns.cornell.edu> (raw)
In-Reply-To: <399B44CF-DECF-41A1-BEED-169A075AB32A@science.uva.nl>

Hello, 

I've been using Emacs Muse and Planner to maintain my project in html format for about 3 years. Until recently, I started looking into the org mode and really impressed by it! 

Now, when I want to publish org to html, it is possible to add a header and footer file? Usually the header file contains the style and other format related settings. 


Just for reference, here is the settings in Emacs Muse:


------------------------------------------------------------------------
(muse-derive-style "calendar" "planner-xhtml"
		   :header "~/work/static/templates/header-calendar.html"
		   :footer "~/work/static/templates/footer.html")

(setq muse-project-alist
       (append muse-project-alist 
	       `(
		 ("cms-calendar"
		  ("~/work/calendar/"
		  :force-publish ("index")
		  :default "index")
		 (:base "calendar"
		  :path "~/work/cms/calendar/"))
        )))     
------------------------------------------------------------------------

Thanks!

Xin

  parent reply	other threads:[~2008-02-21  2:31 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-19  8:20 Release 5.22 Carsten Dominik
2008-02-20 14:11 ` Bernt Hansen
2008-02-20 21:48   ` Carsten Dominik
2008-02-20 22:16     ` Bernt Hansen
2008-02-21  2:31     ` Xin Shi [this message]
2008-02-21  3:36       ` org export html with header and footer option William Henney
2008-02-21  4:49         ` Xin Shi
2008-02-21 15:35         ` Xin Shi
2008-02-21 15:47           ` William Henney

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=yleodabavmc.fsf_-_@lnx618.lns.cornell.edu \
    --to=xs32@cornell.edu \
    --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).