Hi Vincent Further to the e-mail below (by the way, a typo had crept into the sample file name), my system does not recognize the fop command nor the argument. I tried running the fop command at the level where I normally build pdfs.
I have discovered that our fop is in a completely different area, and the project dependency is declared in a project-deps file which the build file imports. How can I run the fop command in a way that will be recognized by the build file? Thanks Akagi Kobayashi, Interpreter/Translator/Technical Writer Valista -----Original Message----- From: Akagi Kobayashi [mailto:[EMAIL PROTECTED] Sent: Monday, December 31, 2007 11:16 AM To: 'Vincent Hennebert'; [email protected] Subject: Blank half-cell on page1; text showing on page 2 Hi Vincent Thank you very much for your e-mail. I hope you had a bon noel/good Christmas. We use the ant process to build the pdf files from a build.xml file at the level where the document xml files are, using commands such as:ant build-pdf-docs. The build file calls the xsl and fop which are located in higher directories. The created pdfs are deposited in the designated target directory. The various copying processes that take place are outputted on the console, as are any error message. I don't see the xsl-fo file at all normally. I'm afraid I need further details on how to run the command: fop -xml doc.xml -xsl table.xsl -foout doc.fo where FOP is installed - (By FOP, you mean the docbook xsl?) For example, if I were to place a sample document called sample.xml in the same directory as where docbook-xsl-1.72.0 is, like this: ~/svn/2.0/target/docboook-xsl-1.72.0 ~/svn/2.0/target/sample.xml Then the command to run at ~/svn/2.0/target/ would be like the following? fop -xml sample.xml -xsl table.xsl -foout doc.fo Will the xsl-fo file be output in the same directory? Bt the way I could not locate our thread on the fop-users forum. Best Regards Akagi Kobayashi, Interpreter/Translator/Technical Writer Valista -----Original Message----- From: Vincent Hennebert [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 19, 2007 2:57 PM To: [email protected] Subject: Re: Blank half-cell on page1; text showing on page 2 Hi Akagi, Akagi Kobayashi a 馗rit : > Hi Vincent, > > Further to your e-mail in response (thank you) to my sending the > table.xsl (see bottom of e-mail): > > 1. At what level do I run the fop command? I'veI tried at various > levels but the fop command is not recognized. At what intermediate > level will the FO file be generated and saved? On which system are you using FOP? What are you usually doing to produce your PDF files? Normally you should open a console, go to the directory where FOP is installed and type the command I gave earlier, with the correct paths to the files. It痴 a bit difficult to help without knowing more of your environment. The usual production chain is the following: XML file --> XSL-FO file --> PDF file (1) (2) (3) (1)->(2) is performed by an XSLT processor. This is not the job of FOP, although FOP can call an external XSLT processor for convenience (the earlier command I gave) (2)->(3) is performed by FOP. Vincent -- Vincent Hennebert Anyware Technologies http://people.apache.org/~vhennebert http://www.anyware-tech.com Apache FOP Committer FOP Development/Consulting --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
