summaryrefslogtreecommitdiff
path: root/format/docbook/svg
diff options
context:
space:
mode:
Diffstat (limited to 'format/docbook/svg')
-rwxr-xr-xformat/docbook/svg18
1 files changed, 18 insertions, 0 deletions
diff --git a/format/docbook/svg b/format/docbook/svg
new file mode 100755
index 0000000..a7889b1
--- /dev/null
+++ b/format/docbook/svg
@@ -0,0 +1,18 @@
+case "$1" in
+stylesheet)
+ if [ "$VERBOSE" -ge 1 ]
+ then
+ echo >&2 "Convert to XSL-FO"
+ fi
+ echo "http://docbook.sourceforge.net/release/xsl/current/fo/docbook.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