[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [emacs-wiki-discuss] Re: access to :style-sheet from <lisp> tag
From: |
Jim Ottaway |
Subject: |
Re: [emacs-wiki-discuss] Re: access to :style-sheet from <lisp> tag |
Date: |
Tue, 09 Oct 2007 21:32:31 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux) |
[apologies *again* to Seb for sending this directly to him:
misconfigured Gnus]
>>>>> Seb <address@hidden> writes:
> On Tue, 09 Oct 2007 20:31:07 +0100,
> Jim Ottaway <address@hidden> wrote:
> [...]
>> You could make your own variable instead of using a string literal:
>> (defvar my-style-sheet "<link rel=\"stylesheet\" type=\"text/css\"
>> media=\"all\" href=\"include/style.css\" />")
>> (muse-derive-style "my-xhtml" "xhtml" :style-sheet 'my-style-sheet)
> Thank you Jim, so one would insert a <lisp>my-style-sheet</lisp> wherever
> it's needed in the header file? In that case, what would be the purpose
> of having a :style-sheet in the muse-derive-style call above? Thanks.
Hmm. Sorry, I don't know, I'm afraid, I didn't really think hard enough
about what you might be trying to do, and I have only just started to do
any serious publishing to (x)html [today in fact!].
Doesn't a header get inserted that is inherited from the xhtml style?
There appears to be a bit of code in muse-xhtml-header that inserts the
style-sheet.
By the way, you might get a bigger audience on the muse e-mail list:
https://mail.gna.org/listinfo/muse-el-discuss
emacs-wiki is quite obsolete these days.
Regards,
--
Jim Ottaway