Package: debiandoc-sgml
Version: 1.2.27
Severity: minor
Dear Maintainer,
*** Please consider answering these questions, where appropriate ***
* What led up to the situation?
* What exactly did you do (or not do) that was effective (or
ineffective)?
* What was the outcome of this action?
* What outcome did you expect instead?
*** End of the template - remove these lines ***
Nested debiandoc2<something> scripts reverse the order of arguments
passed to nsgmls
The debiandoc2latex-based scripts debiandoc2info, debiandoc2latexdvi,
debiandoc2latexps and debiandoc2latexpdf process the "-n" option using
n ) nsgmls="-${opt} ${OPTARG} ${nsgmls}"
When trying to specify an output encoding as "-b utf-8", the first
script transforms the natural argument sequence
-n -b -n utf-8
into these arguments to debiandoc2latex
-n utf-8 -n -b
which in turn upholds the order of passed-on argumens and invokes
nsgmls with
utf-8 -b
which confuses nsgmls. The manpage does not claim that arguments of
multiple -n occurrences keep their order, but it is reasonable to
expect this.
The fix is simply to use
n ) nsgmls="${nsgmls} -${opt} ${OPTARG}"
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 3.2.0-4-686-pae (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Versions of packages debiandoc-sgml depends on:
ii libhtml-parser-perl 3.69-2
ii libroman-perl 1.23-1
ii libtext-format-perl 0.56-1
ii perl 5.14.2-14
ii sgml-base 1.26+nmu3
ii sgml-data 2.0.8
ii sgmlspl 1.03ii-32
ii sp 1.3.4-1.2.1-47.1+b1
Versions of packages debiandoc-sgml recommends:
ii ghostscript 9.05~dfsg-6.2
ii texinfo 4.13a.dfsg.1-10
ii texlive 2012.20120611-5
ii texlive-latex-extra 2012.20120611-2
Versions of packages debiandoc-sgml suggests:
pn debiandoc-sgml-doc <none>
pn latex-cjk-all <none>
pn texlive-lang-all <none>
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]