On Sun, 23 Jan 2005 22:47:57 +0100, h h extern <[EMAIL PROTECTED]> wrote:
> Mikael Persson wrote:
>
> > I am looking for a way of writing some home exercises in my Russian
> > course in ConTeXt. However, so far I have not succeed with it. Should
> > it work out of the box without installing any new fonts (I am having
> > the fonts from a full install of TeXLive2003 now)? I have looked a bit
> > in the source files for context, but with no luck.
>
> well, i just took a look in the latest tex tree, and i cannot find a trace of
> the russian fonts that are defined in abundance in context's type-enc.tex; one
> problem with russian is that nobody seems to be responsible to get all the
> right
> stuff on tex live;
>
> Based on the definitions, the following should work (and is reported to work):
>
> \starttext
>
> \definetypeface [latin]
> [rm] [serif] [latin-modern] [default] [encoding=texnansi]
>
> \definetypeface [russian]
> [rm] [serif] [computer-modern] [default] [encoding=cyr] % t2a
>
> \latin \dostepwiserecurse{`a}{`z}{1}{\char\recurselevel} \endgraf
> \russian \dostepwiserecurse{`a}{`z}{1}{\char\recurselevel} \endgraf
>
> \stoptext
Hello, and thank you for your answer. However this small test file
does not work here. Not in TeXLive2003 or with a fresh install of
TeXLive2004. If I run it as it is, I get the bluesky cmr12 and cmr10.
If cyr is changed to t2a, then it does not run anymore. It complains
about larm1000 not found. I guess this is the cm-super files. In
type-enc.tex there is a line
\definefontsynonym [cmr10] [larm1000] [encoding=t2a]
and I have the cm-super fonts installed, however no file called
larm1000.tfm. In cm-super-t2a.map I see:
larm1000 SFRM1000 "T2AEncoding ReEncodeFont" <cm-super-t2a.enc <sfrm1000.pfb
and I got sfrm1000.pfb and cm-super-t2a.enc files... So, in order to
have the cm-super fonts working, do I have to generate some files or
do something more?
> In order to get it working i suggest those using russian to do the following:
>
> - determine what encodings are *really* in use
This, I shall ask one russian guy I know.
> - collect the tfm/vf/pfb files that are needed to get that done
> - build me the right map files
>
> (i probably involves some fonts from cmsuper; so ... what is the reasonable
> subset that we need; if needed we can stick to a few reasonable sized (as we
> do
> with greek); it's mostly the math that is sensitive to design sizes)
>
> we can then make a proper subset for (1) tex live and (2) the minimal context
> distribution; even better would be to have those glyohs needed to be added to
> the latin modern fonts [i can look into that later]
That sounds great!
> > I guess there are different ways to achieve this, however, since I
> > also want some swedish text in the same documents, the best would
> > probably be if one of the following options worked:
>
> the simpliest is to switch font and language at the same time (but i cannot
> test
> anything if i have no fonts running on my sytstem]
>
> > 1) Typing everything in utf8, and get the different languages
> > automatically when compiling.
>
> currently the utf handler does not change fonts, but since language switches
> are
> to be given anyway, it can be hooked into the language handler if needed
>
> > 2) Typing everything with western letters, having some kind of
> > \startrussia Boris \stoprussia and get Boris typeset with Cyrillic
> > letters.
>
> Just language+font switches using the typeface macros.
>
> Hans
>
OK, thank you for clarifying this.
Best Regards, Micke P
_______________________________________________
ntg-context mailing list
[email protected]
http://www.ntg.nl/mailman/listinfo/ntg-context