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,
Fabien


-----Message d'origine-----
De : Bob Stayton [mailto:[email protected]] 
Envoyé : mardi 24 août 2010 22:00
À : Fabien Tillier; [email protected]
Objet : Re: [docbook-apps] Biblio reference display

Hi,
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
[email protected]


----- Original Message ----- 
From: "Fabien Tillier" <[email protected]>
To: <[email protected]>
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

[
195
]
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">
<citation>
<xref linkend="195" role="bib"/>
</citation>
</entry>
...

Thanks in advance,
Best regards,
Fabien


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to