ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Russian language support in ConTeXt
@ 2013-12-06 13:48 Pavel Stupin
  2013-12-09  8:49 ` Fwd: " Pavel Stupin
  0 siblings, 1 reply; 4+ messages in thread
From: Pavel Stupin @ 2013-12-06 13:48 UTC (permalink / raw)
  To: ntg-context

Hello:

I would like to use ConTeXt for typesetting the documents in Russian.
I used it about 10 years ago and it worked just fine. Much has been
changed since then, however, and it doesn't work out-of-box while the
only howto I've been able to find
(http://wiki.contextgarden.net/Russian) seems to be outdated as none
of the examples works with the latest ConTeXt. Could someone please
explain me what I need to set up the program accordingly. I would
appreciate your help a lot.

Kind regards, Pavel.
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Fwd: Russian language support in ConTeXt
  2013-12-06 13:48 Russian language support in ConTeXt Pavel Stupin
@ 2013-12-09  8:49 ` Pavel Stupin
  2013-12-09  9:38   ` Wolfgang Schuster
  0 siblings, 1 reply; 4+ messages in thread
From: Pavel Stupin @ 2013-12-09  8:49 UTC (permalink / raw)
  To: ntg-context

Hello:

I would like to use ConTeXt for typesetting documents in Russian. I
used it about 10 years ago and it worked just fine. Much has been
changed since then, however, and it doesn't work out-of-box while the
only howto I've been able to find
(http://wiki.contextgarden.net/Russian) seems to be outdated (?) as
none of the examples works with the latest ConTeXt. Could someone
please explain me what I need to set up the program, if this is
possible at all. I would appreciate your help and advise a lot.

Kind regards, Pavel.
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Russian language support in ConTeXt
  2013-12-09  8:49 ` Fwd: " Pavel Stupin
@ 2013-12-09  9:38   ` Wolfgang Schuster
  2013-12-10 11:07     ` Pavel Stupin
  0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Schuster @ 2013-12-09  9:38 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 09.12.2013 um 09:49 schrieb Pavel Stupin <stupin.pavel@gmail.com>:

> Hello:
> 
> I would like to use ConTeXt for typesetting documents in Russian. I
> used it about 10 years ago and it worked just fine. Much has been
> changed since then, however, and it doesn't work out-of-box while the
> only howto I've been able to find
> (http://wiki.contextgarden.net/Russian) seems to be outdated (?) as
> none of the examples works with the latest ConTeXt. Could someone
> please explain me what I need to set up the program, if this is
> possible at all. I would appreciate your help and advise a lot.

When you use ConTeXt MkIV (context command on the command line)
you need a font which has cyrillic letters, e.g. the DejaVu fonts which are
shipped with the ConTeXt Suite.

\setupbodyfont[dejavu]

\mainlanguage[russian]

\starttext
Немного русского текста для пробы.
\stoptext


You can also use other fonts on your system with have cyrillic glyphs and
load the fonts with the simplefonts module. When you have a recent
installation you can use the internal simplefonts commands (not the best
example because you can load the libertine fonts also with \setupbodyfont[libertine])

\definefontfamily [mainface] [rm] [Linux Libertine O]
\definefontfamily [mainface] [ss] [Linux Biolinum O]
\definefontfamily [mainface] [mm] [Latin Modern Math]

\setupbodyfont[mainface]

\mainlanguage[russian]

\starttext

Немного русского текста для пробы.

\ss Немного русского текста для пробы.

\stoptext

When your ConTeXt version is older (e.g. because you use TeXLive) change
the example above to:

\usemodule[simplefonts]

\setmainfont [Linux Libertine O]
\setsansfont [Linux Biolinum O]

\mainlanguage[russian]

\starttext

Немного русского текста для пробы.

\ss Немного русского текста для пробы.

\stoptext

Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Russian language support in ConTeXt
  2013-12-09  9:38   ` Wolfgang Schuster
@ 2013-12-10 11:07     ` Pavel Stupin
  0 siblings, 0 replies; 4+ messages in thread
From: Pavel Stupin @ 2013-12-10 11:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Wolfgang, thank you very much for the detailed answer. It works great for me.
Best regards, Pavel.

2013/12/9 Wolfgang Schuster <schuster.wolfgang@gmail.com>:
>
> Am 09.12.2013 um 09:49 schrieb Pavel Stupin <stupin.pavel@gmail.com>:
>
>> Hello:
>>
>> I would like to use ConTeXt for typesetting documents in Russian. I
>> used it about 10 years ago and it worked just fine. Much has been
>> changed since then, however, and it doesn't work out-of-box while the
>> only howto I've been able to find
>> (http://wiki.contextgarden.net/Russian) seems to be outdated (?) as
>> none of the examples works with the latest ConTeXt. Could someone
>> please explain me what I need to set up the program, if this is
>> possible at all. I would appreciate your help and advise a lot.
>
> When you use ConTeXt MkIV (context command on the command line)
> you need a font which has cyrillic letters, e.g. the DejaVu fonts which are
> shipped with the ConTeXt Suite.
>
> \setupbodyfont[dejavu]
>
> \mainlanguage[russian]
>
> \starttext
> Немного русского текста для пробы.
> \stoptext
>
>
> You can also use other fonts on your system with have cyrillic glyphs and
> load the fonts with the simplefonts module. When you have a recent
> installation you can use the internal simplefonts commands (not the best
> example because you can load the libertine fonts also with \setupbodyfont[libertine])
>
> \definefontfamily [mainface] [rm] [Linux Libertine O]
> \definefontfamily [mainface] [ss] [Linux Biolinum O]
> \definefontfamily [mainface] [mm] [Latin Modern Math]
>
> \setupbodyfont[mainface]
>
> \mainlanguage[russian]
>
> \starttext
>
> Немного русского текста для пробы.
>
> \ss Немного русского текста для пробы.
>
> \stoptext
>
> When your ConTeXt version is older (e.g. because you use TeXLive) change
> the example above to:
>
> \usemodule[simplefonts]
>
> \setmainfont [Linux Libertine O]
> \setsansfont [Linux Biolinum O]
>
> \mainlanguage[russian]
>
> \starttext
>
> Немного русского текста для пробы.
>
> \ss Немного русского текста для пробы.
>
> \stoptext
>
> Wolfgang
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-12-10 11:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-06 13:48 Russian language support in ConTeXt Pavel Stupin
2013-12-09  8:49 ` Fwd: " Pavel Stupin
2013-12-09  9:38   ` Wolfgang Schuster
2013-12-10 11:07     ` Pavel Stupin

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).