Bug#301684: [debiandoc-sgml-pkgs] Bug#301684: userv: FTBFS: debiandoc2ps: unknown option `1'

Osamu Aoki Osamu Aoki <osamu@debian.org>, 301684@bugs.debian.org
Thu, 14 Apr 2005 01:03:16 +0200


On Wed, Apr 13, 2005 at 05:18:20PM +0200, Frank Lichtenheld wrote:
> tags 301684 patch
> thanks

This patch looks generally OK to fix problem but I am not sure about 
one thing.

> Proposed patch for this:
...
> +@@@start-info-docbookxml-latexps-active@@@
> +         -1               1 page per page (deprecated, default)
> +@@@end-info-docbookxml-latexps-active@@@
...
> +@@@start-info-docbookxml-latexps-active@@@
> +options="${options}1"
> +@@@end-info-docbookxml-latexps-active@@@

Why we allow this for all info docbookxml latexps
Why not make these sections as:
  @@@start-latexps-active@@@
  ...
  @@@end-latexps-active@@@ 

> @@ -287,6 +293,8 @@
>  	     export PAPERSIZE
>  	     paperopt="-t ${PAPERSIZE}"
>  	     ;;
> +	1  ) echo >&2 "${script}: the -1 option is deprecated and will probably be removed in the future. It is activated by default now."
> +	     ;;
>  @@@end-latexps-active@@@

Here you are doing only for latexps :-)

Osamu