Re: AW: Pass xsl:param value to FOP through command line

2002-11-28 Thread Oleg Tkachenko
Clay Leeds wrote:
What's currently happening:
(I currently have enough FLOW content to print 3 ODD pages). ODD page 
prints Page 1 of 5, EVEN page (Wahoo!), ODD page (3 of 5), EVEN page 
(Wahoo!), ODD page (5 of 5), ODD page (6 of 5 -- not Wahoo!). Go back 
and read that. Yes, it's an ODD page with 5 of 5 and then another ODD 
page that indicates 6 of 5! D'oh!
Sorry, cannot reproduce, with your example I got ODD, EVEN, ODD, EVEN, ODD, 
EVEN(forced page).

What's easier? Blank page? :-)
Not, page with a content. :)
I tried this. Unfortunately, I think that's what gave me the page 6 of 5 
error
If it's still wrong, file it to bugzilla and provide fo (without xslt) 
example, I'll try to check it out.

Problem is, while you may have zero or more static-content regions, one 
FLOW is required.
Right.
I ended up "resolving" all of the issues I had to resolve (except for 
the weird font rendering issues).
What do you mean?
--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: AW: Pass xsl:param value to FOP through command line

2002-11-27 Thread Clay Leeds
Oleg,
You've been a great help. Through all of this, I've learned a bunch about 
FOP (particularly limitations & abilities).

At 02:17 PM 11/27/2002, you wrote:
Clay Leeds wrote:
What's currently happening:
(I currently have enough FLOW content to print 3 ODD pages). ODD page 
prints Page 1 of 5, EVEN page (Wahoo!), ODD page (3 of 5), EVEN page 
(Wahoo!), ODD page (5 of 5), ODD page (6 of 5 -- not Wahoo!). Go back and 
read that. Yes, it's an ODD page with 5 of 5 and then another ODD page 
that indicates 6 of 5! D'oh!
Well, show us your pagination definiton (fo:layout-master-set).
http://www.w3.org/1999/XSL/Format";>
  
  



  
  
  


  
  
  



  


  

  
  
  

  


  


  




  
  


  

  


Another weird glitch, is that I've got funkiness with FONT rendering 
where it doesn't properly deal with spacing between words, and also has 
breaks in underlines that shouldn't be there. I tend to chalk that one up 
to FOP's weirdness. If I print with a Courier (monospace font), or the 
default font, I don't have the problem with spacing, although the 
underlining is still there.
File bug to bugzilla, don't forget to attach an example.
Good idea.
I went there, but it didn't help. I don't want a blank page, I want a 
page with content.
Usually that's much easier.
What's easier? Blank page? :-)
This page has information about how to make ODD/EVEN pages with different 
HEADERs/FOOTERs but it doesn't explain how to have different content on 
ODD & EVEN pages.
You cannot have different content flow on odd and even pages, but you can 
use different static content and your government disclaimer is static 
content as your said. Then you can resize region-before to be 100% of an 
even page and place there your static stuff:

page-height="21.7cm"
page-width="21cm">



...


government disclaimer

I tried this. Unfortunately, I think that's what gave me the page 6 of 5 
error
Actually you can place static content to a region-body also, but afaik it 
doesn't work in FOP.
Problem is, while you may have zero or more static-content regions, one 
FLOW is required.

I ended up "resolving" all of the issues I had to resolve (except for the 
weird font rendering issues). Apparently I only have to have the disclaimer 
print at the end (Wahoo!) and I can put the TOTALS in the FLOW so they 
print only once (I don't have to put it in the FOOTER--Wahoo!).

It looks great! Thanks again for all of your help.
- Clay Leeds
- Web Developer
- [EMAIL PROTECTED] 

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


Re: AW: Pass xsl:param value to FOP through command line

2002-11-27 Thread Oleg Tkachenko
Clay Leeds wrote:
What's currently happening:
(I currently have enough FLOW content to print 3 ODD pages). ODD page 
prints Page 1 of 5, EVEN page (Wahoo!), ODD page (3 of 5), EVEN page 
(Wahoo!), ODD page (5 of 5), ODD page (6 of 5 -- not Wahoo!). Go back 
and read that. Yes, it's an ODD page with 5 of 5 and then another ODD 
page that indicates 6 of 5! D'oh!
Well, show us your pagination definiton (fo:layout-master-set).
Another weird glitch, is that I've got funkiness with FONT rendering 
where it doesn't properly deal with spacing between words, and also has 
breaks in underlines that shouldn't be there. I tend to chalk that one 
up to FOP's weirdness. If I print with a Courier (monospace font), or 
the default font, I don't have the problem with spacing, although the 
underlining is still there.
File bug to bugzilla, don't forget to attach an example.
I went there, but it didn't help. I don't want a blank page, I want a 
page with content.
Usually that's much easier.
This page has information about how to make ODD/EVEN pages with 
different HEADERs/FOOTERs but it doesn't explain how to have different 
content on ODD & EVEN pages.
You cannot have different content flow on odd and even pages, but you 
can use different static content and your government disclaimer is 
static content as your said. Then you can resize region-before to be 
100% of an even page and place there your static stuff:

		page-height="21.7cm"
	page-width="21cm">
			
			
		

...


government disclaimer

Actually you can place static content to a region-body also, but afaik 
it doesn't work in FOP.

--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: AW: Pass xsl:param value to FOP through command line

2002-11-27 Thread Clay Leeds
Hi Thorsten,
At 07:07 AM 11/27/2002, you wrote:
Hello Clay,
You wrote:
Unfortunately, that's the smallest part of the problem I'm working with
right now. My main problem is to determine how to implement the ODD/EVEN
functionality correctly. I've finally gotten some headway with an ODD/EVEN,
but it's still not working right. I'm only getting one EVEN page &
subsequent EVEN pages are outputting the ODD stuff on the EVEN page.
***
Ok, if you have two stylesheets, one of them should print a blank page 
after each odd page. The other should print the stream you pass as it is, 
that's right? Because we use the work around (we mentioned before.
I have one XML document, and one XSL-FO stylesheet.
I want the output to be double-sided. The 2nd page should not be blank, but 
it should not continue the FLOW either. Instead, the 2nd page (I prefer to 
call it the EVEN page since it is printed on the back side of every page), 
needs a government disclaimer & a form w/ info on how to contest what's on 
the front. It is static (it will never change) but includes a blanks people 
recipients fill-in with their details.

In a perfect world:
ODD pages print, and EVEN page w/ Disclaimer behind every ODD page. ODD 
pages will be the only pages counting in the page-number scheme, such that 
even though I have two ODD pages and two EVEN pages, the ODD pages will 
indicate Page 1 of 2 on the first ODD page, and Page 2 of 2 on the 2nd ODD 
page (the EVEN pages will not get counted in the page-number scheme). Since 
I indicate it should end-on-even, the last page to print is the "EVEN" page.

What's currently happening:
(I currently have enough FLOW content to print 3 ODD pages). ODD page 
prints Page 1 of 5, EVEN page (Wahoo!), ODD page (3 of 5), EVEN page 
(Wahoo!), ODD page (5 of 5), ODD page (6 of 5 -- not Wahoo!). Go back and 
read that. Yes, it's an ODD page with 5 of 5 and then another ODD page that 
indicates 6 of 5! D'oh!

Another weird glitch, is that I've got funkiness with FONT rendering where 
it doesn't properly deal with spacing between words, and also has breaks in 
underlines that shouldn't be there. I tend to chalk that one up to FOP's 
weirdness. If I print with a Courier (monospace font), or the default font, 
I don't have the problem with spacing, although the underlining is still 
there.

Maybe this link will help you (search for: Page sequences)
http://www.ibiblio.org/xml/books/bible2/chapters/ch18.html
That's a great link! But I've own the book it's from: XML Bible - Gold 
Edition by Elliotte Rusty Harold. That link has almost everything in the 
book. Funny thing though is that the FO section in the book is Chapter 19, 
instead of 18 in the hard copy.

Howto "fop insert blank page"
http://www.xml.com/pub/a/2001/01/17/xsl-fo/?page=2
I went there, but it didn't help. I don't want a blank page, I want a page 
with content.

http://www.cs.uku.fi/~kilpelai/RDK01/refs/xsl-fo1.html
This page has information about how to make ODD/EVEN pages with different 
HEADERs/FOOTERs but it doesn't explain how to have different content on ODD 
& EVEN pages.

- Clay Leeds
- Web Developer
- [EMAIL PROTECTED] 

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