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

Michael Olson <[email protected]> Tue, 09 Oct 2007 16:24:16 -0400
Newsgroups gmane.emacs.wiki.general,gmane.emacs.muse.general
Message-ID <[email protected]>
--===============1055472780==
Content-Type: multipart/signed; boundary="=-=-=";
	micalg=pgp-sha1; protocol="application/pgp-signature"

--=-=-=
Content-Transfer-Encoding: quoted-printable

Seb <[email protected]> writes:

> Hi,
>
> If we have a style defined:
>
> (muse-derive-style "my-xhtml" "xhtml"
> 		   :style-sheet "<link rel=3D\"stylesheet\" type=3D\"text/css\" media=
=3D\"all\"
>                                 href=3D\"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>

=2D-=20
       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 |

--=-=-=
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHC+Ny+1Ho2POo0xkRAgl/AKCqPMNuai+uDXZtcRTrOA7DiIniqQCgla5J
RHtnwFz7Z/XWYwqgkw+JCFw=
=Ztk/
-----END PGP SIGNATURE-----
--=-=-=--



--===============1055472780==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
emacs-wiki-discuss mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/emacs-wiki-discuss

--===============1055472780==--