Carriage Return/Line Feed within informaltable cells on PDF

View: New views
5 Messages — Rating Filter:   Alert me  

Carriage Return/Line Feed within informaltable cells on PDF

by Kashif Shah :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

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

by Colin Shapiro-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...> 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@...
For additional commands, e-mail: docbook-apps-help@...



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

by Ron Catterall :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
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@...> 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@...
For additional commands, e-mail: docbook-apps-help@...


-- 
Ron Catterall, Phd, DSc                         email: ron@...
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@... For additional commands, e-mail: docbook-apps-help@...

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

by Colin Shapiro-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
That's a lot simpler than the way I had done it in the past.  Thanks.

Colin


On 3/29/07, Ron Catterall <ron@...> wrote:
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@...> 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@...
For additional commands, e-mail: docbook-apps-help@...


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


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

by Kashif Shah :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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