Re: Re: access to :style-sheet from <lisp> tag

Jim Ottaway <[email protected]> Tue, 09 Oct 2007 21:32:31 +0100
Newsgroups gmane.emacs.wiki.general
Message-ID <[email protected]>
[apologies *again* to Seb for sending this directly to him:
misconfigured Gnus]

>>>>> Seb  <[email protected]> writes:

> On Tue, 09 Oct 2007 20:31:07 +0100,
> Jim Ottaway <[email protected]> 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