[NTG-context] prevent new paragraph when changing font

Wolfgang Schuster schuster.wolfgang at googlemail.com
Wed Jun 13 10:47:33 CEST 2007


2007/6/13, zs <stryhal at sci.ujep.cz>:
>
> Here is the example:
>
> \usetypescript[modern]
> \definetypeface [def] [latin-modern] [default]
> \setupbodyfont[modern]
> \starttext
> Hello world!\switchtobodyfont[def]Hello world!
> \stoptext
>
> Result(pdf) is attached.
>
> ZS

Hi,

the problem is your definetypeface definition. Replace your current one
with the next one:

\definetypeface[def][rm][serif][latin-modern][default][encoding=texnansi]

Wolfgang


More information about the ntg-context mailing list