At 07:01 PM 8/2/2001 +0200, Marco Kuhlmann wrote:
>     Hi there!
>
>For my first ConTeXt document, I wanted to use Palatino
>together with the pxfonts. This seems to be supported by
>ConTeXt; at least I found some font synonyms in the files.
>
>Here is what I tried (I want to prepare the document in German,
>so I use win to input umlauts directly):
>
>   \useencoding   [win]
>   \usetypescript [math] [px] [ec]
>   \setupbodyfont [ber,ppl,12pt]
>
>Whereas with this setup, ConTeXt is using the Palatino fonts,
>math is still be done with CM. I guess I just did not
>understand the mechanism, though I skimmed the fonts manual.
>
>If there was someone who could send me the lines of code that I
>need and try to explain what they mean, I would really
>appreciate it. Sorry if this is a trivial question, but I did
>not found anything in the archives about it.
>
>     Cheers,
>     Marco
>
>PS: I am running a fresh TeXlive 5 installation.

Here I can say:

\definetypeface[palatino][rm][serif][palatino][default][encoding=ec]
\definetypeface[palatino][mm][math] [palatino][default][encoding=ec]

\definetypeface[times]   [rm][serif][times]   [default][encoding=ec]
\definetypeface[times]   [mm][math] [times]   [default][encoding=ec]

\setupbodyfont[palatino,12pt]

\starttext

Some $m=a+t+h$!

\switchtobodyfont[times,12pt]

Some $m=a+t+h$!

\stoptext

I wonder it it works at your site since i adapted typescripts. There will 
be new ones soon, including an adapted texfont.pl script that you can use 
to install fonts in the encodings you like most. The most fuzzy part is 
getting the map files right.

Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------

Reply via email to