[NTG-context] Re: missing =

Adam Lindsay atl at comp.lancs.ac.uk
Tue Nov 2 19:13:50 CET 2004


Hans Hagen said this at Tue, 2 Nov 2004 18:04:35 +0100:

>> \setupbodyfont[lbr,14pt]
>> \starttext
>> \startformula
>> -1=+1
>> \stopformula
>> \stoptext
>> 
>> which typesets -1 1
>> 
>> removing the \setupbodyfont is the key to the = and + sign. Perhaps
>> this is enough for others to track down the error. Sorry I don't know
>> further.
>
>here i get
>
>   -1 = +1
>
>maybe you run a special version of tex that has a math correctness test 
>in it

:p [it wouldn't surprise me if DEK were *capable* of doing such a thing...]
Actually, it reminds me quite a bit of one of the problems I had in some
math experiments yesterday. For me, the key was in the equivalent lines
to this:
\starttypescript [math,boldmath] [lucida] [special]
  \usemathcollection[lbr]
\stoptypescript

(Something in the past year changed so that a [special] typescript is
needed for a correct \usemathcollection.)

So, in response to David, just to make sure: you *do* have the (non-free)
Lucida fonts installed correctly? The typeset output is definitely
Lucida, albeit incorrect?

If so, then what about:
\usetypescript [lucida] [\defaultencoding]
\setupbodyfont [lucida,14pt]
\starttext etc.

(Apologies if this is off the mark. I don't have the TeXish lbr fonts, so
can't directly verify)
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept.     atl at comp.lancs.ac.uk
 Lancaster University, InfoLab21        +44(0)1524/510.514
 Lancaster, LA1 4WA, UK             Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



More information about the ntg-context mailing list