Bug#856529: unblock: texlive-extra/2016.20170123-4
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock
Please unblock package texlive-extra
The changes in the current packages are only in one LaTeX style
file, namely texmf-dist/tex/latex/g-brief/g-brief2.cls
The bug was introduced when trying to fix #840700 with the
supplied patch (long time ago) but this introduced a different
problem. The current patch fixes this and makes g-brief2 work
in both cases (multiple inclusion, normal document).
The only functional change is in
debian/patches/fix-gbrief-multiple
and the change looks like this:
@@ -333,7 +333,7 @@
\unitlength1mm
\begin{picture}(0,0)
\put(-9,0){\parbox{180mm}{
- \tiny \newcounter{blockzahl} \def\@blockbreite{170mm}
-+ \tiny \ifdef{\theblockzahl}{\setcounter{blockzahl}{0}}{\newcounter{blockzahl}} \def\@blockbreite{170mm}
++ \tiny \ifx\c@blockzahl\undefined\newcounter{blockzahl}\else\setcounter{blockzahl}{0}\fi \def\@blockbreite{170mm}
\iftrennlinien \rule{180mm}{0.5pt} \fi
\ifthenelse{
\equal{\namezeilea}{\empty} \and \equal{\namezeileb}{\empty} \and
which replaces the \ifdef (which might not be available) with the
TeX primitive \ifx ... \undef and thus also turns the options
around.
Other changes are in the changelog:
texlive-extra (2016.20170123-4) unstable; urgency=medium
* g-brief2.cls: correct the wrong patch for bug #840700
(Closes: #855437)
-- Norbert Preining <preining@debian.org> Mon, 20 Feb 2017 13:37:33 +0900
Thanks for the consideration
Norbert
unblock texlive-extra/2016.20170123-4
-- System Information:
Debian Release: 9.0
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.10.0 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Reply to: