George White wrote:

On Fri, 21 Feb 2003, Thomas Esser wrote:


is it possible that europs is missing in teTeX 2.0(.1)?  g-brief 3.0
seems to rely on it.

teTeX has eurosym and marvosym to support the Euro symbol. I am not sure ig this "dependency" of g-brief to europs is intentional or a bug. IMHO, g-brief should be happy with just one implementation for the Euro symbol.

As other have guessed: I don't like that europs approach as the type1
files cannot be distributed with teTeX.


Larger organizations (government, big companies) require that certain
documents conform to standards, which may well include a particular font
for the euro.  Times-Roman, etc, aren't distributed with teTeX, but they
(or some facsimile) are commonly found on many popular systems, so it
makes sense that TeX support them.  I'm not in a position to know how
organizations across the pond support the euro, but if there is a Type 1
font that is commonly installed beside Times-Roman, then it makes sense
for a new TeX to make it easy to use them.

Regarding Euro symbol, most of the symbols in the Adobe euro font, and
accessed trough the europs.sty, built with a "C" with two orizontal bar are not official (the official is this one: http://europa.eu.int/euro/html/dossiers/00203/html/download/constr.tif),
like isn't official euro symbol the \texteuro of textcomp.sty. IMHO the one provided in font "eurosym" (feymr10) is enough to provide the euro symbol.


In this case maybe .tfm and europs.sty could be provided, but then it
would lack anyway the .pfb files (for Times-Roman they are
generally resident in Printer or PostScript interpreter
trough the URW compatible fonts). The europs.sty license is this:

%% File eurofont.sty
%% copyright Rowland McDonnell 1998
%% email [EMAIL PROTECTED]
%%\This file is part of the eurofont distribution.  You can distribute it
%% freely provided that you include the rest of the eurofont distribution
%% with this file and make no more than a nominal charge to cover the
%% costs of distributing it.
%%
%% If you would like to change the contents of this file, please make a
%% copy of it under a different name and change that instead. Keep my
%% copyright notice attached, but make it clear that the new file is your
%% responsibility so you get the credit for the improvements and I don't
%% get blamed for the bugs.


The other consideration is whether it is easier to make europs "just work" for systems that have the font or to explain why it doesn't work.


IMHO the g-brief.sty doens't work if you don't have the europs.sty package installed. Look at bottom of g-brief.cls:

===========================================================================
\ifx \eurofontname\eurofontnone
\IfFileExists{marvosym.sty}
  {\RequirePackage{marvosym}}
  {\ClassError{g-brief}
    {Can't load package marvosym.sty !!!}}
  \def\Telefon#1{\def\telefon{#1}} \def\telefon{}
\fi
\ifx \eurofontname\eurofontnone
\IfFileExists{europs.sty}
  {\RequirePackage{europs}}
  {\ClassError{g-brief}
    {Can't load package europs.sty !!!}}
\fi
\ifx \eurofontname\eurofontnone
\IfFileExists{eurosym.sty}
  {\RequirePackage{eurosym}}
  {\ClassError{g-brief}
    {Can't load package eurosym.sty !!!}}
\fi
=======================================================================

First the \eurofontname or \eurofontnome are never defined in any
macrofile, nor in europs.sty, nor in marvosym.sty, nor in eurosym.sty,
nor in any other macro file, so the \IfFileExists are always performed
for all the three files: marvosym.sty, eurosym.sty, europs.sty.
Probably in the author intention there was to stop the searching for
europackage when one is found. In that case, the last lines should be like
in the attached patch.

Furthermore from what I could see in g-brief.cls there seem no referements to any symbol of either eurosym.sty, europs.sty or marvosym.sty, so the
loading of some macro package providing the euro symbol, IMHO,
is not needed at all. Maybe this was included for "future" uses.


Bye.
Giuseppe.
--- g-brief.cls.orig    Sat Feb 22 10:28:51 2003
+++ g-brief.cls Sat Feb 22 10:28:10 2003
@@ -373,26 +373,25 @@
     {Get current LaTeX2e !!!}}
 \fi
 
-\ifx \eurofontname\eurofontnone
+\ifx \eurofontname\undefined
+\IfFileExists{eurosym.sty}
+  {\RequirePackage{eurosym}\def\eurofontname{eurosym}}
+  {\ClassWarning{g-brief}
+    {Can't load package eurosym.sty !!!}}
+\fi
+\ifx \eurofontname\undefined
 \IfFileExists{marvosym.sty}
-  {\RequirePackage{marvosym}}
-  {\ClassError{g-brief}
+  {\RequirePackage{marvosym}\def\eurofontname{marvosym}}
+  {\ClassWarninig{g-brief}
     {Can't load package marvosym.sty !!!}}
   \def\Telefon#1{\def\telefon{#1}} \def\telefon{}
 \fi
-\ifx \eurofontname\eurofontnone
+\ifx \eurofontname\undefined
 \IfFileExists{europs.sty}
-  {\RequirePackage{europs}}
+  {\RequirePackage{europs}\def\eurofontname{europs}}
   {\ClassError{g-brief}
     {Can't load package europs.sty !!!}}
 \fi
-\ifx \eurofontname\eurofontnone
-\IfFileExists{eurosym.sty}
-  {\RequirePackage{eurosym}}
-  {\ClassError{g-brief}
-    {Can't load package eurosym.sty !!!}}
-\fi
-
 
 \endinput
 %%

Reply via email to