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


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

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

Subject: RE: [docbook-apps] Biblio reference display

Ho Bob.
Good shot, I have some formatting with 
<xsl:attribute name="padding-top"><xsl:value-of select="'0pt'"/></xsl:attribute>
<xsl:attribute name="padding-right"><xsl:value-of select="'5.4pt'"/></xsl:attribute>
<xsl:attribute name="padding-bottom"><xsl:value-of select="'0pt'"/></xsl:attribute>
<xsl:attribute name="padding-left"><xsl:value-of select="'5.4pt'"/></xsl:attribute>

If I set 5.4pt to 0, then, it is displayed as a single line.
However, this leads to ugly tables where cell content is very close to each other. I will try to find a good value so that the ref stays in line and the cells are somehow separated (so somewhere between 0 and 5.4pt...)

Thanks for your clever help.
Best regards,

-----Message d'origine-----
De : Bob Stayton [mailto:bobs@sagehill.net] 
Envoyé : mardi 24 août 2010 22:00
À : Fabien Tillier; docbook-apps@lists.oasis-open.org
Objet : Re: [docbook-apps] Biblio reference display

I'm not able to duplicate this problem.  The output to FO or HTML will have line feed 
characters before and after the xref, because there are line breaks in the source 
file. Because entry allows mixed content (mixing elements and text), those literal 
line feed characters are preserved in the output.  But the HTML browser and the FO 
formatter should treat those line feeds as single space when generating the displayed 
content.  Something else is causing the line feeds to be *displayed* as line breaks. 
Do you have any customization of citation or entry with role="Tab3" that would add 
formatting properties that preserve white space?  Can you peek into the FO and HTML 
and see what other coding might be in there to cause that?

You can eliminate the problem in the source file by removing the line feeds:

<citation><xref linkend="195" role="bib"/></citation>

That will also eliminate the spaces in the output.

Bob Stayton
Sagehill Enterprises

----- Original Message ----- 
From: "Fabien Tillier" <f.tillier@cerep.fr>
To: <docbook-apps@lists.oasis-open.org>
Sent: Tuesday, August 24, 2010 9:08 AM
Subject: [docbook-apps] Biblio reference display

Hi List.
I am generating documents (article in DB terminology) and thus get some
bibliography to handle.
It works pretty well, except that, when I generate tables, the
bibliographic link gets split like

When the column is too narrow.
This occurs in HTML and FOP output, thus I assume the problem is not
exactly space, as in HTML it should be managed automatically.
How can I force the display to be [195] in a single line ?
I am using this XML for display
<entry role="Tab3">
<xref linkend="195" role="bib"/>

Thanks in advance,
Best regards,

To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org

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