![](https://secure.gravatar.com/avatar/75dc6ef5c344c5b25200e44d4088ef2a.jpg?s=120&d=mm&r=g)
On Wed, 13 Jun 2007 10:04:50 +0200
"Wolfgang Schuster"
2007/6/13, zs
: Hello,
is there any way to prevent ending the paragraph when changing the font?
I want to keep this in one paragraph:
Some text \switchtobodyfont[def]another text in different font.
But when after typesetting I get:
Some text<new paragraph> another text in different font.
Thanks
Zdenek
Hi,
I don't what you're doing wrong, the following works for me:
\usetypescript[palatino][texnansi] \setupbodyfont[modern] \starttext Hello world! \switchtobodyfont[palatino]% Hello world! \stoptext
Can you make a example to show your problem.
Thank you for interest. 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