diff options
Diffstat (limited to 'format/fo/awt')
-rwxr-xr-x | format/fo/awt | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/format/fo/awt b/format/fo/awt new file mode 100755 index 0000000..4c7f1d3 --- /dev/null +++ b/format/fo/awt @@ -0,0 +1,23 @@ +case "$USE_BACKEND" in +DEFAULT|DBLATEX) + echo "Sorry, no way to convert to awt, 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 "Rendering XSL-FO to screen" + fi + #we need to change dir to handle external data objects correctly + cd "${OUTPUT_DIR}" + "$FOP_PATH" ${POSTARGS} -fo "${XSLT_PROCESSED}" -"${EXT}" + cd - + esac + ;; +esac |