diff options
author | Lorry Tar Creator <lorry-tar-importer@baserock.org> | 2014-04-05 13:08:42 +0000 |
---|---|---|
committer | <> | 2015-07-09 11:42:39 +0000 |
commit | 6a590aba95cbcce0f184381fb19d16558e56832d (patch) | |
tree | 1f7fce515366bf9d029da66a0c76cd1ae4239270 /format/fo/pcl | |
download | xmlto-tarball-6a590aba95cbcce0f184381fb19d16558e56832d.tar.gz |
Imported from /home/lorry/working-area/delta_xmlto-tarball/xmlto-0.0.26.tar.bz2.HEADxmlto-0.0.26master
Diffstat (limited to 'format/fo/pcl')
-rwxr-xr-x | format/fo/pcl | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/format/fo/pcl b/format/fo/pcl new file mode 100755 index 0000000..196413f --- /dev/null +++ b/format/fo/pcl @@ -0,0 +1,24 @@ +case "$USE_BACKEND" in +DEFAULT|DBLATEX) + echo "Sorry, no way to convert to pcl, use --with-fop option for that." + echo "You need to install fop package for using that option." + exit 3 + ;; +FOP) + EXT=$(basename "$0") + case "$1" in + stylesheet) + ;; + post-process) + if [ "$VERBOSE" -ge 1 ] + then + echo >&2 "Post-process XSL-FO to PCL" + fi + #we need to change dir to handle external data objects correctly + cd "${OUTPUT_DIR}" + "$FOP_PATH" ${POSTARGS} -fo "${XSLT_PROCESSED}" -"${EXT}" "$OUTPUT_DIR/$(basename ${XSLT_PROCESSED%.*}).${EXT}" + cd - + ;; + esac + ;; +esac |