From: h h extern <pragma@wxs.nl>
Subject: Re: Russia (cyrillic letters)
Date: Sun, 23 Jan 2005 22:47:57 +0100 [thread overview]
Message-ID: <41F41B8D.20908@wxs.nl> (raw)
In-Reply-To: <d5fddde0050122114174155660@mail.gmail.com>
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
In order to get it working i suggest those using russian to do the following:
- determine what encodings are *really* in use
- 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]
> 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
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
next prev parent reply other threads:[~2005-01-23 21:47 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-22 19:41 Mikael Persson
2005-01-23 21:47 ` h h extern [this message]
2005-01-25 7:13 ` Mikael Persson
2005-01-25 15:10 ` h h extern
2005-01-25 18:20 ` Mikael Persson
2005-01-26 6:20 ` Ulrich Dirr
2005-01-26 9:24 ` Hans Hagen
2005-01-26 21:38 ` Mikael Persson
2005-01-26 22:40 ` Adam Lindsay
2005-01-27 7:48 ` Mikael Persson
2005-01-27 9:11 ` Hans Hagen
2005-01-27 9:25 ` Mikael Persson
2005-01-27 10:59 ` Mikael Persson
2005-01-27 11:32 ` Adam Lindsay
2005-01-27 12:01 ` Hans Hagen
2005-01-27 13:50 ` Mikael Persson
2005-01-27 14:46 ` Adam Lindsay
2005-01-27 22:04 ` Hans Hagen
2005-01-28 9:07 ` Hans Hagen
2005-01-29 12:31 ` Mikael Persson
2005-01-29 13:38 ` Hans Hagen
2005-01-29 14:09 ` Mikael Persson
2005-01-29 17:00 ` help - spine centered figure Ciro A. Soto
2005-01-29 17:05 ` Ciro A. Soto
2005-01-30 21:41 ` h h extern
2005-01-30 21:35 ` h h extern
2005-01-30 21:55 ` Russia (cyrillic letters) h h extern
2005-01-31 20:21 ` Mikael Persson
2005-01-27 12:04 ` Hans Hagen
2005-01-27 13:24 ` Rob Ermers
2005-01-27 13:58 ` Hans Hagen
2005-01-27 12:08 ` Hans Hagen
2005-01-27 9:23 ` Hans Hagen
2005-02-13 9:34 Rob Ermers
2005-02-13 9:40 ` Mikael Persson
2005-02-13 10:39 ` Rob Ermers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=41F41B8D.20908@wxs.nl \
--to=pragma@wxs.nl \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).