[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [emacs-wiki-discuss] Re: Header is not working
From: |
Chris McMahan |
Subject: |
Re: [emacs-wiki-discuss] Re: Header is not working |
Date: |
Mon, 18 Jul 2005 09:47:01 -0400 |
Thanks.
For testing, I pasted the default value of muse-xhtml-header into a
file called header.html and replaced the "\n" with an actual linefeed.
On publishing using this new header file, I get no header inserted at
all, and the following warnings:
Warning (muse): 2005.07.18: Error evaluating
(concat (muse-publishing-directive \"title\")
(let ((author (muse-publishing-directive \"author\")))
(if (not (string= author (user-full-name)))
(concat \" (by \" author \")\")))): (void-variable "title")
Warning (muse): 2005.07.18: Error evaluating
(concat (muse-publishing-directive \"title\")
(let ((author (muse-publishing-directive \"author\")))
(if (not (string= author (user-full-name)))
(concat \" (by \" author \")\")))): (void-variable "title")
It appears as if the lisp is not being evalated when the data is in a
file.
- Chris McMahan
Michael Olson writes:
>Chris McMahan <address@hidden> writes:
>
>> Is there any way to reference a file when setting the value of
>> muse-xhtml-header/footer?
>
>Yes. If you're using the customize interface, enter the name of the
>file, but don't surround it with quotes. I realize that the way I had
>set up the customization interface for headers and footers is slightly
>confusing; I'll fix that using documentation instead of having a
>Choice button.
>
>If you prefer editing your .emacs file, just add something like the
>following.
>
>(setq muse-html-header "~/path/to/header.html"
> muse-html-footer "~/path/to/footer.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
--
================================
Chris McMahan | address@hidden
================================
- [emacs-wiki-discuss] Header is not working, Chris McMahan, 2005/07/17
- [emacs-wiki-discuss] Re: Header is not working, Michael Olson, 2005/07/17
- Message not available
- Message not available
- Re: [emacs-wiki-discuss] Re: Header is not working,
Chris McMahan <=
- [emacs-wiki-discuss] Re: Header is not working, drkm, 2005/07/19
- [emacs-wiki-discuss] Re: Header is not working, drkm, 2005/07/19
- Re: [emacs-wiki-discuss] Re: Header is not working, Chris McMahan, 2005/07/19
- [emacs-wiki-discuss] Re: Header is not working, drkm, 2005/07/20
- Re: [emacs-wiki-discuss] Re: Header is not working, Chris McMahan, 2005/07/20
- [emacs-wiki-discuss] Re: Header is not working, Michael Olson, 2005/07/20