[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[emacs-wiki-discuss] Re: How to insert a month-calendar in my plan pages
From: |
Michael Olson |
Subject: |
[emacs-wiki-discuss] Re: How to insert a month-calendar in my plan pages |
Date: |
Fri, 22 Jul 2005 21:34:03 -0500 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
"Charles philip Chan" <address@hidden> writes:
> Oops that should be:
>
> (add-hook 'emacs-wiki-before-markup-hook
> 'planner-calendar-insert-calendar-maybe)
>
> and adjust for muse. YMMV, since I am using emacs-wiki + planner,
> not muse.
For Muse, you'd have to derive a publishing style from xhtml/html
first, and then add ":before 'planner-calendar-insert-calendar-maybe".
For example:
(unless (assoc "my-html" muse-publishing-styles)
(muse-derive-style "my-html" "html"
:maintainer "address@hidden"
:before 'planner-calendar-insert-calendar-maybe
:header "~/Documents/site/header.html"
:footer "~/Documents/site/footer.html"))
And then modify your `muse-project-alist' to use :base "my-html".
--
Michael Olson -- FSF Associate Member #652 -- http://www.mwolson.org/
Interests: anime, Debian, XHTML, wiki, Emacs Lisp
/` |\ | | | IRC: mwolson on freenode.net: #hcoop, #muse, #pulug
|_] | \| |_| Jabber: mwolson_at_hcoop.net
pgpp5SRqpg0ho.pgp
Description: PGP signature