Re: Erratic behavior of keep-together.within-page=

2012-02-22 Thread Pascal Sancho
Hi, there is no best method to insert line breaks; this depends on context. If you have a text containing LF that must be preserved, it should be nested in a single fo:block. As a good practice, a fo:block with LF-treatment=preserve should not contain extra fo:blocks. Le 22/02/2012 06:29, Lal

Different Page Layout every xx document sheet

2012-02-22 Thread Maria Manta
Hello! We have to create a pdf document and each page will have a different layout as follows: * The first page has its own layout. * The second page has its own layout and this is where a big table starts. * Every 7th sheet (page num 13, 25, 37, 49, 61, etc.), the page has its own layout.

Re: Different Page Layout every xx document sheet

2012-02-22 Thread Rob Sargent
Will you be addressing the static regions of the seventh pages differently from one another. In other words does e.g. region-before or page 13 get the same content as region-before on page 25? On 02/22/2012 08:20 AM, Maria Manta wrote: Hello! We have to create a pdf document and each page

Re: xml processing instructions in textual content

2012-02-22 Thread Luis Bernardo
OK, I understand what you mean now. Your editor/authoring tool adds those ?Pub Caret? and you don't want that to break your PDF generation. I don't know what the expected behavior should be. I will have to investigate. On 2/22/12 1:04 AM, Craig Christophersen wrote: From xml and xsl.

RE: xml processing instructions in textual content

2012-02-22 Thread Craig Christophersen
Exactly. Except I have no control over the editing/authoring tool used or its configuration. My process must handle it if it meets xml specs. From: Luis Bernardo [mailto:lmpmberna...@gmail.com] Sent: Wednesday, February 22, 2012 4:41 PM To: fop-users@xmlgraphics.apache.org Subject: Re: xml

RE: xml processing instructions in textual content

2012-02-22 Thread Craig Christophersen
Sorry, meant to add. I think the expected behavior in textual content would be to be able to ignore the processing instruction. It seems to be ignored if it occurs in places other than textual content.. ?xml version=1.0 encoding=UTF-8? example para text con?Pub Caret?tent here /para?Pub

RE: xml processing instructions in textual content

2012-02-22 Thread Roland Neilands
As far as an XML parser is concerned you have 3 nodes within the “para” element; two separate text nodes with the PI in between them. Your XSL would need to string both text nodes together instead of just showing the first one. I’m a bit rusty on this sorry, but there should be a couple of ways