g-brief redefines \Telefon symbol from marvosym.sty

Bug #159690 reported by Dominik Holler
24
This bug affects 1 person
Affects Status Importance Assigned to Milestone
texlive-extra (Debian)
Fix Released
Unknown
texlive-extra (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

looks like a bug of texlive
workaround:
cp cp /usr/share/texmf-texlive/tex/latex/marvosym/marvosym.sty .
comment line 48:
%\newcommand\Telefon{\mvchr{84}}

produce bug:

cp /usr/share/doc/texlive-latex-extra/latex/g-brief/beispiel.tex /tmp/
cd /tmp
latex beispiel.tex or pdflatex beispiel.tex
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
...
(/usr/share/texmf-texlive/tex/latex/marvosym/marvosym.sty

! LaTeX Error: Command \Telefon 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.48 \newcommand\Telefon{\mvchr{84}}

?

Revision history for this message
Thomas Hirsch (fwd-launchpad-20-ravn) wrote : Bug in g-brief.cls (Was: g-brief/beispiel.tex does not work)

The bug is originally in g-brief.cls, when using newer versions of the file marvosym.sty - the latter defines a symbol \Telefon which is re-defined in g-brief.

A simple bugfix is to comment out the first definition of \Telefon in g-brief as follows:

200
201 %%\def\Telefon#1{\def\telefon{#1}} \def\telefon{} <-- here
202 \def\Telefax#1{\def\telefax{#1}} \def\telefax{}
203 \def\Telex#1{\def\telex{#1}} \def\telex{}
204 \def\EMail#1{\def\email{#1}} \def\email{}
205 \def\HTTP#1{\def\http{#1}} \def\http{}
206

Revision history for this message
Stephan Wienczny (stephan-wienczny) wrote : Re: g-brief/beispiel.tex does not work

I can confirm the Bug and the Bugfix from Thomas Hirsch.

Changed in texlive-extra:
status: Unknown → Confirmed
Revision history for this message
Dominik Holler (dominik-holler) wrote :

miktex 2.7 is also affected

Revision history for this message
schnollk (schnollk) wrote :

Confirming this bug and workaround suggested by Thomas Hirsch. Will alter affected packages to texlive-fonts-recommended and texlive-latex-extra (e.g. see [1] for a complete hardy package list containing g-brief) because of that.

Additional information:

- dragging this bug along for a long while (at least one year now) coming from windows miktex system, but never has been a problem so far besides the hassle of always getting the error message.

- another workaround is to comment out line 48 of /usr/share/texmf-texlive/tex/latex/marvosym/marvosym.sty or better even change the command definition from "\Telefon" to "\Telef" (or any better undefined name). This would have to be reflected in acording documentation, of course; this is the command used by end users in actual .tex documents. Regardless of that "\mvchr{48}" should be possible to use anywhere.

Cheers.

system:
$ lsb_release -rd
Description: Ubuntu 8.04.1
Release: 8.04

$ dpkg -S marvosym.sty
texlive-fonts-recommended: /usr/share/texmf-texlive/tex/latex/marvosym/marvosym.sty

$ dpkg -S g-brief | grep -v 'doc'
tex4ht-common: /usr/share/texmf/tex/generic/tex4ht/g-brief.4ht
texlive-latex-extra: /usr/share/texmf-texlive/tex/latex/g-brief
texlive-latex-extra: /usr/share/texmf-texlive/tex/latex/g-brief/g-brief2.sty
texlive-latex-extra: /usr/share/texmf-texlive/tex/latex/g-brief/g-brief2.cls
texlive-latex-extra: /usr/share/texmf-texlive/tex/latex/g-brief/g-brief.sty
texlive-latex-extra: /usr/share/texmf-texlive/tex/latex/g-brief/g-brief.cls

$ apt-show-versions texlive-latex-extra texlive-fonts-recommended
texlive-fonts-recommended/hardy uptodate 2007-13
texlive-latex-extra/hardy uptodate 2007.dfsg.1-1

[1] http://packages.ubuntu.com/search?searchon=contents&keywords=g-brief&mode=filename&suite=hardy&arch=any

Revision history for this message
schnollk (schnollk) wrote :

Well, maybe I misunderstand the package concept of launchpad. I didn't manage to change this bug's affecting packages as intended above. Anyway, the Ubuntu repos packages that are affected as far as I see it are

1. texlive-fonts-recommended (marvosym.sty)
2. texlive-latex-extra (g-brief)

Cheers.

Changed in texlive-extra:
status: Confirmed → Fix Released
Revision history for this message
Stephan Wienczny (stephan-wienczny) wrote :

This bug still applys to Ubuntu 8.10

Daniel T Chen (crimsun)
Changed in texlive-extra:
status: New → Confirmed
Revision history for this message
Hemanth (hemanth-hm) wrote :

@schnollk
texlive-fonts-recommended (marvosym.sty) fixed the issue on 9.04 for libpoppler 3.141592-1.40.3-2.2 (Web2C 7.5.6)
kpathsea version 3.5.6

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.