At 01:15 PM 8/21/2001 +0300, Olya Briginets wrote:
>-- to use some input encoding, I should say something like
>\enableregime[windows], and that's all.
>Right?
right, but i think that you need another one -)
>-- I guess there must be few commands to set up body font for my whole
>dosument,
>so that after this setup I can use regular commands like \tfa, \tf, \ss
>etc. For
>example, I may wish that my bodyfont was sansserif, besides, some particular
>sansserif, either cmss or ecss or Helvetica, and that it was it particular
>encoding, say ec (or texnansi).
>What setup command should I use?
in the new way you load a (set of) typescripts, and preferably define a
typeface
\definetypeface [nicefonts] .....
after that both
\setuptypeface
\setupbodyfont
accent nicefont as key (\nicefont is also okay). The \setup command defines
the bodyfont, the \switchto commands the local variant.
In one doc, you can mix typefaces
>-- is there any connection between font setup and language setup, either
>in user
>document or in the format file?
>I think there must be no such a connection, except via *.pat files, so
>user must
>use correct encoding to get correct hyphenation.
that's kind of font related, but you can have a language dependency. Czech
for instance gets two sets of patterns loaded, one for ec and one for il2
[actually the same patterns with different mappings, see cont-usr.tex:
\installlanguage [cz] [mapping={il2,ec},encoding={il2,ec}]
This means that patterns will be loaded twice.
It all sounds (and is) complicated but once it works ...
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
-------------------------------------------------------------------------