[tex-live] g-brief uses marvosym, but both defined \EMail

Norbert Preining preining at logic.at
Mon Apr 2 01:23:29 CEST 2012

Dear Mojca, dear Michael,

on the Debian side we got a bug report since the upgrade from 2009 to 2011,
about a problem with g-brief, and it actually is broken currently,
completely broken:

Take the simple document:
Running it through latex gives:

! LaTeX Error: Command \EMail 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.89 \newcommand\EMail{\mvchr{107}}

The reason is that *both* g-brief and marvosym are declaring EMail,
and g-brief *uses* marvosym. That does not work out right.

Michael, do you see the possibility to release a fixed version of
g-brief? THere are other fixes in Debian that could be applied:

--- g-brief.cls.orig    2006-05-15 21:12:36.000000000 +0200
+++ g-brief.cls 2007-06-05 14:01:31.000000000 +0200
@@ -198,7 +198,7 @@
 \def\Land#1{\def\land{#1}} \def\land{}
 \def\RetourAdresse#1{\def\retouradresse{#1}} \def\retouradresse{}
-\def\Telefon#1{\def\telefon{#1}} \def\telefon{}
+%\def\Telefon#1{\def\telefon{#1}} \def\telefon{}
 \def\Telefax#1{\def\telefax{#1}} \def\telefax{}
 \def\Telex#1{\def\telex{#1}} \def\telex{}
 \def\EMail#1{\def\email{#1}} \def\email{}
@@ -299,8 +299,8 @@
   \parbox[t]{3.5in}{\raggedright \ignorespaces {\normalsize \ifx
       \gruss\empty \else \gruss \mbox{} \\[16.92mm] \fi \ifx
       \unterschrift\empty \relax \else \ifklassisch
-      \textsl{(\unterschrift)} \else \unterschrift \fi}
-    \fi\strut} \ifx \anlagen\empty \else \vspace{4mm} \par \anlagen
+      \textsl{(\unterschrift)} \else \unterschrift \fi
+    \fi}\strut} \ifx \anlagen\empty \else \vspace{4mm} \par \anlagen
   \par \fi \ifx \verteiler\empty \else \ifx \anlagen\empty
   \vspace{4mm}\par \fi \verteiler \fi }

Best wishes

Norbert Preining            preining@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan                                 TeX Live & Debian Developer
DSA: 0x09C5B094   fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
The major difference between a thing that might go wrong
and a thing that cannot possibly go wrong is that when a
thing that cannot possibly go wrong goes wrong it usually
turns out to be impossible to get at or repair.
                 --- One of the laws of computers and programming revealed.
                 --- Douglas Adams, The Hitchhikers Guide to the Galaxy

More information about the tex-live mailing list