2012-06-12 15:37:46 +02:00
|
|
|
Index: xmlto.in
|
|
|
|
===================================================================
|
|
|
|
--- xmlto.in.orig
|
|
|
|
+++ xmlto.in
|
|
|
|
@@ -38,6 +38,7 @@ OPTIONs are:
|
2007-12-12 18:20:00 +01:00
|
|
|
-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
|
2012-06-12 15:37:46 +02:00
|
|
|
--noautosize do not autodetect paper size via locales or paperconf
|
|
|
|
--noclean temp files are not deleted automatically
|
|
|
|
@@ -262,7 +263,7 @@ ZIP_PATH=@ZIP@
|
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"
|
2012-06-12 15:37:46 +02:00
|
|
|
@@ -383,6 +384,10 @@ while [ "$#" -gt "0" ]; do
|
2009-12-18 13:34:07 +01:00
|
|
|
fi
|
2007-12-12 18:20:00 +01:00
|
|
|
shift
|
|
|
|
;;
|
|
|
|
+ --xsltopts)
|
|
|
|
+ XSLTOPTS="$XSLTOPTS $2"
|
|
|
|
+ shift 2
|
|
|
|
+ ;;
|
|
|
|
--)
|
|
|
|
shift
|
|
|
|
break
|