ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Alan Bowen <acbowen@princeton.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: LM typsescript problem
Date: Mon, 23 Feb 2009 12:22:15 -0500	[thread overview]
Message-ID: <B3F70829-5981-4837-8D3B-F23C9F25BEA1@princeton.edu> (raw)
In-Reply-To: <34ABF7A8-CE4F-437D-9CA3-FE9376350226@princeton.edu>


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

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

[-- Attachment #1.2: Type: text/html, Size: 11054 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
___________________________________________________________________________________

  reply	other threads:[~2009-02-23 17:22 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-22 15:56 Alan Bowen
2009-02-23 17:22 ` Alan Bowen [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=B3F70829-5981-4837-8D3B-F23C9F25BEA1@princeton.edu \
    --to=acbowen@princeton.edu \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).