summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/base/multitex.txt
blob: 9bfa5e3361210946c109eabbaa9910884a09ef98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
               LaTeX installation instructions for MultiTeX

                             10 January 1998

SUMMARY
=======

This file contains instructions on how to install LaTeX for MultiTeX on
TOS, MiNT or MagiC.

Before reading this file, you should read install.txt, which will
explain how the LaTeX installation works.

This file describes:

 * What do you need.

 * How to save any old version of LaTeX.

 * How to unpack the LaTeX distribution.

 * How to create the LaTeX format.

 * How to install the LaTeX files.

These instructions assume that you are using the standard directory set
up supplied by the MultiTeX distribution. We hope that, if your system's
set up differs from this then you will be sufficiently familiar with
your system to make the necessary amendments to these instructions.


WHAT DO YOU NEED
================

You need MultiTeX with a TeX version 3.141. If you don't know the version
doubleclick TEX_L.TTP and INITEX_L.TTP. This will show you the version.

If the version is 3.14 or less, you should update TeX. You can find version
3.141 at the CSTEX bundle on CTAN (systems/atari).

Only use filenames at the 8+3 scheme, sometimes MultiTeX produces nice errors
using long or case sensitive filenames! If you are using a case sensitive
filesystem, use only lowercase, because MultiTeX-programs do some changes to
lowercase! I use uppercase in this documentation because Atari does so
traditionally.


SAVING YOUR OLD VERSION OF LaTeX
================================

If you are currently using the old LaTeX version, 2.09, you may wish
to save it before installing the new version of LaTeX.

You should make a subdirectory calles latex209 in the MultiTeX directory
(e.g. ...\TEX\LATEX209). Then copy the subdirectories with the styles
and with other input files (normaly STYLES, INPUTS and INITEX) into this
latex209 subdirectory. You should also rename the LaTeX format file
which you use for LaTeX 2.09 (usually latex.fmt into latex209.fmt,
latex.fml into latex209.fml, latexg.fmt into latxg209.fmt and
latexg.fml into latxg209.fml).


BEFORE UNPACKING THE DISTRIBUTION
=================================

You should create some new subdirectories:
  ...\TEX\LATEX
  ...\TEX\LATEX\BASE
  ...\TEX\LATEX\UNPACKED

Latex needs a number of files to run, for example `article.cls'
contains the `article' document class.  However, these files are NOT
themselves the source files produced by the LaTeX3 Project Team.  We
write documented sources in `docstrip archive files' which can be
unpacked to produce the files that LaTeX needs. For example,
classes.dtx contains the documented sources for all the LaTeX
document classes, including article.cls.

The FIRST thing to do is to check whether you need to unpack these
archive files, as follows.

Before reading any further, you should check to see whether the LaTeX
distribution you have contains the unpacked files. You can do this by
looking to see if you have got the file latex.ltx. If you do, then
you should have all the unpacked files and so you can move on to the
section entitled `Creating the LaTeX format'.


UNPACKING THE DISTRIBUTION
==========================

The unpacking will create and write files into the current TEXOUTPUTS
directory. This helps to prevent it overwriting existing files or
causing problems with your system files. You should set TEXOUTPUTS at
the TeX-Shell (TSH) to ...\TEX\LATEX\UNPACKED (menu entry "Parameter|... TeX").
Set TEXINPUTS to ".;...\TEX\LATEX\BASE" (iff you find UNPACK.INS at another
directory add this instead of "...\TEX\LATEX\BASE" to ".;" or copy all files at
the directory of UNPACK.INS to ...\TEX\LATEX\BASE).

The archive files are unpacked by running iniTeX (INITEX.TTP) on the
file unpack.ins. To do this select menu entry "TeX-Projekt|Erzeugen"
and select UNPACK.INS at the file-selector (you have to change "*.INI" at the
file-selector-mask to "*.INS" or "*.*").

Note: Using an ATARI ST with 8Mhz this will take about 3-4 hours!


CREATING THE LATEX FORMAT
=========================

You should edit the file TEX_L.OPT at the ...\TEX\FORMATS subdirectory.
Setup the variables to following values:
  mem_max=100000
  pool_size=65000
  trie_size=18000
  font_mem_size=34000
If you have more than 2MB, you may set mem_max to an greater value (e.g. 120000
or 204800. If you only use english hyphenation pattern, you may set trie_size
to 16000 only. If you use many hyphanation pattern, you should set trie_size to
a value greater than 18000.

Setup the Shell to use TEX_L.TTP instead of TEX.TTP and INITEX_L.TTP
instead of INITEX.TTP (menu entry "Parameter|... TeX") or the TT-Versions of
these programms.

Set TEXINPUTS to ".;...\TEX\LATEX\*" (iff you find LATEX.LTX at another
directory add this to TEXINPUTS too, or copy all files at the directory of
LATEX.LTX to ...\TEX\LATEX\UNPACKED).

To create the LaTeX format, you should run iniTeX on the file
`latex.ltx'. Call menu entry "TeX-Projekt|Erzeugen" and select
LATEX.LTX.

A hyphenation file such as `hyphen.tex' is read by this run so it
should be accessible by iniTeX.  It also needs to be able to read the
`.tfm' font files for the basic fonts.  These font files and
hyphenation file(s) should be part of your TeX system (see also INSTALL.TXT)

If you want e.g. german-hyphenation-pattern read the documentation of
german or babel package (you should put hyphen.cfg, ghyph31.tex and for babel
language.dat to ...\TEX\LATEX or a subdirectory).

As result you will get a format file `latex.fml' in the
FORMATS-directory. Enter menu entry "Tex-Projekt|Einstellungen" and set
"Format-Vorgabe:" to "latex" or "LATEX".


PUTTING THE FILES WHERE LaTeX CAN READ THEM
===========================================

Setup the TEXINPUTS-Variable at menu entry "Parameter|... TeX" to
".;...\TEX\LATEX\*" (don't write "...\TEX", write the hole name of your
own TeX-directory, e.g. ".;F:\TEX\LATEX\*"). Setup the additional
TEXINPUTS-Path (after "+") to the directory, you saved your old
LaTeX2.09 to (if you have done).

If LATEX.LTX and/or TEXSYS.CFG not at ...\TEX\LATEX or a subdirectory of this,
add there directory to TEXINPUTS.

Setup the TEXOUTPUS-Variable at menu entry "Parameter|... TeX" to your
TeX-output-directory (e.g. "F:\TEX\OUTPUTS" or simply ".").

You have now installed LaTeX!


CHECKING THAT THE INSTALLATION WORKED
=====================================

To make sure that the installation has worked, you should run the new
LaTeX on the document `ltxcheck.tex'.

Copy LTXCHECK.TEX to your TEXOUTPUTS-directory. Select LTXCHECK.TEX at
your TEXOUTPUTS-directory as main-document (menu entry
"TeX-Projekt|Hauptdatei") and call TeX (menu entry "Arbeiten|TeX").

This will produce a number of messages, each of which should be `OK'.
If any of them are `BAD', then read the notes in texpert.txt.

If all the messages are `OK' then you are finished!

Note: If you run LTXCHECK.TEX at another directory than TEXOUTPUTS,
      ltxcheck will report not existing errors.

FINALLY
=======

Note: If you want to process a *.dtx-file. You have to select it as
      main-file and call TeX. Unfortunately the shell deletes the
      extension "dtx". So TeX searches for a *.tex-file, cannot find
      it and asks for the correct filename. You have to type in the
      filename (with extension "dtx") once more.
      If you want to call (La)TeX with doubleclick to a *.tex- or
      *.dtx-file (without typing in the name twice), you may use the
      calltex-program.


Copyright 1998  Markus Kohm and the LaTeX3 project.