ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* t-greek module and Latin Modern
@ 2006-05-26 17:19 Alan Bowen
  2006-05-27 12:25 ` Hans Hagen
  0 siblings, 1 reply; 14+ messages in thread
From: Alan Bowen @ 2006-05-26 17:19 UTC (permalink / raw)



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

Hans and all other font wizards—

Thomas and I have been stumped by problem that arises when one re- 
installs Latin Modern (in order to get margin kerning) and uses the t- 
greek module. Thomas suspects that Latin Modern, being a "clone" of  
Computer Modern, comes in different design sizes and uses slightly  
different fonts for different sizes. This setup breaks when the t- 
greek module expects to have a completely scalable font. But this is  
only a guess, as he says.

The problem may be described as follows:

A.
If I do not re-install Latin Modern (and thus forego margin kerning  
and so forth), there is no problem: I can vary the typesize of the  
footnotes and insert Greek at will. I use the following code for this:

\setupencoding[default=ec]

\setupbodyfontenvironment[default][em=italic]

\definebodyfont[10.5pt][rm][default]

\setupbodyfont[modern,10.5pt]
\setupfootnotes[conversion=numbers,
	way=bytext,location=page,rule=on,bodyfont=9.5pt,style=normal]

\usemodule[t-greek]
\setupfontsynonym[Alkaios][handling=grkpure]
\setupfontsynonym[GreekOxoniensis][handling=grkpure]
\setupgreek[font=Alkaios,altfont=GreekOxoniensis,scale=0.9]

B.
If I do reinstall the Latin Modern, I get “Arithmetic overflow  
errors” when there is Greek in the footnotes. My code for this is:

\setupencoding[default=texnansi]

\starttypescript[serif][default][size]
   \definebodyfont[10.5pt][rm][default]	%<<<
   \definebodyfont[10.5pt][mm][default]
\stoptypescript

\setupfontsynonym[Serif][handling=normal]

\usetypescript[modern][texnansi]
\setupbodyfont[modern,10.5pt]
\setupfootnotes[conversion=numbers,
	way=bytext,location=page,rule=on,bodyfont=9.5pt,style=normal]

\usemodule[t-greek]
\setupfontsynonym[GreekOxoniensis][handling=greekpure]
\setupfontsynonym[GreekDioxipe][handling=greekpure]
\setupgreek[font=GreekOxoniensis,scale=1.15]
\setupgreek[altfont=GreekDioxipe,scale=1.15]

But remove the Greek from the notes and all is well.

Note that inserting
      \definebodyfont[10.5pt,9.5pt][rm][default]
at the line	<<<		(above) fails with the same error message even when  
there is no Greek in the footnotes.

If you have any suggestions on this, we would be grateful to receive  
them.

All best, Alan




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

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

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

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

end of thread, other threads:[~2006-06-01 17:00 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-26 17:19 t-greek module and Latin Modern Alan Bowen
2006-05-27 12:25 ` Hans Hagen
2006-05-27 12:45   ` making multiple choice questions exams batela
2006-05-27 16:22     ` Hans Hagen
2006-05-27 19:12       ` batela
2006-05-27 20:41         ` Hans Hagen
2006-05-28 11:50         ` Hans Hagen
2006-05-28 15:30           ` batela
2006-05-28 17:25             ` Hans Hagen
2006-05-31 17:59               ` Aditya Mahajan
2006-06-01  7:35                 ` Hans Hagen
2006-06-01 17:00                   ` Aditya Mahajan
2006-05-29 14:18           ` Taco Hoekwater
2006-05-28 11:22   ` t-greek module and Latin Modern 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).