========================================================================= LHFONTS version 3.3 file LHFONT33.EN ========================================================================= (C) A.Berdnikov, A.Khodulev, O.Lapko (C) Cyrillic TeX Users Group (CyrTUG) This package is freeware product. The modification and distribution of modified package without change of its name is forbidden. Use of this macro package is not restricted provided each use is acknowledged upon publication. ------------------------------------------------------------------------- LHFONTS package -- package for creating Cyrillic LH-family fonts in different encodings. It includes a few ways of font creation. How to create fonts for T2 -------------------------- You must create METAFONT files for necessary encoding using TeX file like 12ex-la.tex in directory LH\TEX. After TeX's work you get necessary mf-files in wrk subdirectory. Copy these files to directory opened for METAFONT's eyes. emTeX users may create mfj-files. Change \MFJobfalse to \MFJobtrue in file setter.tex. Notes how to use and modify TeX files ------------------------------------- File 11ex-rx.tex and so on include following commands: \input cfhead - defaults: creation of Latin-Russian font in Alternative encoding (see file 01CM-LH). \def\wrkdir{/wrk} - path for created mf files; by default it's wrk subdirectory. It already exists in archive file. NOTE for DOS and Windows users: in path you must use slash (/) instead of backslash (\)! \def\fonttwoletters{lh} - set first two letters of font which determine necessary encoding; \def\encodingletters{lh} - set two letters of encoding name if first two letters in font differ from encoding name e.g.: \def\fonttwoletters{ll}\def\encodingletters{lh} \def\defamily{^^J^^J} - command lines placed in font header; lines should be separated by ^^J \def\fontfile{beresec} - name of data file with list of created font headers; there are following files for font creation: allfont.tex - font creation for CM-like fonts i.e. fonts with CM font in lower part of font table (0-127); alfontec.tex - creation of font headers for T2*/X2* encodings; these fonts are analogues to EC fonts; allminec.tex - creation of minimal set of font headers for T2*/X2* encodings; there are created font size 10 only; beresta.tex - creation of font headers which are necessary for document beresta.tex -- CM-like fonts; beresec.tex - creation of font headers which are necessary for document beresta.tex -- EC-like fonts; albaseec.tex - experimental file with short font set of EC-like fonts. could be useful if user has not too much disk space. \def\codebase{enc-t2} - name of data file with encodings. In version 3.3 and later the file enc-t2.tex join both enc-t2.tex and enc-iso.tex files. The following commands could be changed by user. They all placed in setter.tex: \MakeFileHeadsfalse - creation of font headers; false (default) if TeX system allows font using patterns otherwise make this option true; for SliTeX fonts always \MakeFileHeadstrue. \MakeDvifalse - creation of DVI-file during creation of font headers TeX creates the data table with font names and sizes; false recommended because of it could be useful for CM-like fonts only. \MakeFontEncfalse - creation of special encoding file: there are created definitions for Cyrillic letters: \@tmpb\CYRA{80}\cyra{A0}; this option used by package. \Babeltrue - work if previous option is true; false in version 3.3 didn't tested and could be deleted since it could not useful. \TFMonlyfalse - creation of tfm files only; this option works if \MakeFileHeadstrue or \doMFJobtrue. There are added following line in font headers or command line of MFJob file: boolean TFMonly; TFMonly=true; in this case fonts run much faster but pk or gf files are not useful and must be deleted \doMFJobfalse - creation of MFJob file; default false; the following option are satellites to \doMFJobfalse \jobviiibittrue - creation of 8-bit fonts based on CM; \jobvirtualfalse - creation of 8-bit fonts for virtual fonts; \def\fmtbase{plain} - name of base file used MFJob work; \def\mfjobscaling{s0} - pattern of scales, default s0; \def\jobmodedef{m} - type of fonts, default laserjet 300dpi. \doBatchfalse - creation of batch file, default absent; if \doBatchtrue there are set following line for font creation: \def\BatchOutput#1{ \BatchLine{$ MF "\string\mode=localfont; input #1"} } you may edit \BatchOutput by following way: \def\BatchOutput#1{ \BatchLine{...} ... \BatchLine{...} } i.e. set a few command lines NOTE. This option heavily borrowed from ecstdedt.tex (EC fonts) and didn't tested. Edit this stuff if you know what to do :-) And at last run all necessary files for METAFONT and TeX font stuff: a) cod-edt.tex creation of necessary encoding file for the font; creation of uccode/lccode/mathcode file for this font; creation of file with macros-letters for current encoding (this file is used by Babel's Russian style (Russian letters) or should be useful for a Cyrillic letter citations). b) rliker.tex creation of necessary files for ligatures and kerning for current letter assortment; c) cfstdedt.tex quick creation of file-headers of fonts named accordingly to current encoding and scheme of font creation; More fonts which you may create ------------------------------- 01CM-LH - Latin-Russian fonts in Alternative encoding 03CM-WN - Cyrillic font in WNCYR encoding - for typesetting with transliteration 04CM-VF - Russian font in 7-bit encoding 11EX-RX - file in X2 encoding 12EX-LA - file in ’2A encoding 13EX-LB - file in ’2B encoding 14EX-LC - file in ’2C encoding 13CM-LY - beta-file with OT2upper part/OT1 14CM-LZ - beta-file with OT2lower part/OT1 20CM-CT - Cyrillic in Tatar encoding 21CM-IC - ISO-8859 Cyrillic 22CM-WC - Windows-1251 Cyrillic 23CM-MC - Macintosh Cyrillic 24CM-KC - KOI8r Cyrillic 30CM-TX - letters-X2/T2outsiders Work with Russian language -------------------------- For WORK with Cyrillic you may use Russian versions of MS DOS 4.01 and later versions (e. g. MS DOS 6.0, No. 147-95 UV 600) with usage of code page 866. In this system you may in file config.sys write the line: COUNTRY=007 866 D:\DOS\COUNTRY.SYS If you want to create your documents in Russian with English Alphabet you can use the TRANSLIT program or typesetting by transliteration (use fonts WNCYR). ========================================================================= LHFONTS version 3.3 file LHFONT33.EN =========================================================================