Re: keep with next(Attribute)

2004-09-16 Thread Paul Vinkenoog
Hi Sako,

 may i ask, how do u solve the problem with keep with next?
 i mean when sometimes only one line shines in the next page.  or
 only the title shines in one page and the text(paragraph) in the
 next?

keep-with-next is only implemented for table rows, so one solution is
to create a table, put the header in the first row and what follows in
the next row(s). Don't forget to set keep-with-next on the first row
;-)

Depending on the kind of document and how you generate the .fo, this
may be difficult to implement. If this is the case and there are not
too many occurences of widowed headers, I usually hack the .fo: find
the first trouble spot and add a break-before='page' attribute.
Rebuild the PDF, find the next spot etc. Of course this is only
feasible if your publishing rate is low. And you have to redo the
handwork everytime your sources change :-(

There are other solutions; a short time ago this subject was discussed
extensively on a list, but I don't remember which. Maybe this one.


Greetings,
Paul Vinkenoog


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



Re: keep with next(Attribute)

2004-09-16 Thread Eclipse
thank you for answer.
here is my situation.
1. tables are on solution, but really not good for me. i know about it.
2. the text changes relatively. so i cant find the break-before='page'
attribute.
3. my publishing rate is hight :(

 maybe someone of you knows another xml prossessor tool, which is
acceptibale (i mean $) and solves my problem.

i dont want to say fop is bad, i really want to support fop, but i have the
problems and i have to solve it.
according to, i dont know weather in the future this problem will be solved
in fop.

thanks in advance.
Regards.

- Original Message - 
From: Paul Vinkenoog [EMAIL PROTECTED]
To: FOP [EMAIL PROTECTED]
Sent: Thursday, September 16, 2004 1:01 PM
Subject: Re: keep with next(Attribute)


 Hi Sako,

  may i ask, how do u solve the problem with keep with next?
  i mean when sometimes only one line shines in the next page.  or
  only the title shines in one page and the text(paragraph) in the
  next?

 keep-with-next is only implemented for table rows, so one solution is
 to create a table, put the header in the first row and what follows in
 the next row(s). Don't forget to set keep-with-next on the first row
 ;-)

 Depending on the kind of document and how you generate the .fo, this
 may be difficult to implement. If this is the case and there are not
 too many occurences of widowed headers, I usually hack the .fo: find
 the first trouble spot and add a break-before='page' attribute.
 Rebuild the PDF, find the next spot etc. Of course this is only
 feasible if your publishing rate is low. And you have to redo the
 handwork everytime your sources change :-(

 There are other solutions; a short time ago this subject was discussed
 extensively on a list, but I don't remember which. Maybe this one.


 Greetings,
 Paul Vinkenoog


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




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



RE: keep with next(Attribute)

2004-09-16 Thread Rob Stote
Title: RE: keep with next(Attribute)





You might want to look at XEP www.renderx.com 


-Original Message-
From: Eclipse [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, September 16, 2004 8:15 AM
To: [EMAIL PROTECTED]
Subject: Re: keep with next(Attribute)


thank you for answer.
here is my situation.
1. tables are on solution, but really not good for me. i know about it.
2. the text changes relatively. so i cant find the break-before='page'
attribute.
3. my publishing rate is hight :(


maybe someone of you knows another xml prossessor tool, which is acceptibale (i mean $) and solves my problem.


i dont want to say fop is bad, i really want to support fop, but i have the problems and i have to solve it.
according to, i dont know weather in the future this problem will be solved in fop.


thanks in advance.
Regards.


- Original Message -
From: Paul Vinkenoog [EMAIL PROTECTED]
To: FOP [EMAIL PROTECTED]
Sent: Thursday, September 16, 2004 1:01 PM
Subject: Re: keep with next(Attribute)



 Hi Sako,

  may i ask, how do u solve the problem with keep with next?
  i mean when sometimes only one line shines in the next page. or
  only the title shines in one page and the text(paragraph) in the
  next?

 keep-with-next is only implemented for table rows, so one solution is
 to create a table, put the header in the first row and what follows in
 the next row(s). Don't forget to set keep-with-next on the first row
 ;-)

 Depending on the kind of document and how you generate the .fo, this
 may be difficult to implement. If this is the case and there are not
 too many occurences of widowed headers, I usually hack the .fo: find
 the first trouble spot and add a break-before='page' attribute.
 Rebuild the PDF, find the next spot etc. Of course this is only
 feasible if your publishing rate is low. And you have to redo the
 handwork everytime your sources change :-(

 There are other solutions; a short time ago this subject was discussed
 extensively on a list, but I don't remember which. Maybe this one.


 Greetings,
 Paul Vinkenoog


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





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