« Return to Thread: Carriage Return/Line Feed within informaltable cells on PDF

Re: Carriage Return/Line Feed within informaltable cells on PDF

by Kashif Shah :: Rate this Message:

Reply to Author | View in Thread

Hello,

a mate found a solution for the problem with the table cells. Because the <entry> tag doesnt support chr(10)
I had to enclose the text with the <literallayout> tag. That supports the line brakes.

Thanks to all

Kashif

Ron Catterall wrote:
Re: [docbook-apps] Carriage Return/Line Feed within
inform
It's very easy to put in an extra
fo block to act as a line break

<!-- PI to cause a line
break - usage <?lb?> -->
<xsl:template match="processing-instruction('lb')">
<fo:block/>
</xsl:template>

Does this help?

Ron



I have personally never been able to get
any kind of line breaks to work by attempting to insert them into a
source file.

Instead, I have had to do things with a customization layer in XSLT,
to produce separate fo:block elements to break lines.

I can post an example if you'd like, but in the meantime I'd like to
know if anyone else has a better solution.

Colin

On 3/29/07, D_A_U < kashifshah@gmx.de > wrote:

Hello,

I am new here and especially new with using Docbook. I want to
create
Reports with results of softwaretests.
I used an informaltable. Within the tablecells I have text with
includes a
char(10) --> Carriage return.
The PDF result ignores these CR/LF.
Does someone know to solve this? I can also transform the chr(10) to
an
other character before converting.

Thanks
--
View this message in context: http://www.nabble.com/Carriage-Return-Line-Feed-within-informaltable-cells-on-PDF-tf3488163.html#a9740072 
Sent from the docbook apps mailing list archive at Nabble.com .


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



--

Ron Catterall, Phd, DSc
       
       
       
email: ron@catterall.net
Prolongacion de Hidalgo 140    
       
       
       
http://catterall.net/ 
San Felipe del Agua       
       
       
       
        tel:
+52 951 520 1821
Oaxaca      68020 
Mexico 
       
       
        fax:
+1 530 348 8309



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

 « Return to Thread: Carriage Return/Line Feed within informaltable cells on PDF