CTAN Comprehensive TeX Archive Network

Directory macros/latex209/contrib/cmcyralt

readme
       LaTeX 2.09 NFSS1 style for Russian fonts in alternative encoding.

The alternative encoding is de-facto standard on MS-DOS PC
computers in Russia. In this encoding first half of code
table (0-127) coincides with standard ASCII and cyrillic
characters are located in second part of the table (128-255).
Usually some simple screen and keyboard driver is used in order
to type cyrillic characters.

This directory includes:

readme - this file
cmcyr.sty - main style file
lhyphen.rus rhyphen.tex - support of Russian hyphenation
rusfonts.tex - simple test

In order to use cmcyr style you need Russian fonts in
alternative encoding. These fonts is available from CTAN in
/fonts/cmcyralt
Actually it is composite virtual fonts which reproduce
alternative encoding by mapping first half of ASCII table to
standard TeX's Computer Modern font and second part to cmcyr fonts.

The cmcyr style replaces basic LaTeX fonts by these virtual fonts.
Just place cmcyr.sty files into LaTeX input directory and say

\documantstyle[cmcyr,... ]{...}

in the preamble of your document. Now you can type any English
and Russian text (in alternative encoding) in any order.
No any special font switching commands is required.

Since alternative encoding uses codes higher than 127 for
Russian characters you need TeX which understand 8-bit input,
and drivers which understand virtual fonts.
The best choice for MS-DOS PC is emTeX and its dvidrv drivers
(/systems/msdos/emtex directory on CTAN).

If you want to have correct hyphenation for Russian you
need to regenerate LaTeX format file. Put lhyphen.rus
and rhyphen.tex in LaTeX input directory.
Copy files (it is a good idea to save old ones):
lhyphen.rus  -> lhyphen.tex
lfonts.new   -> lfonts.tex
preload.ori  -> preload.tex
basefont.tex -> xxxlfont.sty
fontdef.max (or other option of fontdef.*) -> fontdef.tex
Call iniTeX on lplain. In particular, for emTeX you have to say:

> tex /i /o /8 /mt65500 lplain \dump

This produces format with both English and Russian hyphenation
tables. Notice, that generated format must be invoked with the
same /mt65500 switch

> tex /mt65500 &lplain yourdoc.tex

Uploaded by Vadim V. Zhytnikov (vvzhy@phy.ncu.edu.tw)
on the behalf of Alexander Harin (harin@lourie.und.ac.za)

...
Guest Book Sitemap Contact Contact Author