2009-12-18 13:34:07 +01:00
|
|
|
--- xmlto.in.orig 2009-09-21 14:41:17.000000000 +0200
|
|
|
|
+++ xmlto.in 2009-12-16 15:38:31.000000000 +0100
|
2007-12-12 18:20:00 +01:00
|
|
|
@@ -37,6 +37,7 @@
|
|
|
|
-o directory put output in the specified directory instead of
|
|
|
|
the current working directory
|
|
|
|
-p postprocopts pass option to postprocessor
|
|
|
|
+ --xsltopts use xsltproc command line options
|
|
|
|
--extensions turn on stylesheet extensions for this tool chain
|
|
|
|
--searchpath colon-separated list of fallback directories
|
|
|
|
--skip-validation
|
2009-12-18 13:34:07 +01:00
|
|
|
@@ -251,7 +252,7 @@
|
2007-12-12 18:20:00 +01:00
|
|
|
|
|
|
|
# Process any options
|
|
|
|
ARGS=$(${GETOPT} \
|
2009-12-18 13:34:07 +01:00
|
|
|
- --longoptions=help,version,extensions,searchpath:,skip-validation,stringparam:,noclean,noautosize,with-fop,with-dblatex \
|
|
|
|
+ --longoptions=help,version,extensions,searchpath:,skip-validation,stringparam:,noclean,noautosize,with-fop,with-dblatex,xsltopts: \
|
2007-12-12 18:20:00 +01:00
|
|
|
-n xmlto -- x:m:o:p:v "$@")
|
|
|
|
[ $? != 0 ] && { usage; exit 1; }
|
|
|
|
eval set -- "$ARGS"
|
2009-12-18 13:34:07 +01:00
|
|
|
@@ -356,6 +357,10 @@
|
|
|
|
fi
|
2007-12-12 18:20:00 +01:00
|
|
|
shift
|
|
|
|
;;
|
|
|
|
+ --xsltopts)
|
|
|
|
+ XSLTOPTS="$XSLTOPTS $2"
|
|
|
|
+ shift 2
|
|
|
|
+ ;;
|
|
|
|
--)
|
|
|
|
shift
|
|
|
|
break
|