This is the mail archive of the
docbook-tools-discuss@sourceware.cygnus.com
mailing list for the docbook-tools project.
Re: text attributes
- To: dbr@informactis.com
- Subject: Re: text attributes
- From: Mark Galassi <rosalia@lanl.gov>
- Date: 06 Sep 1999 09:52:37 -0600
- Cc: docbook-tools <docbook-tools-discuss@sourceware.cygnus.com>
- References: <199909031206.OAA05019@s2.smtp.oleane.net>
dbr> Hello, I try to find how to change a text attribute: for
dbr> example bold or italique. Idea ??
The DocBook approach is that you don't set the text attribute, but
rather you specify the *meaning* of the text you are marking up. The
stylesheets will set the appropriate bold or italic style.
For example, if you are trying to emphasize the text, you can say
<emphasis>this is important text</emphasis>, and the stylesheets will
render it in italics.
If you are talking about a parameter to a function, you mark it up
with <parameter>file_pointer</parameter>, and the stylesheets will
handle the visual aspect of that.