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

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

[emacs-wiki-discuss] Re: access to :style-sheet from <lisp> tag


From: Michael Olson
Subject: [emacs-wiki-discuss] Re: access to :style-sheet from <lisp> tag
Date: Tue, 09 Oct 2007 16:24:16 -0400
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux)

Seb <address@hidden> writes:

> Hi,
>
> If we have a style defined:
>
> (muse-derive-style "my-xhtml" "xhtml"
>                  :style-sheet "<link rel=\"stylesheet\" type=\"text/css\" 
> media=\"all\"
>                                 href=\"include/style.css\" />")
>
> and we want to write a header file for the projects using this derived
> style, what variable can be used inside a <lisp> tag to insert the
> contents of :style-sheet above?  For the projects using the xhtml
> style, I can use <lisp>muse-xhtml-style-sheet</lisp>, but what's the
> variable for a derived style?  Thanks.

<lisp>
(muse-style-element :style-sheet muse-publishing-current-style)
</lisp>

-- 
       Michael Olson -- FSF Associate Member #652     |
 http://mwolson.org/ -- Jabber: mwolson_at_hcoop.net  |  /` |\ | | |
            Sysadmin -- Hobbies: Lisp, GP2X, HCoop    | |_] | \| |_|
Projects: Emacs, Muse, ERC, EMMS, ErBot, DVC, Planner |

Attachment: pgpuZp6MRtnhd.pgp
Description: PGP signature


reply via email to

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