summaryrefslogtreecommitdiff
path: root/systems/unix/tex-fpc/trip/report
blob: dfe6472d82eb08d4832ac7acc4b0ea2ff081d80a (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
This directory suggests how to perform the trip test as described in the
tripman file.

Step 0.
mv the trip directory to the tex directory, and cd to the trip directory.
This protects the original files like trip.log to be overwritten.

Step 1. make and test trip.tfm
$ pltotf ../trip.pl trip.tfm
This is PLtoTF-FPC, 2nd ed.
'000 '055 '057 '061 '062 '063 '064 '065 
'066 '067 '101 '102 '103 '115 '141 '142 
'160 '161 '162 '163 '164 '165 '202.
$ tftopl trip.tfm tmp.pl
This is TFtoPL-FPC, 2nd ed.
'000 '055 '057 '061 '062 '063 '064 '065 
'066 '067 '101 '102 '103 '115 '141 '142 
'160 '161 '162 '163 '164 '165 '202.
$ diff tmp.pl ../trip.pl
no news are good news!

Step 2 prepare tex.ch with the handy mktrip script.
$ cd ..
$ mktrip
37493
...
$ itgl tex.web tex.ch
This is TANGLE-FPC, 2nd ed.
...
(No errors were found.)
$ mv initex ~/bin/
$ cd -

Step 3
$ initex
This is TeX-FPC, 2nd ed. (INITEX)
**
Please type the name of your input file or Control-D.
**\input ../trip
...

Step 4
This is TeX-FPC, 2nd ed. (INITEX)
** &trip  ../trip 
(../trip.tex ##
! Bad number (-7).
...
Step 5; compare with original files:
$ diff tripin.log ../tripin.log >mydiff_tripin.log
... etc. for trip.log, trip.fot,
Note: The files diff_.. are distributed in this directory.
Note: I performed the trip test with two versions of initex: One compiled
by FPC 3.0.0 and one compiled by FPC 3.2.0. They seemed to use different
floating point implementations as the glue set differences demonstrate. See
the file diff_trip.log300 (fpc 3.0.0) and diff_trip.log (fpc 3.2.0).
fpc 3.2.0 seems to have the same floating point implementation as Knuth's
implementation.
Note: I copied the terminal window to create the trip.fot. It contains
both what I typed in and what tex printed.

Step 6
The file options relieves you from typing the options manually.

$ dvitype trip.dvi trip.typ <options
This is DVItype-FPC, 2nd ed.
Output level (default=4, ? for help): Starting page (default=*): Maximum number of pages (default=1000000): Assumed device resolution in pixels per inch (default=300/1): New magnification (default=0 to keep the old one): $ 

The file diff_trip.typ contains the differences of my run to Knuth's.