![](https://secure.gravatar.com/avatar/a5cd60098cd767332ac751c0ccd8091e.jpg?s=120&d=mm&r=g)
Please forgive my resending this. The problem is acute since it concerns a journal that I publish. As I understand it right now, the problem is that Thomas's latest Greek module and my installation of Latin Modern in MKII are not playing nicely together. (The module works well when I use other fonts). Is there a better diagnosis of the problem or even a fix for it? I would really hate to have to change the bodyfont for the journal at this point in the current volume. Alan On Feb 22, 2009, at 10;56,17 , Alan Bowen wrote: acute
I am currently faced with an unacceptable choice (ConTeXt ver: 2009.01.18 14:39 MKII).
My environment file has:
\enableregime[mac] \mainlanguage[en] % use \fr, \de, e.g., for local changes
%%%% Margin Kerning and Font Expansion \usetypescript[serif,sans,mono,mm][hanging][normal] \setupalign[hz,hanging] \setupfootnotes[align={hz,hanging}]
\startfonthandling[greekpure] \defineprotrudefactor . 0 1 \defineprotrudefactor , 0 1 \defineprotrudefactor ; 0 1 \defineprotrudefactor ? 0 1 \defineprotrudefactor - 0 1
\defineprotrudefactor hyphen 0 1 \defineprotrudefactor endash 0 .5 \defineprotrudefactor emdash 0 .33 \stopfonthandling
%%%% Default Encoding \setupencoding[default=ec]
% install Latin Modern % install margin kerning BEFORE the font is loaded: since Latin Modern is % loaded before font definitions, load it again
\usetypescript[lmodern][\defaultencoding] %<<== \starttypescript[serif][default][size] %<<== \definebodyfont[9.5pt,10.5pt][rm][default] \definebodyfont[9.5pt,10.5pt][mm][default] \stoptypescript %<<==
\setupbodyfont[lmodern,rm,10.5pt]
%\setupfontsynonym[Serif][handling=normal]
% install Greek Font \usemodule[ancientgreek] [font=GreekDioxipe,scale=1.15,altfont=GreekCanonica,altscale=0.9]
\setupfontsynonym[GreekDioxipe][handling=greekpure] \setupfontsynonym[GreekCanonica][handling=greekpure]
If I run it as it is, the Greek fonts behave properly but I get arithmetic overflow errors as soon as ConTeXt reaches a footnote: e.g.
! Arithmetic overflow. \dododefineprotrudefactor ...width \fi \fi \relax \rpcode \handledfont #1\di...
\dosetpairhandling ...ng \let \char \normalchar }} \fi <inserted text> ...ododefineprotrudefactor ! 0 .2 \dosetpairhandling \dodode...
\next1 ...csname \the \csname \@fha@ #1\endcsname \fi \rawprocesscommaitem ...commalevel \endcsname {#1} \expandafter \rawprocessco... <argument> punctuation,a lpha,extended ... l.34 \footnotetext[first] {An Italian version of this review is to be publish...
If I comment the lines marked by %<<==, the Greek fonts do not print at the right size and I lose all control of the scaling. (Changing the scale accomlishes nothing.) Still, I do get footnotes and document processes properly otherwise.
Again, any suggestions would be greatly appreciated.
Alan