summaryrefslogtreecommitdiff
path: root/format/xhtml1/mif
diff options
context:
space:
mode:
Diffstat (limited to 'format/xhtml1/mif')
-rwxr-xr-xformat/xhtml1/mif18
1 files changed, 18 insertions, 0 deletions
diff --git a/format/xhtml1/mif b/format/xhtml1/mif
new file mode 100755
index 0000000..5c243a0
--- /dev/null
+++ b/format/xhtml1/mif
@@ -0,0 +1,18 @@
+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)
+ EXT=$(basename "$0")
+ if [ "$VERBOSE" -ge 1 ]
+ then
+ echo >&2 "Convert to ${EXT}"
+ fi
+ # Get the FO format script to do the rest
+ sh "$(dirname "$0")/../fo/${EXT}" "$1"
+ ;;
+esac