ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* LM typsescript problem
@ 2009-02-22 15:56 Alan Bowen
  2009-02-23 17:22 ` Alan Bowen
  0 siblings, 1 reply; 47+ messages in thread
From: Alan Bowen @ 2009-02-22 15:56 UTC (permalink / raw)
  To: mailing ConTeXt users list for


[-- Attachment #1.1: Type: text/plain, Size: 2619 bytes --]

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


[-- Attachment #1.2: Type: text/html, Size: 10196 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 47+ messages in thread

end of thread, other threads:[~2009-02-25 14:01 UTC | newest]

Thread overview: 47+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-22 15:56 LM typsescript problem Alan Bowen
2009-02-23 17:22 ` Alan Bowen
2009-02-23 17:40   ` Thomas A. Schmitz
2009-02-23 17:52     ` Alan Bowen
2009-02-23 18:26       ` luigi scarso
2009-02-23 19:20         ` Alan Bowen
2009-02-23 20:03           ` Alan Bowen
2009-02-23 20:15             ` luigi scarso
2009-02-23 20:24               ` Aditya Mahajan
2009-02-23 21:59                 ` Alan Bowen
2009-02-23 22:37                   ` Aditya Mahajan
2009-02-24 12:43                     ` Alan Bowen
2009-02-24 12:57                       ` Thomas A. Schmitz
2009-02-24 13:04                       ` luigi scarso
2009-02-24 13:20                         ` Alan Bowen
2009-02-24 13:28                           ` Hans Hagen
2009-02-24 13:54                             ` Alan Bowen
2009-02-24 14:05                               ` Thomas A. Schmitz
2009-02-24 14:46                                 ` Alan Bowen
2009-02-24 15:01                                   ` Thomas A. Schmitz
2009-02-24 15:13                                     ` Alan Bowen
2009-02-24 15:22                                       ` Thomas A. Schmitz
2009-02-24 15:42                                         ` Alan Bowen
2009-02-24 16:00                                           ` Thomas A. Schmitz
2009-02-24 16:52                                             ` Alan Bowen
2009-02-24 17:36                                               ` Alan Bowen
2009-02-24 17:47                                                 ` Thomas A. Schmitz
2009-02-24 18:23                                                   ` Alan Bowen
2009-02-24 18:41                                                     ` luigi scarso
2009-02-24 18:49                                                       ` Alan Bowen
2009-02-24 18:59                                                         ` luigi scarso
2009-02-24 19:51                                                           ` Alan Bowen
2009-02-24 19:57                                                           ` Aditya Mahajan
2009-02-24 20:12                                                             ` Alan Bowen
2009-02-24 20:32                                                               ` luigi scarso
2009-02-24 20:52                                                                 ` Alan Bowen
2009-02-24 21:05                                                                   ` luigi scarso
2009-02-24 20:21                                                         ` Hans Hagen
2009-02-24 20:26                                                           ` Alan Bowen
2009-02-24 20:49                                                             ` Hans Hagen
2009-02-24 15:53                                         ` Alan Bowen
2009-02-24 16:03                                           ` Thomas A. Schmitz
2009-02-24 16:12                                         ` Alan Bowen
2009-02-24 13:31                         ` Alan Bowen
2009-02-24 13:50                           ` Thomas A. Schmitz
2009-02-25 13:23             ` Mojca Miklavec
2009-02-25 14:01               ` Alan Bowen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).