ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mikael Persson <mickep@gmail.com>
Subject: Re: Russia (cyrillic letters)
Date: Mon, 31 Jan 2005 21:21:22 +0100	[thread overview]
Message-ID: <d5fddde0050131122135d97e40@mail.gmail.com> (raw)
In-Reply-To: <41FD57E7.2070209@wxs.nl>

On Sun, 30 Jan 2005 22:55:51 +0100, h h extern <pragma@wxs.nl> wrote:
> Mikael Persson wrote:
> 
> > Hm, I am entering utf8 code. I am not sure how it got converted in the
> > email, however, when I type my .tex file I am sure that it is in
> > utf-8. But you mean that this example should work?
> >
> > I attatch the testfile and the resulting pdf and logs and so on...
> 
> tracing shows that the utf part is okay:
> 
> \enableregime[utf]
> 
> % \definetypeface [russian]
> %   [rm] [serif] [computer-modern] [default] [encoding=t2a]
> %
> % \setupbodyfont[russian]
> 
> \starttext
> 
> \startbuffer
> Мама и Папа % Some russian characters
> \stopbuffer
> 
> \chardef\utfunicodetracer=0 \blank \getbuffer \blank
> \chardef\utfunicodetracer=2 \blank \getbuffer \blank
> \chardef\utfunicodetracer=7 \blank \getbuffer \blank
> 
> \stoptext
> 
> but i cannot test the font part, can you send me a zip with your t2a tfm files
> and map file and enc file?
> 
> Hans

Just for information (mostly to the ones reading this email list from
archives). It now works using utf input and get. A minimal file:

% start of test file %
\enableregime[utf]
\useencoding[cyr]

\definetypeface [russian]
  [rm] [serif] [computer-modern] [default] [encoding=t2a]

\setupbodyfont[russian]
\starttext
Мама и Папа  % Some russian characters
\stoptext
% stop of test file %

For this to work, you have to generate the tfm-files if you do not
already have them (which can be done with the afm2tfm util).

Thanks Hans and Adam for the fast replies to get this working :)

/Micke P

  reply	other threads:[~2005-01-31 20:21 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
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 [this message]
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=d5fddde0050131122135d97e40@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).