fop ant task: change working directory?

2004-02-02 Thread S. Alan Ezust
I'm not sure if this is an ant question or a fop question, but I was trying to use the fop custom task, and I want to set the current working directory that fop runs from. How does one do that with fop ant task? Do I set a property somewhere?

Re: xhtml to pdf

2004-02-02 Thread Chris Bowditch
Saigeetha Govindarajan wrote: Hi, I am new to fop. I was wondering whether there is any xsl already exist for converting xhtml to pdf? This has only just been discussed in a separate thread. There are XSLT stylesheets out there that convert XHTML to XSL-FO (and then to PDF). For example;

Re: FOP - infinite loop problem

2004-02-02 Thread Chris Bowditch
Mark Ivs wrote: I encountered an endless loop problem in the addRealText method in FOText.java. la.addText in the while loop always returns 0. So the while statement goes into an endless loop. The way I fixed the problem is by adding a counter inside the while loop and once it exceeds the

Embedded Carriage Returns Ignored

2004-02-02 Thread Readman, Devon
I have carriage returns that show up within my xml source but when that text block gets tranformed to pdf through fop they are removed --- So: i)point one ii)point two Becomes: i)point one ii)point two Is there an attribute/tag that tells fop NOT to ignore these carriage returns and allow them

Re: Embedded Carriage Returns Ignored

2004-02-02 Thread Chris Bowditch
Readman, Devon wrote: I have carriage returns that show up within my xml source but when that text block gets tranformed to pdf through fop they are removed --- So: i)point one ii)point two Becomes: i)point one ii)point two Is there an attribute/tag that tells fop NOT to ignore these carriage

RE: Embedded Carriage Returns Ignored

2004-02-02 Thread mathieu . fretiere
Is there an attribute/tag that tells fop NOT to ignore these carriage returns and allow them to show up in the pdf output? try : white-space-collapse=false linefeed-treatment=preserve in fo:block tag You can find more on this topic in the mailing list archive Mathieu

RE: Change page size

2004-02-02 Thread Forest, Sebastien
Title: RE: Change page size Forest, Sebastien wrote: Hi I need to produce a pdf with fop 0.20.5rc3a with a combinaison of two differents page size. The document is in 8.5 X 11 inch but when I encounter a special tag in the xml file I need to switch to 11 X 17 inch. Is there a way to

alignment question

2004-02-02 Thread Koes, Derrick
If my image is centered, how do I get the next line (of text) to start at the left edge of the image? Thanks, Derrick This electronic transmission is strictly confidential to Smith & Nephew and intended solely for the addressee. It may contain information which is covered by

Re: Change page size

2004-02-02 Thread J.Pietschmann
Forest, Sebastien wrote: When I encounter the tag I create a new page-sequence but FOP give me an error because the page-sequence must be in the fo:root and not in a fo:block. I'am able to change page-sequence, but only if the tag I'm looking for is at the root. If this tag (graphic in my example)

Re: fop ant task: change working directory?

2004-02-02 Thread J.Pietschmann
S. Alan Ezust wrote: I'm not sure if this is an ant question or a fop question, but I was trying to use the fop custom task, and I want to set the current working directory that fop runs from. How does one do that with fop ant task? Do I set a property somewhere? I'm notsure what you mean by

Re: alignment question

2004-02-02 Thread J.Pietschmann
Koes, Derrick wrote: If my image is centered, how do I get the next line (of text) to start at the left edge of the image? That's a though one. I suggest using a table for centering, and put the text in another row, roughly: fo:table table-layout=fixed width=100% fo:table-column

RE: Change page size

2004-02-02 Thread Andreas L. Delmelle
-Original Message- From: Forest, Sebastien [mailto:[EMAIL PROTECTED] Hi Hi Some friendly advice to start: Would you be so kind the next time, to post in plain-text? Not a problem for me specifically, but some would find it a reason to ignore your question if you don't... Just imagine

Re: fop ant task: change working directory?

2004-02-02 Thread Glen Mazza
The basedir attribute for our FOP task has not been programmed yet, I believe. Could you check to see if the example at the bottom of http://xml.apache.org/fop/anttask.html (i.e., where you use fileset) is of help to you? Let us know. Thanks, Glen --- S. Alan Ezust [EMAIL PROTECTED] wrote:

Re: xhtml to pdf

2004-02-02 Thread Glen Mazza
--- Chris Bowditch [EMAIL PROTECTED] wrote: And since antenna house's formatter supports more features youll get errors if you try to use this stylesheet. I suggest you take this stylesheet and refine it to work with FOP. Or take FOP and refine it to work with the stylesheet. Patches

Footnotes on the following page

2004-02-02 Thread Readman, Devon
My footnotes always appear on the following page where the footnote reference is inserted in the pdf document. Has anyone seen this before? Thanks. Devon P.S. Thanks for the tip on how to preserve carriage returns --works perfect!

Re: stylesheets for XHTML - XSL-FO

2004-02-02 Thread M. Sean Gilligan
There's an article and stylesheet for XHTML - XSL-FO on IBM DeveloperWorks: http://www-106.ibm.com/developerworks/library/x-xslfo2app/ -- --- M. Sean Gilligan: Catalla Systems, Inc. :

RE: Footnotes on the following page

2004-02-02 Thread Johannes Stuermer
Can you post the fo:static-content section you are using for the footer? If you are not using a header/footer layout, try the fragment below: fo:static-content flow-name=xsl-region-after display-align=after fo:block fo:table width=100% fo:table-body

FOP - infinite loop problem

2004-02-02 Thread Mark Ivs
I encountered an endless loop problem in the addRealText method in FOText.java. la.addText in the while loop always returns 0. So the while statement goes into an endless loop. The way I fixed the problem is by adding a counter inside the while loop and once it exceeds the threshold (I set it