discuss: how to apply my own style?


Previous by date: 21 Nov 2003 07:13:13 -0000 Re: the good the bad and the ugly, Machtelt Garrels
Next by date: 21 Nov 2003 07:13:13 -0000 Re: how to apply my own style?, Machtelt Garrels
Previous in thread: 21 Nov 2003 07:13:13 -0000 how to apply my own style?, Artemio
Next in thread: 21 Nov 2003 07:13:13 -0000 Re: how to apply my own style?, Machtelt Garrels

Subject: Re: how to apply my own style?
From: Machtelt Garrels ####@####.####
Date: 21 Nov 2003 07:13:13 -0000
Message-Id: <Pine.LNX.4.44.0311210108100.9526-100000@server1.us.soti.org>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Fri, 21 Nov 2003, Artemio wrote:

> Hello!
> 
> I've almost done with my first HOWTO.
> 
> I got the TLDP XSL stylesheets and they work fine.
> 
> However, what if I want to add a touch of style to my howto? For example, I 
> want all bash <prompt>s and <programlisting>s to have a grey background. How 
> do I do this? I believe I have to do it in the xml source, because in future 
> TLDP guys will make all the conversions.
> 
> I know that html versions point to style.css, but I also know that there are 
> howtos that have the style embedded in respective tags which makes them more 
> compact.

Content is done in XML.  Formatting and style (how it looks) is done in 
the stylesheet that you use for converting the XML into something humanly 
readable.

You can see an example of a stylesheet that I applied for the stuff in 
http://tille.soti.org/training/bash/ at 
http://tille.soti.org/training/bash/mystyle.dsl

When converting the document XML sources to HTML, I use this alternative 
stylesheet instead of the default.

I'm not an expert in this but I hope it helps.

T.

- -- 

My Penguin, my freedom.		http://tille.soti.org


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

iD8DBQE/vbsGsIIUbMXbBA8RAngcAKC6THYzNp9s6aSa+3oyN1KXykSUGACgigb+
7eLmPkbuv/Gu7q1Uu+eKe6s=
=LIqh
-----END PGP SIGNATURE-----


Previous by date: 21 Nov 2003 07:13:13 -0000 Re: the good the bad and the ugly, Machtelt Garrels
Next by date: 21 Nov 2003 07:13:13 -0000 Re: how to apply my own style?, Machtelt Garrels
Previous in thread: 21 Nov 2003 07:13:13 -0000 how to apply my own style?, Artemio
Next in thread: 21 Nov 2003 07:13:13 -0000 Re: how to apply my own style?, Machtelt Garrels


  ©The Linux Documentation Project, 2014. Listserver maintained by dr Serge Victor on ibiblio.org servers. See current spam statz.