You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Vincent Hennebert <vi...@anyware-tech.com> on 2008/01/02 11:57:16 UTC
Re: Blank half-cell on page1; text showing on page 2
Hi Akagi,
In addition to Chris’ answer:
Akagi Kobayashi wrote:
> 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?
To produce the XSL-FO output you won’t use the build.xml file. However,
you can have a look into it to retrieve the path to FOP and the XSLT
stylesheet. From the ~/svn/2.0/target/ directory you will have to type
something like this:
/directory/where/fop/is/installed/fop -xml sample.xml -xsl docboook-xsl-1.72.0/fo/docbook.xsl -foout sample.fo
And yes the XSL-FO file will be created in the same ~/svn/2.0/target/
directory.
If you’re really lost you may post your build.xml file (or rather send
it directly to me) so that I can have a look.
HTH,
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: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: Blank half-cell on page1; text showing on page 2
Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
Please note that with Ant there's a potential alternative to calling FOP:
FOP has an Ant task that you can use documented here:
http://xmlgraphics.apache.org/fop/stable/anttask.html
On 02.01.2008 11:57:16 Vincent Hennebert wrote:
> Hi Akagi,
>
> In addition to Chris’ answer:
>
> Akagi Kobayashi wrote:
> > 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?
>
> To produce the XSL-FO output you won’t use the build.xml file. However,
> you can have a look into it to retrieve the path to FOP and the XSLT
> stylesheet. From the ~/svn/2.0/target/ directory you will have to type
> something like this:
> /directory/where/fop/is/installed/fop -xml sample.xml -xsl docboook-xsl-1.72.0/fo/docbook.xsl -foout sample.fo
>
> And yes the XSL-FO file will be created in the same ~/svn/2.0/target/
> directory.
>
> If you’re really lost you may post your build.xml file (or rather send
> it directly to me) so that I can have a look.
>
> HTH,
> Vincent
Jeremias Maerki
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org