Re: Keep-together

2004-08-09 Thread J.Pietschmann
Steve Lockwood wrote:
My table rows are all defined as:
   
You probably want to try
 
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: keep together pages

2003-08-19 Thread Victor Mote
Todtenhaupt, Susann wrote:

> I'm producing TXT through XSL:FO and FOP. If there're more than one page
> there's following effect: Between the pages there's a break of several
> lines. I didn't find a property to suppress this pagebreak.

The TXT output is laid out on the page just as it would for PDF, then
converted to text. I suspect that the blank lines are the layout's way of
mimicking the margins at the top and bottom of a printed page. Try
eliminating (or making very tiny) the regions and margins at the top and
bottom of the page. See
http://xml.apache.org/fop/output.html#txt
for more details. Another alternative is to simply use an XSLT
transformation to get your text output.

Victor Mote


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: keep-together / blind tables

2003-03-05 Thread Matthias Brunner
On Monday 03 March 2003 19:31, Peter Solberg wrote:
> Try the :fo:table-header   There are other examples in the FOP
> package..  However, if you want running headers such as
> , you cannot use this... you must put the
>  in xsl:region-before.

This helps. Thanks!

-Matthias Brunner

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: keep-together / blind tables

2003-03-03 Thread Peter Solberg

Try the :fo:table-header   There are other examples in the FOP package..  However, if you want running headers such as , you cannot use this... you must put the  in xsl:region-before.
Does that help?
Pete Solberg
                      
                        		    

>From: Matthias Brunner <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED] 
>To: [EMAIL PROTECTED] 
>Subject: keep-together / blind tables 
>Date: Mon, 3 Mar 2003 19:24:35 +0100 
> 
>Hello, 
> 
>I know this is a FAQ but I did not find anything appropriate to my 
>specific problem. 
>I have paragraphs with a heading and, of course, I do not want the 
>heading to be left alone on one page with the paragraphs being on 
>the next one. 
> 
>---excerpt--- 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>---excerpt--- 
> 
> 
>keep-with-next works, the heading is never left alone. 
>But even if a paragraph is half a page in size it is not seperated 
>any more thus leaving ugly blank spots on the pages. (strange ASCII 
>art example attached below :) 
>What can I do to allow the separation of this paragraph? 
> 
> 
>Thanks in advance, 
>Matthias 
> 
> 
>Example: 
>p1 
> 
> 
> 
>content 
>content 
>content 
> 
>EMPTY 
>EMPTY 
>EMPTY 
>EMPTY 
>--- 
>p2 
> 
> 
> 
>content 
>content 
>content 
>content 
>content 
>content 
>content 
> 
> 
> 
> 
> 
>INSTEAD OF: 
>p1 
> 
> 
> 
>content 
>content 
>content 
> 
> 
> 
>content 
>content- 
>--- 
>p2 
> 
>content 
>content 
>content 
>content 
>content 
> 
>EMPTY 
>EMPTY 
>EMPTY 
>EMPTY 
> 
> 
>- 
>To unsubscribe, e-mail: [EMAIL PROTECTED] 
>For additional commands, e-mail: [EMAIL PROTECTED] 
The new MSN 8: smart spam protection and 2 months FREE* 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: keep-together

2002-04-15 Thread J.Pietschmann
MARTIN Franck wrote:
Does anyone know of a way to prevent blocks or tables from being divided
when a page break occurs?
Is the property keep-together implemented in fop?
The keep-together property is not yet implemented, and
it will take a while until it is.
The keep-with-next and keep-with-previous properties work
on table rows only.
If block elements should be kept together, you can put
them into a one-column blind table.
HTH
J.Pietschmann



RE: keep-together

2001-10-29 Thread Michail Bikoulis
Since keep-together is only implemented for tables (I'm actually using
keep-with-previous and keep-with-next, but I think keep-together is also
implemented), you can do what you are saying by putting a header and a para
pair into one table, in their respective rows. You then use the
keep-together attribute with fo:table-row.

You must be careful in case your table is longer that the page. In cases
like these I sometimes get infinite loops so I have to first find out how
big my table is before using keep-together.

Regards,

Mike

-Original Message-
From: Eric Smith [mailto:[EMAIL PROTECTED]
Sent: 29. oktober 2001 09:05
To: [EMAIL PROTECTED]
Subject: keep-together




  
  First Section
  

 This is some text which continues for some time and causes the
 page to break just *below* the header called "Second Section".
 ... lots more text ...

  
  Second Section
  

 The second paragraph which must be on the same page as the
 header called "Second Section".  I want the page to break before the
 Second Header to prevent this header from being separated from its
 following para block.  If both headers and para's would fit on a
 single page, then of course no break should occur.  This is a
 simplified explanation of the keep-together and widows and orphans
 issue but I would like to start by getting something simple to work.

 

-- 
Eric Smith - currently xalan and fop on linux