ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Rob Ermers <r.ermers@hccnet.nl>
Subject: Re: Russia (cyrillic letters)
Date: Sun, 13 Feb 2005 11:39:18 +0100	[thread overview]
Message-ID: <420F2E56.9040907@hccnet.nl> (raw)
In-Reply-To: <d5fddde005021301407a1d93b9@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2664 bytes --]

Thanks Mikael for your advise.

However, I have a 1000 page document which I have been typesetting in 
Latex thusfar, and I am considering shifting to Context.

There are some other things to say about this project, but the first 
step would be to get koi8 working.

I have attached my sample file.

Kind regards,

Robert

Mikael Persson wrote:
> On Sun, 13 Feb 2005 10:34:22 +0100, Rob Ermers <r.ermers@hccnet.nl> wrote:
> 
>>Dear Contexers,
>>
>>I am still struggling with a Russian text in koi8.
>>The sample below, which I partially copied (from Mikael Persson's site)
>>does not work.
>>
>>Can anyone help me out?
>>
>>Kind regards
>>
>>Robert Ermers
>>
>>-----------
>>
>>\enableregime[koi8-r]
>>\useencoding[cyr]
>>
>>\definetypeface [russian]
>>   [rm] [serif] [computer-modern] [default] [encoding=t2a]
>>
>>\definetypeface [swedish]
>>   [rm] [serif] [latin-modern] [default] [encoding=texnansi]
>>
>>\setupbodyfont[russian]
>>
>>\starttext
>>Some swedish text:
>>
>>{\switchtobodyfont[swedish]Jag tycker att Katja studerar d\aring ligt.}
>>
>>Some russian text:
>>
>>ÂÌÁÇÏÓÌÏ×ÉÔ áÌÌÁÈ ÅÇÏ É ÅÇÏ ÂÌÉÖÎÉÈ ÂÌÁÇÏÒÏÄÎÅÊÛÅÇÏ ÐÒÏÉÓÈÏÖÄÅÎÉÑ É
>>ÄÁÒÕÅÔ ÉÍ ÍÉÒ
>>
>>%this sample works, but it's not koi8: Ìèå êàæåòñÿ, ÷òî Êàòÿ ïëîõî ó÷èòñÿ.
>>\stoptext
>>_______________________________________________
>>ntg-context mailing list
>>ntg-context@ntg.nl
>>http://www.ntg.nl/mailman/listinfo/ntg-context
>>
> 
> 
> Hm, there seems to be a problem somewhere, saving a file on my
> computer, uploading it to the web-server, downloading it to your place
> and opening it. It is probably the web server that tells it is not
> koi8-r but iso8859-1 or something. However, the koi8-r is not yet
> working. What is working is the Windows-1251 encoding, as in the
> example (ok, type your own russian characters and be sure to save the
> file in Windows-1251 encoding). I would recommend though, to use utf-8
> as described at http://contextgarden.net/Russian . I should probably
> remove my page and refer to the one at contextgarden instead.
> 
> I had a conversation with Hans about adding support for koi8r aswell,
> but I don't know exactly what to do. If somebody tells me, then I'll
> do it.
> 
> /Micke P
> 
> PS I spoke to another russian I know, who is a Windows person. She
> told me that they use the Windows-1251 encoding at her department,
> contrary to the first russian I asked who said koi8r was the most
> common...
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
> 
> 


[-- Attachment #2: rus-example.tex --]
[-- Type: text/plain, Size: 516 bytes --]


\enableregime[koi8-r]
\useencoding[cyr]

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

\definetypeface [swedish]
  [rm] [serif] [latin-modern] [default] [encoding=texnansi]

\setupbodyfont[russian]

\starttext
Some swedish text:

{\switchtobodyfont[swedish]Jag tycker att Katja studerar d\aring ligt.}

Some russian text:

ÂÌÁÇÏÓÌÏ×ÉÔ áÌÌÁÈ ÅÇÏ É ÅÇÏ ÂÌÉÖÎÉÈ ÂÌÁÇÏÒÏÄÎÅÊÛÅÇÏ ÐÒÏÉÓÈÏÖÄÅÎÉÑ É ÄÁÒÕÅÔ ÉÍ ÍÉÒ

%Ìèå êàæåòñÿ, ÷òî Êàòÿ ïëîõî ó÷èòñÿ.
\stoptext

[-- Attachment #3: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

  reply	other threads:[~2005-02-13 10:39 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-13  9:34 Rob Ermers
2005-02-13  9:40 ` Mikael Persson
2005-02-13 10:39   ` Rob Ermers [this message]
  -- strict thread matches above, loose matches on Subject: below --
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-30 21:55                                 ` 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

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=420F2E56.9040907@hccnet.nl \
    --to=r.ermers@hccnet.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).