summaryrefslogtreecommitdiff
path: root/systems/tex-extensions/clasen/INSTALL
blob: 359c5079c1c8bb3de25d6b564ed3617eee3269df (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
Last updated:   Sun Aug  9 18:02:12 CEST 1998

A) Create the binary 

A1) Put all change and patch files in the web2c directory (or substitute 
    the full path to them in the tie commands in steps 3 and 4).

A2) Move the web2c change file somewhere else:

  mv tex.ch web2c.ch

A3) Create a new change file:

  tie -c tmp.ch tex.web pre.ch hyphenation.ch math.ch glue.ch \
                       hz.ch hz-glue.ch margin.ch pre-web2c.ch 
  tie -c tex.ch tex.web tmp.ch web2c.ch post-web2c.ch \
                       glue-post-web2c.ch hz-post-web2c.ch \
                       margin-post-web2c.ch
  rm tmp.ch

A4) Apply the patch to texmfmp.h:

  patch <glueratio.patch

A5) Create the binary. Note that for me, -O2 breaks 
  the math changes, therefore I had to compile with -O.

  export XCFLAGS=-DHAVE_GLUERATIO_TYPE
  make tex
  
B) Create the environment for experiments. You should *not*
   do `make install' for this binary since it is strictly
   experimental.  

B1) Put the example files in a new directory and cd to it.
 
B1) Create a shortcut to the new binary (substitute your path here)
  and make it find its pool:

   export TEXPOOL=/usr/src/teTeX-0.9/texk/web2c
   TEX=$TEXPOOL/tex

B2) Make $TEX and mf find the example fonts:

   export MFINPUTS=.:
   export TFMFONTS=.:
   export GFFONTS=.:
   export PKFONTS=.:

B4) Create a latex format:

   $TEX -ini latex.ltx 
      
B5) Now you can process the example files:

   $TEX -ini example1    
   for i in 2 3 4 5; do $TEX \&./latex example${i}; done

If all goes well, this should also create the needed example fonts.