OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook] How to do "nowrap" in docbook

Le mar 23/12/2003 à 06:24, jim kraai a écrit :
> from:
>   http://www.sagehill.net/docbookxsl/UsingCSS.html#CustomClass
> in your docbook file:
>   <entry role="nowrap">PCDATA</entry>
> in an <entry> element (also emphasis, para, and phrase), the docbook xsl is 
> supposed to copy whatever's in the role atribute to the corresponding HTML 
> element's class attribute.  So the above should produce:
>     <td class="nowrap">PCDATA</td>
> Next, the browser needs to be told what to do with that class.  In 
> your CSS file, add the following:
>   .nowrap {
>     white-space: nowrap;
>   }
> --- Harobed <mailing@harobed.org> wrote:
> > Hi,
> > 
> > I would like to do as <td nowrap> in html.
> > 
> > How to do this in docbook ?
> > 
> > Thanks

I do this : 

<tgroup cols="2" align="left" colsep="1" rowsep="1">
	<entry role="nowrap">si A = LF</entry>
	<entry>B est évalué lors du premier traitement</entry>
	<entry role="nowrap">si A = LM</entry>
	<entry>B est évalué pour chaque traitement, y compris le premier mais
il seraalors évalué
	 après celui de LF, et avant celui de LL</entry>
	<entry role="nowrap">si A = LR</entry>
	<entry>B est évalué lors du premier traitement, comme LF, mais LM n'est
pas évalué pour ce même traitement,
	et on passe directement au suivant</entry>

And role="nowrap" do nothing !
why this ?

Info : I'm on debian. A use docbook2html to generate my html file.

Stéphane KLEIN
Home page : http://www.harobed.org
Jabber : harobed@myjabber.net

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]