emacs-wiki-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[emacs-wiki-discuss] Re: No more next/previous month button on calendars


From: Michael Olson
Subject: [emacs-wiki-discuss] Re: No more next/previous month button on calendars
Date: Thu, 18 May 2006 03:17:06 -0400
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)

René <address@hidden> writes:

> René <jlr_0 <at> yahoo.com> writes:
>
>> When using <calendar> I get the following warning
>> but the calendar gets published:
>> 
>> (muse/warning) An error occurred while publishing index:
>> (wrong-type-argument char-or-string-p nil)
>
> I know now where this problem comes from.  I used to place the
> <calendar> tag inside my planner-header file.  If I place it in the
> day page itself then I do not get the warning anymore.
>
> That was very convenient though because I did not have to explicitly
> insert this tag in my day pages

Placing it in the planner-header should work now, even when adding the
arrows="t" part.

>> On the other hand, when using <calendar arrows="t"> nothing gets
>> published: no arrows and not even the calendar.
>
> Now I get the next/previous buttons, but instead of the arrows I get
> the string "&raquo;".
>
> How can I make muse interpret it as an actual HTML code?

By default, Muse will not display the arrows properly, due to
limitations in the special-escaping algorithm.  To work around this,
remove the & rule from `muse-xml-markup-specials' (assuming you are
using a recent snapshot of Muse, not 3.02.6).

(setq muse-xml-markup-specials
      '((?\" . "&quot;")
        (?\< . "&lt;")
        (?\> . "&gt;")))

-- 
Michael Olson -- FSF Associate Member #652 -- http://www.mwolson.org/
Interests: Emacs Lisp, text markup, protocols -- Jabber: mwolson_at_hcoop.net
  /` |\ | | | IRC: mwolson on freenode.net: #hcoop, #muse, #PurdueLUG
 |_] | \| |_| Project involvement: Emacs, Muse, Planner, ERC, EMMS

Attachment: pgpFqyAY2yJmj.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]