Re: Block and page changing

2002-06-13 Thread J.Pietschmann
Hahn Kurt (CHA) wrote:
keep-together="always" does what I need, but just out of curiosity: What
does "a keep-together condition with strength of the given  in the
appropriate context" mean?? I tried to see what happens if insert an integer
value instead of "always", but that didn't really explain it..
I don't think numeric priorities are already implemented.
The use case is to provide preferred break opportunities,
roughly like this:
 
   
   
   
   
 
The formatter will first try to keep everything toghether.
This may fail, for example because the whole outer block is
larger than a page. In this case a break is first introduced
between the inner blocks. If this still fails, for example
because the second inner block is already larger than a page,
a break somewhere in the first block is tried. If this still
fails, a break in the second block is tried.
J.Pietschmann


RE: Block and page changing

2002-06-13 Thread Hahn Kurt (CHA)
keep-together="always" does what I need, but just out of curiosity: What
does "a keep-together condition with strength of the given  in the
appropriate context" mean?? I tried to see what happens if insert an integer
value instead of "always", but that didn't really explain it..

Kurt

-Message d'origine-
De : Ralf Steppacher [mailto:[EMAIL PROTECTED]
Envoyé : mardi, 11. juin 2002 12:26
À : [EMAIL PROTECTED]
Objet : Re: Block and page changing


Hello Kurt.

> 
> I couldn't figure what value I have to give it...

Legal values are "auto", "always" and an integer value. Integer 'Imposes 
a keep-together condition with strength of the given  in the 
appropriate context.' [http://www.w3.org/TR/xsl/slice7.html#keep-together]


HTH
Ralf


Re: Block and page changing

2002-06-11 Thread Ralf Steppacher
Hello Kurt.

I couldn't figure what value I have to give it...
Legal values are "auto", "always" and an integer value. Integer 'Imposes 
a keep-together condition with strength of the given  in the 
appropriate context.' [http://www.w3.org/TR/xsl/slice7.html#keep-together]

HTH
Ralf


RE: Block and page changing

2002-06-11 Thread Hahn Kurt (CHA)

I tried to use the keep-together property on a table row, but I'm not sure
if it's really working. Can somebody tell me the right syntax? What I tried
is this:

I couldn't figure what value I have to give it...

Kurt


-Message d'origine-
De : Ramon Maria Gallart [mailto:[EMAIL PROTECTED]
Envoyé : jeudi, 6. juin 2002 12:38
À : [EMAIL PROTECTED]
Objet : RE: Block and page changing


Thanks Jens and Florencs for your answers. They all both fit my needs.

Ramon.


RE: Block and page changing

2002-06-06 Thread Ramon Maria Gallart



Thanks Jens and Florencs for your answers. They 
all both fit my needs.
 
Ramon.


Re: Block and page changing

2002-06-06 Thread Florence Deforge



If you don't want to force a page-break before any 
block, you should use the keep-together property.
Unfortunately fop doesn't handle this property on 
block elements.
A solution can be to insert the block in a table. 
Then you can apply keep-together on the table-row element. 
 
Flo

  - Original Message - 
  From: 
  Ramon 
  Maria Gallart 
  To: [EMAIL PROTECTED] 
  Sent: Thursday, June 06, 2002 11:18 
  AM
  Subject: Block and page changing
  
  Hi 
  all.
   
  I have a problem. 
  It happens that sometimes i have blocks that start at the end of a page 
  and get cutted just to follow on the next one page. What I would like to do is 
  make those blocks start at the beginning of the next page. Can anyone 
  tell me what do I have to do to achieve this?
   
  Thanks.
   
  Ramon.


AW: Block and page changing

2002-06-06 Thread Jens Posingies



Just 
add one of the following properties to your fo:block:
break-after="page" or break-before="page" (whatever you prefer).
 
Jens 
Posingies
Lueneburg (Germany)

  -Ursprüngliche Nachricht-Von: Ramon Maria Gallart 
  [mailto:[EMAIL PROTECTED]Gesendet: Donnerstag, 6. Juni 2002 
  11:19An: [EMAIL PROTECTED]Betreff: Block and page 
  changing
  Hi 
  all.
   
  I have a problem. 
  It happens that sometimes i have blocks that start at the end of a page 
  and get cutted just to follow on the next one page. What I would like to do is 
  make those blocks start at the beginning of the next page. Can anyone 
  tell me what do I have to do to achieve this?
   
  Thanks.
   
  Ramon.


Block and page changing

2002-06-06 Thread Ramon Maria Gallart



Hi 
all.
 
I have a problem. It 
happens that sometimes i have blocks that start at the end of a page and 
get cutted just to follow on the next one page. What I would like to do is make 
those blocks start at the beginning of the next page. Can anyone tell me 
what do I have to do to achieve this?
 
Thanks.
 
Ramon.