Jean-Marc Lasgouttes writes:

> Jürgen Spitzmüller <[EMAIL PROTECTED]> writes:
> 
> > Jean-Marc Lasgouttes wrote:
> >> Since this can happen so easily, should we find a workaround?
> >
> > We have the workaround that we switch automatically to Greek if Greek
> > characters are found. I have no idea how we could solve it differently. 
> > After
> > all, we do not know if people copy and paste a unit or a Greek quotation.
> 
> You are right. I wonder if configure could  know that the greek fonts
> are not available.

Those fonts are provided by the cbgreek package and configure could
check for the existence of grmn.mf through kpsewhich. However, even
detecting that cbgreek is not installed, how should we proceed?

The problem is that cbgreek is a font package and its files are not
installed in a path listed in TEXINPUTS, otherwise we could add

\IfFileExists{grmn.mf}{}{%
 \errhelp{I can't find the Greek fonts}%
 \errmessage{The cbgreek package is missing, so I can't typeset Greek}}

to textgreek_def in order to have a meaningful error at runtime, at least.

-- 
Enrico

Reply via email to