[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#840700: marked as done (g-brief2: 'Command \c@blockzahl already defined' on multiple inclusions)



Your message dated Thu, 03 Nov 2016 07:56:07 +0000
with message-id <E1c2CsZ-000EuS-Uq@fasolo.debian.org>
and subject line Bug#840700: fixed in texlive-extra 2016.20161103-1
has caused the Debian Bug report #840700,
regarding g-brief2: 'Command \c@blockzahl already defined' on multiple inclusions
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
840700: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=840700
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: texlive-latex-extra
Version: 2016.20161008-1
Severity: minor
Tags: patch

Hi,


g-brief2 currently does not support multiple inclusions. This would be helpful
for bulk letters and is trivial to fix.

Reproducing the issue:

> $ cat simple.tex 
> \documentclass[ngerman]{g-brief2}
> \Gruss {}{1cm} % this can't be left out due to a potential another bug
> \begin{document}
> 
> \begin{g-brief}
> page one
> \end{g-brief}
> 
> %\newpage
> %\begin{g-brief}
> %page two
> %\end{g-brief}
> 
> \end{document}
> $ pdflatex simple.tex; echo $?
> ...
> 0
> $ sed -i 's/^%//' simple.tex
> $ cat simple.tex 
> \documentclass[ngerman]{g-brief2}
> \Gruss {}{1cm} % this can't be left out due to a potential another bug
> \begin{document}
> 
> \begin{g-brief}
> page one
> \end{g-brief}
> 
> \newpage
> \begin{g-brief}
> page two
> \end{g-brief}
> 
> \end{document}
> $ pdflatex simple.tex; echo $?
> ...
> 
> ! LaTeX Error: Command \c@blockzahl already defined.
>                Or name \end... illegal, see p.192 of the manual.
> 
> See the LaTeX manual or LaTeX Companion for explanation.
> Type  H <return>  for immediate help.
>  ...                                              
>                                                   
> l.14 \end{document}
>                    
> ? ^\Quit
> 131
> $ 

A  trivial  patch  ensures  that the counter is not defined multiple times and
reset if needed:

> --- /usr/share/texlive/texmf-dist/tex/latex/g-brief/g-brief2.cls	2016-10-13 23:10:26.630778157 +0200
> +++ /usr/share/texlive/texmf-dist/tex/latex/g-brief/g-brief2.cls	2016-10-13 23:10:31.726871803 +0200
> @@ -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}
>          \iftrennlinien \rule{180mm}{0.5pt} \fi
>          \ifthenelse{
>            \equal{\namezeilea}{\empty} \and \equal{\namezeileb}{\empty} \and

Please include that patch. Thanks!


All the best,

	Julius

--- End Message ---
--- Begin Message ---
Source: texlive-extra
Source-Version: 2016.20161103-1

We believe that the bug you reported is fixed in the latest version of
texlive-extra, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 840700@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Norbert Preining <preining@debian.org> (supplier of updated texlive-extra package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 03 Nov 2016 11:51:11 +0900
Source: texlive-extra
Binary: texlive-bibtex-extra texlive-extra-utils texlive-font-utils texlive-formats-extra texlive-generic-extra texlive-plain-extra texlive-latex-extra texlive-fonts-extra texlive-music texlive-games texlive-pstricks texlive-publishers texlive-humanities texlive-science texlive-htmlxml etoolbox texlive-fonts-extra-doc texlive-humanities-doc texlive-latex-extra-doc texlive-science-doc texlive-pstricks-doc texlive-publishers-doc
Architecture: source all
Version: 2016.20161103-1
Distribution: unstable
Urgency: medium
Maintainer: Debian TeX Maintainers <debian-tex-maint@lists.debian.org>
Changed-By: Norbert Preining <preining@debian.org>
Description:
 etoolbox   - TeX Live: transitional dummy package
 texlive-bibtex-extra - TeX Live: BibTeX additional styles
 texlive-extra-utils - TeX Live: TeX auxiliary programs
 texlive-font-utils - TeX Live: Graphics and font utilities
 texlive-fonts-extra - TeX Live: Additional fonts
 texlive-fonts-extra-doc - TeX Live: Documentation files for texlive-fonts-extra
 texlive-formats-extra - TeX Live: Additional formats
 texlive-games - TeX Live: Games typesetting
 texlive-generic-extra - TeX Live: Generic additional packages
 texlive-htmlxml - TeX Live: HTML/SGML/XML support
 texlive-humanities - TeX Live: Humanities packages
 texlive-humanities-doc - TeX Live: Documentation files for texlive-humanities
 texlive-latex-extra - TeX Live: LaTeX additional packages
 texlive-latex-extra-doc - TeX Live: Documentation files for texlive-latex-extra
 texlive-music - TeX Live: Music packages
 texlive-plain-extra - TeX Live: Plain TeX packages
 texlive-pstricks - TeX Live: PSTricks
 texlive-pstricks-doc - TeX Live: Documentation files for texlive-pstricks
 texlive-publishers - TeX Live: Publisher styles, theses, etc.
 texlive-publishers-doc - TeX Live: Documentation files for texlive-publishers
 texlive-science - TeX Live: Mathematics and science packages
 texlive-science-doc - TeX Live: Documentation files for texlive-science
Closes: 838755 840189 840700 841310
Changes:
 texlive-extra (2016.20161103-1) unstable; urgency=medium
 .
   * break against old dblatex (Closes: #840189)
   * fix g-brief2 for multiple instances (Closes: #840700)
     (thanks to Julius Seemayer)
   * include a5toa4 man page (Closes: #841310) (thanks to James Clarke)
   * tl-latex-extra recs tl-generic-extra for datetime2 -> tracklong
     (Closes: #838755)
   * tl-math-extra is merged into tl-science (actually upstream calls
     it collection-mathscience)
Checksums-Sha1:
 06a26f61513eb8eb895f5d89472b34edff1caec4 3001 texlive-extra_2016.20161103-1.dsc
 8354015291a6f61b14bac16118b9e69e5e1fd4f6 1162159620 texlive-extra_2016.20161103.orig.tar.xz
 43021b536e8506128d3dbb3951fd40ce8c36b841 146708 texlive-extra_2016.20161103-1.debian.tar.xz
 e5237125e3cc52235e9af17862821340c5502cde 25312 etoolbox_2016.20161103-1_all.deb
 9f595684c136cf4ff014e57c9f6caf87003af686 42844452 texlive-bibtex-extra_2016.20161103-1_all.deb
 6606abbf5e14af51fd6a0d9bb566263faffe0376 19786726 texlive-extra-utils_2016.20161103-1_all.deb
 d9d5357cacfe3bbb409db4bb24f331a0af06d09e 1734548 texlive-font-utils_2016.20161103-1_all.deb
 46cfc6bca29747872e2d032409bcbf7a7800944f 73170830 texlive-fonts-extra-doc_2016.20161103-1_all.deb
 0cf55e87b78e873c135a9ce6a011f5d1705a230f 248870850 texlive-fonts-extra_2016.20161103-1_all.deb
 dfd9e591ae8e8d16e146dd9d958c05293a26c639 2498772 texlive-formats-extra_2016.20161103-1_all.deb
 d89f808e75264f5e04c7ad68fd85a6e3f9778301 7604054 texlive-games_2016.20161103-1_all.deb
 2732c61a7df0e376bc3ff07a9449b5d86866ef09 14843062 texlive-generic-extra_2016.20161103-1_all.deb
 72a112a4cadab6d779f35c1f19bdfb35fd765adf 1426494 texlive-htmlxml_2016.20161103-1_all.deb
 3b2b25d011141759aaceaac48a25eb4aedc5338a 19221686 texlive-humanities-doc_2016.20161103-1_all.deb
 fca6f108f909a03fdcb5ccc9fb3b2ffda2356378 360744 texlive-humanities_2016.20161103-1_all.deb
 2a1046c7d27c3437e9f1511fde2f435e19fb3d1a 358221982 texlive-latex-extra-doc_2016.20161103-1_all.deb
 f9ac35daff6ba23ca3a8ea5b775cb701dc0d847e 10557854 texlive-latex-extra_2016.20161103-1_all.deb
 19a6dcba2e5fff6745a19df98a2abb66a96ead6b 24050108 texlive-music_2016.20161103-1_all.deb
 90eaad99416717f4c2b3a6b0f5d2c8798e5c70ac 4260222 texlive-plain-extra_2016.20161103-1_all.deb
 ba791f96040b9d47d6c0499ebeee7aa4d7836a6e 106632660 texlive-pstricks-doc_2016.20161103-1_all.deb
 00a13cc6ce3995ec0579faf87d5905737fc33df9 26184162 texlive-pstricks_2016.20161103-1_all.deb
 d89182b9cdab58c6ae5669967999937d9fd7d186 111881990 texlive-publishers-doc_2016.20161103-1_all.deb
 8fe13a59c1405de519f2c110cdf96418fa7d46b3 9348784 texlive-publishers_2016.20161103-1_all.deb
 9e8cd6d9122606d1b158517e815b4e9c67c1612a 45393498 texlive-science-doc_2016.20161103-1_all.deb
 a2cc6f6ca574ff4c1b0e5105c4b34fc8a461079a 3025990 texlive-science_2016.20161103-1_all.deb
Checksums-Sha256:
 b4a9e76ab4f99945ab737327e18d63fae6a8faadec066965bfad2265397f4f13 3001 texlive-extra_2016.20161103-1.dsc
 43905399c69465a59bf0d3f2404275193daa48397191e79a4268e6ce51b72866 1162159620 texlive-extra_2016.20161103.orig.tar.xz
 55c4dd43eeda79f08f27367ed41c82c754dd167170aa158822929222a178aa5d 146708 texlive-extra_2016.20161103-1.debian.tar.xz
 86149fa2808be1c842b402d596e4e130c08a40758387df821c70ae6ae3bc3722 25312 etoolbox_2016.20161103-1_all.deb
 c578b31f2dd3ee917432214b6e0a62060c9a50a5d7605668e2f7d2e73957851b 42844452 texlive-bibtex-extra_2016.20161103-1_all.deb
 79d4614d9f0422d93bea289ed9e3f391f94775e77ec5230c2f8eaecbcc314e14 19786726 texlive-extra-utils_2016.20161103-1_all.deb
 0ca35d2976facc8c147c0b66b95004c06032831b0bc7edc8b36007d986684ea6 1734548 texlive-font-utils_2016.20161103-1_all.deb
 a5d95c8fc875bd9990e8b6fd108f7bd1590b6ce3981fe37d8477e1c9c6ab8f98 73170830 texlive-fonts-extra-doc_2016.20161103-1_all.deb
 7b38a3e0cf233c2cb3d0fd2807b8033c444114004e5f26b15a5a39016a264414 248870850 texlive-fonts-extra_2016.20161103-1_all.deb
 107fbfd2c11e494447b4438832f8e3b51f2dca1681900161f2a24d5ccd885e29 2498772 texlive-formats-extra_2016.20161103-1_all.deb
 078ee639626422e357e81071465c6e3a7fd589914bf4087746854ece52c8d442 7604054 texlive-games_2016.20161103-1_all.deb
 e9bb2b1825f12bd6390129a28b90cb35910719f6619edd0a33949c1d0ecf2cbf 14843062 texlive-generic-extra_2016.20161103-1_all.deb
 bb6a640f907d614efa1dad330af1a3eab4941071e07f63eb3c5727b646f2259c 1426494 texlive-htmlxml_2016.20161103-1_all.deb
 b94db1003c4b591886ea0d7388887ccfa028b79b1f5c549b08887fe6b2bfbb7e 19221686 texlive-humanities-doc_2016.20161103-1_all.deb
 285e26cfb22300ac64e8abdfd728b025a07a4ff06578a1d7e97da230feaa7e97 360744 texlive-humanities_2016.20161103-1_all.deb
 743b04013d5dd2b6fc8ad4b3255e6d22fc1cbdb805ca50c82bef32b53dea7ae0 358221982 texlive-latex-extra-doc_2016.20161103-1_all.deb
 7ef7092ea4b3cc8539f507905fd33dda5a6aab25e1e216cce6f56d2249977ec7 10557854 texlive-latex-extra_2016.20161103-1_all.deb
 7e0d2430b51ef3324299741ac8e4eefc24ad4648d2a9e70a2af737972878fdf9 24050108 texlive-music_2016.20161103-1_all.deb
 fc86ea776b311a5056c57a7ef226b02bdc48597034f65a9a246a2141a6c8aadb 4260222 texlive-plain-extra_2016.20161103-1_all.deb
 1a84e40d29c72480c4e2b49d632481526d360a282fa6d7220c334ca614cf857a 106632660 texlive-pstricks-doc_2016.20161103-1_all.deb
 cc089de72c5d0042e2d7589bc487a31a73e6819a4512c138d3e123ae747bbbbb 26184162 texlive-pstricks_2016.20161103-1_all.deb
 a8f575bd4864d2f7b196286eeb6b6728e4d8ccd20e76889ab19aa14d16cc1511 111881990 texlive-publishers-doc_2016.20161103-1_all.deb
 2b530d05c5d574cc06aff852c0e1617995a28775aaf9e74db3136e353099d2dd 9348784 texlive-publishers_2016.20161103-1_all.deb
 3c7f2bf7e3b31b7bcf6f992378b5924ae27e5936560628d05b5dd4856f2adae8 45393498 texlive-science-doc_2016.20161103-1_all.deb
 3a86c756daa8dd6cf2630b97d4bb3e781b40866c8717e34f6a6e09d8b10f5d9d 3025990 texlive-science_2016.20161103-1_all.deb
Files:
 ae775418b202457b085aee1775ed2c72 3001 tex optional texlive-extra_2016.20161103-1.dsc
 0b187a7caf6c3ce3fa72d7dc9a733eb1 1162159620 tex optional texlive-extra_2016.20161103.orig.tar.xz
 19e0a1b4c88ce4843ea7e153bb816d45 146708 tex optional texlive-extra_2016.20161103-1.debian.tar.xz
 b248006cab453663859688403db2edca 25312 oldlibs extra etoolbox_2016.20161103-1_all.deb
 a0a437414f7061ff48b7248d7fa81d2e 42844452 tex optional texlive-bibtex-extra_2016.20161103-1_all.deb
 d8af4544a58bdc54dd87a690b08f6780 19786726 tex optional texlive-extra-utils_2016.20161103-1_all.deb
 26379010e3c3e8f15dd54ae142b186e5 1734548 tex optional texlive-font-utils_2016.20161103-1_all.deb
 016f9d6c314a00fe68c1fc41f7e6f36f 73170830 doc optional texlive-fonts-extra-doc_2016.20161103-1_all.deb
 e6e3e1d42d2e49a02cd3028ed3f4c510 248870850 fonts optional texlive-fonts-extra_2016.20161103-1_all.deb
 a496581cd2b51684aa15b7ee778da38b 2498772 tex optional texlive-formats-extra_2016.20161103-1_all.deb
 bfa0b3dd79d5999b21abcb1c5c970bd1 7604054 tex optional texlive-games_2016.20161103-1_all.deb
 b905a996504105fcbeee931afcd7b4a0 14843062 tex optional texlive-generic-extra_2016.20161103-1_all.deb
 8e7069ff027fb5dac087553082453cbe 1426494 tex optional texlive-htmlxml_2016.20161103-1_all.deb
 e6b3b691d5cf35b28d2d3134dff59c6f 19221686 doc optional texlive-humanities-doc_2016.20161103-1_all.deb
 c38745fe89b53691872ae6bc2a15498f 360744 tex optional texlive-humanities_2016.20161103-1_all.deb
 0dc0c0a26f37f6966ca4711a3eb53fe1 358221982 doc optional texlive-latex-extra-doc_2016.20161103-1_all.deb
 efd19e4dac6a6595fff9facf93d06ea2 10557854 tex optional texlive-latex-extra_2016.20161103-1_all.deb
 e087ae1d6a1233dfe8400ee392de2128 24050108 tex optional texlive-music_2016.20161103-1_all.deb
 24ef5d9a11029b50de8d3bb9b44823ef 4260222 tex optional texlive-plain-extra_2016.20161103-1_all.deb
 ee2bf76197fc403a10205e2e98e44a59 106632660 doc optional texlive-pstricks-doc_2016.20161103-1_all.deb
 8a1657f014c86c1962734015258458bc 26184162 tex optional texlive-pstricks_2016.20161103-1_all.deb
 ca545fbf909744914ea93b920a1b6afe 111881990 doc optional texlive-publishers-doc_2016.20161103-1_all.deb
 c4a5a136d86c81d7cba9e631aea181ae 9348784 tex optional texlive-publishers_2016.20161103-1_all.deb
 821a3f3e5941683b754eee5c26e0df72 45393498 doc optional texlive-science-doc_2016.20161103-1_all.deb
 9204521ca070dbcc3a4066012d90a11f 3025990 tex optional texlive-science_2016.20161103-1_all.deb

-----BEGIN PGP SIGNATURE-----

iQEcBAEBCgAGBQJYGtuQAAoJEOwAuNrTImaqSOkH/Ro/+aCNy3KDugA9VCXtyqDo
q/qc8623ot1xPlujt+VDKmO2jcqBi8Jv9clhuGZnVHWztqTDF41/zq53MFpHVPyk
d/anjE8KfrDCR+Tq8wjYfk56PTDr+vChTg0g36+OY1+9YIpOKcdc8WWsc4wV99Nt
3guaBLXWi1gevfQz8asNKQHaODUSv7CAsftjdFf048eDXEYDXD8X3yZImbs1EnVx
ANKYPNlCENjDjHeIbFJXU0A7NuISbV53G/g3pMhwIS236luRgqIeAnHAsa14GRQc
CvxitJseiAEE3Fh+Tg8E9pqKWoVxzba3os0aH4+Tl9uPqE85i0BjvyDOiL8iypc=
=FX6+
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: