diff options
Diffstat (limited to 'format/xhtml1/ps')
-rwxr-xr-x | format/xhtml1/ps | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/format/xhtml1/ps b/format/xhtml1/ps new file mode 100755 index 0000000..c95a11c --- /dev/null +++ b/format/xhtml1/ps @@ -0,0 +1,32 @@ +case "$USE_BACKEND" in +DEFAULT|FOP) + case "$1" in + stylesheet) + if [ "$VERBOSE" -ge 1 ] + then + echo >&2 "Convert to XSL-FO" + fi + echo "http://www.antennahouse.com/XSLsample/sample-xsl-xhtml2fo/xhtml2fo.xsl" + ;; + post-process) + # Get the FO format script to do the rest + sh "$(dirname "$0")/../fo/$(basename "$0")" "$1" + ;; + esac + ;; +DBLATEX) + EXT=$(basename "$0") + case "$1" in + stylesheet) + ;; + post-process) + if [ "$VERBOSE" -ge 1 ] + then + echo >&2 "Convert to ${EXT}" + POSTARGS="${POSTARGS} --verbose" + fi + "$DBLATEX_PATH" ${POSTARGS} -P doc.collab.show=0 -P latex.output.revhistory=0 "${XSLT_PROCESSED}" --"${EXT}" --output="$OUTPUT_DIR/$(basename ${XSLT_PROCESSED%.*}).${EXT}" + ;; + esac + ;; +esac |