| 1 |
How to use MLTeX with LaTeX |
| 2 |
|
| 3 |
Bernd Raichle |
| 4 |
|
| 5 |
17 November 1998 |
| 6 |
|
| 7 |
|
| 8 |
This document contains instructions on how to use MLTeX's \charsubdef |
| 9 |
extension with LaTeX. Before reading this file, you should read |
| 10 |
`install.txt', which will explain how the LaTeX installation works. |
| 11 |
|
| 12 |
This file describes: |
| 13 |
|
| 14 |
* How to create the LaTeX format with MLTeX. |
| 15 |
|
| 16 |
* How to use MLTeX with LaTeX. |
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
CREATING THE LaTeX FORMAT |
| 21 |
========================= |
| 22 |
|
| 23 |
To create the LaTeX format, you should follow the standard LaTeX |
| 24 |
installation guide. |
| 25 |
|
| 26 |
- Do NOT include any MLTeX specific file into your LaTeX format! |
| 27 |
|
| 28 |
- Do NOT use the obsolete files `compatible.tex', `extdef.tex', |
| 29 |
`masthyph.tex', or any other file from the old MLTeX distribution! |
| 30 |
|
| 31 |
- Depending on your TeX implementation there is either a special |
| 32 |
version of the `initex' program provided which is called `mlinitex', |
| 33 |
`initex -mltex', or `tex -ini -mltex'. |
| 34 |
Use this program resp. command line options when creating the LaTeX |
| 35 |
format. |
| 36 |
|
| 37 |
As a result your LaTeX format file `latex.fmt' should not contain any |
| 38 |
MLTeX specific definitions or declarations. |
| 39 |
|
| 40 |
|
| 41 |
|
| 42 |
USING THE MLTeX EXTENSION |
| 43 |
========================= |
| 44 |
|
| 45 |
To enable the MLTeX extension, you simply use the standard LaTeX |
| 46 |
package `fontenc' with the MLTeX font encoding LO1 instead of OT1, |
| 47 |
e.g. replace |
| 48 |
|
| 49 |
\usepackage[T1,OT1]{fontenc} |
| 50 |
|
| 51 |
by |
| 52 |
|
| 53 |
\usepackage[T1,LO1]{fontenc} |
| 54 |
|
| 55 |
which will choose LO1 as the default font encoding. If you want to |
| 56 |
choose another default font encoding, you can switch to LO1 by |
| 57 |
|
| 58 |
\fontencoding{LO1}\selectfont |
| 59 |
|
| 60 |
within your document. Nonetheless you have to declare the new font |
| 61 |
encoding `LO1' by loading it using the package `fontenc'. |
| 62 |
|
| 63 |
For LaTeX's font encoding OT1 the associated MLTeX font encoding is |
| 64 |
provided with a basic set of fd files. This font encoding is called |
| 65 |
LO1 (for M_L_TeX's _O_T1) and is a superset of OT1. |
| 66 |
|
| 67 |
|
| 68 |
Another simpler way to use this MLTeX extended font encoding is |
| 69 |
provided by the package `mltex'. By including |
| 70 |
|
| 71 |
\usepackage{mltex} |
| 72 |
|
| 73 |
in the document preamble all references to OT1 will get replaced by |
| 74 |
LO1. If you don't want to hide OT1 totally, you can select LO1 as |
| 75 |
usual default font encoding by using the package option `switchonly', |
| 76 |
e.g. by including |
| 77 |
|
| 78 |
\usepackage[switchonly]{mltex} |
| 79 |
|
| 80 |
in the document preamble. |
| 81 |
|
| 82 |
|
| 83 |
--- Copyright (C) 1996-1998 Bernd Raichle. All rights reserved --- |
| 84 |
This file can be redistributed and/or modified under the terms |
| 85 |
of the LaTeX Project Public License Distributed from CTAN |
| 86 |
archives in directory macros/latex/base/lppl.txt; either |
| 87 |
version 1 of the License, or any later version. |