From: Mikael Persson <mickep@gmail.com>
Subject: Re: Russia (cyrillic letters)
Date: Tue, 25 Jan 2005 08:13:29 +0100 [thread overview]
Message-ID: <d5fddde0050124231359721de4@mail.gmail.com> (raw)
In-Reply-To: <41F41B8D.20908@wxs.nl>
On Sun, 23 Jan 2005 22:47:57 +0100, h h extern <pragma@wxs.nl> 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
next prev parent reply other threads:[~2005-01-25 7:13 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
2005-01-25 7:13 ` Mikael Persson [this message]
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=d5fddde0050124231359721de4@mail.gmail.com \
--to=mickep@gmail.com \
--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).