Can you please give us a sample page that contains this code to duplicate
the
problem?
Sure.
Here is the header.html. Code of "calendar" is at the end of header.html.
========================================
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title><lisp>(muse-wiki-publish-pretty-title)</lisp></title>
<style type="text/css" media="all">
@import "images/core.css";
@import "images/main.css";
</style>
<meta name="generator" content="Muse" />
<meta http-equiv="<lisp>muse-html-meta-http-equiv</lisp>"
content="<lisp>muse-html-meta-content-type</lisp>" />
</head>
<body>
<div id="Header">
<div id="PrjName">
<lisp>
;; insert pre day link when in Planner mode
(let ((page (planner-page-name)))
(when (and
page
(string-match planner-date-regexp page)
(planner-calendar-prev-day-page)
)
(planner-calendar-prev-date-href-from-page "«")))
</lisp>
<lisp>(muse-wiki-publish-pretty-title)</lisp>
<lisp>
;; insert next day link when in Planner mode
(let ((page (planner-page-name)))
(when (and
page
(string-match planner-date-regexp page)
(planner-calendar-next-day-page)
)
(planner-calendar-next-date-href-from-page "»")))
</lisp>
</div>
</div>
<div id="Logo"><img src="images/logo.gif" alt="logo" /></div>
<div id="NavBar">
<ul id="menu">
<li><a href="today.html">Today</a></li>
<li><a href="WikiIndex.html">Index</a></li>
</ul>
</div>
<div id="Calendar">
<calendar arrows="t">
</div>
<div id="Content">
========================================
Muse can not produce correct calendar HTML codes. If I add
<calendar arrows="t">
in normal muse file. It works fine. For example:
========================================
<calendar arrows="t">
* Tasks
#A1 X abc {{Tasks:30}} (TaskPool)
* Schedule
* Notes
========================================
My configuration is:
========================================
(setq muse-xml-markup-specials
'((?\" . """)
(?\< . "<")
(?\> . ">")))
(unless (assoc "my-site-xhtml" muse-publishing-styles)
(muse-derive-style "my-planner-xhtml" "planner-xhtml"
:header "~/mydoc/plans/muse/header.html"
:footer "~/mydoc/plans/muse/footer.html"))
(setq muse-project-alist
'(
("Plans"
("~/mydoc/plans"
:force-publish ("WikiIndex")
:default "TaskPool"
:major-mode planner-mode
:visit-link planner-visit-link)
(:base "my-planner-xhtml"
:path "~/public_html/plans"))
))
========================================
Can you reproduce the problem? Thx
Regards,
Zhao Lei
_______________________________________________
Planner-el-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/planner-el-discuss