[NTG-context] new beta

Aditya Mahajan adityam at umich.edu
Tue Jan 25 23:43:40 CET 2011


On Tue, 25 Jan 2011, Marco Pessotto wrote:

> Hans Hagen <pragma at wxs.nl> writes:
>
>> - If you are adventurous you can add the following to cont-new.mkiv
>>
>>        \enablemode[*nofonts]
>>
>> This will postpone font loading and will be default soon. This saves
>> runtime when you use another font than latin modern. When no font is
>> loaded before the first \starttext, modern will kick in. A side effect
>> is that any text typeset before \starttext will not show up in the
>> output. If you observe that, you need to setup a bodyfont explicitly
>> beforehand. In practice there should be no problems. The delayed
>> loading is somewhat tricky but has been tested for a while.
>>
>
> If felt adventurous and I found the following problem:
>
> %%%% minimal example %%%%
> \usetypescript[libertine]
> \setupbodyfont[libertine,12pt]
>
> \starttext
> \startitemize[1]
> \item one
> \item two
> \stopitemize
> \stoptext
> %%%% end %%%%

Can you test if

\setupbodyfont[libertine,12pt]
\starttext
$ABC \bullet \star$
\stoptext

also fails?

> It fails because itemize seems to require some math characters (the
> bullets) and the libertine font seems not to have them. lmodern don't
> kick in, it just fails:
>
> ! Math error: parameter \Umathquad\displaystyle is not set.
> \mathematics ...rmalstartimath #1\normalstopimath
>                                                  \fi
> \dodosymbol ...bol \csname \??ss :#1:#2\endcsname
>                                                  \relax }\relax
> \donormalsymbol ...bol \redosymbol \currentsymbol
>                                                  \fi \fi
> \dodosymbol ...bol \csname \??ss :#1:#2\endcsname
>                                                  \relax }\relax
> \donormalsymbol ...bol \redosymbol \currentsymbol
>                                                  \fi \fi
> <to be read again>
>                   }
> ...
> l.7 \item o
>           ne

Seems like a bug. If no math typescripts are defined, the fallback should 
have been loaded. (In any case, the libertine typescript should use either 
txfonts or perhaps xits as the default math fonts).

Aditya


More information about the ntg-context mailing list