summaryrefslogtreecommitdiff
path: root/macros/generic/hyacc-cm/hymaster.tex
blob: e421a7f314138ff3652e7354f802f5089317fe13 (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
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %%% HyMaster.tex  A simplest recipe for compilation of
 %%% Plain TeX for more than one European language.
 %%% Set up for French and US English, but readily adaptable
 %%% to other combinations.
 %%% NOT TO BE COMPILED AS IS; SEE INSTRUCTIONS AFTER \endinput
 %%%

 \def\NewLanguage{\alloc@9\language\chardef\@cclvi}
   % like \newlanguage but more accessible
 \NewLanguage\l@US
 \language=\l@US
 \input ushyphen % US English hyphenation table

 \NewLanguage\l@FR
 \language=\l@FR
 \input frhyphen.crk %% maybe fr7hyph.tex (7bit patterns enough) 
  %% Use automobile nationality codes for others:
  %% FR, US, GB, DE, SP, IT, NL, DA, PO, 
  %% CS, HU, IS, SW, NO, FI, ...

 \def\FR{\language=\l@FR \lccode`\'=`\'}
  %% apostrophe is a letter in french jus-qu'a, l'ha-bi-tude
  %% see \patterns of Desarmenien

 \def\US{\language=\l@US \lccode`\'=0}

 \FR % French used by default

\endinput

 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
    COMPILATION INSTRUCTIONS
    
      This enhanced Plain format can then be used as a basis for
other formats such as AmSTeX, MacroTeX, and LamsTeX, or your
current local format.

      For LaTeX one proceeds analogously but starting from a
suitable LPlain.tex (and auxiliary files) rather than from
Plain.tex.  The format ultimately produced is an enhanced LaTeX
format.

      It is important to use version 3.xx of TeX, and a version
3.xx of plain.tex.  The critical date is autumn 1989, and
earlier material will be inadequate. In earlier versions of TeX,
only one language can have hyphenation at a given moment ---
usless one uses the "dirty trick" of John Hobby which permitted
Desarmenian to distribute a French-English version of Plain
format.

      Here are instructions for a generic TeX. Establish a
directory containing the following files.

 (i)   fhyphen.crk a copy of the French hyphenation pattern
file using the ISO Latin 1 (or Cork) standard for encoding
accented characters.  One is included, with its history.

 (ii)  ushyphen.tex, a copy of the US hyphenation pattern file
--- which in standard TeX distribution bears the name
hyphen.tex.

 (iii)  hyphen.tex, a copy of this macro file HyMaster.tex.

 (iv)  plain.tex exactly as provided by D. Knuth.

Note that some systems (Mac, VMS, ...) identify upper and lower
case letters, while others (unix, ...) distinguish them.


     Compile plain.tex using VIRTEX or INITEX, i.e., the
primitive form of TeX made for format building. 

  (a) For Textures this operation consists in typesetting
with VIRTEX a file containing only \input plain.tex \dump.

  (b) For OzTeX, launch INITEX and respond to a prompt ** by
typing

**Plain.tex \dump<carriage return>

It does not matter if minor fonts such as manfont are missing;
just hit carriage return. 

      In either case you will in due course be invited to name
the resulting format, (say as NEW.fmt). In the case of OzTeX
the name  must be registered in your configuration file before
you are allowed to use it.