forked from pool/xmlto
5a77a4ea75
update to 0.0.25 OBS-URL: https://build.opensuse.org/request/show/124705 OBS-URL: https://build.opensuse.org/package/show/Publishing/xmlto?expand=0&rev=18
33 lines
1.1 KiB
Diff
33 lines
1.1 KiB
Diff
Index: xmlto.in
|
|
===================================================================
|
|
--- xmlto.in.orig
|
|
+++ xmlto.in
|
|
@@ -38,6 +38,7 @@ OPTIONs are:
|
|
-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
|
|
--noautosize do not autodetect paper size via locales or paperconf
|
|
--noclean temp files are not deleted automatically
|
|
@@ -262,7 +263,7 @@ ZIP_PATH=@ZIP@
|
|
|
|
# Process any options
|
|
ARGS=$(${GETOPT} \
|
|
- --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: \
|
|
-n xmlto -- x:m:o:p:v "$@")
|
|
[ $? != 0 ] && { usage; exit 1; }
|
|
eval set -- "$ARGS"
|
|
@@ -383,6 +384,10 @@ while [ "$#" -gt "0" ]; do
|
|
fi
|
|
shift
|
|
;;
|
|
+ --xsltopts)
|
|
+ XSLTOPTS="$XSLTOPTS $2"
|
|
+ shift 2
|
|
+ ;;
|
|
--)
|
|
shift
|
|
break
|