build issues
Rustom Mody
rustompmody at gmail.com
Sat Sep 15 16:48:42 UTC 2007
Hi.
I downloaded (from svn) the qmtest sources.
setup build seems to have worked
But setup build_doc gives the following
Should there be the -o option to fop?
Thanks
Rustom
siva at cs131:~/pdsw/qmtest$ python setup.py build_doc
running build_doc
running build_html_tutorial
running build_pdf_tutorial
creating print
/usr/bin/xsltproc --novalid --xinclude -o print/tutorial.fo
/home/siva/pdsw/qmtest/doc/fo.xsl
/home/siva/pdsw/qmtest/doc/tutorial.xml
Making portrait pages on USletter paper (8.5inx11in)
/usr/bin/fop -o print/tutorial.pdf print/tutorial.fo
USAGE
Fop [options] [-fo|-xml] infile [-xsl file]
[-awt|-pdf|-mif|-pcl|-ps|-txt|-at|-print] <outfile>
[OPTIONS]
-d debug mode
-x dump configuration settings
-q quiet mode
-c cfg.xml use additional configuration file cfg.xml
-l lang the language to use for user information
-s (-at output) omit tree below block areas
-txt.encoding (-txt output encoding use the encoding for the output file.
The encoding must be a valid java encoding.
-o [password] pdf file will be encrypted with option owner password
-u [password] pdf file will be encrypted with option user password
-noprint pdf file will be encrypted without printing permission
-nocopy pdf file will be encrypted without copy content permission
-noedit pdf file will be encrypted without edit content permission
-noannotations pdf file will be encrypted without edit annotation permission
[INPUT]
infile xsl:fo input file (the same as the next)
-fo infile xsl:fo input file
-xml infile xml input file, must be used together with -xsl
-xsl stylesheet xslt stylesheet
[OUTPUT]
outfile input will be rendered as pdf file into outfile
-pdf outfile input will be rendered as pdf file (outfile req'd)
-awt input will be displayed on screen
-mif outfile input will be rendered as mif file (outfile req'd)
-pcl outfile input will be rendered as pcl file (outfile req'd)
-ps outfile input will be rendered as PostScript file (outfile req'd)
-txt outfile input will be rendered as text file (outfile req'd)
-svg outfile input will be rendered as an svg slides file
(outfile req'd) -at outfile representation of area tree as XML
(outfile req'd)
-print input file will be rendered and sent to the printer
see print specific options with "-print help"
[Examples]
Fop foo.fo foo.pdf
Fop -fo foo.fo -pdf foo.pdf (does the same as the previous line)
Fop -xsl foo.xsl -xml foo.xml -pdf foo.pdf
Fop foo.fo -mif foo.mif
Fop foo.fo -print or Fop -print foo.fo
Fop foo.fo -awt
[ERROR] No output file specified
error: command '/usr/bin/fop' failed with exit status 2
More information about the qmtest
mailing list