Filewatcher File Search File Search
Catalog
Content Search
» » » » » tetex-src_1.0-1.deb » Content »
pkg://tetex-src_1.0-1.deb:10750622/usr/share/texmf/source/latex/t2/cyrplain/  info  control  downloads

tetex-src - teTeX texmf source files…  more info»

README

This directory contains files which can be used to make rusified
Plain TeX and other Plain TeX based formats, such as AMS-TeX, Texinfo
or BLUe TeX, using cyrillic fonts in LCY encoding (which is an 8-bit
extension of OT1 similar to cp866).

The file `plainenc.tex' provides a preliminary support of
inputenc/fontenc mechanisms for Plain TeX. It uses the standard
*unmodified* LaTeX files: inputenc.sty, font encoding definition files
(such as lcyenc.def), and input encoding definition files (koi8-r.def,
cp866.def, etc), so that your documents may be in any input encoding
supported by the `cyrillic' bundle of LaTeX.

The files `example4.tex' and `example2.tex' contain examples of using
different input encodings in Plain TeX.  See also a file example3.tex
which shows another way to process Plain TeX files---using the `plain'
package for LaTeX.

To install russian support for Plain TeX, AMS-TeX, Texinfo or BLUe
TeX, please do the following steps:

1) To setup hyphenation, you will need russian hyphenation patterns
and a file `hyphen.cfg' (either from BABEL or created manually). It is
recommended to use russian hyphenation patterns contained in the
`ruhyphen' package (see the README in the parent directory for more
information). There you will find also documentation on installation
and usage of patterns. Note, that for all Plain TeX-based formats it
is recommended to use "combined" Russian-English patterns as a single
language to avoid necessity to use language switching commands like
\Russian and \English (you may use a sample "language.dat" from the
ruhyphen package when creating format files).

2) If you want to be able to use input encodings other than cp866, you
should install the T2 package first. Then edit the file `cyrtex.ini',
and choose the default input encoding of your documents in the line
"\inputencoding{koi8-r}". In this case you must install BABEL, because
we use some files from BABEL (e.g., plain.def, hyphen.cfg).

Otherwise (if you will process only documents in cp866 encoding),
change "\iftrue" to "\iffalse" in `cyrtex.ini' (or put cp866 in the
argument of \inputencoding).

3) By default, we use LH fonts. You could change this to any other
LCY-encoded font set (e.g. to use Type1 virtual fonts like `C3 fonts
package'), by redefining the command `\fontprefix' in cyrtex.ini.

4) Edit the file `makefmts.sh' or `makefmts.bat' (depending on your
platform), and (optionally) remove or comment out the lines which call
INITEX for formats which you do not want to install.

Then run the script/batch file `makefmts.sh' or `makefmts.bat'. This will
create TeX format files: `cyrtex.fmt', `cyramstex.fmt', `cyrtexinfo.fmt'
and `cyrblue.fmt' (maybe not all of them if you commented some lines
in makefmts script). In case of `makefmts.bat', we use short DOSish
filenames `cyramstx.fmt', `cyrtxinf.fmt' instead of `cyramstex.fmt',
`cyrtexinfo.fmt'.  You can rename them to long names if your OS
supports them. ;-) Finally, install the format files as usual (maybe
creating symlinks or scripts/batch files which call TeX with these
formats).

Note: if you are using `amsppt' with AMS-TeX, you should also patch
the file `amsppt.sty', changing some hard-coded CM fonts to the
corresponding cyrillic fonts. The patch `amsppt.diff' is in the `etc'
directory of the T2 package [if you do not have a `patch' utility, you
may do the changes manually].

Please, use plain.tex version 3.1415926 or above.

To make your documents incoding independent, you can use macros like
`\inputencoding{koi8-r}' in your documents (you can even use several
input encodings in one document, --- see the file `example4.tex' in
the directory `../examples').


Happy TeXing!
Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2017 FileWatcher.com