discuss: Updated CSS for HOWTOs


Previous by date: 22 Mar 2004 14:26:38 -0000 Re: Updated CSS for HOWTOs, Chris Karakas
Next by date: 22 Mar 2004 14:26:38 -0000 Re: Updated CSS for HOWTOs, Chris Karakas
Previous in thread: 22 Mar 2004 14:26:38 -0000 Re: Updated CSS for HOWTOs, Chris Karakas
Next in thread: 22 Mar 2004 14:26:38 -0000 Re: Updated CSS for HOWTOs, Chris Karakas

Subject: Re: Updated CSS for HOWTOs
From: "Ferg / LDP" ####@####.####
Date: 22 Mar 2004 14:26:38 -0000
Message-Id: <20040322142638.164B936B28@mail01.powweb.com>

Hello Chris,

> I still miss an answer that tells me which markup is used in DocBook for
>
> - prompts

class="prompt" is used

   <prompt>boot:</prompt>
  
becomes:
 
  <TT CLASS="PROMPT">boot:</TT>

> - user entered text

tag?

> - variables

class "varname" is used:

   The array <varname>major_a</varname>

becomes:

  The array <TT CLASS="VARNAME">major_a</TT> 

> - literals

    <literal>abcdSDB</literal>

becomes:

   <TT CLASS="LITERAL">abcdSDB</TT> 

> Only then is it possible to sit down and design a CSS that meets the above
> requirements.

I absoultely agree.

In general, you can be assured that the tag utilized
(see http://docbook.org/tdg/en/html/docbook.html) in
the SGML/XML markup will indeed transpose to become
a class="" attribute within the resultant HTML when using
the openjade+DSSSL conversion path.

I will stress that usually any SGML/XML attributes used  
are hanlded directly within the processing and are not written
out as any sort of class attribute in the HTML. An example is the
use of role="" on the <emphasis> DocBook tag. The DSSSL processing
looks to see if role is set to "strong", and if so, outputs the <strong>
tag into the html, else uses <em>.

regards,
-- 
Greg Ferguson / LDP volunteer
####@####.####

Previous by date: 22 Mar 2004 14:26:38 -0000 Re: Updated CSS for HOWTOs, Chris Karakas
Next by date: 22 Mar 2004 14:26:38 -0000 Re: Updated CSS for HOWTOs, Chris Karakas
Previous in thread: 22 Mar 2004 14:26:38 -0000 Re: Updated CSS for HOWTOs, Chris Karakas
Next in thread: 22 Mar 2004 14:26:38 -0000 Re: Updated CSS for HOWTOs, Chris Karakas


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