summaryrefslogtreecommitdiff
path: root/web/web2w/ctex.c
blob: d7697c03ba1cf0af61de21619e7dbe837425c843 (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
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119
12120
12121
12122
12123
12124
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134
12135
12136
12137
12138
12139
12140
12141
12142
12143
12144
12145
12146
12147
12148
12149
12150
12151
12152
12153
12154
12155
12156
12157
12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
12168
12169
12170
12171
12172
12173
12174
12175
12176
12177
12178
12179
12180
12181
12182
12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
12194
12195
12196
12197
12198
12199
12200
12201
12202
12203
12204
12205
12206
12207
12208
12209
12210
12211
12212
12213
12214
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354
12355
12356
12357
12358
12359
12360
12361
12362
12363
12364
12365
12366
12367
12368
12369
12370
12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381
12382
12383
12384
12385
12386
12387
12388
12389
12390
12391
12392
12393
12394
12395
12396
12397
12398
12399
12400
12401
12402
12403
12404
12405
12406
12407
12408
12409
12410
12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
12421
12422
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432
12433
12434
12435
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445
12446
12447
12448
12449
12450
12451
12452
12453
12454
12455
12456
12457
12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
12471
12472
12473
12474
12475
12476
12477
12478
12479
12480
12481
12482
12483
12484
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
12506
12507
12508
12509
12510
12511
12512
12513
12514
12515
12516
12517
12518
12519
12520
12521
12522
12523
12524
12525
12526
12527
12528
12529
12530
12531
12532
12533
12534
12535
12536
12537
12538
12539
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558
12559
12560
12561
12562
12563
12564
12565
12566
12567
12568
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598
12599
12600
12601
12602
12603
12604
12605
12606
12607
12608
12609
12610
12611
12612
12613
12614
12615
12616
12617
12618
12619
12620
12621
12622
12623
12624
12625
12626
12627
12628
12629
12630
12631
12632
12633
12634
12635
12636
12637
12638
12639
12640
12641
12642
12643
12644
12645
12646
12647
12648
12649
12650
12651
12652
12653
12654
12655
12656
12657
12658
12659
12660
12661
12662
12663
12664
12665
12666
12667
12668
12669
12670
12671
12672
12673
12674
12675
12676
12677
12678
12679
12680
12681
12682
12683
12684
12685
12686
12687
12688
12689
12690
12691
12692
12693
12694
12695
12696
12697
12698
12699
12700
12701
12702
12703
12704
12705
12706
12707
12708
12709
12710
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
12785
12786
12787
12788
12789
12790
12791
12792
12793
12794
12795
12796
12797
12798
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808
12809
12810
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
12845
12846
12847
12848
12849
12850
12851
12852
12853
12854
12855
12856
12857
12858
12859
12860
12861
12862
12863
12864
12865
12866
12867
12868
12869
12870
12871
12872
12873
12874
12875
12876
12877
12878
12879
12880
12881
12882
12883
12884
12885
12886
12887
12888
12889
12890
12891
12892
12893
12894
12895
12896
12897
12898
12899
12900
12901
12902
12903
12904
12905
12906
12907
12908
12909
12910
12911
12912
12913
12914
12915
12916
12917
12918
12919
12920
12921
12922
12923
12924
12925
12926
12927
12928
12929
12930
12931
12932
12933
12934
12935
12936
12937
12938
12939
12940
12941
12942
12943
12944
12945
12946
12947
12948
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971
12972
12973
12974
12975
12976
12977
12978
12979
12980
12981
12982
12983
12984
12985
12986
12987
12988
12989
12990
12991
12992
12993
12994
12995
12996
12997
12998
12999
13000
13001
13002
13003
13004
13005
13006
13007
13008
13009
13010
13011
13012
13013
13014
13015
13016
13017
13018
13019
13020
13021
13022
13023
13024
13025
13026
13027
13028
13029
13030
13031
13032
13033
13034
13035
13036
13037
13038
13039
13040
13041
13042
13043
13044
13045
13046
13047
13048
13049
13050
13051
13052
13053
13054
13055
13056
13057
13058
13059
13060
13061
13062
13063
13064
13065
13066
13067
13068
13069
13070
13071
13072
13073
13074
13075
13076
13077
13078
13079
13080
13081
13082
13083
13084
13085
13086
13087
13088
13089
13090
13091
13092
13093
13094
13095
13096
13097
13098
13099
13100
13101
13102
13103
13104
13105
13106
13107
13108
13109
13110
13111
13112
13113
13114
13115
13116
13117
13118
13119
13120
13121
13122
13123
13124
13125
13126
13127
13128
13129
13130
13131
13132
13133
13134
13135
13136
13137
13138
13139
13140
13141
13142
13143
13144
13145
13146
13147
13148
13149
13150
13151
13152
13153
13154
13155
13156
13157
13158
13159
13160
13161
13162
13163
13164
13165
13166
13167
13168
13169
13170
13171
13172
13173
13174
13175
13176
13177
13178
13179
13180
13181
13182
13183
13184
13185
13186
13187
13188
13189
13190
13191
13192
13193
13194
13195
13196
13197
13198
13199
13200
13201
13202
13203
13204
13205
13206
13207
13208
13209
13210
13211
13212
13213
13214
13215
13216
13217
13218
13219
13220
13221
13222
13223
13224
13225
13226
13227
13228
13229
13230
13231
13232
13233
13234
13235
13236
13237
13238
13239
13240
13241
13242
13243
13244
13245
13246
13247
13248
13249
13250
13251
13252
13253
13254
13255
13256
13257
13258
13259
13260
13261
13262
13263
13264
13265
13266
13267
13268
13269
13270
13271
13272
13273
13274
13275
13276
13277
13278
13279
13280
13281
13282
13283
13284
13285
13286
13287
13288
13289
13290
13291
13292
13293
13294
13295
13296
13297
13298
13299
13300
13301
13302
13303
13304
13305
13306
13307
13308
13309
13310
13311
13312
13313
13314
13315
13316
13317
13318
13319
13320
13321
13322
13323
13324
13325
13326
13327
13328
13329
13330
13331
13332
13333
13334
13335
13336
13337
13338
13339
13340
13341
13342
13343
13344
13345
13346
13347
13348
13349
13350
13351
13352
13353
13354
13355
13356
13357
13358
13359
13360
13361
13362
13363
13364
13365
13366
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385
13386
13387
13388
13389
13390
13391
13392
13393
13394
13395
13396
13397
13398
13399
13400
13401
13402
13403
13404
13405
13406
13407
13408
13409
13410
13411
13412
13413
13414
13415
13416
13417
13418
13419
13420
13421
13422
13423
13424
13425
13426
13427
13428
13429
13430
13431
13432
13433
13434
13435
13436
13437
13438
13439
13440
13441
13442
13443
13444
13445
13446
13447
13448
13449
13450
13451
13452
13453
13454
13455
13456
13457
13458
13459
13460
13461
13462
13463
13464
13465
13466
13467
13468
13469
13470
13471
13472
13473
13474
13475
13476
13477
13478
13479
13480
13481
13482
13483
13484
13485
13486
13487
13488
13489
13490
13491
13492
13493
13494
13495
13496
13497
13498
13499
13500
13501
13502
13503
13504
13505
13506
13507
13508
13509
13510
13511
13512
13513
13514
13515
13516
13517
13518
13519
13520
13521
13522
13523
13524
13525
13526
13527
13528
13529
13530
13531
13532
13533
13534
13535
13536
13537
13538
13539
13540
13541
13542
13543
13544
13545
13546
13547
13548
13549
13550
13551
13552
13553
13554
13555
13556
13557
13558
13559
13560
13561
13562
13563
13564
13565
13566
13567
13568
13569
13570
13571
13572
13573
13574
13575
13576
13577
13578
13579
13580
13581
13582
13583
13584
13585
13586
13587
13588
13589
13590
13591
13592
13593
13594
13595
13596
13597
13598
13599
13600
13601
13602
13603
13604
13605
13606
13607
13608
13609
13610
13611
13612
13613
13614
13615
13616
13617
13618
13619
13620
13621
13622
13623
13624
13625
13626
13627
13628
13629
13630
13631
13632
13633
13634
13635
13636
13637
13638
13639
13640
13641
13642
13643
13644
13645
13646
13647
13648
13649
13650
13651
13652
13653
13654
13655
13656
13657
13658
13659
13660
13661
13662
13663
13664
13665
13666
13667
13668
13669
13670
13671
13672
13673
13674
13675
13676
13677
13678
13679
13680
13681
13682
13683
13684
13685
13686
13687
13688
13689
13690
13691
13692
13693
13694
13695
13696
13697
13698
13699
13700
13701
13702
13703
13704
13705
13706
13707
13708
13709
13710
13711
13712
13713
13714
13715
13716
13717
13718
13719
13720
13721
13722
13723
13724
13725
13726
13727
13728
13729
13730
13731
13732
13733
13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
13761
13762
13763
13764
13765
13766
13767
13768
13769
13770
13771
13772
13773
13774
13775
13776
13777
13778
13779
13780
13781
13782
13783
13784
13785
13786
13787
13788
13789
13790
13791
13792
13793
13794
13795
13796
13797
13798
13799
13800
13801
13802
13803
13804
13805
13806
13807
13808
13809
13810
13811
13812
13813
13814
13815
13816
13817
13818
13819
13820
13821
13822
13823
13824
13825
13826
13827
13828
13829
13830
13831
13832
13833
13834
13835
13836
13837
13838
13839
13840
13841
13842
13843
13844
13845
13846
13847
13848
13849
13850
13851
13852
13853
13854
13855
13856
13857
13858
13859
13860
13861
13862
13863
13864
13865
13866
13867
13868
13869
13870
13871
13872
13873
13874
13875
13876
13877
13878
13879
13880
13881
13882
13883
13884
13885
13886
13887
13888
13889
13890
13891
13892
13893
13894
13895
13896
13897
13898
13899
13900
13901
13902
13903
13904
13905
13906
13907
13908
13909
13910
13911
13912
13913
13914
13915
13916
13917
13918
13919
13920
13921
13922
13923
13924
13925
13926
13927
13928
13929
13930
13931
13932
13933
13934
13935
13936
13937
13938
13939
13940
13941
13942
13943
13944
13945
13946
13947
13948
13949
13950
13951
13952
13953
13954
13955
13956
13957
13958
13959
13960
13961
13962
13963
13964
13965
13966
13967
13968
13969
13970
13971
13972
13973
13974
13975
13976
13977
13978
13979
13980
13981
13982
13983
13984
13985
13986
13987
13988
13989
13990
13991
13992
13993
13994
13995
13996
13997
13998
13999
14000
14001
14002
14003
14004
14005
14006
14007
14008
14009
14010
14011
14012
14013
14014
14015
14016
14017
14018
14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
14051
14052
14053
14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111
14112
14113
14114
14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
14126
14127
14128
14129
14130
14131
14132
14133
14134
14135
14136
14137
14138
14139
14140
14141
14142
14143
14144
14145
14146
14147
14148
14149
14150
14151
14152
14153
14154
14155
14156
14157
14158
14159
14160
14161
14162
14163
14164
14165
14166
14167
14168
14169
14170
14171
14172
14173
14174
14175
14176
14177
14178
14179
14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
14194
14195
14196
14197
14198
14199
14200
14201
14202
14203
14204
14205
14206
14207
14208
14209
14210
14211
14212
14213
14214
14215
14216
14217
14218
14219
14220
14221
14222
14223
14224
14225
14226
14227
14228
14229
14230
14231
14232
14233
14234
14235
14236
14237
14238
14239
14240
14241
14242
14243
14244
14245
14246
14247
14248
14249
14250
14251
14252
14253
14254
14255
14256
14257
14258
14259
14260
14261
14262
14263
14264
14265
14266
14267
14268
14269
14270
14271
14272
14273
14274
14275
14276
14277
14278
14279
14280
14281
14282
14283
14284
14285
14286
14287
14288
14289
14290
14291
14292
14293
14294
14295
14296
14297
14298
14299
14300
14301
14302
14303
14304
14305
14306
14307
14308
14309
14310
14311
14312
14313
14314
14315
14316
14317
14318
14319
14320
14321
14322
14323
14324
14325
14326
14327
14328
14329
14330
14331
14332
14333
14334
14335
14336
14337
14338
14339
14340
14341
14342
14343
14344
14345
14346
14347
14348
14349
14350
14351
14352
14353
14354
14355
14356
14357
14358
14359
14360
14361
14362
14363
14364
14365
14366
14367
14368
14369
14370
14371
14372
14373
14374
14375
14376
14377
14378
14379
14380
14381
14382
14383
14384
14385
14386
14387
14388
14389
14390
14391
14392
14393
14394
14395
14396
14397
14398
14399
14400
14401
14402
14403
14404
14405
14406
14407
14408
14409
14410
14411
14412
14413
14414
14415
14416
14417
14418
14419
14420
14421
14422
14423
14424
14425
14426
14427
14428
14429
14430
14431
14432
14433
14434
14435
14436
14437
14438
14439
14440
14441
14442
14443
14444
14445
14446
14447
14448
14449
14450
14451
14452
14453
14454
14455
14456
14457
14458
14459
14460
14461
14462
14463
14464
14465
14466
14467
14468
14469
14470
14471
14472
14473
14474
14475
14476
14477
14478
14479
14480
14481
14482
14483
14484
14485
14486
14487
14488
14489
14490
14491
14492
14493
14494
14495
14496
14497
14498
14499
14500
14501
14502
14503
14504
14505
14506
14507
14508
14509
14510
14511
14512
14513
14514
14515
14516
14517
14518
14519
14520
14521
14522
14523
14524
14525
14526
14527
14528
14529
14530
14531
14532
14533
14534
14535
14536
14537
14538
14539
14540
14541
14542
14543
14544
14545
14546
14547
14548
14549
14550
14551
14552
14553
14554
14555
14556
14557
14558
14559
14560
14561
14562
14563
14564
14565
14566
14567
14568
14569
14570
14571
14572
14573
14574
14575
14576
14577
14578
14579
14580
14581
14582
14583
14584
14585
14586
14587
14588
14589
14590
14591
14592
14593
14594
14595
14596
14597
14598
14599
14600
14601
14602
14603
14604
14605
14606
14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630
14631
14632
14633
14634
14635
14636
14637
14638
14639
14640
14641
14642
14643
14644
14645
14646
14647
14648
14649
14650
14651
14652
14653
14654
14655
14656
14657
14658
14659
14660
14661
14662
14663
14664
14665
14666
14667
14668
14669
14670
14671
14672
14673
14674
14675
14676
14677
14678
14679
14680
14681
14682
14683
14684
14685
14686
14687
14688
14689
14690
14691
14692
14693
14694
14695
14696
14697
14698
14699
14700
14701
14702
14703
14704
14705
14706
14707
14708
14709
14710
14711
14712
14713
14714
14715
14716
14717
14718
14719
14720
14721
14722
14723
14724
14725
14726
14727
14728
14729
14730
14731
14732
14733
14734
14735
14736
14737
14738
14739
14740
14741
14742
14743
14744
14745
14746
14747
14748
14749
14750
14751
14752
14753
14754
14755
14756
14757
14758
14759
14760
14761
14762
14763
14764
14765
14766
14767
14768
14769
14770
14771
14772
14773
14774
14775
14776
14777
14778
14779
14780
14781
14782
14783
14784
14785
14786
14787
14788
14789
14790
14791
14792
14793
14794
14795
14796
14797
14798
14799
14800
14801
14802
14803
14804
14805
14806
14807
14808
14809
14810
14811
14812
14813
14814
14815
14816
14817
14818
14819
14820
14821
14822
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
14877
14878
14879
14880
14881
14882
14883
14884
14885
14886
14887
14888
14889
14890
14891
14892
14893
14894
14895
14896
14897
14898
14899
14900
14901
14902
14903
14904
14905
14906
14907
14908
14909
14910
14911
14912
14913
14914
14915
14916
14917
14918
14919
14920
14921
14922
14923
14924
14925
14926
14927
14928
14929
14930
14931
14932
14933
14934
14935
14936
14937
14938
14939
14940
14941
14942
14943
14944
14945
14946
14947
14948
14949
14950
14951
14952
14953
14954
14955
14956
14957
14958
14959
14960
14961
14962
14963
14964
14965
14966
14967
14968
14969
14970
14971
14972
14973
14974
14975
14976
14977
14978
14979
14980
14981
14982
14983
14984
14985
14986
14987
14988
14989
14990
14991
14992
14993
14994
14995
14996
14997
14998
14999
15000
15001
15002
15003
15004
15005
15006
15007
15008
15009
15010
15011
15012
15013
15014
15015
15016
15017
15018
15019
15020
15021
15022
15023
15024
15025
15026
15027
15028
15029
15030
15031
15032
15033
15034
15035
15036
15037
15038
15039
15040
15041
15042
15043
15044
15045
15046
15047
15048
15049
15050
15051
15052
15053
15054
15055
15056
15057
15058
15059
15060
15061
15062
15063
15064
15065
15066
15067
15068
15069
15070
15071
15072
15073
15074
15075
15076
15077
15078
15079
15080
15081
15082
15083
15084
15085
15086
15087
15088
15089
15090
15091
15092
15093
15094
15095
15096
15097
15098
15099
15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
15142
15143
15144
15145
15146
15147
15148
15149
15150
15151
15152
15153
15154
15155
15156
15157
15158
15159
15160
15161
15162
15163
15164
15165
15166
15167
15168
15169
15170
15171
15172
15173
15174
15175
15176
15177
15178
15179
15180
15181
15182
15183
15184
15185
15186
15187
15188
15189
15190
15191
15192
15193
15194
15195
15196
15197
15198
15199
15200
15201
15202
15203
15204
15205
15206
15207
15208
15209
15210
15211
15212
15213
15214
15215
15216
15217
15218
15219
15220
15221
15222
15223
15224
15225
15226
15227
15228
15229
15230
15231
15232
15233
15234
15235
15236
15237
15238
15239
15240
15241
15242
15243
15244
15245
15246
15247
15248
15249
15250
15251
15252
15253
15254
15255
15256
15257
15258
15259
15260
15261
15262
15263
15264
15265
15266
15267
15268
15269
15270
15271
15272
15273
15274
15275
15276
15277
15278
15279
15280
15281
15282
15283
15284
15285
15286
15287
15288
15289
15290
15291
15292
15293
15294
15295
15296
15297
15298
15299
15300
15301
15302
15303
15304
15305
15306
15307
15308
15309
15310
15311
15312
15313
15314
15315
15316
15317
15318
15319
15320
15321
15322
15323
15324
15325
15326
15327
15328
15329
15330
15331
15332
15333
15334
15335
15336
15337
15338
15339
15340
15341
15342
15343
15344
15345
15346
15347
15348
15349
15350
15351
15352
15353
15354
15355
15356
15357
15358
15359
15360
15361
15362
15363
15364
15365
15366
15367
15368
15369
15370
15371
15372
15373
15374
15375
15376
15377
15378
15379
15380
15381
15382
15383
15384
15385
15386
15387
15388
15389
15390
15391
15392
15393
15394
15395
15396
15397
15398
15399
15400
15401
15402
15403
15404
15405
15406
15407
15408
15409
15410
15411
15412
15413
15414
15415
15416
15417
15418
15419
15420
15421
15422
15423
15424
15425
15426
15427
15428
15429
15430
15431
15432
15433
15434
15435
15436
15437
15438
15439
15440
15441
15442
15443
15444
15445
15446
15447
15448
15449
15450
15451
15452
15453
15454
15455
15456
15457
15458
15459
15460
15461
15462
15463
15464
15465
15466
15467
15468
15469
15470
15471
15472
15473
15474
15475
15476
15477
15478
15479
15480
15481
15482
15483
15484
15485
15486
15487
15488
15489
15490
15491
15492
15493
15494
15495
15496
15497
15498
15499
15500
15501
15502
15503
15504
15505
15506
15507
15508
15509
15510
15511
15512
15513
15514
15515
15516
15517
15518
15519
15520
15521
15522
15523
15524
15525
15526
15527
15528
15529
15530
15531
15532
15533
15534
15535
15536
15537
15538
15539
15540
15541
15542
15543
15544
15545
15546
15547
15548
15549
15550
15551
15552
15553
15554
15555
15556
15557
15558
15559
15560
15561
15562
15563
15564
15565
15566
15567
15568
15569
15570
15571
15572
15573
15574
15575
15576
15577
15578
15579
15580
15581
15582
15583
15584
15585
15586
15587
15588
15589
15590
15591
15592
15593
15594
15595
15596
15597
15598
15599
15600
15601
15602
15603
15604
15605
15606
15607
15608
15609
15610
15611
15612
15613
15614
15615
15616
15617
15618
15619
15620
15621
15622
15623
15624
15625
15626
15627
15628
15629
15630
15631
15632
15633
15634
15635
15636
15637
15638
15639
15640
15641
15642
15643
15644
15645
15646
15647
15648
15649
15650
15651
15652
15653
15654
15655
15656
15657
15658
15659
15660
15661
15662
15663
15664
15665
15666
15667
15668
15669
15670
15671
15672
15673
15674
15675
15676
15677
15678
15679
15680
15681
15682
15683
15684
15685
15686
15687
15688
15689
15690
15691
15692
15693
15694
15695
15696
15697
15698
15699
15700
15701
15702
15703
15704
15705
15706
15707
15708
15709
15710
15711
15712
15713
15714
15715
15716
15717
15718
15719
15720
15721
15722
15723
15724
15725
15726
15727
15728
15729
15730
15731
15732
15733
15734
15735
15736
15737
15738
15739
15740
15741
15742
15743
15744
15745
15746
15747
15748
15749
15750
15751
15752
15753
15754
15755
15756
15757
15758
15759
15760
15761
15762
15763
15764
15765
15766
15767
15768
15769
15770
15771
15772
15773
15774
15775
15776
15777
15778
15779
15780
15781
15782
15783
15784
15785
15786
15787
15788
15789
15790
15791
15792
15793
15794
15795
15796
15797
15798
15799
15800
15801
15802
15803
15804
15805
15806
15807
15808
15809
15810
15811
15812
15813
15814
15815
15816
15817
15818
15819
15820
15821
15822
15823
15824
15825
15826
15827
15828
15829
15830
15831
15832
15833
15834
15835
15836
15837
15838
15839
15840
15841
15842
15843
15844
15845
15846
15847
15848
15849
15850
15851
15852
15853
15854
15855
15856
15857
15858
15859
15860
15861
15862
15863
15864
15865
15866
15867
15868
15869
15870
15871
15872
15873
15874
15875
15876
15877
15878
15879
15880
15881
15882
15883
15884
15885
15886
15887
15888
15889
15890
15891
15892
15893
15894
15895
15896
15897
15898
15899
15900
15901
15902
15903
15904
15905
15906
15907
15908
15909
15910
15911
15912
15913
15914
15915
15916
15917
15918
15919
15920
15921
15922
15923
15924
15925
15926
15927
15928
15929
15930
15931
15932
15933
15934
15935
15936
15937
15938
15939
15940
15941
15942
15943
15944
15945
15946
15947
15948
15949
15950
15951
15952
15953
15954
15955
15956
15957
15958
15959
15960
15961
15962
15963
15964
15965
15966
15967
15968
15969
15970
15971
15972
15973
15974
15975
15976
15977
15978
15979
15980
15981
15982
15983
15984
15985
15986
15987
15988
15989
15990
15991
15992
15993
15994
15995
15996
15997
15998
15999
16000
16001
16002
16003
16004
16005
16006
16007
16008
16009
16010
16011
16012
16013
16014
16015
16016
16017
16018
16019
16020
16021
16022
16023
16024
16025
16026
16027
16028
16029
16030
16031
16032
16033
16034
16035
16036
16037
16038
16039
16040
16041
16042
16043
16044
16045
16046
16047
16048
16049
16050
16051
16052
16053
16054
16055
16056
16057
16058
16059
16060
16061
16062
16063
16064
16065
16066
16067
16068
16069
16070
16071
16072
16073
16074
16075
16076
16077
16078
16079
16080
16081
16082
16083
16084
16085
16086
16087
16088
16089
16090
16091
16092
16093
16094
16095
16096
16097
16098
16099
16100
16101
16102
16103
16104
16105
16106
16107
16108
16109
16110
16111
16112
16113
16114
16115
16116
16117
16118
16119
16120
16121
16122
16123
16124
16125
16126
16127
16128
16129
16130
16131
16132
16133
16134
16135
16136
16137
16138
16139
16140
16141
16142
16143
16144
16145
16146
16147
16148
16149
16150
16151
16152
16153
16154
16155
16156
16157
16158
16159
16160
16161
16162
16163
16164
16165
16166
16167
16168
16169
16170
16171
16172
16173
16174
16175
16176
16177
16178
16179
16180
16181
16182
16183
16184
16185
16186
16187
16188
16189
16190
16191
16192
16193
16194
16195
16196
16197
16198
16199
16200
16201
16202
16203
16204
16205
16206
16207
16208
16209
16210
16211
16212
16213
16214
16215
16216
16217
16218
16219
16220
16221
16222
16223
16224
16225
16226
16227
16228
16229
16230
16231
16232
16233
16234
16235
16236
16237
16238
16239
16240
16241
16242
16243
16244
16245
16246
16247
16248
16249
16250
16251
16252
16253
16254
16255
16256
16257
16258
16259
16260
16261
16262
16263
16264
16265
16266
16267
16268
16269
16270
16271
16272
16273
16274
16275
16276
16277
16278
16279
16280
16281
16282
16283
16284
16285
16286
16287
16288
16289
16290
16291
16292
16293
16294
16295
16296
16297
16298
16299
16300
16301
16302
16303
16304
16305
16306
16307
16308
16309
16310
16311
16312
16313
16314
16315
16316
16317
16318
16319
16320
16321
16322
16323
16324
16325
16326
16327
16328
16329
16330
16331
16332
16333
16334
16335
16336
16337
16338
16339
16340
16341
16342
16343
16344
16345
16346
16347
16348
16349
16350
16351
16352
16353
16354
16355
16356
16357
16358
16359
16360
16361
16362
16363
16364
16365
16366
16367
16368
16369
16370
16371
16372
16373
16374
16375
16376
16377
16378
16379
16380
16381
16382
16383
16384
16385
16386
16387
16388
16389
16390
16391
16392
16393
16394
16395
16396
16397
16398
16399
16400
16401
16402
16403
16404
16405
16406
16407
16408
16409
16410
16411
16412
16413
16414
16415
16416
16417
16418
16419
16420
16421
16422
16423
16424
16425
16426
16427
16428
16429
16430
16431
16432
16433
16434
16435
16436
16437
16438
16439
16440
16441
16442
16443
16444
16445
16446
16447
16448
16449
16450
16451
16452
16453
16454
16455
16456
16457
16458
16459
16460
16461
16462
16463
16464
16465
16466
16467
16468
16469
16470
16471
16472
16473
16474
16475
16476
16477
16478
16479
16480
16481
16482
16483
16484
16485
16486
16487
16488
16489
16490
16491
16492
16493
16494
16495
16496
16497
16498
16499
16500
16501
16502
16503
16504
16505
16506
16507
16508
16509
16510
16511
16512
16513
16514
16515
16516
16517
16518
16519
16520
16521
16522
16523
16524
16525
16526
16527
16528
16529
16530
16531
16532
16533
16534
16535
16536
16537
16538
16539
16540
16541
16542
16543
16544
16545
16546
16547
16548
16549
16550
16551
16552
16553
16554
16555
16556
16557
16558
16559
16560
16561
16562
16563
16564
16565
16566
16567
16568
16569
16570
16571
16572
16573
16574
16575
16576
16577
16578
16579
16580
16581
16582
16583
16584
16585
16586
16587
16588
16589
16590
16591
16592
16593
16594
16595
16596
16597
16598
16599
16600
16601
16602
16603
16604
16605
16606
16607
16608
16609
16610
16611
16612
16613
16614
16615
16616
16617
16618
16619
16620
16621
16622
16623
16624
16625
16626
16627
16628
16629
16630
16631
16632
16633
16634
16635
16636
16637
16638
16639
16640
16641
16642
16643
16644
16645
16646
16647
16648
16649
16650
16651
16652
16653
16654
16655
16656
16657
16658
16659
16660
16661
16662
16663
16664
16665
16666
16667
16668
16669
16670
16671
16672
16673
16674
16675
16676
16677
16678
16679
16680
16681
16682
16683
16684
16685
16686
16687
16688
16689
16690
16691
16692
16693
16694
16695
16696
16697
16698
16699
16700
16701
16702
16703
16704
16705
16706
16707
16708
16709
16710
16711
16712
16713
16714
16715
16716
16717
16718
16719
16720
16721
16722
16723
16724
16725
16726
16727
16728
16729
16730
16731
16732
16733
16734
16735
16736
16737
16738
16739
16740
16741
16742
16743
16744
16745
16746
16747
16748
16749
16750
16751
16752
16753
16754
16755
16756
16757
16758
16759
16760
16761
16762
16763
16764
16765
16766
16767
16768
16769
16770
16771
16772
16773
16774
16775
16776
16777
16778
16779
16780
16781
16782
16783
16784
16785
16786
16787
16788
16789
16790
16791
16792
16793
16794
16795
16796
16797
16798
16799
16800
16801
16802
16803
16804
16805
16806
16807
16808
16809
16810
16811
16812
16813
16814
16815
16816
16817
16818
16819
16820
16821
16822
16823
16824
16825
16826
16827
16828
16829
16830
16831
16832
16833
16834
16835
16836
16837
16838
16839
16840
16841
16842
16843
16844
16845
16846
16847
16848
16849
16850
16851
16852
16853
16854
16855
16856
16857
16858
16859
16860
16861
16862
16863
16864
16865
16866
16867
16868
16869
16870
16871
16872
16873
16874
16875
16876
16877
16878
16879
16880
16881
16882
16883
16884
16885
16886
16887
16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
16930
16931
16932
16933
16934
16935
16936
16937
16938
16939
16940
16941
16942
16943
16944
16945
16946
16947
16948
16949
16950
16951
16952
16953
16954
16955
16956
16957
16958
16959
16960
16961
16962
16963
16964
16965
16966
16967
16968
16969
16970
16971
16972
16973
16974
16975
16976
16977
16978
16979
16980
16981
16982
16983
16984
16985
16986
16987
16988
16989
16990
16991
16992
16993
16994
16995
16996
16997
16998
16999
17000
17001
17002
17003
17004
17005
17006
17007
17008
17009
17010
17011
17012
17013
17014
17015
17016
17017
17018
17019
17020
17021
17022
17023
17024
17025
17026
17027
17028
17029
17030
17031
17032
17033
17034
17035
17036
17037
17038
17039
17040
17041
17042
17043
17044
17045
17046
17047
17048
17049
17050
17051
17052
17053
17054
17055
17056
17057
17058
17059
17060
17061
17062
17063
17064
17065
17066
17067
17068
17069
17070
17071
17072
17073
17074
17075
17076
17077
17078
17079
17080
17081
17082
17083
17084
17085
17086
17087
17088
17089
17090
17091
17092
17093
17094
17095
17096
17097
17098
17099
17100
17101
17102
17103
17104
17105
17106
17107
17108
17109
17110
17111
17112
17113
17114
17115
17116
17117
17118
17119
17120
17121
17122
17123
17124
17125
17126
17127
17128
17129
17130
17131
17132
17133
17134
17135
17136
17137
17138
17139
17140
17141
17142
17143
17144
17145
17146
17147
17148
17149
17150
17151
17152
17153
17154
17155
17156
17157
17158
17159
17160
17161
17162
17163
17164
17165
17166
17167
17168
17169
17170
17171
17172
17173
17174
17175
17176
17177
17178
17179
17180
17181
17182
17183
17184
17185
17186
17187
17188
17189
17190
17191
17192
17193
17194
17195
17196
17197
17198
17199
17200
17201
17202
17203
17204
17205
17206
17207
17208
17209
17210
17211
17212
17213
17214
17215
17216
17217
17218
17219
17220
17221
17222
17223
17224
17225
17226
17227
17228
17229
17230
17231
17232
17233
17234
17235
17236
17237
17238
17239
17240
17241
17242
17243
17244
17245
17246
17247
17248
17249
17250
17251
17252
17253
17254
17255
17256
17257
17258
17259
17260
17261
17262
17263
17264
17265
17266
17267
17268
17269
17270
17271
17272
17273
17274
17275
17276
17277
17278
17279
17280
17281
17282
17283
17284
17285
17286
17287
17288
17289
17290
17291
17292
17293
17294
17295
17296
17297
17298
17299
17300
17301
17302
17303
17304
17305
17306
17307
17308
17309
17310
17311
17312
17313
17314
17315
17316
17317
17318
17319
17320
17321
17322
17323
17324
17325
17326
17327
17328
17329
17330
17331
17332
17333
17334
17335
17336
17337
17338
17339
17340
17341
17342
17343
17344
17345
17346
17347
17348
17349
17350
17351
17352
17353
17354
17355
17356
17357
17358
17359
17360
17361
17362
17363
17364
17365
17366
17367
17368
17369
17370
17371
17372
17373
17374
17375
17376
17377
17378
17379
17380
17381
17382
17383
17384
17385
17386
17387
17388
17389
17390
17391
17392
17393
17394
17395
17396
17397
17398
17399
17400
17401
17402
17403
17404
17405
17406
17407
17408
17409
17410
17411
17412
17413
17414
17415
17416
17417
17418
17419
17420
17421
17422
17423
17424
17425
17426
17427
17428
17429
17430
17431
17432
17433
17434
17435
17436
17437
17438
17439
17440
17441
17442
17443
17444
17445
17446
17447
17448
17449
17450
17451
17452
17453
17454
17455
17456
17457
17458
17459
17460
17461
17462
17463
17464
17465
17466
17467
17468
17469
17470
17471
17472
17473
17474
17475
17476
17477
17478
17479
17480
17481
17482
17483
17484
17485
17486
17487
17488
17489
17490
17491
17492
17493
17494
17495
17496
17497
17498
17499
17500
17501
17502
17503
17504
17505
17506
17507
17508
17509
17510
17511
17512
17513
17514
17515
17516
17517
17518
17519
17520
17521
17522
17523
17524
17525
17526
17527
17528
17529
17530
17531
17532
17533
17534
17535
17536
17537
17538
17539
17540
17541
17542
17543
17544
17545
17546
17547
17548
17549
17550
17551
17552
17553
17554
17555
17556
17557
17558
17559
17560
17561
17562
17563
17564
17565
17566
17567
17568
17569
17570
17571
17572
17573
17574
17575
17576
17577
17578
17579
17580
17581
17582
17583
17584
17585
17586
17587
17588
17589
17590
17591
17592
17593
17594
17595
17596
17597
17598
17599
17600
17601
17602
17603
17604
17605
17606
17607
17608
17609
17610
17611
17612
17613
17614
17615
17616
17617
17618
17619
17620
17621
17622
17623
17624
17625
17626
17627
17628
17629
17630
17631
17632
17633
17634
17635
17636
17637
17638
17639
17640
17641
17642
17643
17644
17645
17646
17647
17648
17649
17650
17651
17652
17653
17654
17655
17656
17657
17658
17659
17660
17661
17662
17663
17664
17665
17666
17667
17668
17669
17670
17671
17672
17673
17674
17675
17676
17677
17678
17679
17680
17681
17682
17683
17684
17685
17686
17687
17688
17689
17690
17691
17692
17693
17694
17695
17696
17697
17698
17699
17700
17701
17702
17703
17704
17705
17706
17707
17708
17709
17710
17711
17712
17713
17714
17715
17716
17717
17718
17719
17720
17721
17722
17723
17724
17725
17726
17727
17728
17729
17730
17731
17732
17733
17734
17735
17736
17737
17738
17739
17740
17741
17742
17743
17744
17745
17746
17747
17748
17749
17750
17751
17752
17753
17754
17755
17756
17757
17758
17759
17760
17761
17762
17763
17764
17765
17766
17767
17768
17769
17770
17771
17772
17773
17774
17775
17776
17777
17778
17779
17780
17781
17782
17783
17784
17785
17786
17787
17788
17789
17790
17791
17792
17793
17794
17795
17796
17797
17798
17799
17800
17801
17802
17803
17804
17805
17806
17807
17808
17809
17810
17811
17812
17813
17814
17815
17816
17817
17818
17819
17820
17821
17822
17823
17824
17825
17826
17827
17828
17829
17830
17831
17832
17833
17834
17835
17836
17837
17838
17839
17840
17841
17842
17843
17844
17845
17846
17847
17848
17849
17850
17851
17852
17853
17854
17855
17856
17857
17858
17859
17860
17861
17862
17863
17864
17865
17866
17867
17868
17869
17870
17871
17872
17873
17874
17875
17876
17877
17878
17879
17880
17881
17882
17883
17884
17885
17886
17887
17888
17889
17890
17891
17892
17893
17894
17895
17896
17897
17898
17899
17900
17901
17902
17903
17904
17905
17906
17907
17908
17909
17910
17911
17912
17913
17914
17915
17916
17917
17918
17919
17920
17921
17922
17923
17924
17925
17926
17927
17928
17929
17930
17931
17932
17933
17934
17935
17936
17937
17938
17939
17940
17941
17942
17943
17944
17945
17946
17947
17948
17949
17950
17951
17952
17953
17954
17955
17956
17957
17958
17959
17960
17961
17962
17963
17964
17965
17966
17967
17968
17969
17970
17971
17972
17973
17974
17975
17976
17977
17978
17979
17980
17981
17982
17983
17984
17985
17986
17987
17988
17989
17990
17991
17992
17993
17994
17995
17996
17997
17998
17999
18000
18001
18002
18003
18004
18005
18006
18007
18008
18009
18010
18011
18012
18013
18014
18015
18016
18017
18018
18019
18020
18021
18022
18023
18024
18025
18026
18027
18028
18029
18030
18031
18032
18033
18034
18035
18036
18037
18038
18039
18040
18041
18042
18043
18044
18045
18046
18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
18090
18091
18092
18093
18094
18095
18096
18097
18098
18099
18100
18101
18102
18103
18104
18105
18106
18107
18108
18109
18110
18111
18112
18113
18114
18115
18116
18117
18118
18119
18120
18121
18122
18123
18124
18125
18126
18127
18128
18129
18130
18131
18132
18133
18134
18135
18136
18137
18138
18139
18140
18141
18142
18143
18144
18145
18146
18147
18148
18149
18150
18151
18152
18153
18154
18155
18156
18157
18158
18159
18160
18161
18162
18163
18164
18165
18166
18167
18168
18169
18170
18171
18172
18173
18174
18175
18176
18177
18178
18179
18180
18181
18182
18183
18184
18185
18186
18187
18188
18189
18190
18191
18192
18193
18194
18195
18196
18197
18198
18199
18200
18201
18202
18203
18204
18205
18206
18207
18208
18209
18210
18211
18212
18213
18214
18215
18216
18217
18218
18219
18220
18221
18222
18223
18224
18225
18226
18227
18228
18229
18230
18231
18232
18233
18234
18235
18236
18237
18238
18239
18240
18241
18242
18243
18244
18245
18246
18247
18248
18249
18250
18251
18252
18253
18254
18255
18256
18257
18258
18259
18260
18261
18262
18263
18264
18265
18266
18267
18268
18269
18270
18271
18272
18273
18274
18275
18276
18277
18278
18279
18280
18281
18282
18283
18284
18285
18286
18287
18288
18289
18290
18291
18292
18293
18294
18295
18296
18297
18298
18299
18300
18301
18302
18303
18304
18305
18306
18307
18308
18309
18310
18311
18312
18313
18314
18315
18316
18317
18318
18319
18320
18321
18322
18323
18324
18325
18326
18327
18328
18329
18330
18331
18332
18333
18334
18335
18336
18337
18338
18339
18340
18341
18342
18343
18344
18345
18346
18347
18348
18349
18350
18351
18352
18353
18354
18355
18356
18357
18358
18359
18360
18361
18362
18363
18364
18365
18366
18367
18368
18369
18370
18371
18372
18373
18374
18375
18376
18377
18378
18379
18380
18381
18382
18383
18384
18385
18386
18387
18388
18389
18390
18391
18392
18393
18394
18395
18396
18397
18398
18399
18400
18401
18402
18403
18404
18405
18406
18407
18408
18409
18410
18411
18412
18413
18414
18415
18416
18417
18418
18419
18420
18421
18422
18423
18424
18425
18426
18427
18428
18429
18430
18431
18432
18433
18434
18435
18436
18437
18438
18439
18440
18441
18442
18443
18444
18445
18446
18447
18448
18449
18450
18451
18452
18453
18454
18455
18456
18457
18458
18459
18460
18461
18462
18463
18464
18465
18466
18467
18468
18469
18470
18471
18472
18473
18474
18475
18476
18477
18478
18479
18480
18481
18482
18483
18484
18485
18486
18487
18488
18489
18490
18491
18492
18493
18494
18495
18496
18497
18498
18499
18500
18501
18502
18503
18504
18505
18506
18507
18508
18509
18510
18511
18512
18513
18514
18515
18516
18517
18518
18519
18520
18521
18522
18523
18524
18525
18526
18527
18528
18529
18530
18531
18532
18533
18534
18535
18536
18537
18538
18539
18540
18541
18542
18543
18544
18545
18546
18547
18548
18549
18550
18551
18552
18553
18554
18555
18556
18557
18558
18559
18560
18561
18562
18563
18564
18565
18566
18567
18568
18569
18570
18571
18572
18573
18574
18575
18576
18577
18578
18579
18580
18581
18582
18583
18584
18585
18586
18587
18588
18589
18590
18591
18592
18593
18594
18595
18596
18597
18598
18599
18600
18601
18602
18603
18604
18605
18606
18607
18608
18609
18610
18611
18612
18613
18614
18615
18616
18617
18618
18619
18620
18621
18622
18623
18624
18625
18626
18627
18628
18629
18630
18631
18632
18633
18634
18635
18636
18637
18638
18639
18640
18641
18642
18643
18644
18645
18646
18647
18648
18649
18650
18651
18652
18653
18654
18655
18656
18657
18658
18659
18660
18661
18662
18663
18664
18665
18666
18667
18668
18669
18670
18671
18672
18673
18674
18675
18676
18677
18678
18679
18680
18681
18682
18683
18684
18685
18686
18687
18688
18689
18690
18691
18692
18693
18694
18695
18696
18697
18698
18699
18700
18701
18702
18703
18704
18705
18706
18707
18708
18709
18710
18711
18712
18713
18714
18715
18716
18717
18718
18719
18720
18721
18722
18723
18724
18725
18726
18727
18728
18729
18730
18731
18732
18733
18734
18735
18736
18737
18738
18739
18740
18741
18742
18743
18744
18745
18746
18747
18748
18749
18750
18751
18752
18753
18754
18755
18756
18757
18758
18759
18760
18761
18762
18763
18764
18765
18766
18767
18768
18769
18770
18771
18772
18773
18774
18775
18776
18777
18778
18779
18780
18781
18782
18783
18784
18785
18786
18787
18788
18789
18790
18791
18792
18793
18794
18795
18796
18797
18798
18799
18800
18801
18802
18803
18804
18805
18806
18807
18808
18809
18810
18811
18812
18813
18814
18815
18816
18817
18818
18819
18820
18821
18822
18823
18824
18825
18826
18827
18828
18829
18830
18831
18832
18833
18834
18835
18836
18837
18838
18839
18840
18841
18842
18843
18844
18845
18846
18847
18848
18849
18850
18851
18852
18853
18854
18855
18856
18857
18858
18859
18860
18861
18862
18863
18864
18865
18866
18867
18868
18869
18870
18871
18872
18873
18874
18875
18876
18877
18878
18879
18880
18881
18882
18883
18884
18885
18886
18887
18888
18889
18890
18891
18892
18893
18894
18895
18896
18897
18898
18899
18900
18901
18902
18903
18904
18905
18906
18907
18908
18909
18910
18911
18912
18913
18914
18915
18916
18917
18918
18919
18920
18921
18922
18923
18924
18925
18926
18927
18928
18929
18930
18931
18932
18933
18934
18935
18936
18937
18938
18939
18940
18941
18942
18943
18944
18945
18946
18947
18948
18949
18950
18951
18952
18953
18954
18955
18956
18957
18958
18959
18960
18961
18962
18963
18964
18965
18966
18967
18968
18969
18970
18971
18972
18973
18974
18975
18976
18977
18978
18979
18980
18981
18982
18983
18984
18985
18986
18987
18988
18989
18990
18991
18992
18993
18994
18995
18996
18997
18998
18999
19000
19001
19002
19003
19004
19005
19006
19007
19008
19009
19010
19011
19012
19013
19014
19015
19016
19017
19018
19019
19020
19021
19022
19023
19024
19025
19026
19027
19028
19029
19030
19031
19032
19033
19034
19035
19036
19037
19038
19039
19040
19041
19042
19043
19044
19045
19046
19047
19048
19049
19050
19051
19052
19053
19054
19055
19056
19057
19058
19059
19060
19061
19062
19063
19064
19065
19066
19067
19068
19069
19070
19071
19072
19073
19074
19075
19076
19077
19078
19079
19080
19081
19082
19083
19084
19085
19086
19087
19088
19089
19090
19091
19092
19093
19094
19095
19096
19097
19098
19099
19100
19101
19102
19103
19104
19105
19106
19107
19108
19109
19110
19111
19112
19113
19114
19115
19116
19117
19118
19119
19120
19121
19122
19123
19124
19125
19126
19127
19128
19129
19130
19131
19132
19133
19134
19135
19136
19137
19138
19139
19140
19141
19142
19143
19144
19145
19146
19147
19148
19149
19150
19151
19152
19153
19154
19155
19156
19157
19158
19159
19160
19161
19162
19163
19164
19165
19166
19167
19168
19169
19170
19171
19172
19173
19174
19175
19176
19177
19178
19179
19180
19181
19182
19183
19184
19185
19186
19187
19188
19189
19190
19191
19192
19193
19194
19195
19196
19197
19198
19199
19200
19201
19202
19203
19204
19205
19206
19207
19208
19209
19210
19211
19212
19213
19214
19215
19216
19217
19218
19219
19220
19221
19222
19223
19224
19225
19226
19227
19228
19229
19230
19231
19232
19233
19234
19235
19236
19237
19238
19239
19240
19241
19242
19243
19244
19245
19246
19247
19248
19249
19250
19251
19252
19253
19254
19255
19256
19257
19258
19259
19260
19261
19262
19263
19264
19265
19266
19267
19268
19269
19270
19271
19272
19273
19274
19275
19276
19277
19278
19279
19280
19281
19282
19283
19284
19285
19286
19287
19288
19289
19290
19291
19292
19293
19294
19295
19296
19297
19298
19299
19300
19301
19302
19303
19304
19305
19306
19307
19308
19309
19310
19311
19312
19313
19314
19315
19316
19317
19318
19319
19320
19321
19322
19323
19324
19325
19326
19327
19328
19329
19330
19331
19332
19333
19334
19335
19336
19337
19338
19339
19340
19341
19342
19343
19344
19345
19346
19347
19348
19349
19350
19351
19352
19353
19354
19355
19356
19357
19358
19359
19360
19361
19362
19363
19364
19365
19366
19367
19368
19369
19370
19371
19372
19373
19374
19375
19376
19377
19378
19379
19380
19381
19382
19383
19384
19385
19386
19387
19388
19389
19390
19391
19392
19393
19394
19395
19396
19397
19398
19399
19400
19401
19402
19403
19404
19405
19406
19407
19408
19409
19410
19411
19412
19413
19414
19415
19416
19417
19418
19419
19420
19421
19422
19423
19424
19425
19426
19427
19428
19429
19430
19431
19432
19433
19434
19435
19436
19437
19438
19439
19440
19441
19442
19443
19444
19445
19446
19447
19448
19449
19450
19451
19452
19453
19454
19455
19456
19457
19458
19459
19460
19461
19462
19463
19464
19465
19466
19467
19468
19469
19470
19471
19472
19473
19474
19475
19476
19477
19478
19479
19480
19481
19482
19483
19484
19485
19486
19487
19488
19489
19490
19491
19492
19493
19494
19495
19496
19497
19498
19499
19500
19501
19502
19503
19504
19505
19506
19507
19508
19509
19510
19511
19512
19513
19514
19515
19516
19517
19518
19519
19520
19521
19522
19523
19524
19525
19526
19527
19528
19529
19530
19531
19532
19533
19534
19535
19536
19537
19538
19539
19540
19541
19542
19543
19544
19545
19546
19547
19548
19549
19550
19551
19552
19553
19554
19555
19556
19557
19558
19559
19560
19561
19562
19563
19564
19565
19566
19567
19568
19569
19570
19571
19572
19573
19574
19575
19576
19577
19578
19579
19580
19581
19582
19583
19584
19585
19586
19587
19588
19589
19590
19591
19592
19593
19594
19595
19596
19597
19598
19599
19600
19601
19602
19603
19604
19605
19606
19607
19608
19609
19610
19611
19612
19613
19614
19615
19616
19617
19618
19619
19620
19621
19622
19623
19624
19625
19626
19627
19628
19629
19630
19631
19632
19633
19634
19635
19636
19637
19638
19639
19640
19641
19642
19643
19644
19645
19646
19647
19648
19649
19650
19651
19652
19653
19654
19655
19656
19657
19658
19659
19660
19661
19662
19663
19664
19665
19666
19667
19668
19669
19670
19671
19672
19673
19674
19675
19676
19677
19678
19679
19680
19681
19682
19683
19684
19685
19686
19687
19688
19689
19690
19691
19692
19693
19694
19695
19696
19697
19698
19699
19700
19701
19702
19703
19704
19705
19706
19707
19708
19709
19710
19711
19712
19713
19714
19715
19716
19717
19718
19719
19720
19721
19722
19723
19724
19725
19726
19727
19728
19729
19730
19731
19732
19733
19734
19735
19736
19737
19738
19739
19740
19741
19742
19743
19744
19745
19746
19747
19748
19749
19750
19751
19752
19753
19754
19755
19756
19757
19758
19759
19760
19761
19762
19763
19764
19765
19766
19767
19768
19769
19770
19771
19772
19773
19774
19775
19776
19777
19778
19779
19780
19781
19782
19783
19784
19785
19786
19787
19788
19789
19790
19791
19792
19793
19794
19795
19796
19797
19798
19799
19800
19801
19802
19803
19804
19805
19806
19807
19808
19809
19810
19811
19812
19813
19814
19815
19816
19817
19818
19819
19820
19821
19822
19823
19824
19825
19826
19827
19828
19829
19830
19831
19832
19833
19834
19835
19836
19837
19838
19839
19840
19841
19842
19843
19844
19845
19846
19847
19848
19849
19850
19851
19852
19853
19854
19855
19856
19857
19858
19859
19860
19861
19862
19863
19864
19865
19866
19867
19868
19869
19870
19871
19872
19873
19874
19875
19876
19877
19878
19879
19880
19881
19882
19883
19884
19885
19886
19887
19888
19889
19890
19891
19892
19893
19894
19895
19896
19897
19898
19899
19900
19901
19902
19903
19904
19905
19906
19907
19908
19909
19910
19911
19912
19913
19914
19915
19916
19917
19918
19919
19920
19921
19922
19923
19924
19925
19926
19927
19928
19929
19930
19931
19932
19933
19934
19935
19936
19937
19938
19939
19940
19941
19942
19943
19944
19945
19946
19947
19948
19949
19950
19951
19952
19953
19954
19955
19956
19957
19958
19959
19960
19961
19962
19963
19964
19965
19966
19967
19968
19969
19970
19971
19972
19973
19974
19975
19976
19977
19978
19979
19980
19981
19982
19983
19984
19985
19986
19987
19988
19989
19990
19991
19992
19993
19994
19995
19996
19997
19998
19999
20000
20001
20002
20003
20004
20005
20006
20007
20008
20009
20010
20011
20012
20013
20014
20015
20016
20017
20018
20019
20020
20021
20022
20023
20024
20025
20026
20027
20028
20029
20030
20031
20032
20033
20034
20035
20036
20037
20038
20039
20040
20041
20042
20043
20044
20045
20046
20047
20048
20049
20050
20051
20052
20053
20054
20055
20056
20057
20058
20059
20060
20061
20062
20063
20064
20065
20066
20067
20068
20069
20070
20071
20072
20073
20074
20075
20076
20077
20078
20079
20080
20081
20082
20083
20084
20085
20086
20087
20088
20089
20090
20091
20092
20093
20094
20095
20096
20097
20098
20099
20100
20101
20102
20103
20104
20105
20106
20107
20108
20109
20110
20111
20112
20113
20114
20115
20116
20117
20118
20119
20120
20121
20122
20123
20124
20125
20126
20127
20128
20129
20130
20131
20132
20133
20134
20135
20136
20137
20138
20139
20140
20141
20142
20143
20144
20145
20146
20147
20148
20149
20150
20151
20152
20153
20154
20155
20156
20157
20158
20159
20160
20161
20162
20163
20164
20165
20166
20167
20168
20169
20170
20171
20172
20173
20174
20175
20176
20177
20178
20179
20180
20181
20182
20183
20184
20185
20186
20187
20188
20189
20190
20191
20192
20193
20194
20195
20196
20197
20198
20199
20200
20201
20202
20203
20204
20205
20206
20207
20208
20209
20210
20211
20212
20213
20214
20215
20216
20217
20218
20219
20220
20221
20222
20223
20224
20225
20226
20227
20228
20229
20230
20231
20232
20233
20234
20235
20236
20237
20238
20239
20240
20241
20242
20243
20244
20245
20246
20247
20248
20249
20250
20251
20252
20253
20254
20255
20256
20257
20258
20259
20260
20261
20262
20263
20264
20265
20266
20267
20268
20269
20270
20271
20272
20273
20274
20275
20276
20277
20278
20279
20280
20281
20282
20283
20284
20285
20286
20287
20288
20289
20290
20291
20292
20293
20294
20295
20296
20297
20298
20299
20300
20301
20302
20303
20304
20305
20306
20307
20308
20309
20310
20311
20312
20313
20314
20315
20316
20317
20318
20319
20320
20321
20322
20323
20324
20325
20326
20327
20328
20329
20330
20331
20332
20333
20334
20335
20336
20337
20338
20339
20340
20341
20342
20343
20344
20345
20346
20347
20348
20349
20350
20351
20352
20353
20354
20355
20356
20357
20358
20359
20360
20361
20362
20363
20364
20365
20366
20367
20368
20369
20370
20371
20372
20373
20374
20375
20376
20377
20378
20379
20380
20381
20382
20383
20384
20385
20386
20387
20388
20389
20390
20391
20392
20393
20394
20395
20396
20397
20398
20399
20400
20401
20402
20403
20404
20405
20406
20407
20408
20409
20410
20411
20412
20413
20414
20415
20416
20417
20418
20419
20420
20421
20422
20423
20424
20425
20426
20427
20428
20429
20430
20431
20432
20433
20434
20435
20436
20437
20438
20439
20440
20441
20442
20443
20444
20445
20446
20447
20448
20449
20450
20451
20452
20453
20454
20455
20456
20457
20458
20459
20460
20461
20462
20463
20464
20465
20466
20467
20468
20469
20470
20471
20472
20473
20474
20475
20476
20477
20478
20479
20480
20481
20482
20483
20484
20485
20486
20487
20488
20489
20490
20491
20492
20493
20494
20495
20496
20497
20498
20499
20500
20501
20502
20503
20504
20505
20506
20507
20508
20509
20510
20511
20512
20513
20514
20515
20516
20517
20518
20519
20520
20521
20522
20523
20524
20525
20526
20527
20528
20529
20530
20531
20532
20533
20534
20535
20536
20537
20538
20539
20540
20541
20542
20543
20544
20545
20546
20547
20548
20549
20550
20551
20552
20553
20554
20555
20556
20557
20558
20559
20560
20561
20562
20563
20564
20565
20566
20567
20568
20569
20570
20571
20572
20573
20574
20575
20576
20577
20578
20579
20580
20581
20582
20583
20584
20585
20586
20587
20588
20589
20590
20591
20592
20593
20594
20595
20596
20597
20598
20599
20600
20601
20602
20603
20604
20605
20606
20607
20608
20609
20610
20611
20612
20613
20614
20615
20616
20617
20618
20619
20620
20621
20622
20623
20624
20625
20626
20627
20628
20629
20630
20631
20632
20633
20634
20635
20636
20637
20638
20639
20640
20641
20642
20643
20644
20645
20646
20647
20648
20649
20650
20651
20652
20653
20654
20655
20656
20657
20658
20659
20660
20661
20662
20663
20664
20665
20666
20667
20668
20669
20670
20671
20672
20673
20674
20675
20676
20677
20678
20679
20680
20681
20682
20683
20684
20685
20686
20687
20688
20689
20690
20691
20692
20693
20694
20695
20696
20697
20698
20699
20700
20701
20702
20703
20704
20705
20706
20707
20708
20709
20710
20711
20712
20713
20714
20715
20716
20717
20718
20719
20720
20721
20722
20723
20724
20725
20726
20727
20728
20729
20730
20731
20732
20733
20734
20735
20736
20737
20738
20739
20740
20741
20742
20743
20744
20745
20746
20747
20748
20749
20750
20751
20752
20753
20754
20755
20756
20757
20758
20759
20760
20761
20762
20763
20764
20765
20766
20767
20768
20769
20770
20771
20772
20773
20774
20775
20776
20777
20778
20779
20780
20781
20782
20783
20784
20785
20786
20787
20788
20789
20790
20791
20792
20793
20794
20795
20796
20797
20798
20799
20800
20801
20802
20803
20804
20805
20806
20807
20808
20809
20810
20811
20812
20813
20814
20815
20816
20817
20818
20819
20820
20821
20822
20823
20824
20825
20826
20827
20828
20829
20830
20831
20832
20833
20834
20835
20836
20837
20838
20839
20840
20841
20842
20843
20844
20845
20846
20847
20848
20849
20850
20851
20852
20853
20854
20855
20856
20857
20858
20859
20860
20861
20862
20863
20864
20865
20866
20867
20868
20869
20870
20871
20872
20873
20874
20875
20876
20877
20878
20879
20880
20881
20882
20883
20884
20885
20886
20887
20888
20889
20890
20891
20892
20893
20894
20895
20896
20897
20898
20899
20900
20901
20902
20903
20904
20905
20906
20907
20908
20909
20910
20911
20912
20913
20914
20915
20916
20917
20918
20919
20920
20921
20922
20923
20924
20925
20926
20927
20928
20929
20930
20931
20932
20933
20934
20935
20936
20937
20938
20939
20940
20941
20942
20943
20944
20945
20946
20947
20948
20949
20950
20951
20952
20953
20954
20955
20956
20957
20958
20959
20960
20961
20962
20963
20964
20965
20966
20967
20968
20969
20970
20971
20972
20973
20974
20975
20976
20977
20978
20979
20980
20981
20982
20983
20984
20985
20986
20987
20988
20989
20990
20991
20992
20993
20994
20995
20996
20997
20998
20999
21000
21001
21002
21003
21004
21005
21006
21007
21008
21009
21010
21011
21012
21013
21014
21015
21016
21017
21018
21019
21020
21021
21022
21023
21024
21025
21026
21027
21028
21029
21030
21031
21032
21033
21034
21035
21036
21037
21038
21039
21040
21041
21042
21043
21044
21045
21046
21047
21048
21049
21050
21051
21052
21053
21054
21055
21056
21057
21058
21059
21060
21061
21062
21063
21064
21065
21066
21067
21068
21069
21070
21071
21072
21073
21074
21075
21076
21077
21078
21079
21080
21081
21082
21083
21084
21085
21086
21087
21088
21089
21090
21091
21092
21093
21094
21095
21096
21097
21098
21099
21100
21101
21102
21103
21104
21105
21106
21107
21108
21109
21110
21111
21112
21113
21114
21115
21116
21117
21118
21119
21120
21121
21122
21123
21124
21125
21126
21127
21128
21129
21130
21131
21132
21133
21134
21135
21136
21137
21138
21139
21140
21141
21142
21143
21144
21145
21146
21147
21148
21149
21150
21151
21152
21153
21154
21155
21156
21157
21158
21159
21160
21161
21162
21163
21164
21165
21166
21167
21168
21169
21170
21171
21172
21173
21174
21175
21176
21177
21178
21179
21180
21181
21182
21183
21184
21185
21186
21187
21188
21189
21190
21191
21192
21193
21194
21195
21196
21197
21198
21199
21200
21201
21202
21203
21204
21205
21206
21207
21208
21209
21210
21211
21212
21213
21214
21215
21216
21217
21218
21219
21220
21221
21222
21223
21224
21225
21226
21227
21228
21229
21230
21231
21232
21233
21234
21235
21236
21237
21238
21239
21240
21241
21242
21243
21244
21245
21246
21247
21248
21249
21250
21251
21252
21253
21254
21255
21256
21257
21258
21259
21260
21261
21262
21263
21264
21265
21266
21267
21268
21269
21270
21271
21272
21273
21274
21275
21276
21277
21278
21279
21280
21281
21282
21283
21284
21285
21286
21287
21288
21289
21290
21291
21292
21293
21294
21295
21296
21297
21298
21299
21300
21301
21302
21303
21304
21305
21306
21307
21308
21309
21310
21311
21312
21313
21314
21315
21316
21317
21318
21319
21320
21321
21322
21323
21324
21325
21326
21327
21328
21329
21330
21331
21332
21333
21334
21335
21336
21337
21338
21339
21340
21341
21342
21343
21344
21345
21346
21347
21348
21349
21350
21351
21352
21353
21354
21355
21356
21357
21358
21359
21360
21361
21362
21363
21364
21365
21366
21367
21368
21369
21370
21371
21372
21373
21374
21375
21376
21377
21378
21379
21380
21381
21382
21383
21384
21385
21386
21387
21388
21389
21390
21391
21392
21393
21394
21395
21396
21397
21398
21399
21400
21401
21402
21403
21404
21405
21406
21407
21408
21409
21410
21411
21412
21413
21414
21415
21416
21417
21418
21419
21420
21421
21422
21423
21424
21425
21426
21427
21428
21429
21430
21431
21432
21433
21434
21435
21436
21437
21438
21439
21440
21441
21442
21443
21444
21445
21446
21447
21448
21449
21450
21451
21452
21453
21454
21455
21456
21457
21458
21459
21460
21461
21462
21463
21464
21465
21466
21467
21468
21469
21470
21471
21472
21473
21474
21475
21476
21477
21478
21479
21480
21481
21482
21483
21484
21485
21486
21487
21488
21489
21490
21491
21492
21493
21494
21495
21496
21497
21498
21499
21500
21501
21502
21503
21504
21505
21506
21507
21508
21509
21510
21511
21512
21513
21514
21515
21516
21517
21518
21519
21520
21521
21522
21523
21524
21525
21526
21527
21528
21529
21530
21531
21532
21533
21534
21535
21536
21537
21538
21539
21540
21541
21542
21543
21544
21545
21546
21547
21548
21549
21550
21551
21552
21553
21554
21555
21556
21557
21558
21559
21560
21561
21562
21563
21564
21565
21566
21567
21568
21569
21570
21571
21572
21573
21574
21575
21576
21577
21578
21579
21580
21581
21582
21583
21584
21585
21586
21587
21588
21589
21590
21591
21592
21593
21594
21595
21596
21597
21598
21599
21600
21601
21602
21603
21604
21605
21606
21607
21608
21609
21610
21611
21612
21613
21614
21615
21616
21617
21618
21619
21620
21621
21622
21623
21624
21625
21626
21627
21628
21629
21630
21631
21632
21633
21634
21635
21636
21637
21638
21639
21640
21641
21642
21643
21644
21645
21646
21647
21648
21649
21650
21651
21652
21653
21654
21655
21656
21657
21658
21659
21660
21661
21662
21663
21664
21665
21666
21667
21668
21669
21670
21671
21672
21673
21674
21675
21676
21677
21678
21679
21680
21681
21682
21683
21684
21685
21686
21687
21688
21689
21690
21691
21692
21693
21694
21695
21696
21697
21698
21699
21700
21701
21702
21703
21704
21705
21706
21707
21708
21709
21710
21711
21712
21713
21714
21715
21716
21717
21718
21719
21720
21721
21722
21723
21724
21725
21726
21727
21728
21729
21730
21731
21732
21733
21734
21735
21736
21737
21738
21739
21740
21741
21742
21743
21744
21745
21746
21747
21748
21749
21750
21751
21752
21753
21754
21755
21756
21757
21758
21759
21760
21761
21762
21763
21764
21765
21766
21767
21768
21769
21770
21771
21772
21773
21774
21775
21776
21777
21778
21779
21780
21781
21782
21783
21784
21785
21786
21787
21788
21789
21790
21791
21792
21793
21794
21795
21796
21797
21798
21799
21800
21801
21802
21803
21804
21805
21806
21807
21808
21809
21810
21811
21812
21813
21814
21815
21816
21817
21818
21819
21820
21821
21822
21823
21824
21825
21826
21827
21828
21829
21830
21831
21832
21833
21834
21835
21836
21837
21838
21839
21840
21841
21842
21843
21844
21845
21846
21847
21848
21849
21850
21851
21852
21853
21854
21855
21856
21857
21858
21859
21860
21861
21862
21863
21864
21865
21866
21867
21868
21869
21870
21871
21872
21873
21874
21875
21876
21877
21878
21879
21880
21881
21882
21883
21884
21885
21886
21887
21888
21889
21890
21891
21892
21893
21894
21895
21896
21897
21898
21899
21900
21901
21902
21903
21904
21905
21906
21907
21908
21909
21910
21911
21912
21913
21914
21915
21916
21917
21918
21919
21920
21921
21922
21923
21924
21925
21926
21927
21928
21929
21930
21931
21932
21933
21934
21935
21936
21937
21938
21939
21940
21941
21942
21943
21944
21945
21946
21947
21948
21949
21950
21951
21952
21953
21954
21955
21956
21957
21958
21959
21960
21961
21962
21963
21964
21965
21966
21967
21968
21969
21970
21971
21972
21973
21974
21975
21976
21977
21978
21979
21980
21981
21982
21983
21984
21985
21986
21987
21988
21989
21990
21991
21992
21993
21994
21995
21996
21997
21998
21999
22000
22001
22002
22003
22004
22005
22006
22007
22008
22009
22010
22011
22012
22013
22014
22015
22016
22017
22018
22019
22020
22021
22022
22023
22024
22025
22026
22027
22028
22029
22030
22031
22032
22033
22034
22035
22036
22037
22038
22039
22040
22041
22042
22043
22044
22045
22046
22047
22048
22049
22050
22051
22052
22053
22054
22055
22056
22057
22058
22059
22060
22061
22062
22063
22064
22065
22066
22067
22068
22069
22070
22071
22072
22073
22074
22075
22076
22077
22078
22079
22080
22081
22082
22083
22084
22085
22086
22087
22088
22089
22090
22091
22092
22093
22094
22095
22096
22097
22098
22099
22100
22101
22102
22103
22104
22105
22106
22107
22108
22109
22110
22111
22112
22113
22114
22115
22116
22117
22118
22119
22120
22121
22122
22123
22124
22125
22126
22127
22128
22129
22130
22131
22132
22133
22134
22135
22136
22137
22138
22139
22140
22141
22142
22143
22144
22145
22146
22147
22148
22149
22150
22151
22152
22153
22154
22155
22156
22157
22158
22159
22160
22161
22162
22163
22164
22165
22166
22167
22168
22169
22170
22171
22172
22173
22174
22175
22176
22177
22178
22179
22180
22181
22182
22183
22184
22185
22186
22187
22188
22189
22190
22191
22192
22193
22194
22195
22196
22197
22198
22199
22200
22201
22202
22203
22204
22205
22206
22207
22208
22209
22210
22211
22212
22213
22214
22215
22216
22217
22218
22219
22220
22221
22222
22223
22224
22225
22226
22227
22228
22229
22230
22231
22232
22233
22234
22235
22236
22237
22238
22239
22240
22241
22242
22243
22244
22245
22246
22247
22248
22249
22250
22251
22252
22253
22254
22255
22256
22257
22258
22259
22260
22261
22262
22263
22264
22265
22266
22267
22268
22269
22270
22271
22272
22273
22274
22275
22276
22277
22278
22279
22280
22281
22282
22283
22284
22285
22286
22287
22288
22289
22290
22291
22292
22293
22294
22295
22296
22297
22298
22299
22300
22301
22302
22303
22304
22305
22306
22307
22308
22309
22310
22311
22312
22313
22314
22315
22316
22317
22318
22319
22320
22321
22322
22323
22324
22325
22326
22327
22328
22329
22330
22331
22332
22333
22334
22335
22336
22337
22338
22339
22340
22341
22342
22343
22344
22345
22346
22347
22348
22349
22350
22351
22352
22353
22354
22355
22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
22404
22405
22406
22407
22408
22409
22410
22411
22412
22413
22414
22415
22416
22417
22418
22419
22420
22421
22422
22423
22424
22425
22426
22427
22428
22429
22430
22431
22432
22433
22434
22435
22436
22437
22438
22439
22440
22441
22442
22443
22444
22445
22446
22447
22448
22449
22450
22451
22452
22453
22454
22455
22456
22457
22458
22459
22460
22461
22462
22463
22464
22465
22466
22467
22468
22469
22470
22471
22472
22473
22474
22475
22476
22477
22478
22479
22480
22481
22482
22483
22484
22485
22486
22487
22488
22489
22490
22491
22492
22493
22494
22495
22496
22497
22498
22499
22500
22501
22502
22503
22504
22505
22506
22507
22508
22509
22510
22511
22512
22513
22514
22515
22516
22517
22518
22519
22520
22521
22522
22523
22524
22525
22526
22527
22528
22529
22530
22531
22532
22533
22534
22535
22536
22537
22538
22539
22540
22541
22542
22543
22544
22545
22546
22547
22548
22549
22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
22573
22574
22575
22576
22577
22578
22579
22580
22581
22582
22583
22584
22585
22586
22587
22588
22589
22590
22591
22592
22593
22594
22595
22596
22597
22598
22599
22600
22601
22602
22603
22604
22605
22606
22607
22608
22609
22610
22611
22612
22613
22614
22615
22616
22617
22618
22619
22620
22621
22622
22623
22624
22625
22626
22627
22628
22629
22630
22631
22632
22633
22634
22635
22636
22637
22638
22639
22640
22641
22642
22643
22644
22645
22646
22647
22648
22649
22650
22651
22652
22653
22654
22655
22656
22657
22658
22659
22660
22661
22662
22663
22664
22665
22666
22667
22668
22669
22670
22671
22672
22673
22674
22675
22676
22677
22678
22679
22680
22681
22682
22683
22684
22685
22686
22687
22688
22689
22690
22691
22692
22693
22694
22695
22696
22697
22698
22699
22700
22701
22702
22703
22704
22705
22706
22707
22708
22709
22710
22711
22712
22713
22714
22715
22716
22717
22718
22719
22720
22721
22722
22723
22724
22725
22726
22727
22728
22729
22730
22731
22732
22733
22734
22735
22736
22737
22738
22739
22740
22741
22742
22743
22744
22745
22746
22747
22748
22749
22750
22751
22752
22753
22754
22755
22756
22757
22758
22759
22760
22761
22762
22763
22764
22765
22766
22767
22768
22769
22770
22771
22772
22773
22774
22775
22776
22777
22778
22779
22780
22781
22782
22783
22784
22785
22786
22787
22788
22789
22790
22791
22792
22793
22794
22795
22796
22797
22798
22799
22800
22801
22802
22803
22804
22805
22806
22807
22808
22809
22810
22811
22812
22813
22814
22815
22816
22817
22818
22819
22820
22821
22822
22823
22824
22825
22826
22827
22828
22829
22830
22831
22832
22833
22834
22835
22836
22837
22838
22839
22840
22841
22842
22843
22844
22845
22846
22847
22848
22849
22850
22851
22852
22853
22854
22855
22856
22857
22858
22859
22860
22861
22862
22863
22864
22865
22866
22867
22868
22869
22870
22871
22872
22873
22874
22875
22876
22877
22878
22879
22880
22881
22882
22883
22884
22885
22886
22887
22888
22889
22890
22891
22892
22893
22894
22895
22896
22897
22898
22899
22900
22901
22902
22903
22904
22905
22906
22907
22908
22909
22910
22911
22912
22913
22914
22915
22916
22917
22918
22919
22920
22921
22922
22923
22924
22925
22926
22927
22928
22929
22930
22931
22932
22933
22934
22935
22936
22937
22938
22939
22940
22941
22942
22943
22944
22945
22946
22947
22948
22949
22950
22951
22952
22953
22954
22955
22956
22957
22958
22959
22960
22961
22962
22963
22964
22965
22966
22967
22968
22969
22970
22971
22972
22973
22974
22975
22976
22977
22978
22979
22980
22981
22982
22983
22984
22985
22986
22987
22988
22989
22990
22991
22992
22993
22994
22995
22996
22997
22998
22999
23000
23001
23002
23003
23004
23005
23006
23007
23008
23009
23010
23011
23012
23013
23014
23015
23016
23017
23018
23019
23020
23021
23022
23023
23024
23025
23026
23027
23028
23029
23030
23031
23032
23033
23034
23035
23036
23037
23038
23039
23040
23041
23042
23043
23044
23045
23046
23047
23048
23049
23050
23051
23052
23053
23054
23055
23056
23057
23058
23059
23060
23061
23062
23063
23064
23065
23066
23067
23068
23069
23070
23071
23072
23073
23074
23075
23076
23077
23078
23079
23080
23081
23082
23083
23084
23085
23086
23087
23088
23089
23090
23091
23092
23093
23094
23095
23096
23097
23098
23099
23100
23101
23102
23103
23104
23105
23106
23107
23108
23109
23110
23111
23112
23113
23114
23115
23116
23117
23118
23119
23120
23121
23122
23123
23124
23125
23126
23127
23128
23129
23130
23131
23132
23133
23134
23135
23136
23137
23138
23139
23140
23141
23142
23143
23144
23145
23146
23147
23148
23149
23150
23151
23152
23153
23154
23155
23156
23157
23158
23159
23160
23161
23162
23163
23164
23165
23166
23167
23168
23169
23170
23171
23172
23173
23174
23175
23176
23177
23178
23179
23180
23181
23182
23183
23184
23185
23186
23187
23188
23189
23190
23191
23192
23193
23194
23195
23196
23197
23198
23199
23200
23201
23202
23203
23204
23205
23206
23207
23208
23209
23210
23211
23212
23213
23214
23215
23216
23217
23218
23219
23220
23221
23222
23223
23224
23225
23226
23227
23228
23229
23230
23231
23232
23233
23234
23235
23236
23237
23238
23239
23240
23241
23242
23243
23244
23245
23246
23247
23248
23249
23250
23251
23252
23253
23254
23255
23256
23257
23258
23259
23260
23261
23262
23263
23264
23265
23266
23267
23268
23269
23270
23271
23272
23273
23274
23275
23276
23277
23278
23279
23280
23281
23282
23283
23284
23285
23286
23287
23288
23289
23290
23291
23292
23293
23294
23295
23296
23297
23298
23299
23300
23301
23302
23303
23304
23305
23306
23307
23308
23309
23310
23311
23312
23313
23314
23315
23316
23317
23318
23319
23320
23321
23322
23323
23324
23325
23326
23327
23328
23329
23330
23331
23332
23333
23334
23335
23336
23337
23338
23339
23340
23341
23342
23343
23344
23345
23346
23347
23348
23349
23350
23351
23352
23353
23354
23355
23356
23357
23358
23359
23360
23361
23362
23363
23364
23365
23366
23367
23368
23369
23370
23371
23372
23373
23374
23375
23376
23377
23378
23379
23380
23381
23382
23383
23384
23385
23386
23387
23388
23389
23390
23391
23392
23393
23394
23395
23396
23397
23398
23399
23400
23401
23402
23403
23404
23405
23406
23407
23408
23409
23410
23411
23412
23413
23414
23415
23416
23417
23418
23419
23420
23421
23422
23423
23424
23425
23426
23427
23428
23429
23430
23431
23432
23433
23434
23435
23436
23437
23438
23439
23440
23441
23442
23443
23444
23445
23446
23447
23448
23449
23450
23451
23452
23453
23454
23455
23456
23457
23458
23459
23460
23461
23462
23463
23464
23465
23466
23467
23468
23469
23470
23471
23472
23473
23474
23475
23476
23477
23478
23479
23480
23481
23482
23483
23484
23485
23486
23487
23488
23489
23490
23491
23492
23493
23494
23495
23496
23497
23498
23499
23500
23501
23502
23503
23504
23505
23506
23507
23508
23509
23510
23511
23512
23513
23514
23515
23516
23517
23518
23519
23520
23521
23522
23523
23524
23525
23526
23527
23528
23529
23530
23531
23532
23533
23534
23535
23536
23537
23538
23539
23540
23541
23542
23543
23544
23545
23546
23547
23548
23549
23550
23551
23552
23553
23554
23555
23556
23557
23558
23559
23560
23561
23562
23563
23564
23565
23566
23567
23568
23569
23570
23571
23572
23573
23574
23575
23576
23577
23578
23579
23580
23581
23582
23583
23584
23585
23586
23587
23588
23589
23590
23591
23592
23593
23594
23595
23596
23597
23598
23599
23600
23601
23602
23603
23604
23605
23606
23607
23608
23609
23610
23611
23612
23613
23614
23615
23616
23617
23618
23619
23620
23621
23622
23623
23624
23625
23626
23627
23628
23629
23630
23631
23632
23633
23634
23635
23636
23637
23638
23639
23640
23641
23642
23643
23644
23645
23646
23647
23648
23649
23650
23651
23652
23653
23654
23655
23656
23657
23658
23659
23660
23661
23662
23663
23664
23665
23666
23667
23668
23669
23670
23671
23672
23673
23674
23675
23676
23677
23678
23679
23680
23681
23682
23683
23684
23685
23686
23687
23688
23689
23690
23691
23692
23693
23694
23695
23696
23697
23698
23699
23700
23701
23702
23703
23704
23705
23706
23707
23708
23709
23710
23711
23712
23713
23714
23715
23716
23717
23718
23719
23720
23721
23722
23723
23724
23725
23726
23727
23728
23729
23730
23731
23732
23733
23734
23735
23736
23737
23738
23739
23740
23741
23742
23743
23744
23745
23746
23747
23748
23749
23750
23751
23752
23753
23754
23755
23756
23757
23758
23759
23760
23761
23762
23763
23764
23765
23766
23767
23768
23769
23770
23771
23772
23773
23774
23775
23776
23777
23778
23779
23780
23781
23782
23783
23784
23785
23786
23787
23788
23789
23790
23791
23792
23793
23794
23795
23796
23797
23798
23799
23800
23801
23802
23803
23804
23805
23806
23807
23808
23809
23810
23811
23812
23813
23814
23815
23816
23817
23818
23819
23820
23821
23822
23823
23824
23825
23826
23827
23828
23829
23830
23831
23832
23833
23834
23835
23836
23837
23838
23839
23840
23841
23842
23843
23844
23845
23846
23847
23848
23849
23850
23851
23852
23853
23854
23855
23856
23857
23858
23859
23860
23861
23862
23863
23864
23865
23866
23867
23868
23869
23870
23871
23872
23873
23874
23875
23876
23877
23878
23879
23880
23881
23882
23883
23884
23885
23886
23887
23888
23889
23890
23891
23892
23893
23894
23895
23896
23897
23898
23899
23900
23901
23902
23903
23904
23905
23906
23907
23908
23909
23910
23911
23912
23913
23914
23915
23916
23917
23918
23919
23920
23921
23922
23923
23924
23925
23926
23927
23928
23929
23930
23931
23932
23933
23934
23935
23936
23937
23938
23939
23940
23941
23942
23943
23944
23945
23946
23947
23948
23949
23950
23951
23952
23953
23954
23955
23956
23957
23958
23959
23960
23961
23962
23963
23964
23965
23966
23967
23968
23969
23970
23971
23972
23973
23974
23975
23976
23977
23978
23979
23980
23981
23982
23983
23984
23985
23986
23987
23988
23989
23990
23991
23992
23993
23994
23995
23996
23997
23998
23999
24000
24001
24002
24003
24004
24005
24006
24007
24008
24009
24010
24011
24012
24013
24014
24015
24016
24017
24018
24019
24020
24021
24022
24023
24024
24025
24026
24027
24028
24029
24030
24031
24032
24033
24034
24035
24036
24037
24038
24039
24040
24041
24042
24043
24044
24045
24046
24047
24048
24049
24050
24051
24052
24053
24054
24055
24056
24057
24058
24059
24060
24061
24062
24063
24064
24065
24066
24067
24068
24069
24070
24071
24072
24073
24074
24075
24076
24077
24078
24079
24080
24081
24082
24083
24084
24085
24086
24087
24088
24089
24090
24091
24092
24093
24094
24095
24096
24097
24098
24099
24100
24101
24102
24103
24104
24105
24106
24107
24108
24109
24110
24111
24112
24113
24114
24115
24116
24117
24118
24119
24120
24121
24122
24123
24124
24125
24126
24127
24128
24129
24130
24131
24132
24133
24134
24135
24136
24137
24138
24139
24140
24141
24142
24143
24144
24145
24146
24147
24148
24149
24150
24151
24152
24153
24154
24155
24156
24157
24158
24159
24160
24161
24162
24163
24164
24165
24166
24167
24168
24169
24170
24171
24172
24173
24174
24175
24176
24177
24178
24179
24180
24181
24182
24183
24184
24185
24186
24187
24188
24189
24190
24191
24192
24193
24194
24195
24196
24197
24198
24199
24200
24201
24202
24203
24204
24205
24206
24207
24208
24209
24210
24211
24212
24213
24214
24215
24216
24217
24218
24219
24220
24221
24222
24223
24224
24225
24226
24227
24228
24229
24230
24231
24232
24233
24234
24235
24236
24237
24238
24239
24240
24241
24242
24243
24244
24245
24246
24247
24248
24249
24250
24251
24252
24253
24254
24255
24256
24257
24258
24259
24260
24261
24262
24263
24264
24265
24266
24267
24268
24269
24270
24271
24272
24273
24274
24275
24276
24277
24278
24279
24280
24281
24282
24283
24284
24285
24286
24287
24288
24289
24290
24291
24292
24293
24294
24295
24296
24297
24298
24299
24300
24301
24302
24303
24304
24305
24306
24307
24308
24309
24310
24311
24312
24313
24314
24315
24316
24317
24318
24319
24320
24321
24322
24323
24324
24325
24326
24327
24328
24329
24330
24331
24332
24333
24334
24335
24336
24337
24338
24339
24340
24341
24342
24343
24344
24345
24346
24347
24348
24349
24350
24351
24352
24353
24354
24355
24356
24357
24358
24359
24360
24361
24362
24363
24364
24365
24366
24367
24368
24369
24370
24371
24372
24373
24374
24375
24376
24377
24378
24379
24380
24381
24382
24383
24384
24385
24386
24387
24388
24389
24390
24391
24392
24393
24394
24395
24396
24397
24398
24399
24400
24401
24402
24403
24404
24405
24406
24407
24408
24409
24410
24411
24412
24413
24414
24415
24416
24417
24418
24419
24420
24421
24422
24423
24424
24425
24426
24427
24428
24429
24430
24431
24432
24433
24434
24435
24436
24437
24438
24439
24440
24441
24442
24443
24444
24445
24446
24447
24448
24449
24450
24451
24452
24453
24454
24455
24456
24457
24458
24459
24460
24461
24462
24463
24464
24465
24466
24467
24468
24469
24470
24471
24472
24473
24474
24475
24476
24477
24478
24479
24480
24481
24482
24483
24484
24485
24486
24487
24488
24489
24490
24491
24492
24493
24494
24495
24496
24497
24498
24499
24500
24501
24502
24503
24504
24505
24506
24507
24508
24509
24510
24511
24512
24513
24514
24515
24516
24517
24518
24519
24520
24521
24522
24523
24524
24525
24526
24527
24528
24529
24530
24531
24532
24533
24534
24535
24536
24537
24538
24539
24540
24541
24542
24543
24544
24545
24546
24547
24548
24549
24550
24551
24552
24553
24554
24555
24556
24557
24558
24559
24560
24561
24562
24563
24564
24565
24566
24567
24568
24569
24570
24571
24572
24573
24574
24575
24576
24577
24578
24579
24580
24581
24582
24583
24584
24585
24586
24587
24588
24589
24590
24591
24592
24593
24594
24595
24596
24597
24598
24599
24600
24601
24602
24603
24604
24605
24606
24607
24608
24609
24610
24611
24612
24613
24614
24615
24616
24617
24618
24619
24620
24621
24622
24623
24624
24625
24626
24627
24628
24629
24630
24631
24632
24633
24634
24635
24636
24637
24638
24639
24640
24641
24642
24643
24644
24645
24646
24647
24648
24649
24650
24651
24652
24653
24654
24655
24656
24657
24658
24659
24660
24661
24662
24663
24664
24665
24666
24667
24668
24669
24670
24671
24672
24673
24674
24675
24676
24677
24678
24679
24680
24681
24682
24683
24684
24685
24686
24687
24688
24689
24690
24691
24692
24693
24694
24695
24696
24697
24698
24699
24700
24701
24702
24703
24704
24705
24706
24707
24708
24709
24710
24711
24712
24713
24714
24715
24716
24717
24718
24719
24720
24721
24722
24723
24724
24725
24726
24727
24728
24729
24730
24731
24732
24733
24734
24735
24736
24737
24738
24739
24740
24741
24742
24743
24744
24745
24746
24747
24748
24749
24750
24751
24752
24753
24754
24755
24756
24757
24758
24759
24760
24761
24762
24763
24764
24765
24766
24767
24768
24769
24770
24771
24772
24773
24774
24775
24776
24777
24778
24779
24780
24781
24782
24783
24784
24785
24786
24787
24788
24789
24790
24791
24792
24793
24794
24795
24796
24797
24798
24799
24800
24801
24802
24803
24804
24805
24806
24807
24808
24809
24810
24811
24812
24813
24814
24815
24816
24817
24818
24819
24820
24821
24822
24823
24824
24825
24826
24827
24828
24829
24830
24831
24832
24833
24834
24835
24836
24837
24838
24839
24840
24841
24842
24843
24844
24845
24846
24847
24848
24849
24850
24851
24852
24853
24854
24855
24856
24857
24858
24859
24860
24861
24862
24863
24864
24865
24866
24867
24868
24869
24870
24871
24872
24873
24874
24875
24876
24877
24878
24879
24880
24881
24882
24883
24884
24885
24886
24887
24888
24889
24890
24891
24892
24893
24894
24895
24896
24897
24898
24899
24900
24901
24902
24903
24904
24905
24906
24907
24908
24909
24910
24911
24912
24913
24914
24915
24916
24917
24918
24919
24920
24921
24922
24923
24924
24925
24926
24927
24928
24929
24930
24931
24932
24933
24934
24935
24936
24937
24938
24939
24940
24941
24942
24943
24944
24945
24946
24947
24948
24949
24950
24951
24952
24953
24954
24955
24956
24957
24958
24959
24960
24961
24962
24963
24964
24965
24966
24967
24968
24969
24970
24971
24972
24973
24974
24975
24976
24977
24978
24979
24980
24981
24982
24983
24984
24985
24986
24987
24988
24989
24990
24991
24992
24993
24994
24995
24996
24997
24998
24999
25000
25001
25002
25003
25004
25005
25006
25007
25008
25009
25010
25011
25012
25013
25014
25015
25016
25017
25018
25019
25020
25021
25022
25023
25024
25025
25026
25027
25028
25029
25030
25031
25032
25033
25034
25035
25036
25037
25038
25039
25040
25041
25042
25043
25044
25045
25046
25047
25048
25049
25050
25051
25052
25053
25054
25055
25056
25057
25058
25059
25060
25061
25062
25063
25064
25065
25066
25067
25068
25069
25070
25071
25072
25073
25074
25075
25076
25077
25078
25079
25080
25081
25082
25083
25084
25085
25086
25087
25088
25089
25090
25091
25092
25093
25094
25095
25096
25097
25098
25099
25100
25101
25102
25103
25104
25105
25106
25107
25108
25109
25110
25111
25112
25113
25114
25115
25116
25117
25118
25119
25120
25121
25122
25123
25124
25125
25126
25127
25128
25129
25130
25131
25132
25133
25134
25135
25136
25137
25138
25139
25140
25141
25142
25143
25144
25145
25146
25147
25148
25149
25150
25151
25152
25153
25154
25155
25156
25157
25158
25159
25160
25161
25162
25163
25164
25165
25166
25167
25168
25169
25170
25171
25172
25173
25174
25175
25176
25177
25178
25179
25180
25181
25182
25183
25184
25185
25186
25187
25188
25189
25190
25191
25192
25193
25194
25195
25196
25197
25198
25199
25200
25201
25202
25203
25204
25205
25206
25207
25208
25209
25210
25211
25212
25213
25214
25215
25216
25217
25218
25219
25220
25221
25222
25223
25224
25225
25226
25227
25228
25229
25230
25231
25232
25233
25234
25235
25236
25237
25238
25239
25240
25241
25242
25243
25244
25245
25246
25247
25248
25249
25250
25251
25252
25253
25254
25255
25256
25257
25258
25259
25260
25261
25262
25263
25264
25265
25266
25267
25268
25269
25270
25271
25272
25273
25274
25275
25276
25277
25278
25279
25280
25281
25282
25283
25284
25285
25286
25287
25288
25289
25290
25291
25292
25293
25294
25295
25296
25297
25298
25299
25300
25301
25302
25303
25304
25305
25306
25307
25308
25309
25310
25311
25312
25313
25314
25315
25316
25317
25318
25319
25320
25321
25322
25323
25324
25325
25326
25327
25328
25329
25330
25331
25332
25333
25334
25335
25336
25337
25338
25339
25340
25341
25342
25343
25344
25345
25346
25347
25348
25349
25350
25351
25352
25353
25354
25355
25356
25357
25358
25359
25360
25361
25362
25363
25364
25365
25366
25367
25368
25369
25370
25371
25372
25373
25374
25375
25376
25377
25378
25379
25380
25381
25382
25383
25384
25385
25386
25387
25388
25389
25390
25391
25392
25393
25394
25395
25396
25397
25398
25399
25400
25401
25402
25403
25404
25405
25406
25407
25408
25409
25410
25411
25412
25413
25414
25415
25416
25417
25418
25419
25420
25421
25422
25423
25424
25425
25426
25427
25428
25429
25430
25431
25432
25433
25434
25435
25436
25437
25438
25439
25440
25441
25442
25443
25444
25445
25446
25447
25448
25449
25450
25451
25452
25453
25454
25455
25456
25457
25458
25459
25460
25461
25462
25463
25464
25465
25466
25467
25468
25469
25470
25471
25472
25473
25474
25475
25476
25477
25478
25479
25480
25481
25482
25483
25484
25485
25486
25487
25488
25489
25490
25491
25492
25493
25494
25495
25496
25497
25498
25499
25500
25501
25502
25503
25504
25505
25506
25507
25508
25509
25510
25511
25512
25513
25514
25515
25516
25517
25518
25519
25520
25521
25522
25523
25524
25525
25526
25527
25528
25529
25530
25531
25532
25533
25534
25535
25536
25537
25538
25539
25540
25541
25542
25543
25544
25545
25546
25547
25548
25549
25550
25551
25552
25553
25554
25555
25556
25557
25558
25559
25560
25561
25562
25563
25564
25565
25566
25567
25568
25569
25570
25571
25572
25573
25574
25575
25576
25577
25578
25579
25580
25581
25582
25583
25584
25585
25586
25587
25588
25589
25590
25591
25592
25593
25594
25595
25596
25597
25598
25599
25600
25601
25602
25603
25604
25605
25606
25607
25608
25609
25610
25611
25612
25613
25614
25615
25616
25617
25618
25619
25620
25621
25622
25623
25624
25625
25626
25627
25628
25629
25630
25631
25632
25633
25634
25635
25636
25637
25638
25639
25640
25641
25642
25643
25644
25645
25646
25647
25648
25649
25650
25651
25652
25653
25654
25655
25656
25657
25658
25659
25660
25661
25662
25663
25664
25665
25666
25667
25668
25669
25670
25671
25672
25673
25674
25675
25676
25677
25678
25679
25680
25681
25682
25683
25684
25685
25686
25687
25688
25689
25690
25691
25692
25693
25694
25695
25696
25697
25698
25699
25700
25701
25702
25703
25704
25705
25706
25707
25708
25709
25710
25711
25712
25713
25714
25715
25716
25717
25718
25719
25720
25721
25722
25723
25724
25725
25726
25727
25728
25729
25730
25731
25732
25733
25734
25735
25736
25737
25738
25739
25740
25741
25742
25743
25744
25745
25746
25747
25748
25749
25750
25751
25752
25753
25754
25755
25756
25757
25758
25759
25760
25761
25762
25763
25764
25765
25766
25767
25768
25769
25770
25771
25772
25773
25774
25775
25776
25777
25778
25779
25780
25781
25782
25783
25784
25785
25786
25787
25788
25789
25790
25791
25792
25793
25794
25795
25796
25797
25798
25799
25800
25801
25802
25803
25804
25805
25806
25807
25808
25809
25810
25811
25812
25813
25814
25815
25816
25817
25818
25819
25820
25821
25822
25823
25824
25825
25826
25827
25828
25829
25830
25831
25832
25833
25834
25835
25836
25837
25838
25839
25840
25841
25842
25843
25844
25845
25846
25847
25848
25849
25850
25851
25852
25853
25854
25855
25856
25857
25858
25859
25860
25861
25862
25863
25864
25865
25866
25867
25868
25869
25870
25871
25872
25873
25874
25875
25876
25877
25878
25879
25880
25881
25882
25883
25884
25885
25886
25887
25888
25889
25890
25891
25892
25893
25894
25895
25896
25897
25898
25899
25900
25901
25902
25903
25904
25905
25906
25907
25908
25909
25910
25911
25912
25913
25914
25915
25916
25917
25918
25919
25920
25921
25922
25923
25924
25925
25926
25927
25928
25929
25930
25931
25932
25933
25934
25935
25936
25937
25938
25939
25940
25941
25942
25943
25944
25945
25946
25947
25948
25949
25950
25951
25952
25953
25954
25955
25956
25957
25958
25959
25960
25961
25962
25963
25964
25965
25966
25967
25968
25969
25970
25971
25972
25973
25974
25975
25976
25977
25978
25979
25980
25981
25982
25983
25984
25985
25986
25987
25988
25989
25990
25991
25992
25993
25994
25995
25996
25997
25998
25999
26000
26001
26002
26003
26004
26005
26006
26007
26008
26009
26010
26011
26012
26013
26014
26015
26016
26017
26018
26019
26020
26021
26022
26023
26024
26025
26026
26027
26028
26029
26030
26031
26032
26033
26034
26035
26036
26037
26038
26039
26040
26041
26042
26043
26044
26045
26046
26047
26048
26049
26050
26051
26052
26053
26054
26055
26056
26057
26058
26059
26060
26061
26062
26063
26064
26065
26066
26067
26068
26069
26070
26071
26072
26073
26074
26075
26076
26077
26078
26079
26080
26081
26082
26083
26084
26085
26086
26087
26088
26089
26090
26091
26092
26093
26094
26095
26096
26097
26098
26099
26100
26101
26102
26103
26104
26105
26106
26107
26108
26109
26110
26111
26112
26113
26114
26115
26116
26117
26118
26119
26120
26121
26122
26123
26124
26125
26126
26127
26128
26129
26130
26131
26132
26133
26134
26135
26136
26137
26138
26139
26140
26141
26142
26143
26144
26145
26146
26147
26148
26149
26150
26151
26152
26153
26154
26155
26156
26157
26158
26159
26160
26161
26162
26163
26164
26165
26166
26167
26168
26169
26170
26171
26172
26173
26174
26175
26176
26177
26178
26179
26180
26181
26182
26183
26184
26185
26186
26187
26188
26189
26190
26191
26192
26193
26194
26195
26196
26197
26198
26199
26200
26201
26202
26203
26204
26205
26206
26207
26208
26209
26210
26211
26212
26213
26214
26215
26216
26217
26218
26219
26220
26221
26222
26223
26224
26225
26226
26227
26228
26229
26230
26231
26232
26233
26234
26235
26236
26237
26238
26239
26240
26241
26242
26243
26244
26245
26246
26247
26248
26249
26250
26251
26252
26253
26254
26255
26256
26257
26258
26259
26260
26261
26262
26263
26264
26265
26266
26267
26268
26269
26270
26271
26272
26273
26274
26275
26276
26277
26278
26279
26280
26281
26282
26283
26284
26285
26286
26287
26288
26289
26290
26291
26292
26293
26294
26295
26296
26297
26298
26299
26300
26301
26302
26303
26304
26305
26306
26307
26308
26309
26310
26311
26312
26313
26314
26315
26316
26317
26318
26319
26320
26321
26322
26323
26324
26325
26326
26327
26328
26329
26330
26331
26332
26333
26334
26335
26336
26337
26338
26339
26340
26341
26342
26343
26344
26345
26346
26347
26348
26349
26350
26351
26352
26353
26354
26355
26356
26357
26358
26359
26360
26361
26362
26363
26364
26365
26366
26367
26368
26369
26370
26371
26372
26373
26374
26375
26376
26377
26378
26379
26380
26381
26382
26383
26384
26385
26386
26387
26388
26389
26390
26391
26392
26393
26394
26395
26396
26397
26398
26399
26400
26401
26402
26403
26404
26405
26406
26407
26408
26409
26410
26411
26412
26413
26414
26415
26416
26417
26418
26419
26420
26421
26422
26423
26424
26425
26426
26427
26428
26429
26430
26431
26432
26433
26434
26435
26436
26437
26438
26439
26440
26441
26442
26443
26444
26445
26446
26447
26448
26449
26450
26451
26452
26453
26454
26455
26456
26457
26458
26459
26460
26461
26462
26463
26464
26465
26466
26467
26468
26469
26470
26471
26472
26473
26474
26475
26476
26477
26478
26479
26480
26481
26482
26483
26484
26485
26486
26487
26488
26489
26490
26491
26492
26493
26494
26495
26496
26497
26498
26499
26500
26501
26502
26503
26504
26505
26506
26507
26508
26509
26510
26511
26512
26513
26514
/*4:*/
#line 261 "tex.w"
/*9:*/
#line 340 "tex.w"

#include <stdint.h> 
#include <stdbool.h> 
#include <stdio.h> 
#include <stdlib.h> 
#include <string.h> 
#include <math.h> 

#define odd(X)       ((X)&1)
#define chr(X)       ((unsigned char)(X))
#define ord(X)       ((int)(X))

#if __SIZEOF_FLOAT__==4
typedef float float32_t;
#else
#error  float type must have size 4
#endif

#define banner "This is TeX, Version 3.14159265 (HINT)" \

#define mem_bot 0 \

#define mem_top 30000 \
 \

#define font_base 0 \

#define hash_size 2100 \

#define hash_prime 1777
#define hyph_size 307 \
 \

#define done6 36
#define incr(X) X= X+1
#define decr(X) X= X-1
#define negate(X) X= -X
#define loop while(true) 
#define do_nothing 
#define empty 0 \

#define text_char unsigned char
#define first_text_char 0
#define last_text_char 255 \

#define null_code 00
#define carriage_return 015
#define invalid_code 0177 \

#define reset_OK(X) erstat(X) ==0
#define rewrite_OK(X) erstat(X) ==0 \

#define t_open_in term_in.f= stdin
#define t_open_out term_out.f= stdout \

#define update_terminal fflush(term_out.f) 
#define clear_terminal fflush(term_in.f) 
#define wake_up_terminal do_nothing \

#define loc cur_input.loc_field \

#define si(X) X
#define so(X) X \

#define length(X) (str_start[X+1]-str_start[X])  \
 \

#define cur_length (pool_ptr-str_start[str_ptr])  \

#define append_char(X)  \
{str_pool[pool_ptr]= si(X) ;incr(pool_ptr) ; \
}
#define flush_char decr(pool_ptr) 
#define str_room(X)  \
{if(pool_ptr+X> pool_size)  \
overflow("pool size",pool_size-init_pool_ptr) ; \
 \
} \

#define flush_string {decr(str_ptr) ;pool_ptr= str_start[str_ptr]; \
} \

#define app_lc_hex(X) l= X; \
if(l<10) append_char(l+'0') else append_char(l-10+'a')  \

#define bad_pool(X) {wake_up_terminal;write_ln(term_out,X) ; \
a_close(&pool_file) ;return false; \
}
#define no_print 16
#define term_only 17
#define log_only 18
#define term_and_log 19
#define pseudo 20
#define new_string 21
#define max_selector 21 \

#define print_ASCII print \

#define prompt_input(X) {wake_up_terminal;print_str(X) ;term_input() ; \
} \

#define batch_mode 0
#define nonstop_mode 1
#define scroll_mode 2
#define error_stop_mode 3
#define print_err(X) {if(interaction==error_stop_mode) wake_up_terminal; \
print_nl("! ") ;print_str(X) ; \
} \

#define spotless 0
#define warning_issued 1
#define error_message_issued 2
#define fatal_error_stop 3 \

#define hlp1(X) help_line[0]= X;}
#define hlp2(X) help_line[1]= X;hlp1
#define hlp3(X) help_line[2]= X;hlp2
#define hlp4(X) help_line[3]= X;hlp3
#define hlp5(X) help_line[4]= X;hlp4
#define hlp6(X) help_line[5]= X;hlp5
#define help0 help_ptr= 0
#define help1 {help_ptr= 1;hlp1
#define help2 {help_ptr= 2;hlp2
#define help3 {help_ptr= 3;hlp3
#define help4 {help_ptr= 4;hlp4
#define help5 {help_ptr= 5;hlp5
#define help6 {help_ptr= 6;hlp6 \

#define succumb {if(interaction==error_stop_mode)  \
interaction= scroll_mode; \
if(log_opened) error() ; \
if(interaction> batch_mode) debug_help() ; \
history= fatal_error_stop;jump_out() ; \
} \

#define check_interrupt {if(interrupt!=0) pause_for_instructions() ; \
} \

#define unity 0200000
#define two 0400000 \

#define nx_plus_y(X,Y,Z) mult_and_add(X,Y,Z,07777777777) 
#define mult_integers(X,Y) mult_and_add(X,Y,0,017777777777)  \

#define inf_bad 10000 \

#define set_glue_ratio_zero(X) X= 0.0
#define set_glue_ratio_one(X) X= 1.0
#define float(X) ((double) (X) ) 
#define unfloat(X) ((glue_ratio) (X) ) 
#define float_constant(X) ((double) (X) )  \

#define min_quarterword 0
#define max_quarterword 255
#define min_halfword 0
#define max_halfword 65535 \

#define qi(X) X+min_quarterword \

#define qo(X) X-min_quarterword \

#define hi(X) X+min_halfword \

#define ho(X) X-min_halfword \
 \

#define sc i \

#define pointer halfword
#define null min_halfword \

#define link(X) mem[X].hh.rh
#define info(X) mem[X].hh.lh \

#define free_avail(X)  \
{link(X) = avail;avail= X; \
decr_dyn_used; \
} \

#define fast_get_avail(X)  \
{X= avail; \
if(X==null) X= get_avail() ; \
else{avail= link(X) ;link(X) = null; \
incr_dyn_used; \
} \
} \

#define empty_flag max_halfword
#define is_empty(X) (link(X) ==empty_flag) 
#define node_size info
#define llink(X) info(X+1) 
#define rlink(X) link(X+1)  \

#define type(X) mem[X].hh.b0
#define subtype(X) mem[X].hh.b1 \

#define is_char_node(X) (X>=hi_mem_min)  \

#define font type
#define character subtype \

#define hlist_node 0
#define box_node_size 7
#define width_offset 1
#define depth_offset 2
#define height_offset 3
#define width(X) mem[X+width_offset].sc
#define depth(X) mem[X+depth_offset].sc
#define height(X) mem[X+height_offset].sc
#define shift_amount(X) mem[X+4].sc
#define list_offset 5
#define list_ptr(X) link(X+list_offset) 
#define glue_order(X) subtype(X+list_offset) 
#define glue_sign(X) type(X+list_offset) 
#define normal 0
#define stretching 1
#define shrinking 2
#define glue_offset 6
#define glue_set(X) mem[X+glue_offset].gr \
 \

#define vlist_node 1 \

#define rule_node 2
#define rule_node_size 4
#define null_flag -010000000000
#define is_running(X) (X==null_flag)  \

#define ins_node 3
#define ins_node_size 5
#define float_cost(X) mem[X+1].i
#define ins_ptr(X) info(X+4) 
#define split_top_ptr(X) link(X+4)  \

#define mark_node 4
#define small_node_size 2
#define mark_ptr(X) mem[X+1].i \

#define adjust_node 5
#define adjust_ptr mark_ptr \

#define ligature_node 6
#define lig_char(X) X+1
#define lig_ptr(X) link(lig_char(X) )  \

#define disc_node 7
#define replace_count subtype
#define pre_break llink
#define post_break rlink \

#define whatsit_node 8 \

#define math_node 9
#define before 0
#define after 1 \

#define precedes_break(X) (type(X) <math_node) 
#define non_discardable(X) (type(X) <math_node)  \

#define glue_node 10
#define cond_math_glue 98
#define mu_glue 99
#define a_leaders 100
#define c_leaders 101
#define x_leaders 102
#define glue_ptr llink
#define leader_ptr rlink \

#define glue_spec_size 4
#define glue_ref_count(X) link(X) 
#define stretch(X) mem[X+2].sc
#define shrink(X) mem[X+3].sc
#define stretch_order type
#define shrink_order subtype
#define fil 1
#define fill 2
#define filll 3 \

#define kern_node 11
#define explicit 1
#define acc_kern 2 \

#define penalty_node 12
#define inf_penalty inf_bad
#define eject_penalty (-inf_penalty) 
#define penalty(X) mem[X+1].i \

#define unset_node 13
#define glue_stretch(X) mem[X+glue_offset].sc
#define glue_shrink shift_amount
#define span_count subtype \

#define zero_glue mem_bot
#define fil_glue zero_glue+glue_spec_size
#define fill_glue fil_glue+glue_spec_size
#define ss_glue fill_glue+glue_spec_size
#define fil_neg_glue ss_glue+glue_spec_size
#define lo_mem_stat_max fil_neg_glue+glue_spec_size-1 \
 \

#define page_ins_head mem_top
#define contrib_head mem_top-1
#define page_head mem_top-2
#define temp_head mem_top-3
#define hold_head mem_top-4
#define adjust_head mem_top-5
#define active mem_top-7
#define align_head mem_top-8
#define end_span mem_top-9
#define omit_template mem_top-10
#define null_list mem_top-11
#define lig_trick mem_top-12
#define garbage mem_top-12
#define backup_head mem_top-13
#define hi_mem_stat_min mem_top-13 \

#define hi_mem_stat_usage 14 \

#define node_list_display(X)  \
{append_char('.') ;show_node_list(X) ;flush_char; \
} \

#define token_ref_count(X) info(X)  \

#define fast_delete_glue_ref(X)  \
{if(glue_ref_count(X) ==null) free_node(X,glue_spec_size) ; \
else decr(glue_ref_count(X) ) ; \
} \

#define add_token_ref(X) incr(token_ref_count(X) ) 
#define add_glue_ref(X) incr(glue_ref_count(X) )  \

#define escape 0 \

#define relax 0
#define left_brace 1
#define right_brace 2
#define math_shift 3
#define tab_mark 4
#define car_ret 5
#define out_param 5
#define mac_param 6
#define sup_mark 7
#define sub_mark 8
#define ignore 9
#define endv 9
#define spacer 10
#define letter 11
#define other_char 12
#define active_char 13
#define par_end 13
#define match 13
#define comment 14
#define end_match 14
#define stop 14
#define invalid_char 15
#define delim_num 15
#define max_char_code 15 \

#define char_num 16
#define math_char_num 17
#define mark 18
#define xray 19
#define make_box 20
#define hmove 21
#define vmove 22
#define un_hbox 23
#define un_vbox 24
#define remove_item 25 \

#define hskip 26
#define vskip 27
#define mskip 28
#define kern 29
#define mkern 30
#define leader_ship 31
#define halign 32
#define valign 33
#define no_align 34
#define vrule 35
#define hrule 36
#define insert 37
#define vadjust 38
#define ignore_spaces 39
#define after_assignment 40
#define after_group 41
#define break_penalty 42
#define start_par 43
#define ital_corr 44
#define accent 45
#define math_accent 46
#define discretionary 47
#define eq_no 48
#define left_right 49
#define math_comp 50
#define limit_switch 51
#define above 52
#define math_style 53
#define math_choice 54
#define non_script 55
#define vcenter 56
#define case_shift 57
#define message 58
#define extension 59
#define in_stream 60
#define begin_group 61
#define end_group 62
#define omit 63
#define ex_space 64
#define no_boundary 65
#define radical 66
#define end_cs_name 67
#define min_internal 68
#define char_given 68
#define math_given 69
#define last_item 70 \

#define max_non_prefixed_command 70 \

#define toks_register 71
#define assign_toks 72
#define assign_int 73
#define assign_dimen 74
#define assign_glue 75
#define assign_mu_glue 76
#define assign_font_dimen 77
#define assign_font_int 78 \

#define set_aux 79
#define set_prev_graf 80
#define set_page_dimen 81
#define set_page_int 82 \

#define set_box_dimen 83
#define set_shape 84
#define def_code 85
#define def_family 86
#define set_font 87
#define def_font 88
#define register 89
#define max_internal 89
#define advance 90
#define multiply 91
#define divide 92
#define prefix 93
#define let 94
#define shorthand_def 95
#define read_to_cs 96
#define def 97
#define set_box 98
#define hyph_data 99
#define set_interaction 100
#define max_command 100 \

#define undefined_cs (max_command+1) 
#define expand_after (max_command+2) 
#define no_expand (max_command+3) 
#define input (max_command+4) 
#define if_test (max_command+5) 
#define fi_or_else (max_command+6) 
#define cs_name (max_command+7) 
#define convert (max_command+8) 
#define the (max_command+9) 
#define top_bot_mark (max_command+10) 
#define call (max_command+11) 
#define long_call (max_command+12) 
#define outer_call (max_command+13) 
#define long_outer_call (max_command+14) 
#define end_template (max_command+15) 
#define dont_expand (max_command+16) 
#define glue_ref (max_command+17) 
#define shape_ref (max_command+18) 
#define box_ref (max_command+19) 
#define data (max_command+20)  \

#define vmode 1
#define hmode (vmode+max_command+1) 
#define mmode (hmode+max_command+1)  \

#define ignore_depth -65536000 \

#define mode cur_list.mode_field
#define head cur_list.head_field
#define tail cur_list.tail_field
#define prev_graf cur_list.pg_field
#define aux cur_list.aux_field
#define prev_depth aux.sc
#define space_factor aux.hh.lh
#define clang aux.hh.rh
#define incompleat_noad aux.i
#define mode_line cur_list.ml_field \

#define tail_append(X) {link(tail) = X;tail= link(tail) ; \
} \

#define eq_level_field(X) X.hh.b1
#define eq_type_field(X) X.hh.b0
#define equiv_field(X) X.hh.rh
#define eq_level(X) eq_level_field(eqtb[X]) 
#define eq_type(X) eq_type_field(eqtb[X]) 
#define equiv(X) equiv_field(eqtb[X]) 
#define level_zero min_quarterword
#define level_one (level_zero+1)  \

#define active_base 1
#define single_base (active_base+256) 
#define null_cs (single_base+256) 
#define hash_base (null_cs+1) 
#define frozen_control_sequence (hash_base+hash_size) 
#define frozen_protection frozen_control_sequence
#define frozen_cr (frozen_control_sequence+1) 
#define frozen_end_group (frozen_control_sequence+2) 
#define frozen_right (frozen_control_sequence+3) 
#define frozen_fi (frozen_control_sequence+4) 
#define frozen_end_template (frozen_control_sequence+5) 
#define frozen_endv (frozen_control_sequence+6) 
#define frozen_relax (frozen_control_sequence+7) 
#define end_write (frozen_control_sequence+8) 
#define frozen_dont_expand (frozen_control_sequence+9)  \

#define frozen_null_font (frozen_control_sequence+10)  \

#define font_id_base (frozen_null_font-font_base)  \

#define undefined_control_sequence (frozen_null_font+257) 
#define glue_base (undefined_control_sequence+1)  \

#define line_skip_code 0
#define baseline_skip_code 1
#define par_skip_code 2
#define above_display_skip_code 3
#define below_display_skip_code 4
#define above_display_short_skip_code 5 \

#define below_display_short_skip_code 6 \

#define left_skip_code 7
#define right_skip_code 8
#define top_skip_code 9
#define split_top_skip_code 10
#define tab_skip_code 11
#define space_skip_code 12
#define xspace_skip_code 13
#define par_fill_skip_code 14
#define thin_mu_skip_code 15
#define med_mu_skip_code 16
#define thick_mu_skip_code 17
#define glue_pars 18
#define skip_base (glue_base+glue_pars) 
#define mu_skip_base (skip_base+256) 
#define local_base (mu_skip_base+256)  \

#define skip(X) equiv(skip_base+X) 
#define mu_skip(X) equiv(mu_skip_base+X) 
#define glue_par(X) equiv(glue_base+X) 
#define line_skip glue_par(line_skip_code) 
#define baseline_skip glue_par(baseline_skip_code) 
#define par_skip glue_par(par_skip_code) 
#define above_display_skip glue_par(above_display_skip_code) 
#define below_display_skip glue_par(below_display_skip_code) 
#define above_display_short_skip glue_par(above_display_short_skip_code) 
#define below_display_short_skip glue_par(below_display_short_skip_code) 
#define left_skip glue_par(left_skip_code) 
#define right_skip glue_par(right_skip_code) 
#define top_skip glue_par(top_skip_code) 
#define split_top_skip glue_par(split_top_skip_code) 
#define tab_skip glue_par(tab_skip_code) 
#define space_skip glue_par(space_skip_code) 
#define xspace_skip glue_par(xspace_skip_code) 
#define par_fill_skip glue_par(par_fill_skip_code) 
#define thin_mu_skip glue_par(thin_mu_skip_code) 
#define med_mu_skip glue_par(med_mu_skip_code) 
#define thick_mu_skip glue_par(thick_mu_skip_code)  \

#define par_shape_loc local_base
#define output_routine_loc (local_base+1) 
#define every_par_loc (local_base+2) 
#define every_math_loc (local_base+3) 
#define every_display_loc (local_base+4) 
#define every_hbox_loc (local_base+5) 
#define every_vbox_loc (local_base+6) 
#define every_job_loc (local_base+7) 
#define every_cr_loc (local_base+8) 
#define err_help_loc (local_base+9) 
#define toks_base (local_base+10) 
#define box_base (toks_base+256) 
#define cur_font_loc (box_base+256) 
#define math_font_base (cur_font_loc+1) 
#define cat_code_base (math_font_base+48)  \

#define lc_code_base (cat_code_base+256) 
#define uc_code_base (lc_code_base+256) 
#define sf_code_base (uc_code_base+256) 
#define math_code_base (sf_code_base+256) 
#define int_base (math_code_base+256)  \

#define par_shape_ptr equiv(par_shape_loc) 
#define output_routine equiv(output_routine_loc) 
#define every_par equiv(every_par_loc) 
#define every_math equiv(every_math_loc) 
#define every_display equiv(every_display_loc) 
#define every_hbox equiv(every_hbox_loc) 
#define every_vbox equiv(every_vbox_loc) 
#define every_job equiv(every_job_loc) 
#define every_cr equiv(every_cr_loc) 
#define err_help equiv(err_help_loc) 
#define toks(X) equiv(toks_base+X) 
#define box(X) equiv(box_base+X) 
#define cur_font equiv(cur_font_loc) 
#define fam_fnt(X) equiv(math_font_base+X) 
#define cat_code(X) equiv(cat_code_base+X) 
#define lc_code(X) equiv(lc_code_base+X) 
#define uc_code(X) equiv(uc_code_base+X) 
#define sf_code(X) equiv(sf_code_base+X) 
#define math_code(X) equiv(math_code_base+X)  \
 \

#define null_font font_base
#define var_code 070000 \

#define pretolerance_code 0
#define tolerance_code 1
#define line_penalty_code 2
#define hyphen_penalty_code 3
#define ex_hyphen_penalty_code 4
#define club_penalty_code 5
#define widow_penalty_code 6
#define display_widow_penalty_code 7
#define broken_penalty_code 8
#define bin_op_penalty_code 9
#define rel_penalty_code 10
#define pre_display_penalty_code 11 \

#define post_display_penalty_code 12 \

#define inter_line_penalty_code 13
#define double_hyphen_demerits_code 14
#define final_hyphen_demerits_code 15
#define adj_demerits_code 16
#define mag_code 17
#define delimiter_factor_code 18
#define looseness_code 19
#define time_code 20
#define day_code 21
#define month_code 22
#define year_code 23
#define show_box_breadth_code 24
#define show_box_depth_code 25
#define hbadness_code 26
#define vbadness_code 27
#define pausing_code 28
#define tracing_online_code 29
#define tracing_macros_code 30
#define tracing_stats_code 31
#define tracing_paragraphs_code 32
#define tracing_pages_code 33
#define tracing_output_code 34
#define tracing_lost_chars_code 35
#define tracing_commands_code 36
#define tracing_restores_code 37
#define uc_hyph_code 38
#define output_penalty_code 39
#define max_dead_cycles_code 40
#define hang_after_code 41
#define floating_penalty_code 42
#define global_defs_code 43
#define cur_fam_code 44
#define escape_char_code 45
#define default_hyphen_char_code 46
#define default_skew_char_code 47
#define end_line_char_code 48
#define new_line_char_code 49
#define language_code 50
#define left_hyphen_min_code 51
#define right_hyphen_min_code 52
#define holding_inserts_code 53
#define error_context_lines_code 54
#define int_pars 55
#define count_base (int_base+int_pars) 
#define del_code_base (count_base+256) 
#define dimen_base (del_code_base+256)  \

#define del_code(X) eqtb[del_code_base+X].i
#define count(X) eqtb[count_base+X].i
#define int_par(X) eqtb[int_base+X].i
#define pretolerance int_par(pretolerance_code) 
#define tolerance int_par(tolerance_code) 
#define line_penalty int_par(line_penalty_code) 
#define hyphen_penalty int_par(hyphen_penalty_code) 
#define ex_hyphen_penalty int_par(ex_hyphen_penalty_code) 
#define club_penalty int_par(club_penalty_code) 
#define widow_penalty int_par(widow_penalty_code) 
#define display_widow_penalty int_par(display_widow_penalty_code) 
#define broken_penalty int_par(broken_penalty_code) 
#define bin_op_penalty int_par(bin_op_penalty_code) 
#define rel_penalty int_par(rel_penalty_code) 
#define pre_display_penalty int_par(pre_display_penalty_code) 
#define post_display_penalty int_par(post_display_penalty_code) 
#define inter_line_penalty int_par(inter_line_penalty_code) 
#define double_hyphen_demerits int_par(double_hyphen_demerits_code) 
#define final_hyphen_demerits int_par(final_hyphen_demerits_code) 
#define adj_demerits int_par(adj_demerits_code) 
#define mag int_par(mag_code) 
#define delimiter_factor int_par(delimiter_factor_code) 
#define looseness int_par(looseness_code) 
#define time int_par(time_code) 
#define day int_par(day_code) 
#define month int_par(month_code) 
#define year int_par(year_code) 
#define show_box_breadth int_par(show_box_breadth_code) 
#define show_box_depth int_par(show_box_depth_code) 
#define hbadness int_par(hbadness_code) 
#define vbadness int_par(vbadness_code) 
#define pausing int_par(pausing_code) 
#define tracing_online int_par(tracing_online_code) 
#define tracing_macros int_par(tracing_macros_code) 
#define tracing_stats int_par(tracing_stats_code) 
#define tracing_paragraphs int_par(tracing_paragraphs_code) 
#define tracing_pages int_par(tracing_pages_code) 
#define tracing_output int_par(tracing_output_code) 
#define tracing_lost_chars int_par(tracing_lost_chars_code) 
#define tracing_commands int_par(tracing_commands_code) 
#define tracing_restores int_par(tracing_restores_code) 
#define uc_hyph int_par(uc_hyph_code) 
#define output_penalty int_par(output_penalty_code) 
#define max_dead_cycles int_par(max_dead_cycles_code) 
#define hang_after int_par(hang_after_code) 
#define floating_penalty int_par(floating_penalty_code) 
#define global_defs int_par(global_defs_code) 
#define cur_fam int_par(cur_fam_code) 
#define escape_char int_par(escape_char_code) 
#define default_hyphen_char int_par(default_hyphen_char_code) 
#define default_skew_char int_par(default_skew_char_code) 
#define end_line_char int_par(end_line_char_code) 
#define new_line_char int_par(new_line_char_code) 
#define language int_par(language_code) 
#define left_hyphen_min int_par(left_hyphen_min_code) 
#define right_hyphen_min int_par(right_hyphen_min_code) 
#define holding_inserts int_par(holding_inserts_code) 
#define error_context_lines int_par(error_context_lines_code)  \

#define par_indent_code 0
#define math_surround_code 1
#define line_skip_limit_code 2
#define hsize_code 3
#define vsize_code 4
#define max_depth_code 5
#define split_max_depth_code 6
#define box_max_depth_code 7
#define hfuzz_code 8
#define vfuzz_code 9
#define delimiter_shortfall_code 10
#define null_delimiter_space_code 11
#define script_space_code 12
#define pre_display_size_code 13
#define display_width_code 14
#define display_indent_code 15
#define overfull_rule_code 16
#define hang_indent_code 17
#define h_offset_code 18
#define v_offset_code 19
#define emergency_stretch_code 20
#define dimen_pars 21
#define scaled_base (dimen_base+dimen_pars)  \

#define eqtb_size (scaled_base+255)  \

#define dimen(X) eqtb[scaled_base+X].sc
#define dimen_par(X) eqtb[dimen_base+X].sc
#define par_indent dimen_par(par_indent_code) 
#define math_surround dimen_par(math_surround_code) 
#define line_skip_limit dimen_par(line_skip_limit_code) 
#define hsize dimen_par(hsize_code) 
#define vsize dimen_par(vsize_code) 
#define max_depth dimen_par(max_depth_code) 
#define split_max_depth dimen_par(split_max_depth_code) 
#define box_max_depth dimen_par(box_max_depth_code) 
#define hfuzz dimen_par(hfuzz_code) 
#define vfuzz dimen_par(vfuzz_code) 
#define delimiter_shortfall dimen_par(delimiter_shortfall_code) 
#define null_delimiter_space dimen_par(null_delimiter_space_code) 
#define script_space dimen_par(script_space_code) 
#define pre_display_size dimen_par(pre_display_size_code) 
#define display_width dimen_par(display_width_code) 
#define display_indent dimen_par(display_indent_code) 
#define overfull_rule dimen_par(overfull_rule_code) 
#define hang_indent dimen_par(hang_indent_code) 
#define h_offset dimen_par(h_offset_code) 
#define v_offset dimen_par(v_offset_code) 
#define emergency_stretch dimen_par(emergency_stretch_code)  \

#define next(X) hash[X].lh
#define text(X) hash[X].rh
#define hash_is_full (hash_used==hash_base) 
#define font_id_text(X) text(font_id_base+X)  \

#define save_type(X) save_stack[X].hh.b0
#define save_level(X) save_stack[X].hh.b1 \

#define save_index(X) save_stack[X].hh.rh \

#define restore_old_value 0
#define restore_zero 1
#define insert_token 2
#define level_boundary 3 \

#define bottom_level 0
#define simple_group 1
#define hbox_group 2
#define adjusted_hbox_group 3
#define vbox_group 4
#define vtop_group 5
#define align_group 6
#define no_align_group 7
#define output_group 8
#define math_group 9
#define disc_group 10
#define insert_group 11
#define vcenter_group 12
#define math_choice_group 13
#define semi_simple_group 14
#define math_shift_group 15
#define math_left_group 16
#define max_group_code 16 \

#define check_full_save_stack if(save_ptr> max_save_stack)  \
{max_save_stack= save_ptr; \
if(max_save_stack> save_size-6) overflow("save size",save_size) ; \
 \
} \

#define saved(X) save_stack[save_ptr+X].i \

#define cs_token_flag 07777 \

#define left_brace_token 00400
#define left_brace_limit 01000
#define right_brace_token 01000
#define right_brace_limit 01400
#define math_shift_token 01400
#define tab_token 02000
#define out_param_token 02400
#define space_token 05040
#define letter_token 05400
#define other_token 06000
#define match_token 06400
#define end_match_token 07000 \

#define chr_cmd(X) {print_str(X) ;print_ASCII(chr_code) ; \
} \

#define state cur_input.state_field
#define index cur_input.index_field
#define start cur_input.start_field
#define limit cur_input.limit_field
#define name cur_input.name_field \

#define mid_line 1
#define skip_blanks (2+max_char_code) 
#define new_line (3+max_char_code+max_char_code)  \

#define terminal_input (name==0) 
#define cur_file input_file[index] \

#define skipping 1
#define defining 2
#define matching 3
#define aligning 4
#define absorbing 5 \

#define token_list 0
#define token_type index
#define param_start limit
#define parameter 0
#define u_template 1
#define v_template 2
#define backed_up 3
#define inserted 4
#define macro 5
#define output_text 6
#define every_par_text 7
#define every_math_text 8
#define every_display_text 9
#define every_hbox_text 10
#define every_vbox_text 11
#define every_job_text 12
#define every_cr_text 13
#define mark_text 14
#define write_text 15 \

#define begin_pseudoprint  \
{l= tally;tally= 0;selector= pseudo; \
trick_count= 1000000; \
}
#define set_trick_count  \
{first_count= tally; \
trick_count= tally+1+error_line-half_error_line; \
if(trick_count<error_line) trick_count= error_line; \
} \

#define push_input  \
{if(input_ptr> max_in_stack)  \
{max_in_stack= input_ptr; \
if(input_ptr==stack_size) overflow("input stack size",stack_size) ; \
 \
} \
input_stack[input_ptr]= cur_input; \
incr(input_ptr) ; \
} \

#define pop_input  \
{decr(input_ptr) ;cur_input= input_stack[input_ptr]; \
} \

#define back_list(X) begin_token_list(X,backed_up) 
#define ins_list(X) begin_token_list(X,inserted)  \

#define any_state_plus(X) case mid_line+X:case skip_blanks+X:case new_line+X \

#define add_delims_to(X) X+math_shift:X+tab_mark:X+mac_param: \
X+sub_mark:X+letter:X+other_char \

#define is_hex(X) (((X>='0') &&(X<='9') ) ||((X>='a') &&(X<='f') ) ) 
#define hex_to_cur_chr  \
if(c<='9') cur_chr= c-'0';else cur_chr= c-'a'+10; \
if(cc<='9') cur_chr= 16*cur_chr+cc-'0'; \
else cur_chr= 16*cur_chr+cc-'a'+10 \

#define no_expand_flag 257 \

#define end_line_char_inactive (end_line_char<0) ||(end_line_char> 255)  \

#define store_new_token(X) {q= get_avail() ;link(p) = q;info(q) = X; \
p= q; \
}
#define fast_store_new_token(X) {fast_get_avail(q) ;link(p) = q;info(q) = X; \
p= q; \
} \

#define top_mark_code 0
#define first_mark_code 1
#define bot_mark_code 2
#define split_first_mark_code 3
#define split_bot_mark_code 4
#define top_mark cur_mark[top_mark_code]
#define first_mark cur_mark[first_mark_code]
#define bot_mark cur_mark[bot_mark_code]
#define split_first_mark cur_mark[split_first_mark_code]
#define split_bot_mark cur_mark[split_bot_mark_code] \

#define int_val 0
#define dimen_val 1
#define glue_val 2
#define mu_val 3
#define ident_val 4
#define tok_val 5 \

#define scanned_result_end(X) cur_val_level= X;}
#define scanned_result(X) {cur_val= X;scanned_result_end \

#define input_line_no_code (glue_val+1) 
#define badness_code (glue_val+2)  \

#define max_dimen 07777777777 \

#define octal_token (other_token+'\'') 
#define hex_token (other_token+'"') 
#define alpha_token (other_token+'`') 
#define point_token (other_token+'.') 
#define continental_point_token (other_token+',')  \

#define infinity 017777777777
#define zero_token (other_token+'0') 
#define A_token (letter_token+'A') 
#define other_A_token (other_token+'A')  \

#define scan_normal_dimen scan_dimen(false,false,false)  \

#define set_conversion_end(X) denom= X;}
#define set_conversion(X) {num= X;set_conversion_end \

#define default_rule 26214 \

#define number_code 0
#define roman_numeral_code 1
#define string_code 2
#define meaning_code 3
#define font_name_code 4
#define job_name_code 5 \

#define closed 2
#define just_open 1 \

#define if_char_code 0
#define if_cat_code 1
#define if_int_code 2
#define if_dim_code 3
#define if_odd_code 4
#define if_vmode_code 5
#define if_hmode_code 6
#define if_mmode_code 7
#define if_inner_code 8
#define if_void_code 9
#define if_hbox_code 10
#define if_vbox_code 11
#define ifx_code 12
#define if_eof_code 13
#define if_true_code 14
#define if_false_code 15
#define if_case_code 16 \

#define if_node_size 2
#define if_line_field(X) mem[X+1].i
#define if_code 1
#define fi_code 2
#define else_code 3
#define or_code 4 \

#define get_x_token_or_active_char  \
{get_x_token() ; \
if(cur_cmd==relax) if(cur_chr==no_expand_flag)  \
{cur_cmd= active_char; \
cur_chr= cur_tok-cs_token_flag-active_base; \
} \
} \

#define append_to_name(X) {c= X;incr(k) ; \
if(k<=file_name_size) name_of_file[k]= xchr[c]; \
} \

#define format_default_length 20
#define format_area_length 11
#define format_ext_length 4
#define format_extension_str ".fmt" \

#define pack_cur_name pack_file_name(cur_name,cur_area,cur_ext)  \

#define no_tag 0
#define lig_tag 1
#define list_tag 2
#define ext_tag 3 \

#define stop_flag qi(128) 
#define kern_flag qi(128) 
#define skip_byte(X) X.b0
#define next_char(X) X.b1
#define op_byte(X) X.b2
#define rem_byte(X) X.b3 \

#define ext_top(X) X.b0
#define ext_mid(X) X.b1
#define ext_bot(X) X.b2
#define ext_rep(X) X.b3 \

#define slant_code 1
#define space_code 2
#define space_stretch_code 3
#define space_shrink_code 4
#define x_height_code 5
#define quad_code 6
#define extra_space_code 7 \

#define non_char qi(256) 
#define non_address 0 \

#define char_info_end(X) X].qqqq
#define char_info(X) font_info[char_base[X]+char_info_end
#define char_width_end(X) X.b0].sc
#define char_width(X) font_info[width_base[X]+char_width_end
#define char_exists(X) (X.b0> min_quarterword) 
#define char_italic_end(X) (qo(X.b2) ) /4].sc
#define char_italic(X) font_info[italic_base[X]+char_italic_end
#define height_depth(X) qo(X.b1) 
#define char_height_end(X) (X) /16].sc
#define char_height(X) font_info[height_base[X]+char_height_end
#define char_depth_end(X) (X) %16].sc
#define char_depth(X) font_info[depth_base[X]+char_depth_end
#define char_tag(X) ((qo(X.b2) ) %4)  \

#define char_kern_end(X) 256*op_byte(X) +rem_byte(X) ].sc
#define char_kern(X) font_info[kern_base[X]+char_kern_end
#define kern_base_offset 256*(128+min_quarterword) 
#define lig_kern_start(X) lig_kern_base[X]+rem_byte
#define lig_kern_restart_end(X) 256*op_byte(X) +rem_byte(X) +32768-kern_base_offset
#define lig_kern_restart(X) lig_kern_base[X]+lig_kern_restart_end \

#define param_end(X) param_base[X]].sc
#define param(X) font_info[X+param_end
#define slant param(slant_code) 
#define space param(space_code) 
#define space_stretch param(space_stretch_code) 
#define space_shrink param(space_shrink_code) 
#define x_height param(x_height_code) 
#define quad param(quad_code) 
#define extra_space param(extra_space_code)  \

#define abort goto bad_tfm \

#define start_font_error_message print_err("Font ") ;sprint_cs(u) ; \
print_char('=') ;print_file_name(nom,aire,empty_string) ; \
if(s>=0)  \
{print_str(" at ") ;print_scaled(s) ;print_str("pt") ; \
} \
else if(s!=-1000)  \
{print_str(" scaled ") ;print_int(-s) ; \
} \

#define fget get(tfm_file) 
#define fbyte tfm_file.d
#define read_sixteen(X) {X= fbyte; \
if(X> 127) abort; \
fget;X= X*0400+fbyte; \
}
#define store_four_quarters(X) {fget;a= fbyte;qw.b0= qi(a) ; \
fget;b= fbyte;qw.b1= qi(b) ; \
fget;c= fbyte;qw.b2= qi(c) ; \
fget;d= fbyte;qw.b3= qi(d) ; \
X= qw; \
} \

#define check_byte_range(X) {if((X<bc) ||(X> ec) ) abort;}
#define current_character_being_worked_on k+bc-fmem_ptr \

#define store_scaled(X) {fget;a= fbyte;fget;b= fbyte; \
fget;c= fbyte;fget;d= fbyte; \
sw= (((((d*z) /0400) +(c*z) ) /0400) +(b*z) ) /beta; \
if(a==0) X= sw;else if(a==255) X= sw-alpha;else abort; \
} \

#define check_existence(X)  \
{check_byte_range(X) ; \
qw= char_info(f) (X) ; \
if(!char_exists(qw) ) abort; \
} \

#define adjust(X) X[f]= qo(X[f])  \
 \

#define set_char_0 0
#define set1 128
#define set_rule 132
#define put_rule 137
#define nop 138
#define bop 139
#define eop 140
#define push 141
#define pop 142
#define right1 143
#define w0 147
#define w1 148
#define x0 152
#define x1 153
#define down1 157
#define y0 161
#define y1 162
#define z0 166
#define z1 167
#define fnt_num_0 171
#define fnt1 235
#define xxx1 239
#define xxx4 242
#define fnt_def1 243
#define pre 247
#define post 248
#define post_post 249 \

#define id_byte 2 \

#define dvi_out(X) {dvi_buf[dvi_ptr]= X;incr(dvi_ptr) ; \
if(dvi_ptr==dvi_limit) dvi_swap() ; \
} \

#define movement_node_size 3
#define location(X) mem[X+2].i \

#define y_here 1
#define z_here 2
#define yz_OK 3
#define y_OK 4
#define z_OK 5
#define d_fixed 6 \

#define none_seen 0
#define y_seen 6
#define z_seen 12 \

#define synch_h if(cur_h!=dvi_h)  \
{movement(cur_h-dvi_h,right1) ;dvi_h= cur_h; \
}
#define synch_v if(cur_v!=dvi_v)  \
{movement(cur_v-dvi_v,down1) ;dvi_v= cur_v; \
} \

#define billion float_constant(1000000000) 
#define vet_glue(X) glue_temp= X; \
if(glue_temp> billion)  \
glue_temp= billion; \
else if(glue_temp<-billion)  \
glue_temp= -billion \

#define exactly 0
#define additional 1
#define natural 0,additional \

#define noad_size 4
#define nucleus(X) X+1
#define supscr(X) X+2
#define subscr(X) X+3
#define math_type link
#define fam font
#define math_char 1
#define sub_box 2
#define sub_mlist 3
#define math_text_char 4 \

#define ord_noad (unset_node+3) 
#define op_noad (ord_noad+1) 
#define bin_noad (ord_noad+2) 
#define rel_noad (ord_noad+3) 
#define open_noad (ord_noad+4) 
#define close_noad (ord_noad+5) 
#define punct_noad (ord_noad+6) 
#define inner_noad (ord_noad+7) 
#define limits 1
#define no_limits 2 \

#define left_delimiter(X) X+4
#define right_delimiter(X) X+5
#define radical_noad (inner_noad+1) 
#define radical_noad_size 5
#define fraction_noad (radical_noad+1) 
#define fraction_noad_size 6
#define small_fam(X) mem[X].qqqq.b0
#define small_char(X) mem[X].qqqq.b1
#define large_fam(X) mem[X].qqqq.b2
#define large_char(X) mem[X].qqqq.b3
#define thickness width
#define default_code 010000000000
#define numerator supscr
#define denominator subscr \

#define under_noad (fraction_noad+1) 
#define over_noad (under_noad+1) 
#define accent_noad (over_noad+1) 
#define accent_noad_size 5
#define accent_chr(X) X+4
#define vcenter_noad (accent_noad+1) 
#define left_noad (vcenter_noad+1) 
#define right_noad (left_noad+1) 
#define delimiter nucleus
#define scripts_allowed(X) (type(X) >=ord_noad) &&(type(X) <left_noad)  \

#define style_node (unset_node+1) 
#define style_node_size 3
#define display_style 0
#define text_style 2
#define script_style 4
#define script_script_style 6
#define cramped 1 \

#define choice_node (unset_node+2) 
#define display_mlist(X) info(X+1) 
#define text_mlist(X) link(X+1) 
#define script_mlist(X) info(X+2) 
#define script_script_mlist(X) link(X+2)  \

#define text_size 0
#define script_size 16
#define script_script_size 32 \

#define mathsy_end(X) fam_fnt(2+X) ]].sc
#define mathsy(X) font_info[X+param_base[mathsy_end
#define math_x_height mathsy(5) 
#define math_quad mathsy(6) 
#define num1 mathsy(8) 
#define num2 mathsy(9) 
#define num3 mathsy(10) 
#define denom1 mathsy(11) 
#define denom2 mathsy(12) 
#define sup1 mathsy(13) 
#define sup2 mathsy(14) 
#define sup3 mathsy(15) 
#define sub1 mathsy(16) 
#define sub2 mathsy(17) 
#define sup_drop mathsy(18) 
#define sub_drop mathsy(19) 
#define delim1 mathsy(20)  \

#define delim2 mathsy(21) 
#define axis_height mathsy(22) 
#define total_mathsy_params 22 \

#define mathex(X) font_info[X+param_base[fam_fnt(3+cur_size) ]].sc
#define default_rule_thickness mathex(8) 
#define big_op_spacing1 mathex(9) 
#define big_op_spacing2 mathex(10) 
#define big_op_spacing3 mathex(11) 
#define big_op_spacing4 mathex(12) 
#define big_op_spacing5 mathex(13) 
#define total_mathex_params 13 \

#define cramped_style(X) 2*(X/2) +cramped
#define sub_style(X) 2*(X/4) +script_style+cramped
#define sup_style(X) 2*(X/4) +script_style+(X%2) 
#define num_style(X) X+2-2*(X/6) 
#define denom_style(X) 2*(X/2) +cramped+2-2*(X/6)  \

#define mu_mult(X) nx_plus_y(n,X,xn_over_d(X,f,0200000) )  \

#define new_hlist(X) mem[nucleus(X) ].i \

#define choose_mlist(X) {p= X(q) ;X(q) = null;} \

#define math_spacing_str  \
 \
"math_spacing" \
 \

#define u_part(X) mem[X+height_offset].i
#define v_part(X) mem[X+depth_offset].i
#define extra_info(X) info(X+list_offset)  \

#define preamble link(align_head) 
#define align_stack_node_size 5 \

#define span_code 256
#define cr_code 257
#define cr_cr_code (cr_code+1) 
#define end_template_token cs_token_flag+frozen_end_template \

#define span_node_size 2 \

#define tight_fit 3 \

#define loose_fit 1 \

#define very_loose_fit 0 \

#define decent_fit 2 \

#define active_node_size 3
#define fitness subtype
#define break_node rlink
#define line_number llink
#define total_demerits(X) mem[X+2].i
#define unhyphenated 0
#define hyphenated 1
#define last_active active \

#define passive_node_size 2
#define cur_break rlink
#define prev_break llink
#define serial info \

#define delta_node_size 7
#define delta_node 2 \

#define do_all_six(X) X(1) ;X(2) ;X(3) ;X(4) ;X(5) ;X(6)  \

#define check_shrinkage(X) if((shrink_order(X) !=normal) &&(shrink(X) !=0) )  \
{X= finite_shrink(X) ; \
} \

#define copy_to_cur_active(X) cur_active_width[X]= active_width[X]
#define update_width(X)  \
cur_active_width[X]= cur_active_width[X]+mem[r+X].sc \

#define awful_bad 07777777777 \

#define set_break_width_to_background(X) break_width[X]= background[X] \

#define convert_to_break_width(X)  \
mem[prev_r+X].sc= mem[prev_r+X].sc \
-cur_active_width[X]+break_width[X]
#define store_break_width(X) active_width[X]= break_width[X]
#define new_delta_to_break_width(X)  \
mem[q+X].sc= break_width[X]-cur_active_width[X] \

#define new_delta_from_break_width(X) mem[q+X].sc=  \
cur_active_width[X]-break_width[X] \

#define combine_two_deltas(X) mem[prev_r+X].sc= mem[prev_r+X].sc+mem[r+X].sc
#define downdate_width(X) cur_active_width[X]= cur_active_width[X]- \
mem[prev_r+X].sc \

#define update_active(X) active_width[X]= active_width[X]+mem[r+X].sc \

#define store_background(X) active_width[X]= background[X] \

#define act_width active_width[1]
#define kern_break {if(!is_char_node(link(cur_p) ) &&auto_breaking)  \
if(type(link(cur_p) ) ==glue_node) try_break(0,unhyphenated) ; \
act_width= act_width+width(cur_p) ; \
} \

#define next_break prev_break \

#define append_charnode_to_t(X) {link(t) = get_avail() ;t= link(t) ; \
font(t) = hf;character(t) = X; \
}
#define set_cur_r {if(j<n) cur_r= qi(hu[j+1]) ;else cur_r= bchar; \
if(odd(hyf[j]) ) cur_rh= hchar;else cur_rh= non_char; \
} \

#define wrap_lig(X) if(ligature_present)  \
{p= new_ligature(hf,cur_l,link(cur_q) ) ; \
if(lft_hit)  \
{subtype(p) = 2;lft_hit= false; \
} \
if(X) if(lig_stack==null)  \
{incr(subtype(p) ) ;rt_hit= false; \
} \
link(cur_q) = p;t= p;ligature_present= false; \
}
#define pop_lig_stack {if(lig_ptr(lig_stack) > null)  \
{link(t) = lig_ptr(lig_stack) ; \
t= link(t) ;incr(j) ; \
} \
p= lig_stack;lig_stack= link(p) ;free_node(p,small_node_size) ; \
if(lig_stack==null) set_cur_r else cur_r= character(lig_stack) ; \
} \

#define advance_major_tail {major_tail= link(major_tail) ;incr(r_count) ; \
} \

#define trie_link(X) trie[X].rh
#define trie_char(X) trie[X].b1
#define trie_op(X) trie[X].b0 \

#define set_cur_lang if(language<=0) cur_lang= 0; \
else if(language> 255) cur_lang= 0; \
else cur_lang= language \

#define trie_root trie_l[0] \

#define trie_ref trie_hash
#define trie_back(X) trie[X].lh \

#define active_height active_width
#define cur_height active_height[1]
#define set_height_zero(X) active_height[X]= 0 \

#define deplorable 100000 \

#define inserts_only 1 \

#define box_there 2 \

#define page_ins_node_size 4
#define inserting 0
#define split_up 1
#define broken_ptr(X) link(X+1)  \

#define broken_ins(X) info(X+1) 
#define last_ins_ptr(X) link(X+2) 
#define best_ins_ptr(X) info(X+2)  \

#define page_goal page_so_far[0]
#define page_total page_so_far[1]
#define page_shrink page_so_far[6]
#define page_depth page_so_far[7] \

#define print_plus_end(X) print_str(X) ;}
#define print_plus(X) if(page_so_far[X]!=0)  \
{print_str(" plus ") ;print_scaled(page_so_far[X]) ;print_plus_end \

#define set_page_so_far_zero(X) page_so_far[X]= 0 \

#define contrib_tail nest[0].tail_field \

#define adjust_space_factor  \
main_s= sf_code(cur_chr) ; \
if(main_s==1000) space_factor= 1000; \
else if(main_s<1000)  \
{if(main_s> 0) space_factor= main_s; \
} \
else if(space_factor<1000) space_factor= 1000; \
else space_factor= main_s \

#define pack_lig(X)  \
{main_p= new_ligature(main_f,cur_l,link(cur_q) ) ; \
if(lft_hit)  \
{subtype(main_p) = 2;lft_hit= false; \
} \
if(X) if(lig_stack==null)  \
{incr(subtype(main_p) ) ;rt_hit= false; \
} \
link(cur_q) = main_p;tail= main_p;ligature_present= false; \
} \

#define wrapup(X) if(cur_l<non_char)  \
{if(link(cur_q) > null)  \
if(character(tail) ==qi(hyphen_char[main_f]) ) ins_disc= true; \
if(ligature_present) pack_lig(X) ; \
if(ins_disc)  \
{ins_disc= false; \
if(mode> 0) tail_append(new_disc() ) ; \
} \
} \

#define any_mode(X) case vmode+X:case hmode+X:case mmode+X \

#define non_math(X) case vmode+X:case hmode+X \

#define fil_code 0
#define fill_code 1
#define ss_code 2
#define fil_neg_code 3
#define skip_code 4
#define mskip_code 5 \

#define box_flag 010000000000
#define ship_out_flag box_flag+512
#define leader_flag box_flag+513
#define box_code 0
#define copy_code 1
#define last_box_code 2
#define vsplit_code 3
#define vtop_code 4 \

#define fam_in_range ((cur_fam>=0) &&(cur_fam<16) )  \

#define above_code 0
#define over_code 1
#define atop_code 2
#define delimited_code 3 \

#define global (a>=4) 
#define define(X,Y,Z) if(global) geq_define(X,Y,Z) ;else eq_define(X,Y,Z) 
#define word_define(X,Y) if(global) geq_word_define(X,Y) ;else eq_word_define(X,Y)  \

#define char_def_code 0
#define math_char_def_code 1
#define count_def_code 2
#define dimen_def_code 3
#define skip_def_code 4
#define mu_skip_def_code 5
#define toks_def_code 6 \

#define show_code 0
#define show_box_code 1
#define show_the_code 2
#define show_lists 3 \

#define too_small(X) {wake_up_terminal; \
wterm_ln("---! Must increase the %s",X) ; \
 \
goto bad_fmt; \
} \

#define dump_wd(X) {fmt_file.d= X;put(fmt_file) ;}
#define dump_int(X) {fmt_file.d.i= X;put(fmt_file) ;}
#define dump_hh(X) {fmt_file.d.hh= X;put(fmt_file) ;}
#define dump_qqqq(X) {fmt_file.d.qqqq= X;put(fmt_file) ;} \

#define undump_wd(X) {get(fmt_file) ;X= fmt_file.d;}
#define undump_int(X) {get(fmt_file) ;X= fmt_file.d.i;}
#define undump_hh(X) {get(fmt_file) ;X= fmt_file.d.hh;}
#define undump_qqqq(X) {get(fmt_file) ;X= fmt_file.d.qqqq;}
#define undump_end_end(X) X= x;}
#define undump_end(X) (x> X) ) goto bad_fmt;else undump_end_end
#define undump(X) {undump_int(x) ;if((x<X) ||undump_end
#define undump_size_end_end(X) too_small(X) else undump_end_end
#define undump_size_end(X) if(x> X) undump_size_end_end
#define undump_size(X) {undump_int(x) ; \
if(x<X) goto bad_fmt;undump_size_end \

#define dump_four_ASCII  \
w.b0= qi(so(str_pool[k]) ) ;w.b1= qi(so(str_pool[k+1]) ) ; \
w.b2= qi(so(str_pool[k+2]) ) ;w.b3= qi(so(str_pool[k+3]) ) ; \
dump_qqqq(w)  \

#define undump_four_ASCII  \
undump_qqqq(w) ; \
str_pool[k]= si(qo(w.b0) ) ;str_pool[k+1]= si(qo(w.b1) ) ; \
str_pool[k+2]= si(qo(w.b2) ) ;str_pool[k+3]= si(qo(w.b3) )  \

#define write_node_size 2
#define open_node_size 3
#define open_node 0
#define write_node 1
#define close_node 2
#define special_node 3
#define language_node 4
#define what_lang(X) link(X+1) 
#define what_lhm(X) type(X+1) 
#define what_rhm(X) subtype(X+1) 
#define write_tokens(X) link(X+1) 
#define write_stream(X) info(X+1) 
#define open_name(X) link(X+1) 
#define open_area(X) info(X+2) 
#define open_ext(X) link(X+2)  \

#define immediate_code 4
#define set_language_code 5 \

#define adv_past(X) if(subtype(X) ==language_node)  \
{cur_lang= what_lang(X) ;l_hyf= what_lhm(X) ;r_hyf= what_rhm(X) ;} \

#define end_write_token cs_token_flag+end_write \

#define str_0_255 "^^@^^A^^B^^C^^D^^E^^F^^G^^H^^I^^J^^K^^L^^M^^N^^O" \
"^^P^^Q^^R^^S^^T^^U^^V^^W^^X^^Y^^Z^^[^^\\^^]^^^^^_" \
" !\"#$%&'()*+,-./" \
"0123456789:;<=>?" \
"@ABCDEFGHIJKLMNO" \
"PQRSTUVWXYZ[\\]^_" \
"`abcdefghijklmno" \
"pqrstuvwxyz{|}~^^?" \
"^^80^^81^^82^^83^^84^^85^^86^^87^^88^^89^^8a^^8b^^8c^^8d^^8e^^8f" \
"^^90^^91^^92^^93^^94^^95^^96^^97^^98^^99^^9a^^9b^^9c^^9d^^9e^^9f" \
"^^a0^^a1^^a2^^a3^^a4^^a5^^a6^^a7^^a8^^a9^^aa^^ab^^ac^^ad^^ae^^af" \
"^^b0^^b1^^b2^^b3^^b4^^b5^^b6^^b7^^b8^^b9^^ba^^bb^^bc^^bd^^be^^bf" \
"^^c0^^c1^^c2^^c3^^c4^^c5^^c6^^c7^^c8^^c9^^ca^^cb^^cc^^cd^^ce^^cf" \
"^^d0^^d1^^d2^^d3^^d4^^d5^^d6^^d7^^d8^^d9^^da^^db^^dc^^dd^^de^^df" \
"^^e0^^e1^^e2^^e3^^e4^^e5^^e6^^e7^^e8^^e9^^ea^^eb^^ec^^ed^^ee^^ef" \
"^^f0^^f1^^f2^^f3^^f4^^f5^^f6^^f7^^f8^^f9^^fa^^fb^^fc^^fd^^fe^^ff"
#define str_start_0_255 0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45, \
48,51,54,57,60,63,66,69,72,75,78,81,84,87,90,93, \
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, \
194,198,202,206,210,214,218,222,226,230,234,238,242,246,250,254, \
258,262,266,270,274,278,282,286,290,294,298,302,306,310,314,318, \
322,326,330,334,338,342,346,350,354,358,362,366,370,374,378,382, \
386,390,394,398,402,406,410,414,418,422,426,430,434,438,442,446, \
450,454,458,462,466,470,474,478,482,486,490,494,498,502,506,510, \
514,518,522,526,530,534,538,542,546,550,554,558,562,566,570,574, \
578,582,586,590,594,598,602,606,610,614,618,622,626,630,634,638, \
642,646,650,654,658,662,666,670,674,678,682,686,690,694,698,702,
#define str_256 "???"
#define str_257 "m2d5c2l5x2v5i"
#define str_258 "batchmode"
#define str_259 "nonstopmode"
#define str_260 "scrollmode"
#define str_261 "CLOBBERED."
#define str_262 "fil"
#define str_263 "unset"
#define str_264 "rule("
#define str_265 "insert"
#define str_266 "glue"
#define str_267 "nonscript"
#define str_268 "mskip"
#define str_269 "mu"
#define str_270 ""
#define empty_string 270
#define str_271 "kern"
#define str_272 "mkern"
#define str_273 "math"
#define str_274 "penalty "
#define str_275 "discretionary"
#define str_276 "mark"
#define str_277 "vadjust"
#define str_278 "flushing"
#define str_279 "copying"
#define str_280 "lineskip"
#define str_281 "baselineskip"
#define str_282 "parskip"
#define str_283 "abovedisplayskip"
#define str_284 "belowdisplayskip"
#define str_285 "abovedisplayshortskip"
#define str_286 "belowdisplayshortskip"
#define str_287 "leftskip"
#define str_288 "rightskip"
#define str_289 "topskip"
#define str_290 "splittopskip"
#define str_291 "tabskip"
#define str_292 "spaceskip"
#define str_293 "xspaceskip"
#define str_294 "parfillskip"
#define str_295 "thinmuskip"
#define str_296 "medmuskip"
#define str_297 "thickmuskip"
#define str_298 "skip"
#define str_299 "muskip"
#define str_300 "pt"
#define str_301 "output"
#define str_302 "everypar"
#define str_303 "everymath"
#define str_304 "everydisplay"
#define str_305 "everyhbox"
#define str_306 "everyvbox"
#define str_307 "everyjob"
#define str_308 "everycr"
#define str_309 "errhelp"
#define str_310 "toks"
#define str_311 "parshape"
#define str_312 "box"
#define str_313 "textfont"
#define str_314 "scriptfont"
#define str_315 "scriptscriptfont"
#define str_316 "catcode"
#define str_317 "lccode"
#define str_318 "uccode"
#define str_319 "sfcode"
#define str_320 "mathcode"
#define str_321 "pretolerance"
#define str_322 "tolerance"
#define str_323 "linepenalty"
#define str_324 "hyphenpenalty"
#define str_325 "exhyphenpenalty"
#define str_326 "clubpenalty"
#define str_327 "widowpenalty"
#define str_328 "displaywidowpenalty"
#define str_329 "brokenpenalty"
#define str_330 "binoppenalty"
#define str_331 "relpenalty"
#define str_332 "predisplaypenalty"
#define str_333 "postdisplaypenalty"
#define str_334 "interlinepenalty"
#define str_335 "doublehyphendemerits"
#define str_336 "finalhyphendemerits"
#define str_337 "adjdemerits"
#define str_338 "mag"
#define str_339 "delimiterfactor"
#define str_340 "looseness"
#define str_341 "time"
#define str_342 "day"
#define str_343 "month"
#define str_344 "year"
#define str_345 "showboxbreadth"
#define str_346 "showboxdepth"
#define str_347 "hbadness"
#define str_348 "vbadness"
#define str_349 "pausing"
#define str_350 "tracingonline"
#define str_351 "tracingmacros"
#define str_352 "tracingstats"
#define str_353 "tracingparagraphs"
#define str_354 "tracingpages"
#define str_355 "tracingoutput"
#define str_356 "tracinglostchars"
#define str_357 "tracingcommands"
#define str_358 "tracingrestores"
#define str_359 "uchyph"
#define str_360 "outputpenalty"
#define str_361 "maxdeadcycles"
#define str_362 "hangafter"
#define str_363 "floatingpenalty"
#define str_364 "globaldefs"
#define str_365 "fam"
#define str_366 "escapechar"
#define str_367 "defaulthyphenchar"
#define str_368 "defaultskewchar"
#define str_369 "endlinechar"
#define str_370 "newlinechar"
#define str_371 "language"
#define str_372 "lefthyphenmin"
#define str_373 "righthyphenmin"
#define str_374 "holdinginserts"
#define str_375 "errorcontextlines"
#define str_376 "count"
#define str_377 "delcode"
#define str_378 "parindent"
#define str_379 "mathsurround"
#define str_380 "lineskiplimit"
#define str_381 "hsize"
#define str_382 "vsize"
#define str_383 "maxdepth"
#define str_384 "splitmaxdepth"
#define str_385 "boxmaxdepth"
#define str_386 "hfuzz"
#define str_387 "vfuzz"
#define str_388 "delimitershortfall"
#define str_389 "nulldelimiterspace"
#define str_390 "scriptspace"
#define str_391 "predisplaysize"
#define str_392 "displaywidth"
#define str_393 "displayindent"
#define str_394 "overfullrule"
#define str_395 "hangindent"
#define str_396 "hoffset"
#define str_397 "voffset"
#define str_398 "emergencystretch"
#define str_399 "dimen"
#define str_400 "notexpanded:"
#define str_401 "csname"
#define str_402 "endcsname"
#define str_403 "IMPOSSIBLE."
#define str_404 "NONEXISTENT."
#define str_405 "accent"
#define str_406 "advance"
#define str_407 "afterassignment"
#define str_408 "aftergroup"
#define str_409 "begingroup"
#define str_410 "char"
#define str_411 "delimiter"
#define str_412 "divide"
#define str_413 "endgroup"
#define str_414 "expandafter"
#define str_415 "font"
#define str_416 "fontdimen"
#define str_417 "halign"
#define str_418 "hrule"
#define str_419 "ignorespaces"
#define str_420 "mathaccent"
#define str_421 "mathchar"
#define str_422 "mathchoice"
#define str_423 "multiply"
#define str_424 "noalign"
#define str_425 "noboundary"
#define str_426 "noexpand"
#define str_427 "omit"
#define str_428 "penalty"
#define str_429 "prevgraf"
#define str_430 "radical"
#define str_431 "read"
#define str_432 "relax"
#define str_433 "setbox"
#define str_434 "the"
#define str_435 "valign"
#define str_436 "vcenter"
#define str_437 "vrule"
#define str_438 "curlevel"
#define str_439 "retaining"
#define str_440 "restoring"
#define str_441 "ETC."
#define str_442 "BAD."
#define str_443 "write"
#define str_444 "par"
#define str_445 "input"
#define str_446 "endinput"
#define str_447 "topmark"
#define str_448 "firstmark"
#define str_449 "botmark"
#define str_450 "splitfirstmark"
#define str_451 "splitbotmark"
#define str_452 "spacefactor"
#define str_453 "prevdepth"
#define str_454 "deadcycles"
#define str_455 "insertpenalties"
#define str_456 "wd"
#define str_457 "ht"
#define str_458 "dp"
#define str_459 "lastpenalty"
#define str_460 "lastkern"
#define str_461 "lastskip"
#define str_462 "inputlineno"
#define str_463 "badness"
#define str_464 "true"
#define str_465 "em"
#define str_466 "ex"
#define str_467 "in"
#define str_468 "pc"
#define str_469 "cm"
#define str_470 "mm"
#define str_471 "bp"
#define str_472 "dd"
#define str_473 "cc"
#define str_474 "sp"
#define str_475 "plus"
#define str_476 "minus"
#define str_477 "width"
#define str_478 "height"
#define str_479 "depth"
#define str_480 "number"
#define str_481 "romannumeral"
#define str_482 "string"
#define str_483 "meaning"
#define str_484 "fontname"
#define str_485 "jobname"
#define str_486 "if"
#define str_487 "ifcat"
#define str_488 "ifnum"
#define str_489 "ifdim"
#define str_490 "ifodd"
#define str_491 "ifvmode"
#define str_492 "ifhmode"
#define str_493 "ifmmode"
#define str_494 "ifinner"
#define str_495 "ifvoid"
#define str_496 "ifhbox"
#define str_497 "ifvbox"
#define str_498 "ifx"
#define str_499 "ifeof"
#define str_500 "iftrue"
#define str_501 "iffalse"
#define str_502 "ifcase"
#define str_503 "fi"
#define str_504 "or"
#define str_505 "else"
#define str_506 "TeXinputs/"
#define TEX_area 506
#define str_507 "TeXfonts/"
#define TEX_font_area 507
#define str_508 ".fmt"
#define format_extension 508
#define str_509 ".log"
#define str_510 ".dvi"
#define str_511 "input file name"
#define str_512 ".tex"
#define str_513 "texput"
#define str_514 "nullfont"
#define str_515 ".tfm"
#define str_516 "vlistout"
#define str_517 "to"
#define str_518 "spread"
#define str_519 "vpack"
#define str_520 "displaystyle"
#define str_521 "textstyle"
#define str_522 "scriptstyle"
#define str_523 "scriptscriptstyle"
#define str_524 "mathord"
#define str_525 "mathop"
#define str_526 "mathbin"
#define str_527 "mathrel"
#define str_528 "mathopen"
#define str_529 "mathclose"
#define str_530 "mathpunct"
#define str_531 "mathinner"
#define str_532 "overline"
#define str_533 "underline"
#define str_534 "left"
#define str_535 "right"
#define str_536 "limits"
#define str_537 "nolimits"
#define str_538 "fraction, thickness "
#define str_539 "mlist1"
#define str_540 "mlist2"
#define str_541 "mlist3"
#define str_542 "0234000122*4000133**3**344*0400400*000000234000111*1111112341011"
#define math_spacing 542
#define str_543 "mlist4"
#define str_544 "span"
#define str_545 "cr"
#define str_546 "crcr"
#define str_547 "endtemplate"
#define str_548 "endv"
#define str_549 "256 spans"
#define str_550 "align1"
#define str_551 "align0"
#define str_552 "disc1"
#define str_553 "disc2"
#define str_554 "paragraph"
#define str_555 "disc3"
#define str_556 "disc4"
#define str_557 "line breaking"
#define str_558 "hyphenation"
#define str_559 "patterns"
#define str_560 "pruning"
#define str_561 "vertbreak"
#define str_562 "vsplit"
#define str_563 "vbox"
#define str_564 "pagegoal"
#define str_565 "pagetotal"
#define str_566 "pagestretch"
#define str_567 "pagefilstretch"
#define str_568 "pagefillstretch"
#define str_569 "pagefilllstretch"
#define str_570 "pageshrink"
#define str_571 "pagedepth"
#define str_572 "page"
#define str_573 "end"
#define str_574 "dump"
#define str_575 "hskip"
#define str_576 "hfil"
#define str_577 "hfill"
#define str_578 "hss"
#define str_579 "hfilneg"
#define str_580 "vskip"
#define str_581 "vfil"
#define str_582 "vfill"
#define str_583 "vss"
#define str_584 "vfilneg"
#define str_585 "right."
#define str_586 "rightbrace"
#define str_587 "moveleft"
#define str_588 "moveright"
#define str_589 "raise"
#define str_590 "lower"
#define str_591 "copy"
#define str_592 "lastbox"
#define str_593 "vtop"
#define str_594 "hbox"
#define str_595 "shipout"
#define str_596 "leaders"
#define str_597 "cleaders"
#define str_598 "xleaders"
#define str_599 "indent"
#define str_600 "noindent"
#define str_601 "unpenalty"
#define str_602 "unkern"
#define str_603 "unskip"
#define str_604 "unhbox"
#define str_605 "unhcopy"
#define str_606 "unvbox"
#define str_607 "unvcopy"
#define str_608 "eqno"
#define str_609 "leqno"
#define str_610 "displaylimits"
#define str_611 "above"
#define str_612 "over"
#define str_613 "atop"
#define str_614 "abovewithdelims"
#define str_615 "overwithdelims"
#define str_616 "atopwithdelims"
#define str_617 "display"
#define str_618 "long"
#define str_619 "outer"
#define str_620 "global"
#define str_621 "def"
#define str_622 "gdef"
#define str_623 "edef"
#define str_624 "xdef"
#define str_625 "prefix"
#define str_626 "inaccessible"
#define str_627 "let"
#define str_628 "futurelet"
#define str_629 "chardef"
#define str_630 "mathchardef"
#define str_631 "countdef"
#define str_632 "dimendef"
#define str_633 "skipdef"
#define str_634 "muskipdef"
#define str_635 "toksdef"
#define str_636 "by"
#define str_637 "hyphenchar"
#define str_638 "skewchar"
#define str_639 "FONT"
#define str_640 "at"
#define str_641 "scaled"
#define str_642 "errorstopmode"
#define str_643 "openin"
#define str_644 "closein"
#define str_645 "message"
#define str_646 "errmessage"
#define str_647 "lowercase"
#define str_648 "uppercase"
#define str_649 "show"
#define str_650 "showbox"
#define str_651 "showthe"
#define str_652 "showlists"
#define str_653 "long macro"
#define str_654 "outer macro"
#define str_655 "outer endtemplate"
#define str_656 " (INITEX)"
#define str_657 "end occurred "
#define str_658 "openout"
#define str_659 "closeout"
#define str_660 "special"
#define str_661 "immediate"
#define str_662 "setlanguage"
#define str_663 "ext1"
#define str_664 "ext2"
#define str_665 "ext3"
#define str_666 "endwrite"
#define str_667 "ext4"

#line 358 "tex.w"


/*:9*//*56:*/
#line 1447 "tex.w"

#define put(file)    fwrite(&((file).d),sizeof((file).d),1,(file).f)
#define get(file)    fread(&((file).d),sizeof((file).d),1,(file).f)

#define reset(file,name,mode)   ((file).f= fopen((char *)(name)+1,mode),\
                                 (file).f!=NULL?get(file):0)
#define rewrite(file,name,mode) ((file).f= fopen((char *)(name)+1,mode))
#define close(file)    fclose((file).f)
#define eof(file)    feof((file).f)
#define eoln(file)    ((file).d=='\n'||eof(file))
#define erstat(file)   ((file).f==NULL?-1:ferror((file).f))

#define read(file,x) ((x)= (file).d,get(file))
#define read_ln(file)  do get(file); while (!eoln(file))

#define write(file, format,...)    fprintf(file.f,format,## __VA_ARGS__)
#define write_ln(file,...)    write(file,__VA_ARGS__"\n")

#define wterm(format,...) write(term_out,format, ## __VA_ARGS__)
#define wterm_ln(format,...) wterm(format "\n", ## __VA_ARGS__)
#define wterm_cr         write(term_out,"\n")
#define wlog(format, ...) write(log_file,format, ## __VA_ARGS__)
#define wlog_ln(format, ...)   wlog(format "\n", ## __VA_ARGS__)
#define wlog_cr         write(log_file,"\n")

/*:56*/
#line 261 "tex.w"


/*6:*/
#line 289 "tex.w"




/*:6*/
#line 263 "tex.w"

/*11:*/
#line 396 "tex.w"

enum{mem_max= 30000};


enum{mem_min= 0};


enum{buf_size= 500};


enum{error_line= 72};
enum{half_error_line= 42};

enum{max_print_line= 79};
enum{stack_size= 200};
enum{max_in_open= 6};

enum{font_max= 75};

enum{font_mem_size= 20000};
enum{param_size= 60};
enum{nest_size= 40};
enum{max_strings= 3000};
enum{string_vacancies= 8000};


enum{pool_size= 32000};



enum{save_size= 600};

enum{trie_size= 8000};

enum{trie_op_size= 500};
enum{dvi_buf_size= 800};
enum{file_name_size= 40};
const char*pool_name= "TeXformats:TEX.POOL                     ";



/*:11*/
#line 264 "tex.w"

/*18:*/
#line 539 "tex.w"

typedef uint8_t ASCII_code;

/*:18*//*25:*/
#line 774 "tex.w"

typedef uint8_t eight_bits;
typedef struct{FILE*f;text_char d;}alpha_file;
typedef struct{FILE*f;eight_bits d;}byte_file;

/*:25*//*38:*/
#line 1132 "tex.w"

typedef uint16_t pool_pointer;
typedef uint16_t str_number;
typedef uint8_t packed_ASCII_code;

/*:38*//*101:*/
#line 2198 "tex.w"

typedef int scaled;
typedef uint32_t nonnegative_integer;
typedef uint8_t small_number;

/*:101*//*109:*/
#line 2390 "tex.w"

typedef float32_t glue_ratio;

/*:109*//*113:*/
#line 2494 "tex.w"

typedef uint8_t quarterword;
typedef uint16_t halfword;
typedef uint8_t two_choices;
typedef uint8_t four_choices;
typedef struct{
halfword rh;
union{
halfword lh;
struct{quarterword b0;quarterword b1;};
};}two_halves;
typedef struct{
quarterword b0;
quarterword b1;
quarterword b2;
quarterword b3;
}four_quarters;
typedef struct{
union{
int i;
glue_ratio gr;
two_halves hh;
four_quarters qqqq;
};}memory_word;
typedef struct{FILE*f;memory_word d;}word_file;

/*:113*//*150:*/
#line 3212 "tex.w"

typedef uint8_t glue_ord;

/*:150*//*212:*/
#line 4369 "tex.w"

typedef struct{int16_t mode_field;
pointer head_field,tail_field;
int pg_field,ml_field;
memory_word aux_field;
}list_state_record;

/*:212*//*269:*/
#line 5934 "tex.w"

typedef uint8_t group_code;

/*:269*//*300:*/
#line 6514 "tex.w"

typedef struct{
quarterword state_field,index_field;
halfword start_field,loc_field,limit_field,name_field;
}in_state_record;

/*:300*//*548:*/
#line 10743 "tex.w"

typedef uint8_t internal_font_number;
typedef uint16_t font_index;

/*:548*//*594:*/
#line 11923 "tex.w"

typedef uint16_t dvi_index;

/*:594*//*920:*/
#line 18138 "tex.w"

typedef uint16_t trie_pointer;

/*:920*//*925:*/
#line 18204 "tex.w"

typedef uint16_t hyph_pointer;

/*:925*/
#line 265 "tex.w"

/*13:*/
#line 467 "tex.w"

int bad;

/*:13*//*20:*/
#line 579 "tex.w"

ASCII_code xord[256];

uint8_t xchr[256];


/*:20*//*26:*/
#line 791 "tex.w"

uint8_t name_of_file0[file_name_size+1]= {0},*const name_of_file= name_of_file0-1;

uint8_t name_length;


/*:26*//*30:*/
#line 891 "tex.w"

ASCII_code buffer[buf_size+1];
uint16_t first;
uint16_t last;
uint16_t max_buf_stack;

/*:30*//*32:*/
#line 964 "tex.w"

alpha_file term_in;
alpha_file term_out;

/*:32*//*39:*/
#line 1137 "tex.w"

/*1795:*/
#line 26438 "tex.w"

typedef enum{
str_start_256= sizeof(str_0_255)-1,
str_start_257= str_start_256+sizeof(str_256)-1,
str_start_258= str_start_257+sizeof(str_257)-1,
str_start_259= str_start_258+sizeof(str_258)-1,
str_start_260= str_start_259+sizeof(str_259)-1,
str_start_261= str_start_260+sizeof(str_260)-1,
str_start_262= str_start_261+sizeof(str_261)-1,
str_start_263= str_start_262+sizeof(str_262)-1,
str_start_264= str_start_263+sizeof(str_263)-1,
str_start_265= str_start_264+sizeof(str_264)-1,
str_start_266= str_start_265+sizeof(str_265)-1,
str_start_267= str_start_266+sizeof(str_266)-1,
str_start_268= str_start_267+sizeof(str_267)-1,
str_start_269= str_start_268+sizeof(str_268)-1,
str_start_270= str_start_269+sizeof(str_269)-1,
str_start_271= str_start_270+sizeof(str_270)-1,
str_start_272= str_start_271+sizeof(str_271)-1,
str_start_273= str_start_272+sizeof(str_272)-1,
str_start_274= str_start_273+sizeof(str_273)-1,
str_start_275= str_start_274+sizeof(str_274)-1,
str_start_276= str_start_275+sizeof(str_275)-1,
str_start_277= str_start_276+sizeof(str_276)-1,
str_start_278= str_start_277+sizeof(str_277)-1,
str_start_279= str_start_278+sizeof(str_278)-1,
str_start_280= str_start_279+sizeof(str_279)-1,
str_start_281= str_start_280+sizeof(str_280)-1,
str_start_282= str_start_281+sizeof(str_281)-1,
str_start_283= str_start_282+sizeof(str_282)-1,
str_start_284= str_start_283+sizeof(str_283)-1,
str_start_285= str_start_284+sizeof(str_284)-1,
str_start_286= str_start_285+sizeof(str_285)-1,
str_start_287= str_start_286+sizeof(str_286)-1,
str_start_288= str_start_287+sizeof(str_287)-1,
str_start_289= str_start_288+sizeof(str_288)-1,
str_start_290= str_start_289+sizeof(str_289)-1,
str_start_291= str_start_290+sizeof(str_290)-1,
str_start_292= str_start_291+sizeof(str_291)-1,
str_start_293= str_start_292+sizeof(str_292)-1,
str_start_294= str_start_293+sizeof(str_293)-1,
str_start_295= str_start_294+sizeof(str_294)-1,
str_start_296= str_start_295+sizeof(str_295)-1,
str_start_297= str_start_296+sizeof(str_296)-1,
str_start_298= str_start_297+sizeof(str_297)-1,
str_start_299= str_start_298+sizeof(str_298)-1,
str_start_300= str_start_299+sizeof(str_299)-1,
str_start_301= str_start_300+sizeof(str_300)-1,
str_start_302= str_start_301+sizeof(str_301)-1,
str_start_303= str_start_302+sizeof(str_302)-1,
str_start_304= str_start_303+sizeof(str_303)-1,
str_start_305= str_start_304+sizeof(str_304)-1,
str_start_306= str_start_305+sizeof(str_305)-1,
str_start_307= str_start_306+sizeof(str_306)-1,
str_start_308= str_start_307+sizeof(str_307)-1,
str_start_309= str_start_308+sizeof(str_308)-1,
str_start_310= str_start_309+sizeof(str_309)-1,
str_start_311= str_start_310+sizeof(str_310)-1,
str_start_312= str_start_311+sizeof(str_311)-1,
str_start_313= str_start_312+sizeof(str_312)-1,
str_start_314= str_start_313+sizeof(str_313)-1,
str_start_315= str_start_314+sizeof(str_314)-1,
str_start_316= str_start_315+sizeof(str_315)-1,
str_start_317= str_start_316+sizeof(str_316)-1,
str_start_318= str_start_317+sizeof(str_317)-1,
str_start_319= str_start_318+sizeof(str_318)-1,
str_start_320= str_start_319+sizeof(str_319)-1,
str_start_321= str_start_320+sizeof(str_320)-1,
str_start_322= str_start_321+sizeof(str_321)-1,
str_start_323= str_start_322+sizeof(str_322)-1,
str_start_324= str_start_323+sizeof(str_323)-1,
str_start_325= str_start_324+sizeof(str_324)-1,
str_start_326= str_start_325+sizeof(str_325)-1,
str_start_327= str_start_326+sizeof(str_326)-1,
str_start_328= str_start_327+sizeof(str_327)-1,
str_start_329= str_start_328+sizeof(str_328)-1,
str_start_330= str_start_329+sizeof(str_329)-1,
str_start_331= str_start_330+sizeof(str_330)-1,
str_start_332= str_start_331+sizeof(str_331)-1,
str_start_333= str_start_332+sizeof(str_332)-1,
str_start_334= str_start_333+sizeof(str_333)-1,
str_start_335= str_start_334+sizeof(str_334)-1,
str_start_336= str_start_335+sizeof(str_335)-1,
str_start_337= str_start_336+sizeof(str_336)-1,
str_start_338= str_start_337+sizeof(str_337)-1,
str_start_339= str_start_338+sizeof(str_338)-1,
str_start_340= str_start_339+sizeof(str_339)-1,
str_start_341= str_start_340+sizeof(str_340)-1,
str_start_342= str_start_341+sizeof(str_341)-1,
str_start_343= str_start_342+sizeof(str_342)-1,
str_start_344= str_start_343+sizeof(str_343)-1,
str_start_345= str_start_344+sizeof(str_344)-1,
str_start_346= str_start_345+sizeof(str_345)-1,
str_start_347= str_start_346+sizeof(str_346)-1,
str_start_348= str_start_347+sizeof(str_347)-1,
str_start_349= str_start_348+sizeof(str_348)-1,
str_start_350= str_start_349+sizeof(str_349)-1,
str_start_351= str_start_350+sizeof(str_350)-1,
str_start_352= str_start_351+sizeof(str_351)-1,
str_start_353= str_start_352+sizeof(str_352)-1,
str_start_354= str_start_353+sizeof(str_353)-1,
str_start_355= str_start_354+sizeof(str_354)-1,
str_start_356= str_start_355+sizeof(str_355)-1,
str_start_357= str_start_356+sizeof(str_356)-1,
str_start_358= str_start_357+sizeof(str_357)-1,
str_start_359= str_start_358+sizeof(str_358)-1,
str_start_360= str_start_359+sizeof(str_359)-1,
str_start_361= str_start_360+sizeof(str_360)-1,
str_start_362= str_start_361+sizeof(str_361)-1,
str_start_363= str_start_362+sizeof(str_362)-1,
str_start_364= str_start_363+sizeof(str_363)-1,
str_start_365= str_start_364+sizeof(str_364)-1,
str_start_366= str_start_365+sizeof(str_365)-1,
str_start_367= str_start_366+sizeof(str_366)-1,
str_start_368= str_start_367+sizeof(str_367)-1,
str_start_369= str_start_368+sizeof(str_368)-1,
str_start_370= str_start_369+sizeof(str_369)-1,
str_start_371= str_start_370+sizeof(str_370)-1,
str_start_372= str_start_371+sizeof(str_371)-1,
str_start_373= str_start_372+sizeof(str_372)-1,
str_start_374= str_start_373+sizeof(str_373)-1,
str_start_375= str_start_374+sizeof(str_374)-1,
str_start_376= str_start_375+sizeof(str_375)-1,
str_start_377= str_start_376+sizeof(str_376)-1,
str_start_378= str_start_377+sizeof(str_377)-1,
str_start_379= str_start_378+sizeof(str_378)-1,
str_start_380= str_start_379+sizeof(str_379)-1,
str_start_381= str_start_380+sizeof(str_380)-1,
str_start_382= str_start_381+sizeof(str_381)-1,
str_start_383= str_start_382+sizeof(str_382)-1,
str_start_384= str_start_383+sizeof(str_383)-1,
str_start_385= str_start_384+sizeof(str_384)-1,
str_start_386= str_start_385+sizeof(str_385)-1,
str_start_387= str_start_386+sizeof(str_386)-1,
str_start_388= str_start_387+sizeof(str_387)-1,
str_start_389= str_start_388+sizeof(str_388)-1,
str_start_390= str_start_389+sizeof(str_389)-1,
str_start_391= str_start_390+sizeof(str_390)-1,
str_start_392= str_start_391+sizeof(str_391)-1,
str_start_393= str_start_392+sizeof(str_392)-1,
str_start_394= str_start_393+sizeof(str_393)-1,
str_start_395= str_start_394+sizeof(str_394)-1,
str_start_396= str_start_395+sizeof(str_395)-1,
str_start_397= str_start_396+sizeof(str_396)-1,
str_start_398= str_start_397+sizeof(str_397)-1,
str_start_399= str_start_398+sizeof(str_398)-1,
str_start_400= str_start_399+sizeof(str_399)-1,
str_start_401= str_start_400+sizeof(str_400)-1,
str_start_402= str_start_401+sizeof(str_401)-1,
str_start_403= str_start_402+sizeof(str_402)-1,
str_start_404= str_start_403+sizeof(str_403)-1,
str_start_405= str_start_404+sizeof(str_404)-1,
str_start_406= str_start_405+sizeof(str_405)-1,
str_start_407= str_start_406+sizeof(str_406)-1,
str_start_408= str_start_407+sizeof(str_407)-1,
str_start_409= str_start_408+sizeof(str_408)-1,
str_start_410= str_start_409+sizeof(str_409)-1,
str_start_411= str_start_410+sizeof(str_410)-1,
str_start_412= str_start_411+sizeof(str_411)-1,
str_start_413= str_start_412+sizeof(str_412)-1,
str_start_414= str_start_413+sizeof(str_413)-1,
str_start_415= str_start_414+sizeof(str_414)-1,
str_start_416= str_start_415+sizeof(str_415)-1,
str_start_417= str_start_416+sizeof(str_416)-1,
str_start_418= str_start_417+sizeof(str_417)-1,
str_start_419= str_start_418+sizeof(str_418)-1,
str_start_420= str_start_419+sizeof(str_419)-1,
str_start_421= str_start_420+sizeof(str_420)-1,
str_start_422= str_start_421+sizeof(str_421)-1,
str_start_423= str_start_422+sizeof(str_422)-1,
str_start_424= str_start_423+sizeof(str_423)-1,
str_start_425= str_start_424+sizeof(str_424)-1,
str_start_426= str_start_425+sizeof(str_425)-1,
str_start_427= str_start_426+sizeof(str_426)-1,
str_start_428= str_start_427+sizeof(str_427)-1,
str_start_429= str_start_428+sizeof(str_428)-1,
str_start_430= str_start_429+sizeof(str_429)-1,
str_start_431= str_start_430+sizeof(str_430)-1,
str_start_432= str_start_431+sizeof(str_431)-1,
str_start_433= str_start_432+sizeof(str_432)-1,
str_start_434= str_start_433+sizeof(str_433)-1,
str_start_435= str_start_434+sizeof(str_434)-1,
str_start_436= str_start_435+sizeof(str_435)-1,
str_start_437= str_start_436+sizeof(str_436)-1,
str_start_438= str_start_437+sizeof(str_437)-1,
str_start_439= str_start_438+sizeof(str_438)-1,
str_start_440= str_start_439+sizeof(str_439)-1,
str_start_441= str_start_440+sizeof(str_440)-1,
str_start_442= str_start_441+sizeof(str_441)-1,
str_start_443= str_start_442+sizeof(str_442)-1,
str_start_444= str_start_443+sizeof(str_443)-1,
str_start_445= str_start_444+sizeof(str_444)-1,
str_start_446= str_start_445+sizeof(str_445)-1,
str_start_447= str_start_446+sizeof(str_446)-1,
str_start_448= str_start_447+sizeof(str_447)-1,
str_start_449= str_start_448+sizeof(str_448)-1,
str_start_450= str_start_449+sizeof(str_449)-1,
str_start_451= str_start_450+sizeof(str_450)-1,
str_start_452= str_start_451+sizeof(str_451)-1,
str_start_453= str_start_452+sizeof(str_452)-1,
str_start_454= str_start_453+sizeof(str_453)-1,
str_start_455= str_start_454+sizeof(str_454)-1,
str_start_456= str_start_455+sizeof(str_455)-1,
str_start_457= str_start_456+sizeof(str_456)-1,
str_start_458= str_start_457+sizeof(str_457)-1,
str_start_459= str_start_458+sizeof(str_458)-1,
str_start_460= str_start_459+sizeof(str_459)-1,
str_start_461= str_start_460+sizeof(str_460)-1,
str_start_462= str_start_461+sizeof(str_461)-1,
str_start_463= str_start_462+sizeof(str_462)-1,
str_start_464= str_start_463+sizeof(str_463)-1,
str_start_465= str_start_464+sizeof(str_464)-1,
str_start_466= str_start_465+sizeof(str_465)-1,
str_start_467= str_start_466+sizeof(str_466)-1,
str_start_468= str_start_467+sizeof(str_467)-1,
str_start_469= str_start_468+sizeof(str_468)-1,
str_start_470= str_start_469+sizeof(str_469)-1,
str_start_471= str_start_470+sizeof(str_470)-1,
str_start_472= str_start_471+sizeof(str_471)-1,
str_start_473= str_start_472+sizeof(str_472)-1,
str_start_474= str_start_473+sizeof(str_473)-1,
str_start_475= str_start_474+sizeof(str_474)-1,
str_start_476= str_start_475+sizeof(str_475)-1,
str_start_477= str_start_476+sizeof(str_476)-1,
str_start_478= str_start_477+sizeof(str_477)-1,
str_start_479= str_start_478+sizeof(str_478)-1,
str_start_480= str_start_479+sizeof(str_479)-1,
str_start_481= str_start_480+sizeof(str_480)-1,
str_start_482= str_start_481+sizeof(str_481)-1,
str_start_483= str_start_482+sizeof(str_482)-1,
str_start_484= str_start_483+sizeof(str_483)-1,
str_start_485= str_start_484+sizeof(str_484)-1,
str_start_486= str_start_485+sizeof(str_485)-1,
str_start_487= str_start_486+sizeof(str_486)-1,
str_start_488= str_start_487+sizeof(str_487)-1,
str_start_489= str_start_488+sizeof(str_488)-1,
str_start_490= str_start_489+sizeof(str_489)-1,
str_start_491= str_start_490+sizeof(str_490)-1,
str_start_492= str_start_491+sizeof(str_491)-1,
str_start_493= str_start_492+sizeof(str_492)-1,
str_start_494= str_start_493+sizeof(str_493)-1,
str_start_495= str_start_494+sizeof(str_494)-1,
str_start_496= str_start_495+sizeof(str_495)-1,
str_start_497= str_start_496+sizeof(str_496)-1,
str_start_498= str_start_497+sizeof(str_497)-1,
str_start_499= str_start_498+sizeof(str_498)-1,
str_start_500= str_start_499+sizeof(str_499)-1,
str_start_501= str_start_500+sizeof(str_500)-1,
str_start_502= str_start_501+sizeof(str_501)-1,
str_start_503= str_start_502+sizeof(str_502)-1,
str_start_504= str_start_503+sizeof(str_503)-1,
str_start_505= str_start_504+sizeof(str_504)-1,
str_start_506= str_start_505+sizeof(str_505)-1,
str_start_507= str_start_506+sizeof(str_506)-1,
str_start_508= str_start_507+sizeof(str_507)-1,
str_start_509= str_start_508+sizeof(str_508)-1,
str_start_510= str_start_509+sizeof(str_509)-1,
str_start_511= str_start_510+sizeof(str_510)-1,
str_start_512= str_start_511+sizeof(str_511)-1,
str_start_513= str_start_512+sizeof(str_512)-1,
str_start_514= str_start_513+sizeof(str_513)-1,
str_start_515= str_start_514+sizeof(str_514)-1,
str_start_516= str_start_515+sizeof(str_515)-1,
str_start_517= str_start_516+sizeof(str_516)-1,
str_start_518= str_start_517+sizeof(str_517)-1,
str_start_519= str_start_518+sizeof(str_518)-1,
str_start_520= str_start_519+sizeof(str_519)-1,
str_start_521= str_start_520+sizeof(str_520)-1,
str_start_522= str_start_521+sizeof(str_521)-1,
str_start_523= str_start_522+sizeof(str_522)-1,
str_start_524= str_start_523+sizeof(str_523)-1,
str_start_525= str_start_524+sizeof(str_524)-1,
str_start_526= str_start_525+sizeof(str_525)-1,
str_start_527= str_start_526+sizeof(str_526)-1,
str_start_528= str_start_527+sizeof(str_527)-1,
str_start_529= str_start_528+sizeof(str_528)-1,
str_start_530= str_start_529+sizeof(str_529)-1,
str_start_531= str_start_530+sizeof(str_530)-1,
str_start_532= str_start_531+sizeof(str_531)-1,
str_start_533= str_start_532+sizeof(str_532)-1,
str_start_534= str_start_533+sizeof(str_533)-1,
str_start_535= str_start_534+sizeof(str_534)-1,
str_start_536= str_start_535+sizeof(str_535)-1,
str_start_537= str_start_536+sizeof(str_536)-1,
str_start_538= str_start_537+sizeof(str_537)-1,
str_start_539= str_start_538+sizeof(str_538)-1,
str_start_540= str_start_539+sizeof(str_539)-1,
str_start_541= str_start_540+sizeof(str_540)-1,
str_start_542= str_start_541+sizeof(str_541)-1,
str_start_543= str_start_542+sizeof(str_542)-1,
str_start_544= str_start_543+sizeof(str_543)-1,
str_start_545= str_start_544+sizeof(str_544)-1,
str_start_546= str_start_545+sizeof(str_545)-1,
str_start_547= str_start_546+sizeof(str_546)-1,
str_start_548= str_start_547+sizeof(str_547)-1,
str_start_549= str_start_548+sizeof(str_548)-1,
str_start_550= str_start_549+sizeof(str_549)-1,
str_start_551= str_start_550+sizeof(str_550)-1,
str_start_552= str_start_551+sizeof(str_551)-1,
str_start_553= str_start_552+sizeof(str_552)-1,
str_start_554= str_start_553+sizeof(str_553)-1,
str_start_555= str_start_554+sizeof(str_554)-1,
str_start_556= str_start_555+sizeof(str_555)-1,
str_start_557= str_start_556+sizeof(str_556)-1,
str_start_558= str_start_557+sizeof(str_557)-1,
str_start_559= str_start_558+sizeof(str_558)-1,
str_start_560= str_start_559+sizeof(str_559)-1,
str_start_561= str_start_560+sizeof(str_560)-1,
str_start_562= str_start_561+sizeof(str_561)-1,
str_start_563= str_start_562+sizeof(str_562)-1,
str_start_564= str_start_563+sizeof(str_563)-1,
str_start_565= str_start_564+sizeof(str_564)-1,
str_start_566= str_start_565+sizeof(str_565)-1,
str_start_567= str_start_566+sizeof(str_566)-1,
str_start_568= str_start_567+sizeof(str_567)-1,
str_start_569= str_start_568+sizeof(str_568)-1,
str_start_570= str_start_569+sizeof(str_569)-1,
str_start_571= str_start_570+sizeof(str_570)-1,
str_start_572= str_start_571+sizeof(str_571)-1,
str_start_573= str_start_572+sizeof(str_572)-1,
str_start_574= str_start_573+sizeof(str_573)-1,
str_start_575= str_start_574+sizeof(str_574)-1,
str_start_576= str_start_575+sizeof(str_575)-1,
str_start_577= str_start_576+sizeof(str_576)-1,
str_start_578= str_start_577+sizeof(str_577)-1,
str_start_579= str_start_578+sizeof(str_578)-1,
str_start_580= str_start_579+sizeof(str_579)-1,
str_start_581= str_start_580+sizeof(str_580)-1,
str_start_582= str_start_581+sizeof(str_581)-1,
str_start_583= str_start_582+sizeof(str_582)-1,
str_start_584= str_start_583+sizeof(str_583)-1,
str_start_585= str_start_584+sizeof(str_584)-1,
str_start_586= str_start_585+sizeof(str_585)-1,
str_start_587= str_start_586+sizeof(str_586)-1,
str_start_588= str_start_587+sizeof(str_587)-1,
str_start_589= str_start_588+sizeof(str_588)-1,
str_start_590= str_start_589+sizeof(str_589)-1,
str_start_591= str_start_590+sizeof(str_590)-1,
str_start_592= str_start_591+sizeof(str_591)-1,
str_start_593= str_start_592+sizeof(str_592)-1,
str_start_594= str_start_593+sizeof(str_593)-1,
str_start_595= str_start_594+sizeof(str_594)-1,
str_start_596= str_start_595+sizeof(str_595)-1,
str_start_597= str_start_596+sizeof(str_596)-1,
str_start_598= str_start_597+sizeof(str_597)-1,
str_start_599= str_start_598+sizeof(str_598)-1,
str_start_600= str_start_599+sizeof(str_599)-1,
str_start_601= str_start_600+sizeof(str_600)-1,
str_start_602= str_start_601+sizeof(str_601)-1,
str_start_603= str_start_602+sizeof(str_602)-1,
str_start_604= str_start_603+sizeof(str_603)-1,
str_start_605= str_start_604+sizeof(str_604)-1,
str_start_606= str_start_605+sizeof(str_605)-1,
str_start_607= str_start_606+sizeof(str_606)-1,
str_start_608= str_start_607+sizeof(str_607)-1,
str_start_609= str_start_608+sizeof(str_608)-1,
str_start_610= str_start_609+sizeof(str_609)-1,
str_start_611= str_start_610+sizeof(str_610)-1,
str_start_612= str_start_611+sizeof(str_611)-1,
str_start_613= str_start_612+sizeof(str_612)-1,
str_start_614= str_start_613+sizeof(str_613)-1,
str_start_615= str_start_614+sizeof(str_614)-1,
str_start_616= str_start_615+sizeof(str_615)-1,
str_start_617= str_start_616+sizeof(str_616)-1,
str_start_618= str_start_617+sizeof(str_617)-1,
str_start_619= str_start_618+sizeof(str_618)-1,
str_start_620= str_start_619+sizeof(str_619)-1,
str_start_621= str_start_620+sizeof(str_620)-1,
str_start_622= str_start_621+sizeof(str_621)-1,
str_start_623= str_start_622+sizeof(str_622)-1,
str_start_624= str_start_623+sizeof(str_623)-1,
str_start_625= str_start_624+sizeof(str_624)-1,
str_start_626= str_start_625+sizeof(str_625)-1,
str_start_627= str_start_626+sizeof(str_626)-1,
str_start_628= str_start_627+sizeof(str_627)-1,
str_start_629= str_start_628+sizeof(str_628)-1,
str_start_630= str_start_629+sizeof(str_629)-1,
str_start_631= str_start_630+sizeof(str_630)-1,
str_start_632= str_start_631+sizeof(str_631)-1,
str_start_633= str_start_632+sizeof(str_632)-1,
str_start_634= str_start_633+sizeof(str_633)-1,
str_start_635= str_start_634+sizeof(str_634)-1,
str_start_636= str_start_635+sizeof(str_635)-1,
str_start_637= str_start_636+sizeof(str_636)-1,
str_start_638= str_start_637+sizeof(str_637)-1,
str_start_639= str_start_638+sizeof(str_638)-1,
str_start_640= str_start_639+sizeof(str_639)-1,
str_start_641= str_start_640+sizeof(str_640)-1,
str_start_642= str_start_641+sizeof(str_641)-1,
str_start_643= str_start_642+sizeof(str_642)-1,
str_start_644= str_start_643+sizeof(str_643)-1,
str_start_645= str_start_644+sizeof(str_644)-1,
str_start_646= str_start_645+sizeof(str_645)-1,
str_start_647= str_start_646+sizeof(str_646)-1,
str_start_648= str_start_647+sizeof(str_647)-1,
str_start_649= str_start_648+sizeof(str_648)-1,
str_start_650= str_start_649+sizeof(str_649)-1,
str_start_651= str_start_650+sizeof(str_650)-1,
str_start_652= str_start_651+sizeof(str_651)-1,
str_start_653= str_start_652+sizeof(str_652)-1,
str_start_654= str_start_653+sizeof(str_653)-1,
str_start_655= str_start_654+sizeof(str_654)-1,
str_start_656= str_start_655+sizeof(str_655)-1,
str_start_657= str_start_656+sizeof(str_656)-1,
str_start_658= str_start_657+sizeof(str_657)-1,
str_start_659= str_start_658+sizeof(str_658)-1,
str_start_660= str_start_659+sizeof(str_659)-1,
str_start_661= str_start_660+sizeof(str_660)-1,
str_start_662= str_start_661+sizeof(str_661)-1,
str_start_663= str_start_662+sizeof(str_662)-1,
str_start_664= str_start_663+sizeof(str_663)-1,
str_start_665= str_start_664+sizeof(str_664)-1,
str_start_666= str_start_665+sizeof(str_665)-1,
str_start_667= str_start_666+sizeof(str_666)-1,
str_start_668= str_start_667+sizeof(str_667)-1,
str_start_end}str_starts;

/*:1795*/
#line 1138 "tex.w"

packed_ASCII_code str_pool[pool_size+1]= /*1793:*/
#line 26275 "tex.w"

str_0_255
str_256 str_257 str_258 str_259 str_260 str_261 str_262 str_263
str_264 str_265 str_266 str_267 str_268 str_269 str_270 str_271
str_272 str_273 str_274 str_275 str_276 str_277 str_278 str_279
str_280 str_281 str_282 str_283 str_284 str_285 str_286 str_287
str_288 str_289 str_290 str_291 str_292 str_293 str_294 str_295
str_296 str_297 str_298 str_299 str_300 str_301 str_302 str_303
str_304 str_305 str_306 str_307 str_308 str_309 str_310 str_311
str_312 str_313 str_314 str_315 str_316 str_317 str_318 str_319
str_320 str_321 str_322 str_323 str_324 str_325 str_326 str_327
str_328 str_329 str_330 str_331 str_332 str_333 str_334 str_335
str_336 str_337 str_338 str_339 str_340 str_341 str_342 str_343
str_344 str_345 str_346 str_347 str_348 str_349 str_350 str_351
str_352 str_353 str_354 str_355 str_356 str_357 str_358 str_359
str_360 str_361 str_362 str_363 str_364 str_365 str_366 str_367
str_368 str_369 str_370 str_371 str_372 str_373 str_374 str_375
str_376 str_377 str_378 str_379 str_380 str_381 str_382 str_383
str_384 str_385 str_386 str_387 str_388 str_389 str_390 str_391
str_392 str_393 str_394 str_395 str_396 str_397 str_398 str_399
str_400 str_401 str_402 str_403 str_404 str_405 str_406 str_407
str_408 str_409 str_410 str_411 str_412 str_413 str_414 str_415
str_416 str_417 str_418 str_419 str_420 str_421 str_422 str_423
str_424 str_425 str_426 str_427 str_428 str_429 str_430 str_431
str_432 str_433 str_434 str_435 str_436 str_437 str_438 str_439
str_440 str_441 str_442 str_443 str_444 str_445 str_446 str_447
str_448 str_449 str_450 str_451 str_452 str_453 str_454 str_455
str_456 str_457 str_458 str_459 str_460 str_461 str_462 str_463
str_464 str_465 str_466 str_467 str_468 str_469 str_470 str_471
str_472 str_473 str_474 str_475 str_476 str_477 str_478 str_479
str_480 str_481 str_482 str_483 str_484 str_485 str_486 str_487
str_488 str_489 str_490 str_491 str_492 str_493 str_494 str_495
str_496 str_497 str_498 str_499 str_500 str_501 str_502 str_503
str_504 str_505 str_506 str_507 str_508 str_509 str_510 str_511
str_512 str_513 str_514 str_515 str_516 str_517 str_518 str_519
str_520 str_521 str_522 str_523 str_524 str_525 str_526 str_527
str_528 str_529 str_530 str_531 str_532 str_533 str_534 str_535
str_536 str_537 str_538 str_539 str_540 str_541 str_542 str_543
str_544 str_545 str_546 str_547 str_548 str_549 str_550 str_551
str_552 str_553 str_554 str_555 str_556 str_557 str_558 str_559
str_560 str_561 str_562 str_563 str_564 str_565 str_566 str_567
str_568 str_569 str_570 str_571 str_572 str_573 str_574 str_575
str_576 str_577 str_578 str_579 str_580 str_581 str_582 str_583
str_584 str_585 str_586 str_587 str_588 str_589 str_590 str_591
str_592 str_593 str_594 str_595 str_596 str_597 str_598 str_599
str_600 str_601 str_602 str_603 str_604 str_605 str_606 str_607
str_608 str_609 str_610 str_611 str_612 str_613 str_614 str_615
str_616 str_617 str_618 str_619 str_620 str_621 str_622 str_623
str_624 str_625 str_626 str_627 str_628 str_629 str_630 str_631
str_632 str_633 str_634 str_635 str_636 str_637 str_638 str_639
str_640 str_641 str_642 str_643 str_644 str_645 str_646 str_647
str_648 str_649 str_650 str_651 str_652 str_653 str_654 str_655
str_656 str_657 str_658 str_659 str_660 str_661 str_662 str_663
str_664 str_665 str_666 str_667

/*:1793*/
#line 1139 "tex.w"
;
pool_pointer str_start[max_strings+1]= {/*1794:*/
#line 26330 "tex.w"

str_start_0_255
str_start_256,str_start_257,str_start_258,str_start_259,
str_start_260,str_start_261,str_start_262,str_start_263,
str_start_264,str_start_265,str_start_266,str_start_267,
str_start_268,str_start_269,str_start_270,str_start_271,
str_start_272,str_start_273,str_start_274,str_start_275,
str_start_276,str_start_277,str_start_278,str_start_279,
str_start_280,str_start_281,str_start_282,str_start_283,
str_start_284,str_start_285,str_start_286,str_start_287,
str_start_288,str_start_289,str_start_290,str_start_291,
str_start_292,str_start_293,str_start_294,str_start_295,
str_start_296,str_start_297,str_start_298,str_start_299,
str_start_300,str_start_301,str_start_302,str_start_303,
str_start_304,str_start_305,str_start_306,str_start_307,
str_start_308,str_start_309,str_start_310,str_start_311,
str_start_312,str_start_313,str_start_314,str_start_315,
str_start_316,str_start_317,str_start_318,str_start_319,
str_start_320,str_start_321,str_start_322,str_start_323,
str_start_324,str_start_325,str_start_326,str_start_327,
str_start_328,str_start_329,str_start_330,str_start_331,
str_start_332,str_start_333,str_start_334,str_start_335,
str_start_336,str_start_337,str_start_338,str_start_339,
str_start_340,str_start_341,str_start_342,str_start_343,
str_start_344,str_start_345,str_start_346,str_start_347,
str_start_348,str_start_349,str_start_350,str_start_351,
str_start_352,str_start_353,str_start_354,str_start_355,
str_start_356,str_start_357,str_start_358,str_start_359,
str_start_360,str_start_361,str_start_362,str_start_363,
str_start_364,str_start_365,str_start_366,str_start_367,
str_start_368,str_start_369,str_start_370,str_start_371,
str_start_372,str_start_373,str_start_374,str_start_375,
str_start_376,str_start_377,str_start_378,str_start_379,
str_start_380,str_start_381,str_start_382,str_start_383,
str_start_384,str_start_385,str_start_386,str_start_387,
str_start_388,str_start_389,str_start_390,str_start_391,
str_start_392,str_start_393,str_start_394,str_start_395,
str_start_396,str_start_397,str_start_398,str_start_399,
str_start_400,str_start_401,str_start_402,str_start_403,
str_start_404,str_start_405,str_start_406,str_start_407,
str_start_408,str_start_409,str_start_410,str_start_411,
str_start_412,str_start_413,str_start_414,str_start_415,
str_start_416,str_start_417,str_start_418,str_start_419,
str_start_420,str_start_421,str_start_422,str_start_423,
str_start_424,str_start_425,str_start_426,str_start_427,
str_start_428,str_start_429,str_start_430,str_start_431,
str_start_432,str_start_433,str_start_434,str_start_435,
str_start_436,str_start_437,str_start_438,str_start_439,
str_start_440,str_start_441,str_start_442,str_start_443,
str_start_444,str_start_445,str_start_446,str_start_447,
str_start_448,str_start_449,str_start_450,str_start_451,
str_start_452,str_start_453,str_start_454,str_start_455,
str_start_456,str_start_457,str_start_458,str_start_459,
str_start_460,str_start_461,str_start_462,str_start_463,
str_start_464,str_start_465,str_start_466,str_start_467,
str_start_468,str_start_469,str_start_470,str_start_471,
str_start_472,str_start_473,str_start_474,str_start_475,
str_start_476,str_start_477,str_start_478,str_start_479,
str_start_480,str_start_481,str_start_482,str_start_483,
str_start_484,str_start_485,str_start_486,str_start_487,
str_start_488,str_start_489,str_start_490,str_start_491,
str_start_492,str_start_493,str_start_494,str_start_495,
str_start_496,str_start_497,str_start_498,str_start_499,
str_start_500,str_start_501,str_start_502,str_start_503,
str_start_504,str_start_505,str_start_506,str_start_507,
str_start_508,str_start_509,str_start_510,str_start_511,
str_start_512,str_start_513,str_start_514,str_start_515,
str_start_516,str_start_517,str_start_518,str_start_519,
str_start_520,str_start_521,str_start_522,str_start_523,
str_start_524,str_start_525,str_start_526,str_start_527,
str_start_528,str_start_529,str_start_530,str_start_531,
str_start_532,str_start_533,str_start_534,str_start_535,
str_start_536,str_start_537,str_start_538,str_start_539,
str_start_540,str_start_541,str_start_542,str_start_543,
str_start_544,str_start_545,str_start_546,str_start_547,
str_start_548,str_start_549,str_start_550,str_start_551,
str_start_552,str_start_553,str_start_554,str_start_555,
str_start_556,str_start_557,str_start_558,str_start_559,
str_start_560,str_start_561,str_start_562,str_start_563,
str_start_564,str_start_565,str_start_566,str_start_567,
str_start_568,str_start_569,str_start_570,str_start_571,
str_start_572,str_start_573,str_start_574,str_start_575,
str_start_576,str_start_577,str_start_578,str_start_579,
str_start_580,str_start_581,str_start_582,str_start_583,
str_start_584,str_start_585,str_start_586,str_start_587,
str_start_588,str_start_589,str_start_590,str_start_591,
str_start_592,str_start_593,str_start_594,str_start_595,
str_start_596,str_start_597,str_start_598,str_start_599,
str_start_600,str_start_601,str_start_602,str_start_603,
str_start_604,str_start_605,str_start_606,str_start_607,
str_start_608,str_start_609,str_start_610,str_start_611,
str_start_612,str_start_613,str_start_614,str_start_615,
str_start_616,str_start_617,str_start_618,str_start_619,
str_start_620,str_start_621,str_start_622,str_start_623,
str_start_624,str_start_625,str_start_626,str_start_627,
str_start_628,str_start_629,str_start_630,str_start_631,
str_start_632,str_start_633,str_start_634,str_start_635,
str_start_636,str_start_637,str_start_638,str_start_639,
str_start_640,str_start_641,str_start_642,str_start_643,
str_start_644,str_start_645,str_start_646,str_start_647,
str_start_648,str_start_649,str_start_650,str_start_651,
str_start_652,str_start_653,str_start_654,str_start_655,
str_start_656,str_start_657,str_start_658,str_start_659,
str_start_660,str_start_661,str_start_662,str_start_663,
str_start_664,str_start_665,str_start_666,str_start_667,
str_start_668

/*:1794*/
#line 1140 "tex.w"
};
pool_pointer pool_ptr= /*1796:*/
#line 26855 "tex.w"
str_start_668

/*:1796*/
#line 1141 "tex.w"
;
str_number str_ptr= /*1797:*/
#line 26857 "tex.w"
668

/*:1797*/
#line 1142 "tex.w"
;
pool_pointer init_pool_ptr;
str_number init_str_ptr;

/*:39*//*50:*/
#line 1316 "tex.w"

#ifdef INIT
alpha_file pool_file;
#endif

/*:50*//*54:*/
#line 1424 "tex.w"

alpha_file log_file;
uint8_t selector;
uint8_t dig[23];
int tally;
uint8_t term_offset;

uint8_t file_offset;

ASCII_code trick_buf[error_line+1];

int trick_count;
int first_count;

/*:54*//*73:*/
#line 1770 "tex.w"

uint8_t interaction;

/*:73*//*76:*/
#line 1811 "tex.w"

bool deletions_allowed;
bool set_box_allowed;
uint8_t history;
int8_t error_count;


/*:76*//*79:*/
#line 1870 "tex.w"

char*help_line[6];
uint8_t help_ptr;
bool use_err_help;

/*:79*//*96:*/
#line 2135 "tex.w"

int interrupt;
bool OK_to_interrupt;

/*:96*//*104:*/
#line 2268 "tex.w"

bool arith_error;
scaled rem;

/*:104*//*115:*/
#line 2557 "tex.w"

pointer temp_ptr;

/*:115*//*116:*/
#line 2589 "tex.w"

memory_word mem0[mem_max-mem_min+1],*const mem= mem0-mem_min;
pointer lo_mem_max;
pointer hi_mem_min;

/*:116*//*117:*/
#line 2602 "tex.w"

int var_used,dyn_used;
#ifdef DEBUG
#define incr_dyn_used incr(dyn_used)
#define decr_dyn_used decr(dyn_used)
#else
#define incr_dyn_used
#define decr_dyn_used
#endif

/*:117*//*118:*/
#line 2625 "tex.w"

pointer avail;
pointer mem_end;

/*:118*//*124:*/
#line 2725 "tex.w"

pointer rover;

/*:124*//*165:*/
#line 3428 "tex.w"

#ifdef DEBUG
bool is_free0[mem_max-mem_min+1],*const is_free= is_free0-mem_min;
bool was_free0[mem_max-mem_min+1],*const was_free= was_free0-mem_min;

pointer was_mem_end,was_lo_max,was_hi_min;

bool panicking;
#endif

/*:165*//*173:*/
#line 3582 "tex.w"

int font_in_short_display;

/*:173*//*181:*/
#line 3710 "tex.w"

int depth_threshold;
int breadth_max;

/*:181*//*213:*/
#line 4387 "tex.w"

list_state_record nest[nest_size+1];
uint8_t nest_ptr;
uint8_t max_nest_stack;
list_state_record cur_list;
int16_t shown_mode;

/*:213*//*246:*/
#line 5336 "tex.w"

uint8_t old_setting;

/*:246*//*253:*/
#line 5502 "tex.w"

memory_word eqtb0[eqtb_size-active_base+1],*const eqtb= eqtb0-active_base;
quarterword xeq_level0[eqtb_size-int_base+1],*const xeq_level= xeq_level0-int_base;

/*:253*//*256:*/
#line 5550 "tex.w"

two_halves hash0[undefined_control_sequence-hash_base],*const hash= hash0-hash_base;

pointer hash_used;
bool no_new_control_sequence;
int cs_count;

/*:256*//*271:*/
#line 5943 "tex.w"

memory_word save_stack[save_size+1];
uint16_t save_ptr;
uint16_t max_save_stack;
quarterword cur_level;
group_code cur_group;
uint16_t cur_boundary;

/*:271*//*286:*/
#line 6185 "tex.w"

int mag_set;

/*:286*//*297:*/
#line 6443 "tex.w"

eight_bits cur_cmd;
halfword cur_chr;
pointer cur_cs;
halfword cur_tok;

/*:297*//*301:*/
#line 6520 "tex.w"

in_state_record input_stack[stack_size+1];
uint8_t input_ptr;
uint8_t max_in_stack;
in_state_record cur_input;


/*:301*//*304:*/
#line 6622 "tex.w"

uint8_t in_open;
uint8_t open_parens;
alpha_file input_file0[max_in_open],*const input_file= input_file0-1;
int line;
int line_stack0[max_in_open],*const line_stack= line_stack0-1;

/*:304*//*305:*/
#line 6665 "tex.w"

uint8_t scanner_status;
pointer warning_index;
pointer def_ref;

/*:305*//*308:*/
#line 6789 "tex.w"

pointer param_stack[param_size+1];

uint8_t param_ptr;
int max_param_stack;


/*:308*//*309:*/
#line 6806 "tex.w"

int align_state;

/*:309*//*310:*/
#line 6817 "tex.w"

uint8_t base_ptr;

/*:310*//*333:*/
#line 7194 "tex.w"

pointer par_loc;
halfword par_token;

/*:333*//*361:*/
#line 7611 "tex.w"

bool force_eof;

/*:361*//*382:*/
#line 7925 "tex.w"

pointer cur_mark0[split_bot_mark_code-top_mark_code+1],*const cur_mark= cur_mark0-top_mark_code;


/*:382*//*387:*/
#line 7974 "tex.w"

uint8_t long_state;

/*:387*//*388:*/
#line 7985 "tex.w"

pointer pstack[9];

/*:388*//*410:*/
#line 8369 "tex.w"

int cur_val;
uint8_t cur_val_level;

/*:410*//*438:*/
#line 8740 "tex.w"

small_number radix;

/*:438*//*447:*/
#line 8875 "tex.w"

glue_ord cur_order;

/*:447*//*480:*/
#line 9482 "tex.w"

alpha_file read_file[16];
uint8_t read_open[17];

/*:480*//*489:*/
#line 9669 "tex.w"

pointer cond_ptr;
uint8_t if_limit;
small_number cur_if;
int if_line;

/*:489*//*493:*/
#line 9695 "tex.w"

int skip_line;

/*:493*//*512:*/
#line 10022 "tex.w"

str_number cur_name;
str_number cur_area;
str_number cur_ext;

/*:512*//*513:*/
#line 10038 "tex.w"

pool_pointer area_delimiter;
pool_pointer ext_delimiter;

/*:513*//*520:*/
#line 10138 "tex.w"

ASCII_code TEX_format_default[1+format_default_length+1]= " TeXformats/plain.fmt";




/*:520*//*526:*/
#line 10269 "tex.w"

bool name_in_progress;
str_number job_name;
bool log_opened;

/*:526*//*532:*/
#line 10342 "tex.w"

byte_file dvi_file;
str_number output_file_name;
str_number log_name;

/*:532*//*539:*/
#line 10465 "tex.w"

byte_file tfm_file;

/*:539*//*549:*/
#line 10752 "tex.w"

memory_word font_info[font_mem_size+1];

font_index fmem_ptr;
internal_font_number font_ptr;
four_quarters font_check0[font_max-font_base+1],*const font_check= font_check0-font_base;
scaled font_size0[font_max-font_base+1],*const font_size= font_size0-font_base;
scaled font_dsize0[font_max-font_base+1],*const font_dsize= font_dsize0-font_base;
font_index font_params0[font_max-font_base+1],*const font_params= font_params0-font_base;

str_number font_name0[font_max-font_base+1],*const font_name= font_name0-font_base;
str_number font_area0[font_max-font_base+1],*const font_area= font_area0-font_base;
eight_bits font_bc0[font_max-font_base+1],*const font_bc= font_bc0-font_base;

eight_bits font_ec0[font_max-font_base+1],*const font_ec= font_ec0-font_base;

pointer font_glue0[font_max-font_base+1],*const font_glue= font_glue0-font_base;

bool font_used0[font_max-font_base+1],*const font_used= font_used0-font_base;

int hyphen_char0[font_max-font_base+1],*const hyphen_char= hyphen_char0-font_base;

int skew_char0[font_max-font_base+1],*const skew_char= skew_char0-font_base;

font_index bchar_label0[font_max-font_base+1],*const bchar_label= bchar_label0-font_base;


uint16_t font_bchar0[font_max-font_base+1],*const font_bchar= font_bchar0-font_base;

uint16_t font_false_bchar0[font_max-font_base+1],*const font_false_bchar= font_false_bchar0-font_base;


/*:549*//*550:*/
#line 10793 "tex.w"

int char_base0[font_max-font_base+1],*const char_base= char_base0-font_base;

int width_base0[font_max-font_base+1],*const width_base= width_base0-font_base;

int height_base0[font_max-font_base+1],*const height_base= height_base0-font_base;

int depth_base0[font_max-font_base+1],*const depth_base= depth_base0-font_base;

int italic_base0[font_max-font_base+1],*const italic_base= italic_base0-font_base;

int lig_kern_base0[font_max-font_base+1],*const lig_kern_base= lig_kern_base0-font_base;

int kern_base0[font_max-font_base+1],*const kern_base= kern_base0-font_base;

int exten_base0[font_max-font_base+1],*const exten_base= exten_base0-font_base;

int param_base0[font_max-font_base+1],*const param_base= param_base0-font_base;


/*:550*//*555:*/
#line 10887 "tex.w"

four_quarters null_character;

/*:555*//*592:*/
#line 11882 "tex.w"

int total_pages;
scaled max_v;
scaled max_h;
int max_push;
int last_bop;
int dead_cycles;
bool doing_leaders;

quarterword c,f;
scaled rule_ht,rule_dp,rule_wd;
pointer g;
int lq,lr;

/*:592*//*595:*/
#line 11930 "tex.w"

eight_bits dvi_buf[dvi_buf_size+1];
dvi_index half_buf;
dvi_index dvi_limit;
dvi_index dvi_ptr;
int dvi_offset;

int dvi_gone;

/*:595*//*605:*/
#line 12095 "tex.w"

pointer down_ptr,right_ptr;

/*:605*//*616:*/
#line 12317 "tex.w"

scaled dvi_h,dvi_v;
scaled cur_h,cur_v;
internal_font_number dvi_f;
int cur_s;

/*:616*//*646:*/
#line 12921 "tex.w"

scaled total_stretch0[filll-normal+1],*const total_stretch= total_stretch0-normal,total_shrink0[filll-normal+1],*const total_shrink= total_shrink0-normal;

int last_badness;

/*:646*//*647:*/
#line 12931 "tex.w"

pointer adjust_tail;

/*:647*//*661:*/
#line 13105 "tex.w"

int pack_begin_line;


/*:661*//*684:*/
#line 13522 "tex.w"

two_halves empty_field;
four_quarters null_delimiter;

/*:684*//*719:*/
#line 14174 "tex.w"

pointer cur_mlist;
small_number cur_style;
small_number cur_size;
scaled cur_mu;
bool mlist_penalties;

/*:719*//*724:*/
#line 14264 "tex.w"

internal_font_number cur_f;
quarterword cur_c;
four_quarters cur_i;


/*:724*//*764:*/
#line 15075 "tex.w"

int magic_offset;

/*:764*//*770:*/
#line 15276 "tex.w"

pointer cur_align;
pointer cur_span;
pointer cur_loop;
pointer align_ptr;
pointer cur_head,cur_tail;

/*:770*//*814:*/
#line 16049 "tex.w"

pointer just_box;

/*:814*//*821:*/
#line 16192 "tex.w"

pointer passive;
pointer printed_node;
halfword pass_number;

/*:821*//*823:*/
#line 16231 "tex.w"

scaled active_width0[6],*const active_width= active_width0-1;

scaled cur_active_width0[6],*const cur_active_width= cur_active_width0-1;
scaled background0[6],*const background= background0-1;
scaled break_width0[6],*const break_width= break_width0-1;

/*:823*//*825:*/
#line 16288 "tex.w"

bool no_shrink_error_yet;

/*:825*//*828:*/
#line 16340 "tex.w"

pointer cur_p;
bool second_pass;
bool final_pass;
int threshold;

/*:828*//*833:*/
#line 16441 "tex.w"

int minimal_demerits0[tight_fit-very_loose_fit+1],*const minimal_demerits= minimal_demerits0-very_loose_fit;

int minimum_demerits;

pointer best_place0[tight_fit-very_loose_fit+1],*const best_place= best_place0-very_loose_fit;

halfword best_pl_line0[tight_fit-very_loose_fit+1],*const best_pl_line= best_pl_line0-very_loose_fit;


/*:833*//*839:*/
#line 16559 "tex.w"

scaled disc_width;

/*:839*//*847:*/
#line 16699 "tex.w"

halfword easy_line;
halfword last_special_line;

scaled first_width;

scaled second_width;
scaled first_indent;
scaled second_indent;

/*:847*//*872:*/
#line 17210 "tex.w"

pointer best_bet;
int fewest_demerits;
halfword best_line;
int actual_looseness;

int line_diff;


/*:872*//*892:*/
#line 17544 "tex.w"

uint16_t hc[66];
small_number hn;
pointer ha,hb;
internal_font_number hf;
uint16_t hu[64];
int hyf_char;
ASCII_code cur_lang,init_cur_lang;
int l_hyf,r_hyf,init_l_hyf,init_r_hyf;
halfword hyf_bchar;

/*:892*//*900:*/
#line 17677 "tex.w"

uint8_t hyf[65];
pointer init_list;
bool init_lig;
bool init_lft;

/*:900*//*905:*/
#line 17801 "tex.w"

small_number hyphen_passed;

/*:905*//*907:*/
#line 17842 "tex.w"

halfword cur_l,cur_r;
pointer cur_q;
pointer lig_stack;
bool ligature_present;
bool lft_hit,rt_hit;

/*:907*//*921:*/
#line 18145 "tex.w"

two_halves trie[trie_size+1];
small_number hyf_distance0[trie_op_size],*const hyf_distance= hyf_distance0-1;
small_number hyf_num0[trie_op_size],*const hyf_num= hyf_num0-1;
quarterword hyf_next0[trie_op_size],*const hyf_next= hyf_next0-1;
uint16_t op_start[256];

/*:921*//*926:*/
#line 18207 "tex.w"

str_number hyph_word[hyph_size+1];
pointer hyph_list[hyph_size+1];
hyph_pointer hyph_count;

/*:926*//*943:*/
#line 18416 "tex.w"

#ifdef INIT
uint16_t trie_op_hash0[trie_op_size+trie_op_size+1],*const trie_op_hash= trie_op_hash0+trie_op_size;

quarterword trie_used[256];

ASCII_code trie_op_lang0[trie_op_size],*const trie_op_lang= trie_op_lang0-1;

quarterword trie_op_val0[trie_op_size],*const trie_op_val= trie_op_val0-1;

uint16_t trie_op_ptr;
#endif

/*:943*//*947:*/
#line 18509 "tex.w"

#ifdef INIT
packed_ASCII_code trie_c[trie_size+1];

quarterword trie_o[trie_size+1];

trie_pointer trie_l[trie_size+1];

trie_pointer trie_r[trie_size+1];

trie_pointer trie_ptr;
trie_pointer trie_hash[trie_size+1];

#endif

/*:947*//*950:*/
#line 18596 "tex.w"

#ifdef INIT
bool trie_taken0[trie_size],*const trie_taken= trie_taken0-1;

trie_pointer trie_min[256];

trie_pointer trie_max;
bool trie_not_ready;
#endif

/*:950*//*971:*/
#line 18955 "tex.w"

scaled best_height_plus_depth;


/*:971*//*980:*/
#line 19162 "tex.w"

pointer page_tail;
uint8_t page_contents;
scaled page_max_depth;
pointer best_page_break;
int least_page_cost;
scaled best_size;

/*:980*//*982:*/
#line 19244 "tex.w"

scaled page_so_far[8];
pointer last_glue;
int last_penalty;
scaled last_kern;
int insert_penalties;

/*:982*//*989:*/
#line 19378 "tex.w"

bool output_active;

/*:989*//*1032:*/
#line 20098 "tex.w"

internal_font_number main_f;
four_quarters main_i;
four_quarters main_j;
font_index main_k;
pointer main_p;
int main_s;
halfword bchar;
halfword false_bchar;
bool cancel_boundary;
bool ins_disc;

/*:1032*//*1074:*/
#line 20871 "tex.w"

pointer cur_box;

/*:1074*//*1266:*/
#line 23457 "tex.w"

halfword after_token;

/*:1266*//*1281:*/
#line 23560 "tex.w"

bool long_help_seen;

/*:1281*//*1299:*/
#line 23746 "tex.w"

str_number format_ident;

/*:1299*//*1305:*/
#line 23827 "tex.w"

word_file fmt_file;

/*:1305*//*1331:*/
#line 24280 "tex.w"

int ready_already;

/*:1331*//*1342:*/
#line 24612 "tex.w"

alpha_file write_file[16];
bool write_open[18];

/*:1342*//*1345:*/
#line 24643 "tex.w"

pointer write_loc;

/*:1345*/
#line 266 "tex.w"


void initialize(void)
{/*19:*/
#line 572 "tex.w"

int i;

/*:19*//*163:*/
#line 3387 "tex.w"

int k;

/*:163*//*927:*/
#line 18212 "tex.w"

hyph_pointer z;

/*:927*/
#line 269 "tex.w"

/*8:*/
#line 315 "tex.w"

/*21:*/
#line 594 "tex.w"

xchr[040]= ' ';
xchr[041]= '!';
xchr[042]= '"';
xchr[043]= '#';
xchr[044]= '$';
xchr[045]= '%';
xchr[046]= '&';
xchr[047]= '\'';
xchr[050]= '(';
xchr[051]= ')';
xchr[052]= '*';
xchr[053]= '+';
xchr[054]= ',';
xchr[055]= '-';
xchr[056]= '.';
xchr[057]= '/';
xchr[060]= '0';
xchr[061]= '1';
xchr[062]= '2';
xchr[063]= '3';
xchr[064]= '4';
xchr[065]= '5';
xchr[066]= '6';
xchr[067]= '7';
xchr[070]= '8';
xchr[071]= '9';
xchr[072]= ':';
xchr[073]= ';';
xchr[074]= '<';
xchr[075]= '=';
xchr[076]= '>';
xchr[077]= '?';
xchr[0100]= '@';
xchr[0101]= 'A';
xchr[0102]= 'B';
xchr[0103]= 'C';
xchr[0104]= 'D';
xchr[0105]= 'E';
xchr[0106]= 'F';
xchr[0107]= 'G';
xchr[0110]= 'H';
xchr[0111]= 'I';
xchr[0112]= 'J';
xchr[0113]= 'K';
xchr[0114]= 'L';
xchr[0115]= 'M';
xchr[0116]= 'N';
xchr[0117]= 'O';
xchr[0120]= 'P';
xchr[0121]= 'Q';
xchr[0122]= 'R';
xchr[0123]= 'S';
xchr[0124]= 'T';
xchr[0125]= 'U';
xchr[0126]= 'V';
xchr[0127]= 'W';
xchr[0130]= 'X';
xchr[0131]= 'Y';
xchr[0132]= 'Z';
xchr[0133]= '[';
xchr[0134]= '\\';
xchr[0135]= ']';
xchr[0136]= '^';
xchr[0137]= '_';
xchr[0140]= '`';
xchr[0141]= 'a';
xchr[0142]= 'b';
xchr[0143]= 'c';
xchr[0144]= 'd';
xchr[0145]= 'e';
xchr[0146]= 'f';
xchr[0147]= 'g';
xchr[0150]= 'h';
xchr[0151]= 'i';
xchr[0152]= 'j';
xchr[0153]= 'k';
xchr[0154]= 'l';
xchr[0155]= 'm';
xchr[0156]= 'n';
xchr[0157]= 'o';
xchr[0160]= 'p';
xchr[0161]= 'q';
xchr[0162]= 'r';
xchr[0163]= 's';
xchr[0164]= 't';
xchr[0165]= 'u';
xchr[0166]= 'v';
xchr[0167]= 'w';
xchr[0170]= 'x';
xchr[0171]= 'y';
xchr[0172]= 'z';
xchr[0173]= '{';
xchr[0174]= '|';
xchr[0175]= '}';
xchr[0176]= '~';

/*:21*//*23:*/
#line 725 "tex.w"

for(i= 0;i<=037;i++)xchr[i]= ' ';
for(i= 0177;i<=0377;i++)xchr[i]= ' ';

/*:23*//*24:*/
#line 735 "tex.w"

for(i= first_text_char;i<=last_text_char;i++)xord[chr(i)]= invalid_code;
for(i= 0200;i<=0377;i++)xord[xchr[i]]= i;
for(i= 0;i<=0176;i++)xord[xchr[i]]= i;

/*:24*//*74:*/
#line 1773 "tex.w"
interaction= error_stop_mode;

/*:74*//*77:*/
#line 1821 "tex.w"

deletions_allowed= true;set_box_allowed= true;
error_count= 0;

/*:77*//*80:*/
#line 1875 "tex.w"

help_ptr= 0;use_err_help= false;

/*:80*//*97:*/
#line 2139 "tex.w"

interrupt= 0;OK_to_interrupt= true;

/*:97*//*166:*/
#line 3438 "tex.w"

#ifdef DEBUG
was_mem_end= mem_min;
was_lo_max= mem_min;was_hi_min= mem_max;
panicking= false;
#endif

/*:166*//*215:*/
#line 4407 "tex.w"

nest_ptr= 0;max_nest_stack= 0;
mode= vmode;head= contrib_head;tail= contrib_head;
prev_depth= ignore_depth;mode_line= 0;
prev_graf= 0;shown_mode= 0;
/*991:*/
#line 19388 "tex.w"

page_contents= empty;page_tail= page_head;link(page_head)= null;
last_glue= max_halfword;last_penalty= 0;last_kern= 0;
page_depth= 0;page_max_depth= 0

/*:991*/
#line 4412 "tex.w"
;

/*:215*//*254:*/
#line 5506 "tex.w"

for(k= int_base;k<=eqtb_size;k++)xeq_level[k]= level_one;

/*:254*//*257:*/
#line 5557 "tex.w"

no_new_control_sequence= true;
next(hash_base)= 0;text(hash_base)= 0;
for(k= hash_base+1;k<=undefined_control_sequence-1;k++)hash[k]= hash[hash_base];

/*:257*//*272:*/
#line 5956 "tex.w"

save_ptr= 0;cur_level= level_one;cur_group= bottom_level;cur_boundary= 0;
max_save_stack= 0;

/*:272*//*287:*/
#line 6188 "tex.w"

mag_set= 0;

/*:287*//*383:*/
#line 7929 "tex.w"

top_mark= null;first_mark= null;bot_mark= null;
split_first_mark= null;split_bot_mark= null;

/*:383*//*439:*/
#line 8747 "tex.w"

cur_val= 0;cur_val_level= int_val;radix= 0;cur_order= normal;

/*:439*//*481:*/
#line 9486 "tex.w"

for(k= 0;k<=16;k++)read_open[k]= closed;

/*:481*//*490:*/
#line 9675 "tex.w"

cond_ptr= null;if_limit= normal;cur_if= 0;if_line= 0;

/*:490*//*551:*/
#line 10813 "tex.w"

for(k= font_base;k<=font_max;k++)font_used[k]= false;

/*:551*//*556:*/
#line 10890 "tex.w"

null_character.b0= min_quarterword;null_character.b1= min_quarterword;
null_character.b2= min_quarterword;null_character.b3= min_quarterword;

/*:556*//*593:*/
#line 11896 "tex.w"

total_pages= 0;max_v= 0;max_h= 0;max_push= 0;last_bop= -1;
doing_leaders= false;dead_cycles= 0;cur_s= -1;

/*:593*//*596:*/
#line 11942 "tex.w"

half_buf= dvi_buf_size/2;dvi_limit= dvi_buf_size;dvi_ptr= 0;
dvi_offset= 0;dvi_gone= 0;

/*:596*//*606:*/
#line 12098 "tex.w"

down_ptr= null;right_ptr= null;

/*:606*//*648:*/
#line 12934 "tex.w"
adjust_tail= null;last_badness= 0;

/*:648*//*662:*/
#line 13109 "tex.w"

pack_begin_line= 0;

/*:662*//*685:*/
#line 13526 "tex.w"

empty_field.rh= empty;empty_field.lh= null;
null_delimiter.b0= 0;null_delimiter.b1= min_quarterword;
null_delimiter.b2= 0;null_delimiter.b3= min_quarterword;

/*:685*//*771:*/
#line 15285 "tex.w"

align_ptr= null;cur_align= null;cur_span= null;cur_loop= null;
cur_head= null;cur_tail= null;

/*:771*//*928:*/
#line 18215 "tex.w"

for(z= 0;z<=hyph_size;z++)
{hyph_word[z]= 0;hyph_list[z]= null;
}
hyph_count= 0;

/*:928*//*990:*/
#line 19381 "tex.w"

output_active= false;insert_penalties= 0;

/*:990*//*1033:*/
#line 20114 "tex.w"

ligature_present= false;cancel_boundary= false;lft_hit= false;rt_hit= false;
ins_disc= false;

/*:1033*//*1267:*/
#line 23460 "tex.w"

after_token= 0;

/*:1267*//*1282:*/
#line 23563 "tex.w"
long_help_seen= false;

/*:1282*//*1300:*/
#line 23749 "tex.w"

format_ident= 0;

/*:1300*//*1343:*/
#line 24616 "tex.w"

for(k= 0;k<=17;k++)write_open[k]= false;

/*:1343*/
#line 316 "tex.w"

#ifdef INIT
/*164:*/
#line 3390 "tex.w"

for(k= mem_bot+1;k<=lo_mem_stat_max;k++)mem[k].sc= 0;


k= mem_bot;while(k<=lo_mem_stat_max)

{glue_ref_count(k)= null+1;
stretch_order(k)= normal;shrink_order(k)= normal;
k= k+glue_spec_size;
}
stretch(fil_glue)= unity;stretch_order(fil_glue)= fil;
stretch(fill_glue)= unity;stretch_order(fill_glue)= fill;
stretch(ss_glue)= unity;stretch_order(ss_glue)= fil;
shrink(ss_glue)= unity;shrink_order(ss_glue)= fil;
stretch(fil_neg_glue)= -unity;stretch_order(fil_neg_glue)= fil;
rover= lo_mem_stat_max+1;
link(rover)= empty_flag;
node_size(rover)= 1000;
llink(rover)= rover;rlink(rover)= rover;
lo_mem_max= rover+1000;link(lo_mem_max)= null;info(lo_mem_max)= null;
for(k= hi_mem_stat_min;k<=mem_top;k++)
mem[k]= mem[lo_mem_max];
/*790:*/
#line 15595 "tex.w"

info(omit_template)= end_template_token;

/*:790*//*797:*/
#line 15701 "tex.w"

link(end_span)= max_quarterword+1;info(end_span)= null;

/*:797*//*820:*/
#line 16162 "tex.w"

type(last_active)= hyphenated;line_number(last_active)= max_halfword;
subtype(last_active)= 0;

/*:820*//*981:*/
#line 19215 "tex.w"

subtype(page_ins_head)= qi(255);
type(page_ins_head)= split_up;link(page_ins_head)= page_ins_head;

/*:981*//*988:*/
#line 19372 "tex.w"

type(page_head)= glue_node;subtype(page_head)= normal;

/*:988*/
#line 3412 "tex.w"
;
avail= null;mem_end= mem_top;
hi_mem_min= hi_mem_stat_min;
var_used= lo_mem_stat_max+1-mem_bot;dyn_used= hi_mem_stat_usage;


/*:164*//*222:*/
#line 4596 "tex.w"

eq_type(undefined_control_sequence)= undefined_cs;
equiv(undefined_control_sequence)= null;
eq_level(undefined_control_sequence)= level_zero;
for(k= active_base;k<=undefined_control_sequence-1;k++)
eqtb[k]= eqtb[undefined_control_sequence];

/*:222*//*228:*/
#line 4751 "tex.w"

equiv(glue_base)= zero_glue;eq_level(glue_base)= level_one;
eq_type(glue_base)= glue_ref;
for(k= glue_base+1;k<=local_base-1;k++)eqtb[k]= eqtb[glue_base];
glue_ref_count(zero_glue)= glue_ref_count(zero_glue)+local_base-glue_base;

/*:228*//*232:*/
#line 4870 "tex.w"

par_shape_ptr= null;eq_type(par_shape_loc)= shape_ref;
eq_level(par_shape_loc)= level_one;
for(k= output_routine_loc;k<=toks_base+255;k++)
eqtb[k]= eqtb[undefined_control_sequence];
box(0)= null;eq_type(box_base)= box_ref;eq_level(box_base)= level_one;
for(k= box_base+1;k<=box_base+255;k++)eqtb[k]= eqtb[box_base];
cur_font= null_font;eq_type(cur_font_loc)= data;
eq_level(cur_font_loc)= level_one;
for(k= math_font_base;k<=math_font_base+47;k++)eqtb[k]= eqtb[cur_font_loc];
equiv(cat_code_base)= 0;eq_type(cat_code_base)= data;
eq_level(cat_code_base)= level_one;
for(k= cat_code_base+1;k<=int_base-1;k++)eqtb[k]= eqtb[cat_code_base];
for(k= 0;k<=255;k++)
{cat_code(k)= other_char;math_code(k)= hi(k);sf_code(k)= 1000;
}
cat_code(carriage_return)= car_ret;cat_code(' ')= spacer;
cat_code('\\')= escape;cat_code('%')= comment;
cat_code(invalid_code)= invalid_char;cat_code(null_code)= ignore;
for(k= '0';k<='9';k++)math_code(k)= hi(k+var_code);
for(k= 'A';k<='Z';k++)
{cat_code(k)= letter;cat_code(k+'a'-'A')= letter;
math_code(k)= hi(k+var_code+0x100);
math_code(k+'a'-'A')= hi(k+'a'-'A'+var_code+0x100);
lc_code(k)= k+'a'-'A';lc_code(k+'a'-'A')= k+'a'-'A';
uc_code(k)= k;uc_code(k+'a'-'A')= k;
sf_code(k)= 999;
}

/*:232*//*240:*/
#line 5279 "tex.w"

for(k= int_base;k<=del_code_base-1;k++)eqtb[k].i= 0;
mag= 1000;tolerance= 10000;hang_after= 1;max_dead_cycles= 25;
escape_char= '\\';end_line_char= carriage_return;
for(k= 0;k<=255;k++)del_code(k)= -1;
del_code('.')= 0;

/*:240*//*250:*/
#line 5471 "tex.w"

for(k= dimen_base;k<=eqtb_size;k++)eqtb[k].sc= 0;

/*:250*//*258:*/
#line 5562 "tex.w"

hash_used= frozen_control_sequence;
cs_count= 0;
eq_type(frozen_dont_expand)= dont_expand;
text(frozen_dont_expand)= /*1525:*/
#line 25471 "tex.w"
400
/*:1525*/
#line 5566 "tex.w"
;


/*:258*//*552:*/
#line 10819 "tex.w"

font_ptr= null_font;fmem_ptr= 7;
font_name[null_font]= /*1639:*/
#line 25813 "tex.w"
514
/*:1639*/
#line 10821 "tex.w"
;font_area[null_font]= empty_string;
hyphen_char[null_font]= '-';skew_char[null_font]= -1;
bchar_label[null_font]= non_address;
font_bchar[null_font]= non_char;font_false_bchar[null_font]= non_char;
font_bc[null_font]= 1;font_ec[null_font]= 0;
font_size[null_font]= 0;font_dsize[null_font]= 0;
char_base[null_font]= 0;width_base[null_font]= 0;
height_base[null_font]= 0;depth_base[null_font]= 0;
italic_base[null_font]= 0;lig_kern_base[null_font]= 0;
kern_base[null_font]= 0;exten_base[null_font]= 0;
font_glue[null_font]= null;font_params[null_font]= 7;
param_base[null_font]= -1;
for(k= 0;k<=6;k++)font_info[k].sc= 0;

/*:552*//*946:*/
#line 18486 "tex.w"

for(k= -trie_op_size;k<=trie_op_size;k++)trie_op_hash[k]= 0;
for(k= 0;k<=255;k++)trie_used[k]= min_quarterword;
trie_op_ptr= 0;

/*:946*//*951:*/
#line 18612 "tex.w"

trie_not_ready= true;trie_root= 0;trie_c[0]= si(0);trie_ptr= 0;

/*:951*//*1216:*/
#line 22800 "tex.w"

text(frozen_protection)= /*1751:*/
#line 26149 "tex.w"
626
/*:1751*/
#line 22801 "tex.w"
;

/*:1216*//*1301:*/
#line 23752 "tex.w"

format_ident= /*1781:*/
#line 26239 "tex.w"
656
/*:1781*/
#line 23753 "tex.w"
;

/*:1301*//*1369:*/
#line 24851 "tex.w"

text(end_write)= /*1791:*/
#line 26269 "tex.w"
666
/*:1791*/
#line 24852 "tex.w"
;eq_level(end_write)= level_one;
eq_type(end_write)= outer_call;equiv(end_write)= null;

/*:1369*/
#line 318 "tex.w"

#endif

/*:8*/
#line 270 "tex.w"
;
}
/*57:*/
#line 1474 "tex.w"

void print_ln(void)
{switch(selector){
case term_and_log:{wterm_cr;wlog_cr;
term_offset= 0;file_offset= 0;
}break;
case log_only:{wlog_cr;file_offset= 0;
}break;
case term_only:{wterm_cr;term_offset= 0;
}break;
case no_print:case pseudo:case new_string:do_nothing;break;
default:write_ln(write_file[selector]);
}
}

/*:57*//*58:*/
#line 1493 "tex.w"

void print_char(ASCII_code s)
{
if(/*244:*/
#line 5312 "tex.w"
s==new_line_char

/*:244*/
#line 1496 "tex.w"
)
if(selector<pseudo)
{print_ln();return;
}
switch(selector){
case term_and_log:{wterm("%c",xchr[s]);wlog("%c",xchr[s]);
incr(term_offset);incr(file_offset);
if(term_offset==max_print_line)
{wterm_cr;term_offset= 0;
}
if(file_offset==max_print_line)
{wlog_cr;file_offset= 0;
}
}break;
case log_only:{wlog("%c",xchr[s]);incr(file_offset);
if(file_offset==max_print_line)print_ln();
}break;
case term_only:{wterm("%c",xchr[s]);incr(term_offset);
if(term_offset==max_print_line)print_ln();
}break;
case no_print:do_nothing;break;
case pseudo:if(tally<trick_count)trick_buf[tally%error_line]= s;break;
case new_string:{if(pool_ptr<pool_size)append_char(s);
}break;
default:write(write_file[selector],"%c",xchr[s]);
}
incr(tally);
}

/*:58*//*59:*/
#line 1533 "tex.w"

void print(int s)
{
pool_pointer j;
int nl;
if(s>=str_ptr)s= /*1381:*/
#line 25039 "tex.w"
256
/*:1381*/
#line 1538 "tex.w"
;

else if(s<256)
if(s<0)s= /*1381:*/
#line 25039 "tex.w"
256
/*:1381*/
#line 1541 "tex.w"
;
else{if(selector> pseudo)
{print_char(s);return;
}
if((/*244:*/
#line 5312 "tex.w"
s==new_line_char

/*:244*/
#line 1545 "tex.w"
))
if(selector<pseudo)
{print_ln();return;
}
nl= new_line_char;new_line_char= -1;

j= str_start[s];
while(j<str_start[s+1])
{print_char(so(str_pool[j]));incr(j);
}
new_line_char= nl;return;
}
j= str_start[s];
while(j<str_start[s+1])
{print_char(so(str_pool[j]));incr(j);
}
}

void print_str(char*s)
{while(*s!=0)print_char(*s++);
}

/*:59*//*60:*/
#line 1571 "tex.w"

void slow_print(int s)
{pool_pointer j;
if((s>=str_ptr)||(s<256))print(s);
else{j= str_start[s];
while(j<str_start[s+1])
{print(so(str_pool[j]));incr(j);
}
}
}

/*:60*//*62:*/
#line 1598 "tex.w"

void print_nl(char*s)
{if(((term_offset> 0)&&(odd(selector)))||
((file_offset> 0)&&(selector>=log_only)))print_ln();
print_str(s);
}

/*:62*//*63:*/
#line 1608 "tex.w"

void print_esc(str_number s)
{int c;
/*243:*/
#line 5310 "tex.w"
c= escape_char

/*:243*/
#line 1611 "tex.w"
;
if(c>=0)if(c<256)print(c);
slow_print(s);
}

/*:63*//*64:*/
#line 1618 "tex.w"

void print_the_digs(eight_bits k)

{while(k> 0)
{decr(k);
if(dig[k]<10)print_char('0'+dig[k]);
else print_char('A'-10+dig[k]);
}
}

/*:64*//*65:*/
#line 1634 "tex.w"

void print_int(int n)
{uint8_t k;
int m;
k= 0;
if(n<0)
{print_char('-');
if(n> -100000000)negate(n);
else{m= -1-n;n= m/10;m= (m%10)+1;k= 1;
if(m<10)dig[0]= m;
else{dig[0]= 0;incr(n);
}
}
}
do{dig[k]= n%10;n= n/10;incr(k);
}while(!(n==0));
print_the_digs(k);
}

/*:65*//*262:*/
#line 5640 "tex.w"

void print_cs(int p)
{if(p<hash_base)
if(p>=single_base)
if(p==null_cs)
{print_esc(/*1526:*/
#line 25474 "tex.w"
401
/*:1526*/
#line 5645 "tex.w"
);print_esc(/*1527:*/
#line 25477 "tex.w"
402
/*:1527*/
#line 5645 "tex.w"
);print_char(' ');
}
else{print_esc(p-single_base);
if(cat_code(p-single_base)==letter)print_char(' ');
}
else if(p<active_base)print_esc(/*1528:*/
#line 25480 "tex.w"
403
/*:1528*/
#line 5650 "tex.w"
);

else print(p-active_base);
else if(p>=undefined_control_sequence)print_esc(/*1528:*/
#line 25480 "tex.w"
403
/*:1528*/
#line 5653 "tex.w"
);
else if((text(p)<0)||(text(p)>=str_ptr))print_esc(/*1529:*/
#line 25483 "tex.w"
404
/*:1529*/
#line 5654 "tex.w"
);

else{print_esc(text(p));
print_char(' ');
}
}

/*:262*//*263:*/
#line 5664 "tex.w"

void sprint_cs(pointer p)
{if(p<hash_base)
if(p<single_base)print(p-active_base);
else if(p<null_cs)print_esc(p-single_base);
else{print_esc(/*1526:*/
#line 25474 "tex.w"
401
/*:1526*/
#line 5669 "tex.w"
);print_esc(/*1527:*/
#line 25477 "tex.w"
402
/*:1527*/
#line 5669 "tex.w"
);
}
else print_esc(text(p));
}

/*:263*//*518:*/
#line 10100 "tex.w"

void print_file_name(int n,int a,int e)
{slow_print(a);slow_print(n);slow_print(e);
}

/*:518*//*699:*/
#line 13817 "tex.w"

void print_size(int s)
{if(s==text_size)print_esc(/*1438:*/
#line 25210 "tex.w"
313
/*:1438*/
#line 13819 "tex.w"
);
else if(s==script_size)print_esc(/*1439:*/
#line 25213 "tex.w"
314
/*:1439*/
#line 13820 "tex.w"
);
else print_esc(/*1440:*/
#line 25216 "tex.w"
315
/*:1440*/
#line 13821 "tex.w"
);
}

/*:699*//*1355:*/
#line 24737 "tex.w"

void print_write_whatsit(str_number s,pointer p)
{print_esc(s);
if(write_stream(p)<16)print_int(write_stream(p));
else if(write_stream(p)==16)print_char('*');

else print_char('-');
}

/*:1355*/
#line 272 "tex.w"

/*78:*/
#line 1836 "tex.w"

void normalize_selector(void);
void get_token(void);
void term_input(void);
void show_context(void);
void begin_file_reading(void);
void open_log_file(void);
void close_files_and_terminate(void);
void clear_for_error_prompt(void);
void give_err_help(void);
#ifdef DEBUG
void debug_help(void);
#else
#define debug_help() do_nothing
#endif

/*:78*//*81:*/
#line 1888 "tex.w"

void jump_out(void)
{close_files_and_terminate();exit(0);
}

/*:81*//*82:*/
#line 1895 "tex.w"

void error(void)
{
ASCII_code c;
int s1,s2,s3,s4;

if(history<error_message_issued)history= error_message_issued;
print_char('.');show_context();
if(interaction==error_stop_mode)/*83:*/
#line 1913 "tex.w"

loop{resume:clear_for_error_prompt();prompt_input("? ");

if(last==first)return;
c= buffer[first];
if(c>='a')c= c+'A'-'a';
/*84:*/
#line 1934 "tex.w"

switch(c){
case'0':case'1':case'2':case'3':case'4':case'5':case'6':case'7':case'8':case'9':if(deletions_allowed)
/*88:*/
#line 2007 "tex.w"

{s1= cur_tok;s2= cur_cmd;s3= cur_chr;s4= align_state;
align_state= 1000000;OK_to_interrupt= false;
if((last> first+1)&&(buffer[first+1]>='0')&&(buffer[first+1]<='9'))
c= c*10+buffer[first+1]-'0'*11;
else c= c-'0';
while(c> 0)
{get_token();
decr(c);
}
cur_tok= s1;cur_cmd= s2;cur_chr= s3;align_state= s4;OK_to_interrupt= true;
help2("I have just deleted some text, as you asked.")
("You can now delete more, or insert, or whatever.");
show_context();goto resume;
}

/*:88*/
#line 1937 "tex.w"
break;

#ifdef DEBUG
case'D':{debug_help();goto resume;}
#endif
case'E':if(base_ptr> 0)
{print_nl("You want to edit file ");

slow_print(input_stack[base_ptr].name_field);
print_str(" at line ");print_int(line);
interaction= scroll_mode;jump_out();
}break;
case'H':/*89:*/
#line 2023 "tex.w"

{if(use_err_help)
{give_err_help();use_err_help= false;
}
else{if(help_ptr==0)
help2("Sorry, I don't know how to help in this situation.")
("Maybe you should try asking a human?");
do{decr(help_ptr);print_str(help_line[help_ptr]);print_ln();
}while(!(help_ptr==0));
}
help4("Sorry, I already gave what help I could...")
("Maybe you should try asking a human?")
("An error might have occurred before I noticed any problems.")
("``If all else fails, read the instructions.'");
goto resume;
}

/*:89*/
#line 1949 "tex.w"

case'I':/*87:*/
#line 1991 "tex.w"

{begin_file_reading();

if(last> first+1)
{loc= first+1;buffer[first]= ' ';
}
else{prompt_input("insert>");loc= first;

}
first= last;
cur_input.limit_field= last-1;
return;
}

/*:87*/
#line 1950 "tex.w"

case'Q':case'R':case'S':/*86:*/
#line 1974 "tex.w"

{error_count= 0;interaction= batch_mode+c-'Q';
print_str("OK, entering ");
switch(c){
case'Q':{print_esc(/*1383:*/
#line 25045 "tex.w"
258
/*:1383*/
#line 1978 "tex.w"
);decr(selector);
}break;
case'R':print_esc(/*1384:*/
#line 25048 "tex.w"
259
/*:1384*/
#line 1980 "tex.w"
);break;
case'S':print_esc(/*1385:*/
#line 25051 "tex.w"
260
/*:1385*/
#line 1981 "tex.w"
);
}
print_str("...");print_ln();update_terminal;return;
}

/*:86*/
#line 1951 "tex.w"

case'X':{interaction= scroll_mode;jump_out();
}break;
default:do_nothing;
}
/*85:*/
#line 1958 "tex.w"

{print_str("Type <return> to proceed, S to scroll future error messages,");

print_nl("R to run without stopping, Q to run quietly,");
print_nl("I to insert something, ");
if(base_ptr> 0)print_str("E to edit your file,");
if(deletions_allowed)
print_nl("1 or ... or 9 to ignore the next 1 to 9 tokens of input,");
print_nl("H for help, X to quit.");
}

/*:85*/
#line 1956 "tex.w"


/*:84*/
#line 1919 "tex.w"
;
}

/*:83*/
#line 1903 "tex.w"
;
incr(error_count);
if(error_count==100)
{print_nl("(That makes 100 errors; please try again.)");

history= fatal_error_stop;jump_out();
}
/*90:*/
#line 2040 "tex.w"

if(interaction> batch_mode)decr(selector);
if(use_err_help)
{print_ln();give_err_help();
}
else while(help_ptr> 0)
{decr(help_ptr);print_nl(help_line[help_ptr]);
}
print_ln();
if(interaction> batch_mode)incr(selector);
print_ln()

/*:90*/
#line 1910 "tex.w"
;
}

/*:82*//*93:*/
#line 2079 "tex.w"

void fatal_error(char*s)
{normalize_selector();
print_err("Emergency stop");help1(s);succumb;

}

/*:93*//*94:*/
#line 2088 "tex.w"

void overflow(char*s,int n)
{normalize_selector();
print_err("TeX capacity exceeded, sorry [");

print_str(s);print_char('=');print_int(n);print_char(']');
help2("If you really absolutely need more capacity,")
("you can ask a wizard to enlarge me.");
succumb;
}

/*:94*//*95:*/
#line 2107 "tex.w"

void confusion(str_number s)

{normalize_selector();
if(history<error_message_issued)
{print_err("This can't happen (");print(s);print_char(')');

help1("I'm broken. Please show this to someone who can fix can fix");
}
else{print_err("I can't go on meeting you like this");

help2("One of your faux pas seems to have wounded me deeply...")
("in fact, I'm barely conscious. Please fix it and try again.");
}
succumb;
}

/*:95*/
#line 273 "tex.w"


/*:4*//*27:*/
#line 823 "tex.w"
bool a_open_in(alpha_file*f)

{reset((*f),name_of_file,"r");return reset_OK((*f));
}

bool a_open_out(alpha_file*f)

{rewrite((*f),name_of_file,"w");return rewrite_OK((*f));
}

bool b_open_in(byte_file*f)

{reset((*f),name_of_file,"rb");return reset_OK((*f));
}

bool b_open_out(byte_file*f)

{rewrite((*f),name_of_file,"wb");return rewrite_OK((*f));
}

bool w_open_in(word_file*f)

{reset((*f),name_of_file,"rb");return reset_OK((*f));
}

bool w_open_out(word_file*f)

{rewrite((*f),name_of_file,"wb");return rewrite_OK((*f));
}

/*:27*//*28:*/
#line 864 "tex.w"
void a_close(alpha_file*f)
{close((*f));
}

void b_close(byte_file*f)
{close((*f));
}

void w_close(word_file*f)
{close((*f));
}

/*:28*//*31:*/
#line 937 "tex.w"
bool input_ln(alpha_file*f,bool bypass_eoln)

{uint16_t last_nonblank;
if(bypass_eoln)if(!eof((*f)))get((*f));

last= first;
if(eof((*f)))return false;
else{last_nonblank= first;
while(!eoln((*f)))
{if(last>=max_buf_stack)
{max_buf_stack= last+1;
if(max_buf_stack==buf_size)
/*35:*/
#line 1023 "tex.w"

if(format_ident==0)
{write_ln(term_out,"Buffer size exceeded!");exit(0);

}
else{cur_input.loc_field= first;cur_input.limit_field= last-1;
overflow("buffer size",buf_size);

}

/*:35*/
#line 949 "tex.w"
;
}
buffer[last]= xord[(*f).d];get((*f));incr(last);
if(buffer[last-1]!=' ')last_nonblank= last;
}
last= last_nonblank;return true;
}
}

/*:31*//*37:*/
#line 1067 "tex.w"
bool init_terminal(void)
{
t_open_in;
loop{wake_up_terminal;write(term_out,"**");update_terminal;

if(!input_ln(&term_in,true))
{write_ln(term_out);
write(term_out,"! End of file on the terminal... why?");

return false;
}
loc= first;
while((loc<last)&&(buffer[loc]==' '))incr(loc);
if(loc<last)
{return true;

}
write_ln(term_out,"Please type the name of your input file.");
}
}

/*:37*//*43:*/
#line 1185 "tex.w"
str_number make_string(void)
{if(str_ptr==max_strings)
overflow("number of strings",max_strings-init_str_ptr);

incr(str_ptr);str_start[str_ptr]= pool_ptr;
return str_ptr-1;
}

/*:43*//*45:*/
#line 1204 "tex.w"
bool str_eq_buf(str_number s,int k)

{
pool_pointer j;
bool result;
j= str_start[s];
while(j<str_start[s+1])
{if(so(str_pool[j])!=buffer[k])
{result= false;goto not_found;
}
incr(j);incr(k);
}
result= true;
not_found:return result;
}

/*:45*//*46:*/
#line 1223 "tex.w"
bool str_eq_str(str_number s,str_number t)

{
pool_pointer j,k;
bool result;
result= false;
if(length(s)!=length(t))goto not_found;
j= str_start[s];k= str_start[t];
while(j<str_start[s+1])
{if(str_pool[j]!=str_pool[k])goto not_found;
incr(j);incr(k);
}
result= true;
not_found:return result;
}

/*:46*//*47:*/
#line 1245 "tex.w"

#ifdef INIT
bool get_strings_started(void)

{
int k,l;
uint8_t m,n;
str_number g;
int a;
bool c;
pool_ptr= 0;str_ptr= 0;str_start[0]= 0;
/*48:*/
#line 1265 "tex.w"

for(k= 0;k<=255;k++)
{if(/*49:*/
#line 1305 "tex.w"

(k<' ')||(k> '~')

/*:49*/
#line 1267 "tex.w"
)
{append_char('^');append_char('^');
if(k<0100)append_char(k+0100)
else if(k<0200)append_char(k-0100)
else{app_lc_hex(k/16);app_lc_hex(k%16);
}
}
else append_char(k);
g= make_string();
}

/*:48*/
#line 1256 "tex.w"
;
/*51:*/
#line 1324 "tex.w"

{int k;for(k= 1;k<=file_name_size;k++)name_of_file[k]= pool_name[k-1];}
if(a_open_in(&pool_file))
{c= false;
do{/*52:*/
#line 1336 "tex.w"

{if(eof(pool_file))bad_pool("! TEX.POOL has no check sum.");

read(pool_file,m);read(pool_file,n);
if(m=='*')/*53:*/
#line 1362 "tex.w"

{a= 0;k= 1;
loop{if((xord[n]<'0')||(xord[n]> '9'))
bad_pool("! TEX.POOL check sum doesn't have nine digits.");

a= 10*a+xord[n]-'0';
if(k==9)goto done;
incr(k);read(pool_file,n);
}
done:if(a!=0)bad_pool("! TEX.POOL doesn't match; TANGLE me again.");

c= true;
}

/*:53*/
#line 1340 "tex.w"

else{if((xord[m]<'0')||(xord[m]> '9')||
(xord[n]<'0')||(xord[n]> '9'))
bad_pool("! TEX.POOL line doesn't begin with two digits.");

l= xord[m]*10+xord[n]-'0'*11;
if(pool_ptr+l+string_vacancies> pool_size)
bad_pool("! You have to increase POOLSIZE.");

for(k= 1;k<=l;k++)
{if(eoln(pool_file))m= ' ';else read(pool_file,m);
append_char(xord[m]);
}
read_ln(pool_file);g= make_string();
}
}

/*:52*/
#line 1329 "tex.w"
;
}while(!(c));
a_close(&pool_file);return true;
}
else bad_pool("! I can't read TEX.POOL.")


/*:51*/
#line 1258 "tex.w"
;
}
#endif

/*:47*//*66:*/
#line 1656 "tex.w"
void print_two(int n)
{n= abs(n)%100;print_char('0'+(n/10));
print_char('0'+(n%10));
}

/*:66*//*67:*/
#line 1663 "tex.w"
void print_hex(int n)

{uint8_t k;
k= 0;print_char('"');
do{dig[k]= n%16;n= n/16;incr(k);
}while(!(n==0));
print_the_digs(k);
}

/*:67*//*69:*/
#line 1683 "tex.w"
void print_roman_int(int n)
{
pool_pointer j,k;
nonnegative_integer u,v;
j= str_start[/*1382:*/
#line 25042 "tex.w"
257
/*:1382*/
#line 1687 "tex.w"
];v= 1000;
loop{while(n>=v)
{print_char(so(str_pool[j]));n= n-v;
}
if(n<=0)return;
k= j+2;u= v/(so(str_pool[k-1])-'0');
if(str_pool[k-1]==si('2'))
{k= k+2;u= u/(so(str_pool[k-1])-'0');
}
if(n+u>=v)
{print_char(so(str_pool[k]));n= n+u;
}
else{j= j+2;v= v/(so(str_pool[j-1])-'0');
}
}
}

/*:69*//*70:*/
#line 1707 "tex.w"
void print_current_string(void)
{pool_pointer j;
j= str_start[str_ptr];
while(j<pool_ptr)
{print_char(so(str_pool[j]));incr(j);
}
}

/*:70*//*71:*/
#line 1725 "tex.w"
void term_input(void)
{int k;
update_terminal;
if(!input_ln(&term_in,true))fatal_error("End of file on the terminal!");

term_offset= 0;
decr(selector);
if(last!=first)for(k= first;k<=last-1;k++)print(buffer[k]);
print_ln();incr(selector);
}

/*:71*//*91:*/
#line 2055 "tex.w"
void int_error(int n)
{print_str(" (");print_int(n);print_char(')');error();
}

/*:91*//*92:*/
#line 2063 "tex.w"
void normalize_selector(void)
{if(log_opened)selector= term_and_log;
else selector= term_only;
if(job_name==0)open_log_file();
if(interaction==batch_mode)decr(selector);
}

/*:92*//*98:*/
#line 2147 "tex.w"
void pause_for_instructions(void)
{if(OK_to_interrupt)
{interaction= error_stop_mode;
if((selector==log_only)||(selector==no_print))
incr(selector);
print_err("Interruption");

help3("You rang?")
("Try to insert some instructions for me (e.g.,`I\\showlists'),")
("unless you just want to quit by typing `X'.");
deletions_allowed= false;error();deletions_allowed= true;
interrupt= 0;
}
}

/*:98*//*100:*/
#line 2186 "tex.w"
int half(int x)
{if(odd(x))return(x+1)/2;
else return x/2;
}

/*:100*//*102:*/
#line 2207 "tex.w"
scaled round_decimals(small_number k)

{int a;
a= 0;
while(k> 0)
{decr(k);a= (a+dig[k]*two)/10;
}
return(a+1)/2;
}

/*:102*//*103:*/
#line 2229 "tex.w"
void print_scaled(scaled s)

{scaled delta;
if(s<0)
{print_char('-');negate(s);
}
print_int(s/unity);
print_char('.');
s= 10*(s%unity)+5;delta= 10;
do{if(delta> unity)s= s+0100000-50000;
print_char('0'+(s/unity));s= 10*(s%unity);delta= delta*10;
}while(!(s<=delta));
}

/*:103*//*105:*/
#line 2279 "tex.w"
scaled mult_and_add(int n,scaled x,scaled y,scaled max_answer)
{if(n<0)
{negate(x);negate(n);
}
if(n==0)return y;
else if(((x<=(max_answer-y)/n)&&(-x<=(max_answer+y)/n)))
return n*x+y;
else{arith_error= true;return 0;
}
}

/*:105*//*106:*/
#line 2292 "tex.w"
scaled x_over_n(scaled x,int n)
{bool negative;
scaled x_over_n;negative= false;
if(n==0)
{arith_error= true;x_over_n= 0;rem= x;
}
else{if(n<0)
{negate(x);negate(n);negative= true;
}
if(x>=0)
{x_over_n= x/n;rem= x%n;
}
else{x_over_n= -((-x)/n);rem= -((-x)%n);
}
}
if(negative)negate(rem);
return x_over_n;}

/*:106*//*107:*/
#line 2317 "tex.w"
scaled xn_over_d(scaled x,int n,int d)
{bool positive;
nonnegative_integer t,u,v;
scaled xn_over_d;if(x>=0)positive= true;
else{negate(x);positive= false;
}
t= (x%0100000)*n;
u= (x/0100000)*n+(t/0100000);
v= (u%d)*0100000+(t%0100000);
if(u/d>=0100000)arith_error= true;
else u= 0100000*(u/d)+(v/d);
if(positive)
{xn_over_d= u;rem= v%d;
}
else{xn_over_d= -u;rem= -(v%d);
}
return xn_over_d;}

/*:107*//*108:*/
#line 2355 "tex.w"
halfword badness(scaled t,scaled s)
{int r;

if(t==0)return 0;
else if(s<=0)return inf_bad;
else{if(t<=7230584)r= (t*297)/s;
else if(s>=1663497)r= t/(s/297);
else r= t;
if(r> 1290)return inf_bad;
else return(r*r*r+0400000)/01000000;
}
}

/*:108*//*114:*/
#line 2524 "tex.w"

#ifdef DEBUG
void print_word(memory_word w)

{print_int(w.i);print_char(' ');
print_scaled(w.sc);print_char(' ');
print_scaled(round(unity*float(w.gr)));print_ln();

print_int(w.hh.lh);print_char('=');print_int(w.hh.b0);print_char(':');
print_int(w.hh.b1);print_char(';');print_int(w.hh.rh);print_char(' ');
print_int(w.qqqq.b0);print_char(':');print_int(w.qqqq.b1);print_char(':');
print_int(w.qqqq.b2);print_char(':');print_int(w.qqqq.b3);
}
#endif

/*:114*//*119:*/
#line 2633 "tex.w"
/*292:*/
#line 6322 "tex.w"

void show_token_list(int p,int q,int l)
{
int m,c;
ASCII_code match_chr;
ASCII_code n;
match_chr= '#';n= '0';tally= 0;
while((p!=null)&&(tally<l))
{if(p==q)/*320:*/
#line 7002 "tex.w"
set_trick_count

/*:320*/
#line 6330 "tex.w"
;
/*293:*/
#line 6339 "tex.w"

if((p<hi_mem_min)||(p> mem_end))
{print_esc(/*1386:*/
#line 25054 "tex.w"
261
/*:1386*/
#line 6341 "tex.w"
);return;

}
if(info(p)>=cs_token_flag)print_cs(info(p)-cs_token_flag);
else{m= info(p)/0400;c= info(p)%0400;
if(info(p)<0)print_esc(/*1567:*/
#line 25597 "tex.w"
442
/*:1567*/
#line 6346 "tex.w"
);

else/*294:*/
#line 6355 "tex.w"

switch(m){
case left_brace:case right_brace:case math_shift:case tab_mark:case sup_mark:case sub_mark:case spacer:
case letter:case other_char:print(c);break;
case mac_param:{print(c);print(c);
}break;
case out_param:{print(match_chr);
if(c<=9)print_char(c+'0');
else{print_char('!');return;
}
}break;
case match:{match_chr= c;print(c);incr(n);print_char(n);
if(n> '9')return;
}break;
case end_match:print_str("->");break;

default:print_esc(/*1567:*/
#line 25597 "tex.w"
442
/*:1567*/
#line 6371 "tex.w"
);

}

/*:294*/
#line 6348 "tex.w"
;
}

/*:293*/
#line 6331 "tex.w"
;
p= link(p);
}
if(p!=null)print_esc(/*1566:*/
#line 25594 "tex.w"
441
/*:1566*/
#line 6334 "tex.w"
);


}

/*:292*/
#line 2633 "tex.w"

/*306:*/
#line 6673 "tex.w"

void runaway(void)
{pointer p;
if(scanner_status> skipping)
{print_nl("Runaway ");

switch(scanner_status){
case defining:{print_str("definition");p= def_ref;
}break;
case matching:{print_str("argument");p= temp_head;
}break;
case aligning:{print_str("preamble");p= hold_head;
}break;
case absorbing:{print_str("text");p= def_ref;
}
}
print_char('?');print_ln();show_token_list(link(p),null,error_line-10);
}
}

/*:306*/
#line 2634 "tex.w"


/*:119*//*120:*/
#line 2645 "tex.w"
pointer get_avail(void)
{pointer p;
p= avail;
if(p!=null)avail= link(avail);
else if(mem_end<mem_max)
{incr(mem_end);p= mem_end;
}
else{decr(hi_mem_min);p= hi_mem_min;
if(hi_mem_min<=lo_mem_max)
{runaway();
overflow("main memory size",mem_max+1-mem_min);


}
}
link(p)= null;
incr_dyn_used;
return p;
}

/*:120*//*123:*/
#line 2691 "tex.w"
void flush_list(pointer p)

{pointer q,r;
if(p!=null)
{r= p;
do{q= r;r= link(r);
decr_dyn_used;
}while(!(r==null));
link(q)= avail;avail= p;
}
}

/*:123*//*125:*/
#line 2736 "tex.w"
pointer get_node(int s)
{
pointer p;
pointer q;
int r;
int t;
restart:p= rover;
do{/*127:*/
#line 2786 "tex.w"

q= p+node_size(p);

while(is_empty(q))
{t= rlink(q);
if(q==rover)rover= t;
llink(t)= llink(q);rlink(llink(q))= t;
q= q+node_size(q);
}
r= q-s;
if(r> p+1)/*128:*/
#line 2801 "tex.w"

{node_size(p)= r-p;

rover= p;
goto found;
}

/*:128*/
#line 2796 "tex.w"
;
if(r==p)if(rlink(p)!=p)
/*129:*/
#line 2810 "tex.w"

{rover= rlink(p);t= llink(p);
llink(rover)= t;rlink(t)= rover;
goto found;
}

/*:129*/
#line 2798 "tex.w"
;
node_size(p)= q-p

/*:127*/
#line 2744 "tex.w"
;

p= rlink(p);
}while(!(p==rover));
if(s==010000000000)
{return max_halfword;
}
if(lo_mem_max+2<hi_mem_min)if(lo_mem_max+2<=mem_bot+max_halfword)
/*126:*/
#line 2771 "tex.w"

{if(hi_mem_min-lo_mem_max>=1998)t= lo_mem_max+1000;
else t= lo_mem_max+1+(hi_mem_min-lo_mem_max)/2;

p= llink(rover);q= lo_mem_max;rlink(p)= q;llink(rover)= q;
if(t> mem_bot+max_halfword)t= mem_bot+max_halfword;
rlink(q)= rover;llink(q)= p;link(q)= empty_flag;node_size(q)= t-lo_mem_max;
lo_mem_max= t;link(lo_mem_max)= null;info(lo_mem_max)= null;
rover= q;goto restart;
}

/*:126*/
#line 2752 "tex.w"
;
overflow("main memory size",mem_max+1-mem_min);


found:link(r)= null;
#ifdef STAT
var_used= var_used+s;
#endif

return r;
}

/*:125*//*130:*/
#line 2821 "tex.w"
void free_node(pointer p,halfword s)

{pointer q;
node_size(p)= s;link(p)= empty_flag;
q= llink(rover);llink(p)= q;rlink(p)= rover;
llink(rover)= p;rlink(q)= p;
#ifdef STAT
var_used= var_used-s;
#endif

}

/*:130*//*131:*/
#line 2838 "tex.w"

#ifdef INIT
void sort_avail(void)

{pointer p,q,r;
pointer old_rover;
p= get_node(010000000000);
p= rlink(rover);rlink(rover)= max_halfword;old_rover= rover;
while(p!=old_rover)/*132:*/
#line 2860 "tex.w"

if(p<rover)
{q= p;p= rlink(q);rlink(q)= rover;rover= q;
}
else{q= rover;
while(rlink(q)<p)q= rlink(q);
r= rlink(p);rlink(p)= rlink(q);rlink(q)= p;p= r;
}

/*:132*/
#line 2847 "tex.w"
;
p= rover;
while(rlink(p)!=max_halfword)
{llink(rlink(p))= p;p= rlink(p);
}
rlink(p)= rover;llink(rover)= p;
}
#endif

/*:131*//*136:*/
#line 2969 "tex.w"
pointer new_null_box(void)
{pointer p;
p= get_node(box_node_size);type(p)= hlist_node;
subtype(p)= min_quarterword;
width(p)= 0;depth(p)= 0;height(p)= 0;shift_amount(p)= 0;list_ptr(p)= null;
glue_sign(p)= normal;glue_order(p)= normal;set_glue_ratio_zero(glue_set(p));
return p;
}

/*:136*//*139:*/
#line 2999 "tex.w"
pointer new_rule(void)
{pointer p;
p= get_node(rule_node_size);type(p)= rule_node;
subtype(p)= 0;
width(p)= null_flag;depth(p)= null_flag;height(p)= null_flag;
return p;
}

/*:139*//*144:*/
#line 3068 "tex.w"
pointer new_ligature(quarterword f,quarterword c,pointer q)
{pointer p;
p= get_node(small_node_size);type(p)= ligature_node;
font(lig_char(p))= f;character(lig_char(p))= c;lig_ptr(p)= q;
subtype(p)= 0;return p;
}

pointer new_lig_item(quarterword c)
{pointer p;
p= get_node(small_node_size);character(p)= c;lig_ptr(p)= null;
return p;
}

/*:144*//*145:*/
#line 3103 "tex.w"
pointer new_disc(void)
{pointer p;
p= get_node(small_node_size);type(p)= disc_node;
replace_count(p)= 0;pre_break(p)= null;post_break(p)= null;
return p;
}

/*:145*//*147:*/
#line 3137 "tex.w"
pointer new_math(scaled w,small_number s)
{pointer p;
p= get_node(small_node_size);type(p)= math_node;
subtype(p)= s;width(p)= w;return p;
}

/*:147*//*151:*/
#line 3219 "tex.w"
pointer new_spec(pointer p)
{pointer q;
q= get_node(glue_spec_size);
mem[q]= mem[p];glue_ref_count(q)= null;
width(q)= width(p);stretch(q)= stretch(p);shrink(q)= shrink(p);
return q;
}

/*:151*//*152:*/
#line 3232 "tex.w"
pointer new_param_glue(small_number n)
{pointer p;
pointer q;
p= get_node(small_node_size);type(p)= glue_node;subtype(p)= n+1;
leader_ptr(p)= null;
q= /*224:*/
#line 4665 "tex.w"
glue_par(n)

/*:224*/
#line 3237 "tex.w"
;
glue_ptr(p)= q;incr(glue_ref_count(q));
return p;
}

/*:152*//*153:*/
#line 3245 "tex.w"
pointer new_glue(pointer q)
{pointer p;
p= get_node(small_node_size);type(p)= glue_node;subtype(p)= normal;
leader_ptr(p)= null;glue_ptr(p)= q;incr(glue_ref_count(q));
return p;
}

/*:153*//*154:*/
#line 3259 "tex.w"
pointer new_skip_param(small_number n)
{pointer p;
temp_ptr= new_spec(/*224:*/
#line 4665 "tex.w"
glue_par(n)

/*:224*/
#line 3261 "tex.w"
);
p= new_glue(temp_ptr);glue_ref_count(temp_ptr)= null;subtype(p)= n+1;
return p;
}

/*:154*//*156:*/
#line 3283 "tex.w"
pointer new_kern(scaled w)
{pointer p;
p= get_node(small_node_size);type(p)= kern_node;
subtype(p)= normal;
width(p)= w;
return p;
}

/*:156*//*158:*/
#line 3306 "tex.w"
pointer new_penalty(int m)
{pointer p;
p= get_node(small_node_size);type(p)= penalty_node;
subtype(p)= 0;
penalty(p)= m;return p;
}

/*:158*//*167:*/
#line 3449 "tex.w"

#ifdef DEBUG
void check_mem(bool print_locs)
{
pointer p,q;
bool clobbered;
for(p= mem_min;p<=lo_mem_max;p++)is_free[p]= false;

for(p= hi_mem_min;p<=mem_end;p++)is_free[p]= false;
/*168:*/
#line 3469 "tex.w"

p= avail;q= null;clobbered= false;
while(p!=null)
{if((p> mem_end)||(p<hi_mem_min))clobbered= true;
else if(is_free[p])clobbered= true;
if(clobbered)
{print_nl("AVAIL list clobbered at ");

print_int(q);goto done1;
}
is_free[p]= true;q= p;p= link(q);
}
done1:

/*:168*/
#line 3458 "tex.w"
;
/*169:*/
#line 3483 "tex.w"

p= rover;q= null;clobbered= false;
do{if((p>=lo_mem_max)||(p<mem_min))clobbered= true;
else if((rlink(p)>=lo_mem_max)||(rlink(p)<mem_min))clobbered= true;
else if(!(is_empty(p))||(node_size(p)<2)||
(p+node_size(p)> lo_mem_max)||(llink(rlink(p))!=p))clobbered= true;
if(clobbered)
{print_nl("Double-AVAIL list clobbered at ");
print_int(q);goto done2;
}
for(q= p;q<=p+node_size(p)-1;q++)
{if(is_free[q])
{print_nl("Doubly free location at ");

print_int(q);goto done2;
}
is_free[q]= true;
}
q= p;p= rlink(p);
}while(!(p==rover));
done2:

/*:169*/
#line 3459 "tex.w"
;
/*170:*/
#line 3505 "tex.w"

p= mem_min;
while(p<=lo_mem_max)
{if(is_empty(p))
{print_nl("Bad flag at ");print_int(p);

}
while((p<=lo_mem_max)&&!is_free[p])incr(p);
while((p<=lo_mem_max)&&is_free[p])incr(p);
}

/*:170*/
#line 3460 "tex.w"
;
if(print_locs)/*171:*/
#line 3516 "tex.w"

{print_nl("New busy locs:");
for(p= mem_min;p<=lo_mem_max;p++)
if(!is_free[p]&&((p> was_lo_max)||was_free[p]))
{print_char(' ');print_int(p);
}
for(p= hi_mem_min;p<=mem_end;p++)
if(!is_free[p]&&
((p<was_hi_min)||(p> was_mem_end)||was_free[p]))
{print_char(' ');print_int(p);
}
}

/*:171*/
#line 3461 "tex.w"
;
for(p= mem_min;p<=lo_mem_max;p++)was_free[p]= is_free[p];
for(p= hi_mem_min;p<=mem_end;p++)was_free[p]= is_free[p];

was_mem_end= mem_end;was_lo_max= lo_mem_max;was_hi_min= hi_mem_min;
}
#endif

/*:167*//*172:*/
#line 3538 "tex.w"

#ifdef DEBUG
void search_mem(pointer p)
{int q;
for(q= mem_min;q<=lo_mem_max;q++)
{if(link(q)==p)
{print_nl("LINK(");print_int(q);print_char(')');
}
if(info(q)==p)
{print_nl("INFO(");print_int(q);print_char(')');
}
}
for(q= hi_mem_min;q<=mem_end;q++)
{if(link(q)==p)
{print_nl("LINK(");print_int(q);print_char(')');
}
if(info(q)==p)
{print_nl("INFO(");print_int(q);print_char(')');
}
}
/*255:*/
#line 5513 "tex.w"

for(q= active_base;q<=box_base+255;q++)
{if(equiv(q)==p)
{print_nl("EQUIV(");print_int(q);print_char(')');
}
}

/*:255*/
#line 3558 "tex.w"
;
/*285:*/
#line 6172 "tex.w"

if(save_ptr> 0)for(q= 0;q<=save_ptr-1;q++)
{if(equiv_field(save_stack[q])==p)
{print_nl("SAVE(");print_int(q);print_char(')');
}
}

/*:285*/
#line 3559 "tex.w"
;
/*933:*/
#line 18262 "tex.w"

for(q= 0;q<=hyph_size;q++)
{if(hyph_list[q]==p)
{print_nl("HYPH(");print_int(q);print_char(')');
}
}

/*:933*/
#line 3560 "tex.w"
;
}
#endif

/*:172*//*174:*/
#line 3588 "tex.w"
void short_display(int p)
{int n;
while(p> mem_min)
{if(is_char_node(p))
{if(p<=mem_end)
{if(font(p)!=font_in_short_display)
{if((font(p)<font_base)||(font(p)> font_max))
print_char('*');

else/*267:*/
#line 5855 "tex.w"

print_esc(font_id_text(font(p)))

/*:267*/
#line 3597 "tex.w"
;
print_char(' ');font_in_short_display= font(p);
}
print_ASCII(qo(character(p)));
}
}
else/*175:*/
#line 3608 "tex.w"

switch(type(p)){
case hlist_node:case vlist_node:case ins_node:case whatsit_node:case mark_node:case adjust_node:
case unset_node:print_str("[]");break;
case rule_node:print_char('|');break;
case glue_node:if(glue_ptr(p)!=zero_glue)print_char(' ');break;
case math_node:print_char('$');break;
case ligature_node:short_display(lig_ptr(p));break;
case disc_node:{short_display(pre_break(p));
short_display(post_break(p));
n= replace_count(p);
while(n> 0)
{if(link(p)!=null)p= link(p);
decr(n);
}
}break;
default:do_nothing;
}

/*:175*/
#line 3603 "tex.w"
;
p= link(p);
}
}

/*:174*//*176:*/
#line 3631 "tex.w"
void print_font_and_char(int p)
{if(p> mem_end)print_esc(/*1386:*/
#line 25054 "tex.w"
261
/*:1386*/
#line 3632 "tex.w"
);
else{if((font(p)<font_base)||(font(p)> font_max))print_char('*');

else/*267:*/
#line 5855 "tex.w"

print_esc(font_id_text(font(p)))

/*:267*/
#line 3635 "tex.w"
;
print_char(' ');print_ASCII(qo(character(p)));
}
}

void print_mark(int p)
{print_char('{');
if((p<hi_mem_min)||(p> mem_end))print_esc(/*1386:*/
#line 25054 "tex.w"
261
/*:1386*/
#line 3642 "tex.w"
);
else show_token_list(link(p),null,max_print_line-10);
print_char('}');
}

void print_rule_dimen(scaled d)
{if(is_running(d))print_char('*');else print_scaled(d);

}

/*:176*//*177:*/
#line 3655 "tex.w"
void print_glue(scaled d,int order,str_number s)

{print_scaled(d);
if((order<normal)||(order> filll))print_str("foul");
else if(order> normal)
{print_str("fil");
while(order> fil)
{print_char('l');decr(order);
}
}
else if(s!=0)print(s);
}

/*:177*//*178:*/
#line 3670 "tex.w"
void print_spec(int p,str_number s)

{if((p<mem_min)||(p>=lo_mem_max))print_char('*');

else{print_scaled(width(p));
if(s!=0)print(s);
if(stretch(p)!=0)
{print_str(" plus ");print_glue(stretch(p),stretch_order(p),s);
}
if(shrink(p)!=0)
{print_str(" minus ");print_glue(shrink(p),shrink_order(p),s);
}
}
}

/*:178*//*179:*/
#line 3688 "tex.w"
/*691:*/
#line 13645 "tex.w"

void print_fam_and_char(pointer p)
{print_esc(/*1490:*/
#line 25366 "tex.w"
365
/*:1490*/
#line 13647 "tex.w"
);print_int(fam(p));print_char(' ');
print_ASCII(qo(character(p)));
}

void print_delimiter(pointer p)
{int a;
a= small_fam(p)*256+qo(small_char(p));
a= a*0x1000+large_fam(p)*256+qo(large_char(p));
if(a<0)print_int(a);
else print_hex(a);
}

/*:691*//*692:*/
#line 13666 "tex.w"

void show_info(void);
void print_subsidiary_data(pointer p,ASCII_code c)

{if(cur_length>=depth_threshold)
{if(math_type(p)!=empty)print_str(" []");
}
else{append_char(c);
temp_ptr= p;
switch(math_type(p)){
case math_char:{print_ln();print_current_string();print_fam_and_char(p);
}break;
case sub_box:show_info();break;
case sub_mlist:if(info(p)==null)
{print_ln();print_current_string();print_str("{}");
}
else show_info();break;
default:do_nothing;
}
flush_char;
}
}

/*:692*//*694:*/
#line 13703 "tex.w"

void print_style(int c)
{switch(c/2){
case 0:print_esc(/*1645:*/
#line 25831 "tex.w"
520
/*:1645*/
#line 13706 "tex.w"
);break;
case 1:print_esc(/*1646:*/
#line 25834 "tex.w"
521
/*:1646*/
#line 13707 "tex.w"
);break;
case 2:print_esc(/*1647:*/
#line 25837 "tex.w"
522
/*:1647*/
#line 13708 "tex.w"
);break;
case 3:print_esc(/*1648:*/
#line 25840 "tex.w"
523
/*:1648*/
#line 13709 "tex.w"
);break;
default:print_str("Unknown style!");
}
}

/*:694*/
#line 3688 "tex.w"

/*225:*/
#line 4671 "tex.w"

void print_skip_param(int n)
{switch(n){
case line_skip_code:print_esc(/*1405:*/
#line 25111 "tex.w"
280
/*:1405*/
#line 4674 "tex.w"
);break;
case baseline_skip_code:print_esc(/*1406:*/
#line 25114 "tex.w"
281
/*:1406*/
#line 4675 "tex.w"
);break;
case par_skip_code:print_esc(/*1407:*/
#line 25117 "tex.w"
282
/*:1407*/
#line 4676 "tex.w"
);break;
case above_display_skip_code:print_esc(/*1408:*/
#line 25120 "tex.w"
283
/*:1408*/
#line 4677 "tex.w"
);break;
case below_display_skip_code:print_esc(/*1409:*/
#line 25123 "tex.w"
284
/*:1409*/
#line 4678 "tex.w"
);break;
case above_display_short_skip_code:print_esc(/*1410:*/
#line 25126 "tex.w"
285
/*:1410*/
#line 4679 "tex.w"
);break;
case below_display_short_skip_code:print_esc(/*1411:*/
#line 25129 "tex.w"
286
/*:1411*/
#line 4680 "tex.w"
);break;
case left_skip_code:print_esc(/*1412:*/
#line 25132 "tex.w"
287
/*:1412*/
#line 4681 "tex.w"
);break;
case right_skip_code:print_esc(/*1413:*/
#line 25135 "tex.w"
288
/*:1413*/
#line 4682 "tex.w"
);break;
case top_skip_code:print_esc(/*1414:*/
#line 25138 "tex.w"
289
/*:1414*/
#line 4683 "tex.w"
);break;
case split_top_skip_code:print_esc(/*1415:*/
#line 25141 "tex.w"
290
/*:1415*/
#line 4684 "tex.w"
);break;
case tab_skip_code:print_esc(/*1416:*/
#line 25144 "tex.w"
291
/*:1416*/
#line 4685 "tex.w"
);break;
case space_skip_code:print_esc(/*1417:*/
#line 25147 "tex.w"
292
/*:1417*/
#line 4686 "tex.w"
);break;
case xspace_skip_code:print_esc(/*1418:*/
#line 25150 "tex.w"
293
/*:1418*/
#line 4687 "tex.w"
);break;
case par_fill_skip_code:print_esc(/*1419:*/
#line 25153 "tex.w"
294
/*:1419*/
#line 4688 "tex.w"
);break;
case thin_mu_skip_code:print_esc(/*1420:*/
#line 25156 "tex.w"
295
/*:1420*/
#line 4689 "tex.w"
);break;
case med_mu_skip_code:print_esc(/*1421:*/
#line 25159 "tex.w"
296
/*:1421*/
#line 4690 "tex.w"
);break;
case thick_mu_skip_code:print_esc(/*1422:*/
#line 25162 "tex.w"
297
/*:1422*/
#line 4691 "tex.w"
);break;
default:print_str("[unknown glue parameter!]");
}
}

/*:225*/
#line 3689 "tex.w"


/*:179*//*182:*/
#line 3726 "tex.w"
void show_node_list(int p)
{
int n;
double g;
if(cur_length> depth_threshold)
{if(p> null)print_str(" []");

return;
}
n= 0;
while(p> mem_min)
{print_ln();print_current_string();
if(p> mem_end)
{print_str("Bad link, display aborted.");return;

}
incr(n);if(n> breadth_max)
{print_str("etc.");return;

}
/*183:*/
#line 3752 "tex.w"

if(is_char_node(p))print_font_and_char(p);
else switch(type(p)){
case hlist_node:case vlist_node:case unset_node:/*184:*/
#line 3771 "tex.w"

{if(type(p)==hlist_node)print_esc('h');
else if(type(p)==vlist_node)print_esc('v');
else print_esc(/*1388:*/
#line 25060 "tex.w"
263
/*:1388*/
#line 3774 "tex.w"
);
print_str("box(");print_scaled(height(p));print_char('+');
print_scaled(depth(p));print_str(")x");print_scaled(width(p));
if(type(p)==unset_node)
/*185:*/
#line 3787 "tex.w"

{if(span_count(p)!=min_quarterword)
{print_str(" (");print_int(qo(span_count(p))+1);
print_str(" columns)");
}
if(glue_stretch(p)!=0)
{print_str(", stretch ");print_glue(glue_stretch(p),glue_order(p),0);
}
if(glue_shrink(p)!=0)
{print_str(", shrink ");print_glue(glue_shrink(p),glue_sign(p),0);
}
}

/*:185*/
#line 3778 "tex.w"

else{/*186:*/
#line 3810 "tex.w"

g= float(glue_set(p));
if((g!=float_constant(0))&&(glue_sign(p)!=normal))
{print_str(", glue set ");
if(glue_sign(p)==shrinking)print_str("- ");
if(abs(mem[p+glue_offset].i)<04000000)print_str("?.?");
else if(abs(g)> float_constant(20000))
{if(g> float_constant(0))print_char('>');
else print_str("< -");
print_glue(20000*unity,glue_order(p),0);
}
else print_glue(round(unity*g),glue_order(p),0);

}

/*:186*/
#line 3779 "tex.w"
;
if(shift_amount(p)!=0)
{print_str(", shifted ");print_scaled(shift_amount(p));
}
}
node_list_display(list_ptr(p));
}

/*:184*/
#line 3755 "tex.w"
break;
case rule_node:/*187:*/
#line 3825 "tex.w"

{print_esc(/*1389:*/
#line 25063 "tex.w"
264
/*:1389*/
#line 3826 "tex.w"
);print_rule_dimen(height(p));print_char('+');
print_rule_dimen(depth(p));print_str(")x");print_rule_dimen(width(p));
}

/*:187*/
#line 3756 "tex.w"
break;
case ins_node:/*188:*/
#line 3830 "tex.w"

{print_esc(/*1390:*/
#line 25066 "tex.w"
265
/*:1390*/
#line 3831 "tex.w"
);print_int(qo(subtype(p)));
print_str(", natural size ");print_scaled(height(p));
print_str("; split(");print_spec(split_top_ptr(p),0);
print_char(',');print_scaled(depth(p));
print_str("); float cost ");print_int(float_cost(p));
node_list_display(ins_ptr(p));
}

/*:188*/
#line 3757 "tex.w"
break;
case whatsit_node:/*1356:*/
#line 24746 "tex.w"

switch(subtype(p)){
case open_node:{print_write_whatsit(/*1783:*/
#line 26245 "tex.w"
658
/*:1783*/
#line 24748 "tex.w"
,p);
print_char('=');print_file_name(open_name(p),open_area(p),open_ext(p));
}break;
case write_node:{print_write_whatsit(/*1568:*/
#line 25600 "tex.w"
443
/*:1568*/
#line 24751 "tex.w"
,p);
print_mark(write_tokens(p));
}break;
case close_node:print_write_whatsit(/*1784:*/
#line 26248 "tex.w"
659
/*:1784*/
#line 24754 "tex.w"
,p);break;
case special_node:{print_esc(/*1785:*/
#line 26251 "tex.w"
660
/*:1785*/
#line 24755 "tex.w"
);
print_mark(write_tokens(p));
}break;
case language_node:{print_esc(/*1787:*/
#line 26257 "tex.w"
662
/*:1787*/
#line 24758 "tex.w"
);
print_int(what_lang(p));print_str(" (hyphenmin ");
print_int(what_lhm(p));print_char(',');
print_int(what_rhm(p));print_char(')');
}break;
default:print_str("whatsit?");
}

/*:1356*/
#line 3758 "tex.w"
break;
case glue_node:/*189:*/
#line 3839 "tex.w"

if(subtype(p)>=a_leaders)/*190:*/
#line 3857 "tex.w"

{print_esc(empty_string);
if(subtype(p)==c_leaders)print_char('c');
else if(subtype(p)==x_leaders)print_char('x');
print_str("leaders ");print_spec(glue_ptr(p),0);
node_list_display(leader_ptr(p));
}

/*:190*/
#line 3840 "tex.w"

else{print_esc(/*1391:*/
#line 25069 "tex.w"
266
/*:1391*/
#line 3841 "tex.w"
);
if(subtype(p)!=normal)
{print_char('(');
if(subtype(p)<cond_math_glue)
print_skip_param(subtype(p)-1);
else if(subtype(p)==cond_math_glue)print_esc(/*1392:*/
#line 25072 "tex.w"
267
/*:1392*/
#line 3846 "tex.w"
);
else print_esc(/*1393:*/
#line 25075 "tex.w"
268
/*:1393*/
#line 3847 "tex.w"
);
print_char(')');
}
if(subtype(p)!=cond_math_glue)
{print_char(' ');
if(subtype(p)<cond_math_glue)print_spec(glue_ptr(p),0);
else print_spec(glue_ptr(p),/*1394:*/
#line 25078 "tex.w"
269
/*:1394*/
#line 3853 "tex.w"
);
}
}

/*:189*/
#line 3759 "tex.w"
break;
case kern_node:/*191:*/
#line 3867 "tex.w"

if(subtype(p)!=mu_glue)
{print_esc(/*1396:*/
#line 25084 "tex.w"
271
/*:1396*/
#line 3869 "tex.w"
);
if(subtype(p)!=normal)print_char(' ');
print_scaled(width(p));
if(subtype(p)==acc_kern)print_str(" (for accent)");

}
else{print_esc(/*1397:*/
#line 25087 "tex.w"
272
/*:1397*/
#line 3875 "tex.w"
);print_scaled(width(p));print_str("mu");
}

/*:191*/
#line 3760 "tex.w"
break;
case math_node:/*192:*/
#line 3878 "tex.w"

{print_esc(/*1398:*/
#line 25090 "tex.w"
273
/*:1398*/
#line 3879 "tex.w"
);
if(subtype(p)==before)print_str("on");
else print_str("off");
if(width(p)!=0)
{print_str(", surrounded ");print_scaled(width(p));
}
}

/*:192*/
#line 3761 "tex.w"
break;
case ligature_node:/*193:*/
#line 3887 "tex.w"

{print_font_and_char(lig_char(p));print_str(" (ligature ");
if(subtype(p)> 1)print_char('|');
font_in_short_display= font(lig_char(p));short_display(lig_ptr(p));
if(odd(subtype(p)))print_char('|');
print_char(')');
}

/*:193*/
#line 3762 "tex.w"
break;
case penalty_node:/*194:*/
#line 3895 "tex.w"

{print_esc(/*1399:*/
#line 25093 "tex.w"
274
/*:1399*/
#line 3896 "tex.w"
);print_int(penalty(p));
}

/*:194*/
#line 3763 "tex.w"
break;
case disc_node:/*195:*/
#line 3902 "tex.w"

{print_esc(/*1400:*/
#line 25096 "tex.w"
275
/*:1400*/
#line 3903 "tex.w"
);
if(replace_count(p)> 0)
{print_str(" replacing ");print_int(replace_count(p));
}
node_list_display(pre_break(p));
append_char('|');show_node_list(post_break(p));flush_char;
}

/*:195*/
#line 3764 "tex.w"
break;
case mark_node:/*196:*/
#line 3911 "tex.w"

{print_esc(/*1401:*/
#line 25099 "tex.w"
276
/*:1401*/
#line 3912 "tex.w"
);print_mark(mark_ptr(p));
}

/*:196*/
#line 3765 "tex.w"
break;
case adjust_node:/*197:*/
#line 3915 "tex.w"

{print_esc(/*1402:*/
#line 25102 "tex.w"
277
/*:1402*/
#line 3916 "tex.w"
);node_list_display(adjust_ptr(p));
}

/*:197*/
#line 3766 "tex.w"
break;
/*690:*/
#line 13635 "tex.w"

case style_node:print_style(subtype(p));break;
case choice_node:/*695:*/
#line 13714 "tex.w"

{print_esc(/*1547:*/
#line 25537 "tex.w"
422
/*:1547*/
#line 13715 "tex.w"
);
append_char('D');show_node_list(display_mlist(p));flush_char;
append_char('T');show_node_list(text_mlist(p));flush_char;
append_char('S');show_node_list(script_mlist(p));flush_char;
append_char('s');show_node_list(script_script_mlist(p));flush_char;
}

/*:695*/
#line 13637 "tex.w"
break;
case ord_noad:case op_noad:case bin_noad:case rel_noad:case open_noad:case close_noad:case punct_noad:case inner_noad:
case radical_noad:case over_noad:case under_noad:case vcenter_noad:case accent_noad:
case left_noad:case right_noad:/*696:*/
#line 13722 "tex.w"

{switch(type(p)){
case ord_noad:print_esc(/*1649:*/
#line 25843 "tex.w"
524
/*:1649*/
#line 13724 "tex.w"
);break;
case op_noad:print_esc(/*1650:*/
#line 25846 "tex.w"
525
/*:1650*/
#line 13725 "tex.w"
);break;
case bin_noad:print_esc(/*1651:*/
#line 25849 "tex.w"
526
/*:1651*/
#line 13726 "tex.w"
);break;
case rel_noad:print_esc(/*1652:*/
#line 25852 "tex.w"
527
/*:1652*/
#line 13727 "tex.w"
);break;
case open_noad:print_esc(/*1653:*/
#line 25855 "tex.w"
528
/*:1653*/
#line 13728 "tex.w"
);break;
case close_noad:print_esc(/*1654:*/
#line 25858 "tex.w"
529
/*:1654*/
#line 13729 "tex.w"
);break;
case punct_noad:print_esc(/*1655:*/
#line 25861 "tex.w"
530
/*:1655*/
#line 13730 "tex.w"
);break;
case inner_noad:print_esc(/*1656:*/
#line 25864 "tex.w"
531
/*:1656*/
#line 13731 "tex.w"
);break;
case over_noad:print_esc(/*1657:*/
#line 25867 "tex.w"
532
/*:1657*/
#line 13732 "tex.w"
);break;
case under_noad:print_esc(/*1658:*/
#line 25870 "tex.w"
533
/*:1658*/
#line 13733 "tex.w"
);break;
case vcenter_noad:print_esc(/*1561:*/
#line 25579 "tex.w"
436
/*:1561*/
#line 13734 "tex.w"
);break;
case radical_noad:{print_esc(/*1555:*/
#line 25561 "tex.w"
430
/*:1555*/
#line 13735 "tex.w"
);print_delimiter(left_delimiter(p));
}break;
case accent_noad:{print_esc(/*1530:*/
#line 25486 "tex.w"
405
/*:1530*/
#line 13737 "tex.w"
);print_fam_and_char(accent_chr(p));
}break;
case left_noad:{print_esc(/*1659:*/
#line 25873 "tex.w"
534
/*:1659*/
#line 13739 "tex.w"
);print_delimiter(delimiter(p));
}break;
case right_noad:{print_esc(/*1660:*/
#line 25876 "tex.w"
535
/*:1660*/
#line 13741 "tex.w"
);print_delimiter(delimiter(p));
}
}
if(subtype(p)!=normal)
if(subtype(p)==limits)print_esc(/*1661:*/
#line 25879 "tex.w"
536
/*:1661*/
#line 13745 "tex.w"
);
else print_esc(/*1662:*/
#line 25882 "tex.w"
537
/*:1662*/
#line 13746 "tex.w"
);
if(type(p)<left_noad)print_subsidiary_data(nucleus(p),'.');
print_subsidiary_data(supscr(p),'^');
print_subsidiary_data(subscr(p),'_');
}

/*:696*/
#line 13640 "tex.w"
break;
case fraction_noad:/*697:*/
#line 13752 "tex.w"

{print_esc(/*1663:*/
#line 25885 "tex.w"
538
/*:1663*/
#line 13753 "tex.w"
);
if(thickness(p)==default_code)print_str("= default");
else print_scaled(thickness(p));
if((small_fam(left_delimiter(p))!=0)||
(small_char(left_delimiter(p))!=min_quarterword)||
(large_fam(left_delimiter(p))!=0)||
(large_char(left_delimiter(p))!=min_quarterword))
{print_str(", left-delimiter ");print_delimiter(left_delimiter(p));
}
if((small_fam(right_delimiter(p))!=0)||
(small_char(right_delimiter(p))!=min_quarterword)||
(large_fam(right_delimiter(p))!=0)||
(large_char(right_delimiter(p))!=min_quarterword))
{print_str(", right-delimiter ");print_delimiter(right_delimiter(p));
}
print_subsidiary_data(numerator(p),'\\');
print_subsidiary_data(denominator(p),'/');
}

/*:697*/
#line 13641 "tex.w"
break;

/*:690*/
#line 3767 "tex.w"

default:print_str("Unknown node type!");
}

/*:183*/
#line 3746 "tex.w"
;
p= link(p);
}

}

/*:182*//*198:*/
#line 3922 "tex.w"
void show_box(pointer p)
{/*236:*/
#line 5085 "tex.w"

depth_threshold= show_box_depth;
breadth_max= show_box_breadth

/*:236*/
#line 3923 "tex.w"
;
if(breadth_max<=0)breadth_max= 5;
if(pool_ptr+depth_threshold>=pool_size)
depth_threshold= pool_size-pool_ptr-1;

show_node_list(p);
print_ln();
}

/*:198*//*200:*/
#line 3946 "tex.w"
void delete_token_ref(pointer p)

{if(token_ref_count(p)==null)flush_list(p);
else decr(token_ref_count(p));
}

/*:200*//*201:*/
#line 3960 "tex.w"
void delete_glue_ref(pointer p)
fast_delete_glue_ref(p)

/*:201*//*202:*/
#line 3968 "tex.w"
void flush_node_list(pointer p)
{
pointer q;
while(p!=null)

{q= link(p);
if(is_char_node(p))free_avail(p)
else{switch(type(p)){
case hlist_node:case vlist_node:case unset_node:{flush_node_list(list_ptr(p));
free_node(p,box_node_size);goto done;
}
case rule_node:{free_node(p,rule_node_size);goto done;
}
case ins_node:{flush_node_list(ins_ptr(p));
delete_glue_ref(split_top_ptr(p));
free_node(p,ins_node_size);goto done;
}
case whatsit_node:/*1358:*/
#line 24780 "tex.w"

{switch(subtype(p)){
case open_node:free_node(p,open_node_size);break;
case write_node:case special_node:{delete_token_ref(write_tokens(p));
free_node(p,write_node_size);goto done;
}
case close_node:case language_node:free_node(p,small_node_size);break;
default:confusion(/*1790:*/
#line 26266 "tex.w"
665
/*:1790*/
#line 24787 "tex.w"
);

}
goto done;
}

/*:1358*/
#line 3985 "tex.w"

case glue_node:{fast_delete_glue_ref(glue_ptr(p));
if(leader_ptr(p)!=null)flush_node_list(leader_ptr(p));
}break;
case kern_node:case math_node:case penalty_node:do_nothing;break;
case ligature_node:flush_node_list(lig_ptr(p));break;
case mark_node:delete_token_ref(mark_ptr(p));break;
case disc_node:{flush_node_list(pre_break(p));
flush_node_list(post_break(p));
}break;
case adjust_node:flush_node_list(adjust_ptr(p));break;
/*698:*/
#line 13774 "tex.w"

case style_node:{free_node(p,style_node_size);goto done;
}
case choice_node:{flush_node_list(display_mlist(p));
flush_node_list(text_mlist(p));
flush_node_list(script_mlist(p));
flush_node_list(script_script_mlist(p));
free_node(p,style_node_size);goto done;
}
case ord_noad:case op_noad:case bin_noad:case rel_noad:case open_noad:case close_noad:case punct_noad:case inner_noad:
case radical_noad:case over_noad:case under_noad:case vcenter_noad:case accent_noad:
{if(math_type(nucleus(p))>=sub_box)
flush_node_list(info(nucleus(p)));
if(math_type(supscr(p))>=sub_box)
flush_node_list(info(supscr(p)));
if(math_type(subscr(p))>=sub_box)
flush_node_list(info(subscr(p)));
if(type(p)==radical_noad)free_node(p,radical_noad_size);
else if(type(p)==accent_noad)free_node(p,accent_noad_size);
else free_node(p,noad_size);
goto done;
}
case left_noad:case right_noad:{free_node(p,noad_size);goto done;
}
case fraction_noad:{flush_node_list(info(numerator(p)));
flush_node_list(info(denominator(p)));
free_node(p,fraction_noad_size);goto done;
}

/*:698*/
#line 3996 "tex.w"

default:confusion(/*1403:*/
#line 25105 "tex.w"
278
/*:1403*/
#line 3997 "tex.w"
);

}
free_node(p,small_node_size);
done:;}
p= q;
}
}

/*:202*//*204:*/
#line 4030 "tex.w"
pointer copy_node_list(pointer p)

{pointer h;
pointer q;
pointer r;
uint8_t words;
h= get_avail();q= h;
while(p!=null)
{/*205:*/
#line 4045 "tex.w"

words= 1;
if(is_char_node(p))r= get_avail();
else/*206:*/
#line 4054 "tex.w"

switch(type(p)){
case hlist_node:case vlist_node:case unset_node:{r= get_node(box_node_size);
mem[r+6]= mem[p+6];mem[r+5]= mem[p+5];
list_ptr(r)= copy_node_list(list_ptr(p));
words= 5;
}break;
case rule_node:{r= get_node(rule_node_size);words= rule_node_size;
}break;
case ins_node:{r= get_node(ins_node_size);mem[r+4]= mem[p+4];
add_glue_ref(split_top_ptr(p));
ins_ptr(r)= copy_node_list(ins_ptr(p));
words= ins_node_size-1;
}break;
case whatsit_node:/*1357:*/
#line 24766 "tex.w"

switch(subtype(p)){
case open_node:{r= get_node(open_node_size);words= open_node_size;
}break;
case write_node:case special_node:{r= get_node(write_node_size);
add_token_ref(write_tokens(p));words= write_node_size;
}break;
case close_node:case language_node:{r= get_node(small_node_size);
words= small_node_size;
}break;
default:confusion(/*1789:*/
#line 26263 "tex.w"
664
/*:1789*/
#line 24776 "tex.w"
);

}

/*:1357*/
#line 4069 "tex.w"
break;
case glue_node:{r= get_node(small_node_size);add_glue_ref(glue_ptr(p));
glue_ptr(r)= glue_ptr(p);leader_ptr(r)= copy_node_list(leader_ptr(p));
}break;
case kern_node:case math_node:case penalty_node:{r= get_node(small_node_size);
words= small_node_size;
}break;
case ligature_node:{r= get_node(small_node_size);
mem[lig_char(r)]= mem[lig_char(p)];
lig_ptr(r)= copy_node_list(lig_ptr(p));
}break;
case disc_node:{r= get_node(small_node_size);
pre_break(r)= copy_node_list(pre_break(p));
post_break(r)= copy_node_list(post_break(p));
}break;
case mark_node:{r= get_node(small_node_size);add_token_ref(mark_ptr(p));
words= small_node_size;
}break;
case adjust_node:{r= get_node(small_node_size);
adjust_ptr(r)= copy_node_list(adjust_ptr(p));
}break;
default:confusion(/*1404:*/
#line 25108 "tex.w"
279
/*:1404*/
#line 4090 "tex.w"
);

}

/*:206*/
#line 4049 "tex.w"
;
while(words> 0)
{decr(words);mem[r+words]= mem[p+words];
}

/*:205*/
#line 4038 "tex.w"
;
link(q)= r;q= r;p= link(p);
}
link(q)= null;q= link(h);free_avail(h);
return q;
}

/*:204*//*211:*/
#line 4304 "tex.w"
void print_mode(int m)
{if(m> 0)
switch(m/(max_command+1)){
case 0:print_str("vertical");break;
case 1:print_str("horizontal");break;
case 2:print_str("display math");
}
else if(m==0)print_str("no");
else switch((-m)/(max_command+1)){
case 0:print_str("internal vertical");break;
case 1:print_str("restricted horizontal");break;
case 2:print_str("math");
}
print_str(" mode");
}

/*:211*//*216:*/
#line 4418 "tex.w"
void push_nest(void)
{if(nest_ptr> max_nest_stack)
{max_nest_stack= nest_ptr;
if(nest_ptr==nest_size)overflow("semantic nest size",nest_size);

}
nest[nest_ptr]= cur_list;
incr(nest_ptr);head= get_avail();tail= head;prev_graf= 0;mode_line= line;
}

/*:216*//*217:*/
#line 4433 "tex.w"
void pop_nest(void)
{free_avail(head);decr(nest_ptr);cur_list= nest[nest_ptr];
}

/*:217*//*218:*/
#line 4439 "tex.w"
void print_totals(void);
void show_activities(void)
{int p;
int16_t m;
memory_word a;
pointer q,r;
int t;
nest[nest_ptr]= cur_list;
print_nl("");print_ln();
for(p= nest_ptr;p>=0;p--)
{m= nest[p].mode_field;a= nest[p].aux_field;
print_nl("### ");print_mode(m);
print_str(" entered at line ");print_int(abs(nest[p].ml_field));
if(m==hmode)if(nest[p].pg_field!=040600000)
{print_str(" (language");print_int(nest[p].pg_field%0200000);
print_str(":hyphenmin");print_int(nest[p].pg_field/020000000);
print_char(',');print_int((nest[p].pg_field/0200000)%0100);
print_char(')');
}
if(nest[p].ml_field<0)print_str(" (\\output routine)");
if(p==0)
{/*986:*/
#line 19296 "tex.w"

if(page_head!=page_tail)
{print_nl("### current page:");
if(output_active)print_str(" (held over for next output)");

show_box(link(page_head));
if(page_contents> empty)
{print_nl("total height ");print_totals();

print_nl(" goal height ");print_scaled(page_goal);

r= link(page_ins_head);
while(r!=page_ins_head)
{print_ln();print_esc(/*1390:*/
#line 25066 "tex.w"
265
/*:1390*/
#line 19309 "tex.w"
);t= qo(subtype(r));
print_int(t);print_str(" adds ");
if(count(t)==1000)t= height(r);
else t= x_over_n(height(r),1000)*count(t);
print_scaled(t);
if(type(r)==split_up)
{q= page_head;t= 0;
do{q= link(q);
if((type(q)==ins_node)&&(subtype(q)==subtype(r)))incr(t);
}while(!(q==broken_ins(r)));
print_str(", #");print_int(t);print_str(" might split");
}
r= link(r);
}
}
}

/*:986*/
#line 4460 "tex.w"
;
if(link(contrib_head)!=null)
print_nl("### recent contributions:");
}
show_box(link(nest[p].head_field));
/*219:*/
#line 4469 "tex.w"

switch(abs(m)/(max_command+1)){
case 0:{print_nl("prevdepth ");
if(a.sc<=ignore_depth)print_str("ignored");
else print_scaled(a.sc);
if(nest[p].pg_field!=0)
{print_str(", prevgraf ");
print_int(nest[p].pg_field);print_str(" line");
if(nest[p].pg_field!=1)print_char('s');
}
}break;
case 1:{print_nl("spacefactor ");print_int(a.hh.lh);
if(m> 0)if(a.hh.rh> 0)
{print_str(", current language ");print_int(a.hh.rh);
}
}break;
case 2:if(a.i!=null)
{print_str("this will be denominator of:");show_box(a.i);
}
}

/*:219*/
#line 4465 "tex.w"
;
}
}

/*:218*//*237:*/
#line 5091 "tex.w"
void print_param(int n)
{switch(n){
case pretolerance_code:print_esc(/*1446:*/
#line 25234 "tex.w"
321
/*:1446*/
#line 5093 "tex.w"
);break;
case tolerance_code:print_esc(/*1447:*/
#line 25237 "tex.w"
322
/*:1447*/
#line 5094 "tex.w"
);break;
case line_penalty_code:print_esc(/*1448:*/
#line 25240 "tex.w"
323
/*:1448*/
#line 5095 "tex.w"
);break;
case hyphen_penalty_code:print_esc(/*1449:*/
#line 25243 "tex.w"
324
/*:1449*/
#line 5096 "tex.w"
);break;
case ex_hyphen_penalty_code:print_esc(/*1450:*/
#line 25246 "tex.w"
325
/*:1450*/
#line 5097 "tex.w"
);break;
case club_penalty_code:print_esc(/*1451:*/
#line 25249 "tex.w"
326
/*:1451*/
#line 5098 "tex.w"
);break;
case widow_penalty_code:print_esc(/*1452:*/
#line 25252 "tex.w"
327
/*:1452*/
#line 5099 "tex.w"
);break;
case display_widow_penalty_code:print_esc(/*1453:*/
#line 25255 "tex.w"
328
/*:1453*/
#line 5100 "tex.w"
);break;
case broken_penalty_code:print_esc(/*1454:*/
#line 25258 "tex.w"
329
/*:1454*/
#line 5101 "tex.w"
);break;
case bin_op_penalty_code:print_esc(/*1455:*/
#line 25261 "tex.w"
330
/*:1455*/
#line 5102 "tex.w"
);break;
case rel_penalty_code:print_esc(/*1456:*/
#line 25264 "tex.w"
331
/*:1456*/
#line 5103 "tex.w"
);break;
case pre_display_penalty_code:print_esc(/*1457:*/
#line 25267 "tex.w"
332
/*:1457*/
#line 5104 "tex.w"
);break;
case post_display_penalty_code:print_esc(/*1458:*/
#line 25270 "tex.w"
333
/*:1458*/
#line 5105 "tex.w"
);break;
case inter_line_penalty_code:print_esc(/*1459:*/
#line 25273 "tex.w"
334
/*:1459*/
#line 5106 "tex.w"
);break;
case double_hyphen_demerits_code:print_esc(/*1460:*/
#line 25276 "tex.w"
335
/*:1460*/
#line 5107 "tex.w"
);break;
case final_hyphen_demerits_code:print_esc(/*1461:*/
#line 25279 "tex.w"
336
/*:1461*/
#line 5108 "tex.w"
);break;
case adj_demerits_code:print_esc(/*1462:*/
#line 25282 "tex.w"
337
/*:1462*/
#line 5109 "tex.w"
);break;
case mag_code:print_esc(/*1463:*/
#line 25285 "tex.w"
338
/*:1463*/
#line 5110 "tex.w"
);break;
case delimiter_factor_code:print_esc(/*1464:*/
#line 25288 "tex.w"
339
/*:1464*/
#line 5111 "tex.w"
);break;
case looseness_code:print_esc(/*1465:*/
#line 25291 "tex.w"
340
/*:1465*/
#line 5112 "tex.w"
);break;
case time_code:print_esc(/*1466:*/
#line 25294 "tex.w"
341
/*:1466*/
#line 5113 "tex.w"
);break;
case day_code:print_esc(/*1467:*/
#line 25297 "tex.w"
342
/*:1467*/
#line 5114 "tex.w"
);break;
case month_code:print_esc(/*1468:*/
#line 25300 "tex.w"
343
/*:1468*/
#line 5115 "tex.w"
);break;
case year_code:print_esc(/*1469:*/
#line 25303 "tex.w"
344
/*:1469*/
#line 5116 "tex.w"
);break;
case show_box_breadth_code:print_esc(/*1470:*/
#line 25306 "tex.w"
345
/*:1470*/
#line 5117 "tex.w"
);break;
case show_box_depth_code:print_esc(/*1471:*/
#line 25309 "tex.w"
346
/*:1471*/
#line 5118 "tex.w"
);break;
case hbadness_code:print_esc(/*1472:*/
#line 25312 "tex.w"
347
/*:1472*/
#line 5119 "tex.w"
);break;
case vbadness_code:print_esc(/*1473:*/
#line 25315 "tex.w"
348
/*:1473*/
#line 5120 "tex.w"
);break;
case pausing_code:print_esc(/*1474:*/
#line 25318 "tex.w"
349
/*:1474*/
#line 5121 "tex.w"
);break;
case tracing_online_code:print_esc(/*1475:*/
#line 25321 "tex.w"
350
/*:1475*/
#line 5122 "tex.w"
);break;
case tracing_macros_code:print_esc(/*1476:*/
#line 25324 "tex.w"
351
/*:1476*/
#line 5123 "tex.w"
);break;
case tracing_stats_code:print_esc(/*1477:*/
#line 25327 "tex.w"
352
/*:1477*/
#line 5124 "tex.w"
);break;
case tracing_paragraphs_code:print_esc(/*1478:*/
#line 25330 "tex.w"
353
/*:1478*/
#line 5125 "tex.w"
);break;
case tracing_pages_code:print_esc(/*1479:*/
#line 25333 "tex.w"
354
/*:1479*/
#line 5126 "tex.w"
);break;
case tracing_output_code:print_esc(/*1480:*/
#line 25336 "tex.w"
355
/*:1480*/
#line 5127 "tex.w"
);break;
case tracing_lost_chars_code:print_esc(/*1481:*/
#line 25339 "tex.w"
356
/*:1481*/
#line 5128 "tex.w"
);break;
case tracing_commands_code:print_esc(/*1482:*/
#line 25342 "tex.w"
357
/*:1482*/
#line 5129 "tex.w"
);break;
case tracing_restores_code:print_esc(/*1483:*/
#line 25345 "tex.w"
358
/*:1483*/
#line 5130 "tex.w"
);break;
case uc_hyph_code:print_esc(/*1484:*/
#line 25348 "tex.w"
359
/*:1484*/
#line 5131 "tex.w"
);break;
case output_penalty_code:print_esc(/*1485:*/
#line 25351 "tex.w"
360
/*:1485*/
#line 5132 "tex.w"
);break;
case max_dead_cycles_code:print_esc(/*1486:*/
#line 25354 "tex.w"
361
/*:1486*/
#line 5133 "tex.w"
);break;
case hang_after_code:print_esc(/*1487:*/
#line 25357 "tex.w"
362
/*:1487*/
#line 5134 "tex.w"
);break;
case floating_penalty_code:print_esc(/*1488:*/
#line 25360 "tex.w"
363
/*:1488*/
#line 5135 "tex.w"
);break;
case global_defs_code:print_esc(/*1489:*/
#line 25363 "tex.w"
364
/*:1489*/
#line 5136 "tex.w"
);break;
case cur_fam_code:print_esc(/*1490:*/
#line 25366 "tex.w"
365
/*:1490*/
#line 5137 "tex.w"
);break;
case escape_char_code:print_esc(/*1491:*/
#line 25369 "tex.w"
366
/*:1491*/
#line 5138 "tex.w"
);break;
case default_hyphen_char_code:print_esc(/*1492:*/
#line 25372 "tex.w"
367
/*:1492*/
#line 5139 "tex.w"
);break;
case default_skew_char_code:print_esc(/*1493:*/
#line 25375 "tex.w"
368
/*:1493*/
#line 5140 "tex.w"
);break;
case end_line_char_code:print_esc(/*1494:*/
#line 25378 "tex.w"
369
/*:1494*/
#line 5141 "tex.w"
);break;
case new_line_char_code:print_esc(/*1495:*/
#line 25381 "tex.w"
370
/*:1495*/
#line 5142 "tex.w"
);break;
case language_code:print_esc(/*1496:*/
#line 25384 "tex.w"
371
/*:1496*/
#line 5143 "tex.w"
);break;
case left_hyphen_min_code:print_esc(/*1497:*/
#line 25387 "tex.w"
372
/*:1497*/
#line 5144 "tex.w"
);break;
case right_hyphen_min_code:print_esc(/*1498:*/
#line 25390 "tex.w"
373
/*:1498*/
#line 5145 "tex.w"
);break;
case holding_inserts_code:print_esc(/*1499:*/
#line 25393 "tex.w"
374
/*:1499*/
#line 5146 "tex.w"
);break;
case error_context_lines_code:print_esc(/*1500:*/
#line 25396 "tex.w"
375
/*:1500*/
#line 5147 "tex.w"
);break;
default:print_str("[unknown integer parameter!]");
}
}

/*:237*//*241:*/
#line 5293 "tex.w"
void fix_date_and_time(void)
{time= 12*60;
day= 4;
month= 7;
year= 1776;
}

/*:241*//*245:*/
#line 5318 "tex.w"
void begin_diagnostic(void)
{old_setting= selector;
if((tracing_online<=0)&&(selector==term_and_log))
{decr(selector);
if(history==spotless)history= warning_issued;
}
}

void end_diagnostic(bool blank_line)

{print_nl("");
if(blank_line)print_ln();
selector= old_setting;
}

/*:245*//*247:*/
#line 5392 "tex.w"
void print_length_param(int n)
{switch(n){
case par_indent_code:print_esc(/*1503:*/
#line 25405 "tex.w"
378
/*:1503*/
#line 5394 "tex.w"
);break;
case math_surround_code:print_esc(/*1504:*/
#line 25408 "tex.w"
379
/*:1504*/
#line 5395 "tex.w"
);break;
case line_skip_limit_code:print_esc(/*1505:*/
#line 25411 "tex.w"
380
/*:1505*/
#line 5396 "tex.w"
);break;
case hsize_code:print_esc(/*1506:*/
#line 25414 "tex.w"
381
/*:1506*/
#line 5397 "tex.w"
);break;
case vsize_code:print_esc(/*1507:*/
#line 25417 "tex.w"
382
/*:1507*/
#line 5398 "tex.w"
);break;
case max_depth_code:print_esc(/*1508:*/
#line 25420 "tex.w"
383
/*:1508*/
#line 5399 "tex.w"
);break;
case split_max_depth_code:print_esc(/*1509:*/
#line 25423 "tex.w"
384
/*:1509*/
#line 5400 "tex.w"
);break;
case box_max_depth_code:print_esc(/*1510:*/
#line 25426 "tex.w"
385
/*:1510*/
#line 5401 "tex.w"
);break;
case hfuzz_code:print_esc(/*1511:*/
#line 25429 "tex.w"
386
/*:1511*/
#line 5402 "tex.w"
);break;
case vfuzz_code:print_esc(/*1512:*/
#line 25432 "tex.w"
387
/*:1512*/
#line 5403 "tex.w"
);break;
case delimiter_shortfall_code:print_esc(/*1513:*/
#line 25435 "tex.w"
388
/*:1513*/
#line 5404 "tex.w"
);break;
case null_delimiter_space_code:print_esc(/*1514:*/
#line 25438 "tex.w"
389
/*:1514*/
#line 5405 "tex.w"
);break;
case script_space_code:print_esc(/*1515:*/
#line 25441 "tex.w"
390
/*:1515*/
#line 5406 "tex.w"
);break;
case pre_display_size_code:print_esc(/*1516:*/
#line 25444 "tex.w"
391
/*:1516*/
#line 5407 "tex.w"
);break;
case display_width_code:print_esc(/*1517:*/
#line 25447 "tex.w"
392
/*:1517*/
#line 5408 "tex.w"
);break;
case display_indent_code:print_esc(/*1518:*/
#line 25450 "tex.w"
393
/*:1518*/
#line 5409 "tex.w"
);break;
case overfull_rule_code:print_esc(/*1519:*/
#line 25453 "tex.w"
394
/*:1519*/
#line 5410 "tex.w"
);break;
case hang_indent_code:print_esc(/*1520:*/
#line 25456 "tex.w"
395
/*:1520*/
#line 5411 "tex.w"
);break;
case h_offset_code:print_esc(/*1521:*/
#line 25459 "tex.w"
396
/*:1521*/
#line 5412 "tex.w"
);break;
case v_offset_code:print_esc(/*1522:*/
#line 25462 "tex.w"
397
/*:1522*/
#line 5413 "tex.w"
);break;
case emergency_stretch_code:print_esc(/*1523:*/
#line 25465 "tex.w"
398
/*:1523*/
#line 5414 "tex.w"
);break;
default:print_str("[unknown dimen parameter!]");
}
}

/*:247*//*252:*/
#line 5484 "tex.w"
/*298:*/
#line 6463 "tex.w"

void print_cmd_chr(quarterword cmd,halfword chr_code)
{switch(cmd){
case left_brace:chr_cmd("begin-group character ")break;
case right_brace:chr_cmd("end-group character ")break;
case math_shift:chr_cmd("math shift character ")break;
case mac_param:chr_cmd("macro parameter character ")break;
case sup_mark:chr_cmd("superscript character ")break;
case sub_mark:chr_cmd("subscript character ")break;
case endv:print_str("end of alignment template");break;
case spacer:chr_cmd("blank space ")break;
case letter:chr_cmd("the letter ")break;
case other_char:chr_cmd("the character ")break;
/*227:*/
#line 4740 "tex.w"

case assign_glue:case assign_mu_glue:if(chr_code<skip_base)
print_skip_param(chr_code-glue_base);
else if(chr_code<mu_skip_base)
{print_esc(/*1423:*/
#line 25165 "tex.w"
298
/*:1423*/
#line 4744 "tex.w"
);print_int(chr_code-skip_base);
}
else{print_esc(/*1424:*/
#line 25168 "tex.w"
299
/*:1424*/
#line 4746 "tex.w"
);print_int(chr_code-mu_skip_base);
}break;

/*:227*//*231:*/
#line 4841 "tex.w"

case assign_toks:if(chr_code>=toks_base)
{print_esc(/*1435:*/
#line 25201 "tex.w"
310
/*:1435*/
#line 4843 "tex.w"
);print_int(chr_code-toks_base);
}
else switch(chr_code){
case output_routine_loc:print_esc(/*1426:*/
#line 25174 "tex.w"
301
/*:1426*/
#line 4846 "tex.w"
);break;
case every_par_loc:print_esc(/*1427:*/
#line 25177 "tex.w"
302
/*:1427*/
#line 4847 "tex.w"
);break;
case every_math_loc:print_esc(/*1428:*/
#line 25180 "tex.w"
303
/*:1428*/
#line 4848 "tex.w"
);break;
case every_display_loc:print_esc(/*1429:*/
#line 25183 "tex.w"
304
/*:1429*/
#line 4849 "tex.w"
);break;
case every_hbox_loc:print_esc(/*1430:*/
#line 25186 "tex.w"
305
/*:1430*/
#line 4850 "tex.w"
);break;
case every_vbox_loc:print_esc(/*1431:*/
#line 25189 "tex.w"
306
/*:1431*/
#line 4851 "tex.w"
);break;
case every_job_loc:print_esc(/*1432:*/
#line 25192 "tex.w"
307
/*:1432*/
#line 4852 "tex.w"
);break;
case every_cr_loc:print_esc(/*1433:*/
#line 25195 "tex.w"
308
/*:1433*/
#line 4853 "tex.w"
);break;
default:print_esc(/*1434:*/
#line 25198 "tex.w"
309
/*:1434*/
#line 4854 "tex.w"
);
}break;

/*:231*//*239:*/
#line 5269 "tex.w"

case assign_int:if(chr_code<count_base)print_param(chr_code-int_base);
else{print_esc(/*1501:*/
#line 25399 "tex.w"
376
/*:1501*/
#line 5271 "tex.w"
);print_int(chr_code-count_base);
}break;

/*:239*//*249:*/
#line 5465 "tex.w"

case assign_dimen:if(chr_code<scaled_base)
print_length_param(chr_code-dimen_base);
else{print_esc(/*1524:*/
#line 25468 "tex.w"
399
/*:1524*/
#line 5468 "tex.w"
);print_int(chr_code-scaled_base);
}break;

/*:249*//*266:*/
#line 5797 "tex.w"

case accent:print_esc(/*1530:*/
#line 25486 "tex.w"
405
/*:1530*/
#line 5798 "tex.w"
);break;
case advance:print_esc(/*1531:*/
#line 25489 "tex.w"
406
/*:1531*/
#line 5799 "tex.w"
);break;
case after_assignment:print_esc(/*1532:*/
#line 25492 "tex.w"
407
/*:1532*/
#line 5800 "tex.w"
);break;
case after_group:print_esc(/*1533:*/
#line 25495 "tex.w"
408
/*:1533*/
#line 5801 "tex.w"
);break;
case assign_font_dimen:print_esc(/*1541:*/
#line 25519 "tex.w"
416
/*:1541*/
#line 5802 "tex.w"
);break;
case begin_group:print_esc(/*1534:*/
#line 25498 "tex.w"
409
/*:1534*/
#line 5803 "tex.w"
);break;
case break_penalty:print_esc(/*1553:*/
#line 25555 "tex.w"
428
/*:1553*/
#line 5804 "tex.w"
);break;
case char_num:print_esc(/*1535:*/
#line 25501 "tex.w"
410
/*:1535*/
#line 5805 "tex.w"
);break;
case cs_name:print_esc(/*1526:*/
#line 25474 "tex.w"
401
/*:1526*/
#line 5806 "tex.w"
);break;
case def_font:print_esc(/*1540:*/
#line 25516 "tex.w"
415
/*:1540*/
#line 5807 "tex.w"
);break;
case delim_num:print_esc(/*1536:*/
#line 25504 "tex.w"
411
/*:1536*/
#line 5808 "tex.w"
);break;
case divide:print_esc(/*1537:*/
#line 25507 "tex.w"
412
/*:1537*/
#line 5809 "tex.w"
);break;
case end_cs_name:print_esc(/*1527:*/
#line 25477 "tex.w"
402
/*:1527*/
#line 5810 "tex.w"
);break;
case end_group:print_esc(/*1538:*/
#line 25510 "tex.w"
413
/*:1538*/
#line 5811 "tex.w"
);break;
case ex_space:print_esc(' ');break;
case expand_after:print_esc(/*1539:*/
#line 25513 "tex.w"
414
/*:1539*/
#line 5813 "tex.w"
);break;
case halign:print_esc(/*1542:*/
#line 25522 "tex.w"
417
/*:1542*/
#line 5814 "tex.w"
);break;
case hrule:print_esc(/*1543:*/
#line 25525 "tex.w"
418
/*:1543*/
#line 5815 "tex.w"
);break;
case ignore_spaces:print_esc(/*1544:*/
#line 25528 "tex.w"
419
/*:1544*/
#line 5816 "tex.w"
);break;
case insert:print_esc(/*1390:*/
#line 25066 "tex.w"
265
/*:1390*/
#line 5817 "tex.w"
);break;
case ital_corr:print_esc('/');break;
case mark:print_esc(/*1401:*/
#line 25099 "tex.w"
276
/*:1401*/
#line 5819 "tex.w"
);break;
case math_accent:print_esc(/*1545:*/
#line 25531 "tex.w"
420
/*:1545*/
#line 5820 "tex.w"
);break;
case math_char_num:print_esc(/*1546:*/
#line 25534 "tex.w"
421
/*:1546*/
#line 5821 "tex.w"
);break;
case math_choice:print_esc(/*1547:*/
#line 25537 "tex.w"
422
/*:1547*/
#line 5822 "tex.w"
);break;
case multiply:print_esc(/*1548:*/
#line 25540 "tex.w"
423
/*:1548*/
#line 5823 "tex.w"
);break;
case no_align:print_esc(/*1549:*/
#line 25543 "tex.w"
424
/*:1549*/
#line 5824 "tex.w"
);break;
case no_boundary:print_esc(/*1550:*/
#line 25546 "tex.w"
425
/*:1550*/
#line 5825 "tex.w"
);break;
case no_expand:print_esc(/*1551:*/
#line 25549 "tex.w"
426
/*:1551*/
#line 5826 "tex.w"
);break;
case non_script:print_esc(/*1392:*/
#line 25072 "tex.w"
267
/*:1392*/
#line 5827 "tex.w"
);break;
case omit:print_esc(/*1552:*/
#line 25552 "tex.w"
427
/*:1552*/
#line 5828 "tex.w"
);break;
case radical:print_esc(/*1555:*/
#line 25561 "tex.w"
430
/*:1555*/
#line 5829 "tex.w"
);break;
case read_to_cs:print_esc(/*1556:*/
#line 25564 "tex.w"
431
/*:1556*/
#line 5830 "tex.w"
);break;
case relax:print_esc(/*1557:*/
#line 25567 "tex.w"
432
/*:1557*/
#line 5831 "tex.w"
);break;
case set_box:print_esc(/*1558:*/
#line 25570 "tex.w"
433
/*:1558*/
#line 5832 "tex.w"
);break;
case set_prev_graf:print_esc(/*1554:*/
#line 25558 "tex.w"
429
/*:1554*/
#line 5833 "tex.w"
);break;
case set_shape:print_esc(/*1436:*/
#line 25204 "tex.w"
311
/*:1436*/
#line 5834 "tex.w"
);break;
case the:print_esc(/*1559:*/
#line 25573 "tex.w"
434
/*:1559*/
#line 5835 "tex.w"
);break;
case toks_register:print_esc(/*1435:*/
#line 25201 "tex.w"
310
/*:1435*/
#line 5836 "tex.w"
);break;
case vadjust:print_esc(/*1402:*/
#line 25102 "tex.w"
277
/*:1402*/
#line 5837 "tex.w"
);break;
case valign:print_esc(/*1560:*/
#line 25576 "tex.w"
435
/*:1560*/
#line 5838 "tex.w"
);break;
case vcenter:print_esc(/*1561:*/
#line 25579 "tex.w"
436
/*:1561*/
#line 5839 "tex.w"
);break;
case vrule:print_esc(/*1562:*/
#line 25582 "tex.w"
437
/*:1562*/
#line 5840 "tex.w"
);break;

/*:266*//*335:*/
#line 7203 "tex.w"

case par_end:print_esc(/*1569:*/
#line 25603 "tex.w"
444
/*:1569*/
#line 7204 "tex.w"
);break;

/*:335*//*377:*/
#line 7854 "tex.w"

case input:if(chr_code==0)print_esc(/*1570:*/
#line 25606 "tex.w"
445
/*:1570*/
#line 7855 "tex.w"
);else print_esc(/*1571:*/
#line 25609 "tex.w"
446
/*:1571*/
#line 7855 "tex.w"
);break;

/*:377*//*385:*/
#line 7945 "tex.w"

case top_bot_mark:switch(chr_code){
case first_mark_code:print_esc(/*1573:*/
#line 25615 "tex.w"
448
/*:1573*/
#line 7947 "tex.w"
);break;
case bot_mark_code:print_esc(/*1574:*/
#line 25618 "tex.w"
449
/*:1574*/
#line 7948 "tex.w"
);break;
case split_first_mark_code:print_esc(/*1575:*/
#line 25621 "tex.w"
450
/*:1575*/
#line 7949 "tex.w"
);break;
case split_bot_mark_code:print_esc(/*1576:*/
#line 25624 "tex.w"
451
/*:1576*/
#line 7950 "tex.w"
);break;
default:print_esc(/*1572:*/
#line 25612 "tex.w"
447
/*:1572*/
#line 7951 "tex.w"
);
}break;

/*:385*//*412:*/
#line 8388 "tex.w"

case register:if(chr_code==int_val)print_esc(/*1501:*/
#line 25399 "tex.w"
376
/*:1501*/
#line 8389 "tex.w"
);
else if(chr_code==dimen_val)print_esc(/*1524:*/
#line 25468 "tex.w"
399
/*:1524*/
#line 8390 "tex.w"
);
else if(chr_code==glue_val)print_esc(/*1423:*/
#line 25165 "tex.w"
298
/*:1423*/
#line 8391 "tex.w"
);
else print_esc(/*1424:*/
#line 25168 "tex.w"
299
/*:1424*/
#line 8392 "tex.w"
);break;

/*:412*//*417:*/
#line 8498 "tex.w"

case set_aux:if(chr_code==vmode)print_esc(/*1578:*/
#line 25630 "tex.w"
453
/*:1578*/
#line 8499 "tex.w"
);
else print_esc(/*1577:*/
#line 25627 "tex.w"
452
/*:1577*/
#line 8500 "tex.w"
);break;
case set_page_int:if(chr_code==0)print_esc(/*1579:*/
#line 25633 "tex.w"
454
/*:1579*/
#line 8501 "tex.w"
);
else print_esc(/*1580:*/
#line 25636 "tex.w"
455
/*:1580*/
#line 8502 "tex.w"
);break;
case set_box_dimen:if(chr_code==width_offset)print_esc(/*1581:*/
#line 25639 "tex.w"
456
/*:1581*/
#line 8503 "tex.w"
);
else if(chr_code==height_offset)print_esc(/*1582:*/
#line 25642 "tex.w"
457
/*:1582*/
#line 8504 "tex.w"
);
else print_esc(/*1583:*/
#line 25645 "tex.w"
458
/*:1583*/
#line 8505 "tex.w"
);break;
case last_item:switch(chr_code){
case int_val:print_esc(/*1584:*/
#line 25648 "tex.w"
459
/*:1584*/
#line 8507 "tex.w"
);break;
case dimen_val:print_esc(/*1585:*/
#line 25651 "tex.w"
460
/*:1585*/
#line 8508 "tex.w"
);break;
case glue_val:print_esc(/*1586:*/
#line 25654 "tex.w"
461
/*:1586*/
#line 8509 "tex.w"
);break;
case input_line_no_code:print_esc(/*1587:*/
#line 25657 "tex.w"
462
/*:1587*/
#line 8510 "tex.w"
);break;
default:print_esc(/*1588:*/
#line 25660 "tex.w"
463
/*:1588*/
#line 8511 "tex.w"
);
}break;

/*:417*//*469:*/
#line 9287 "tex.w"

case convert:switch(chr_code){
case number_code:print_esc(/*1605:*/
#line 25711 "tex.w"
480
/*:1605*/
#line 9289 "tex.w"
);break;
case roman_numeral_code:print_esc(/*1606:*/
#line 25714 "tex.w"
481
/*:1606*/
#line 9290 "tex.w"
);break;
case string_code:print_esc(/*1607:*/
#line 25717 "tex.w"
482
/*:1607*/
#line 9291 "tex.w"
);break;
case meaning_code:print_esc(/*1608:*/
#line 25720 "tex.w"
483
/*:1608*/
#line 9292 "tex.w"
);break;
case font_name_code:print_esc(/*1609:*/
#line 25723 "tex.w"
484
/*:1609*/
#line 9293 "tex.w"
);break;
default:print_esc(/*1610:*/
#line 25726 "tex.w"
485
/*:1610*/
#line 9294 "tex.w"
);
}break;

/*:469*//*488:*/
#line 9625 "tex.w"

case if_test:switch(chr_code){
case if_cat_code:print_esc(/*1612:*/
#line 25732 "tex.w"
487
/*:1612*/
#line 9627 "tex.w"
);break;
case if_int_code:print_esc(/*1613:*/
#line 25735 "tex.w"
488
/*:1613*/
#line 9628 "tex.w"
);break;
case if_dim_code:print_esc(/*1614:*/
#line 25738 "tex.w"
489
/*:1614*/
#line 9629 "tex.w"
);break;
case if_odd_code:print_esc(/*1615:*/
#line 25741 "tex.w"
490
/*:1615*/
#line 9630 "tex.w"
);break;
case if_vmode_code:print_esc(/*1616:*/
#line 25744 "tex.w"
491
/*:1616*/
#line 9631 "tex.w"
);break;
case if_hmode_code:print_esc(/*1617:*/
#line 25747 "tex.w"
492
/*:1617*/
#line 9632 "tex.w"
);break;
case if_mmode_code:print_esc(/*1618:*/
#line 25750 "tex.w"
493
/*:1618*/
#line 9633 "tex.w"
);break;
case if_inner_code:print_esc(/*1619:*/
#line 25753 "tex.w"
494
/*:1619*/
#line 9634 "tex.w"
);break;
case if_void_code:print_esc(/*1620:*/
#line 25756 "tex.w"
495
/*:1620*/
#line 9635 "tex.w"
);break;
case if_hbox_code:print_esc(/*1621:*/
#line 25759 "tex.w"
496
/*:1621*/
#line 9636 "tex.w"
);break;
case if_vbox_code:print_esc(/*1622:*/
#line 25762 "tex.w"
497
/*:1622*/
#line 9637 "tex.w"
);break;
case ifx_code:print_esc(/*1623:*/
#line 25765 "tex.w"
498
/*:1623*/
#line 9638 "tex.w"
);break;
case if_eof_code:print_esc(/*1624:*/
#line 25768 "tex.w"
499
/*:1624*/
#line 9639 "tex.w"
);break;
case if_true_code:print_esc(/*1625:*/
#line 25771 "tex.w"
500
/*:1625*/
#line 9640 "tex.w"
);break;
case if_false_code:print_esc(/*1626:*/
#line 25774 "tex.w"
501
/*:1626*/
#line 9641 "tex.w"
);break;
case if_case_code:print_esc(/*1627:*/
#line 25777 "tex.w"
502
/*:1627*/
#line 9642 "tex.w"
);break;
default:print_esc(/*1611:*/
#line 25729 "tex.w"
486
/*:1611*/
#line 9643 "tex.w"
);
}break;

/*:488*//*492:*/
#line 9687 "tex.w"

case fi_or_else:if(chr_code==fi_code)print_esc(/*1628:*/
#line 25780 "tex.w"
503
/*:1628*/
#line 9688 "tex.w"
);
else if(chr_code==or_code)print_esc(/*1629:*/
#line 25783 "tex.w"
504
/*:1629*/
#line 9689 "tex.w"
);
else print_esc(/*1630:*/
#line 25786 "tex.w"
505
/*:1630*/
#line 9690 "tex.w"
);break;

/*:492*//*781:*/
#line 15430 "tex.w"

case tab_mark:if(chr_code==span_code)print_esc(/*1669:*/
#line 25903 "tex.w"
544
/*:1669*/
#line 15431 "tex.w"
);
else chr_cmd("alignment tab character ")break;
case car_ret:if(chr_code==cr_code)print_esc(/*1670:*/
#line 25906 "tex.w"
545
/*:1670*/
#line 15433 "tex.w"
);
else print_esc(/*1671:*/
#line 25909 "tex.w"
546
/*:1671*/
#line 15434 "tex.w"
);break;

/*:781*//*984:*/
#line 19269 "tex.w"

case set_page_dimen:switch(chr_code){
case 0:print_esc(/*1689:*/
#line 25963 "tex.w"
564
/*:1689*/
#line 19271 "tex.w"
);break;
case 1:print_esc(/*1690:*/
#line 25966 "tex.w"
565
/*:1690*/
#line 19272 "tex.w"
);break;
case 2:print_esc(/*1691:*/
#line 25969 "tex.w"
566
/*:1691*/
#line 19273 "tex.w"
);break;
case 3:print_esc(/*1692:*/
#line 25972 "tex.w"
567
/*:1692*/
#line 19274 "tex.w"
);break;
case 4:print_esc(/*1693:*/
#line 25975 "tex.w"
568
/*:1693*/
#line 19275 "tex.w"
);break;
case 5:print_esc(/*1694:*/
#line 25978 "tex.w"
569
/*:1694*/
#line 19276 "tex.w"
);break;
case 6:print_esc(/*1695:*/
#line 25981 "tex.w"
570
/*:1695*/
#line 19277 "tex.w"
);break;
default:print_esc(/*1696:*/
#line 25984 "tex.w"
571
/*:1696*/
#line 19278 "tex.w"
);
}break;

/*:984*//*1053:*/
#line 20477 "tex.w"

case stop:if(chr_code==1)print_esc(/*1699:*/
#line 25993 "tex.w"
574
/*:1699*/
#line 20478 "tex.w"
);else print_esc(/*1698:*/
#line 25990 "tex.w"
573
/*:1698*/
#line 20478 "tex.w"
);break;

/*:1053*//*1059:*/
#line 20575 "tex.w"

case hskip:switch(chr_code){
case skip_code:print_esc(/*1700:*/
#line 25996 "tex.w"
575
/*:1700*/
#line 20577 "tex.w"
);break;
case fil_code:print_esc(/*1701:*/
#line 25999 "tex.w"
576
/*:1701*/
#line 20578 "tex.w"
);break;
case fill_code:print_esc(/*1702:*/
#line 26002 "tex.w"
577
/*:1702*/
#line 20579 "tex.w"
);break;
case ss_code:print_esc(/*1703:*/
#line 26005 "tex.w"
578
/*:1703*/
#line 20580 "tex.w"
);break;
default:print_esc(/*1704:*/
#line 26008 "tex.w"
579
/*:1704*/
#line 20581 "tex.w"
);
}break;
case vskip:switch(chr_code){
case skip_code:print_esc(/*1705:*/
#line 26011 "tex.w"
580
/*:1705*/
#line 20584 "tex.w"
);break;
case fil_code:print_esc(/*1706:*/
#line 26014 "tex.w"
581
/*:1706*/
#line 20585 "tex.w"
);break;
case fill_code:print_esc(/*1707:*/
#line 26017 "tex.w"
582
/*:1707*/
#line 20586 "tex.w"
);break;
case ss_code:print_esc(/*1708:*/
#line 26020 "tex.w"
583
/*:1708*/
#line 20587 "tex.w"
);break;
default:print_esc(/*1709:*/
#line 26023 "tex.w"
584
/*:1709*/
#line 20588 "tex.w"
);
}break;
case mskip:print_esc(/*1393:*/
#line 25075 "tex.w"
268
/*:1393*/
#line 20590 "tex.w"
);break;
case kern:print_esc(/*1396:*/
#line 25084 "tex.w"
271
/*:1396*/
#line 20591 "tex.w"
);break;
case mkern:print_esc(/*1397:*/
#line 25087 "tex.w"
272
/*:1397*/
#line 20592 "tex.w"
);break;

/*:1059*//*1072:*/
#line 20837 "tex.w"

case hmove:if(chr_code==1)print_esc(/*1712:*/
#line 26032 "tex.w"
587
/*:1712*/
#line 20838 "tex.w"
);else print_esc(/*1713:*/
#line 26035 "tex.w"
588
/*:1713*/
#line 20838 "tex.w"
);break;
case vmove:if(chr_code==1)print_esc(/*1714:*/
#line 26038 "tex.w"
589
/*:1714*/
#line 20839 "tex.w"
);else print_esc(/*1715:*/
#line 26041 "tex.w"
590
/*:1715*/
#line 20839 "tex.w"
);break;
case make_box:switch(chr_code){
case box_code:print_esc(/*1437:*/
#line 25207 "tex.w"
312
/*:1437*/
#line 20841 "tex.w"
);break;
case copy_code:print_esc(/*1716:*/
#line 26044 "tex.w"
591
/*:1716*/
#line 20842 "tex.w"
);break;
case last_box_code:print_esc(/*1717:*/
#line 26047 "tex.w"
592
/*:1717*/
#line 20843 "tex.w"
);break;
case vsplit_code:print_esc(/*1687:*/
#line 25957 "tex.w"
562
/*:1687*/
#line 20844 "tex.w"
);break;
case vtop_code:print_esc(/*1718:*/
#line 26050 "tex.w"
593
/*:1718*/
#line 20845 "tex.w"
);break;
case vtop_code+vmode:print_esc(/*1688:*/
#line 25960 "tex.w"
563
/*:1688*/
#line 20846 "tex.w"
);break;
default:print_esc(/*1719:*/
#line 26053 "tex.w"
594
/*:1719*/
#line 20847 "tex.w"
);
}break;
case leader_ship:if(chr_code==a_leaders)print_esc(/*1721:*/
#line 26059 "tex.w"
596
/*:1721*/
#line 20849 "tex.w"
);
else if(chr_code==c_leaders)print_esc(/*1722:*/
#line 26062 "tex.w"
597
/*:1722*/
#line 20850 "tex.w"
);
else if(chr_code==x_leaders)print_esc(/*1723:*/
#line 26065 "tex.w"
598
/*:1723*/
#line 20851 "tex.w"
);
else print_esc(/*1720:*/
#line 26056 "tex.w"
595
/*:1720*/
#line 20852 "tex.w"
);break;

/*:1072*//*1089:*/
#line 21098 "tex.w"

case start_par:if(chr_code==0)print_esc(/*1725:*/
#line 26071 "tex.w"
600
/*:1725*/
#line 21099 "tex.w"
);else print_esc(/*1724:*/
#line 26068 "tex.w"
599
/*:1724*/
#line 21099 "tex.w"
);break;

/*:1089*//*1108:*/
#line 21316 "tex.w"

case remove_item:if(chr_code==glue_node)print_esc(/*1728:*/
#line 26080 "tex.w"
603
/*:1728*/
#line 21317 "tex.w"
);
else if(chr_code==kern_node)print_esc(/*1727:*/
#line 26077 "tex.w"
602
/*:1727*/
#line 21318 "tex.w"
);
else print_esc(/*1726:*/
#line 26074 "tex.w"
601
/*:1726*/
#line 21319 "tex.w"
);break;
case un_hbox:if(chr_code==copy_code)print_esc(/*1730:*/
#line 26086 "tex.w"
605
/*:1730*/
#line 21320 "tex.w"
);
else print_esc(/*1729:*/
#line 26083 "tex.w"
604
/*:1729*/
#line 21321 "tex.w"
);break;
case un_vbox:if(chr_code==copy_code)print_esc(/*1732:*/
#line 26092 "tex.w"
607
/*:1732*/
#line 21322 "tex.w"
);
else print_esc(/*1731:*/
#line 26089 "tex.w"
606
/*:1731*/
#line 21323 "tex.w"
);break;

/*:1108*//*1115:*/
#line 21387 "tex.w"

case discretionary:if(chr_code==1)
print_esc('-');else print_esc(/*1400:*/
#line 25096 "tex.w"
275
/*:1400*/
#line 21389 "tex.w"
);break;

/*:1115*//*1143:*/
#line 21746 "tex.w"

case eq_no:if(chr_code==1)print_esc(/*1734:*/
#line 26098 "tex.w"
609
/*:1734*/
#line 21747 "tex.w"
);else print_esc(/*1733:*/
#line 26095 "tex.w"
608
/*:1733*/
#line 21747 "tex.w"
);break;

/*:1143*//*1157:*/
#line 21994 "tex.w"

case math_comp:switch(chr_code){
case ord_noad:print_esc(/*1649:*/
#line 25843 "tex.w"
524
/*:1649*/
#line 21996 "tex.w"
);break;
case op_noad:print_esc(/*1650:*/
#line 25846 "tex.w"
525
/*:1650*/
#line 21997 "tex.w"
);break;
case bin_noad:print_esc(/*1651:*/
#line 25849 "tex.w"
526
/*:1651*/
#line 21998 "tex.w"
);break;
case rel_noad:print_esc(/*1652:*/
#line 25852 "tex.w"
527
/*:1652*/
#line 21999 "tex.w"
);break;
case open_noad:print_esc(/*1653:*/
#line 25855 "tex.w"
528
/*:1653*/
#line 22000 "tex.w"
);break;
case close_noad:print_esc(/*1654:*/
#line 25858 "tex.w"
529
/*:1654*/
#line 22001 "tex.w"
);break;
case punct_noad:print_esc(/*1655:*/
#line 25861 "tex.w"
530
/*:1655*/
#line 22002 "tex.w"
);break;
case inner_noad:print_esc(/*1656:*/
#line 25864 "tex.w"
531
/*:1656*/
#line 22003 "tex.w"
);break;
case under_noad:print_esc(/*1658:*/
#line 25870 "tex.w"
533
/*:1658*/
#line 22004 "tex.w"
);break;
default:print_esc(/*1657:*/
#line 25867 "tex.w"
532
/*:1657*/
#line 22005 "tex.w"
);
}break;
case limit_switch:if(chr_code==limits)print_esc(/*1661:*/
#line 25879 "tex.w"
536
/*:1661*/
#line 22007 "tex.w"
);
else if(chr_code==no_limits)print_esc(/*1662:*/
#line 25882 "tex.w"
537
/*:1662*/
#line 22008 "tex.w"
);
else print_esc(/*1735:*/
#line 26101 "tex.w"
610
/*:1735*/
#line 22009 "tex.w"
);break;

/*:1157*//*1170:*/
#line 22130 "tex.w"

case math_style:print_style(chr_code);break;

/*:1170*//*1179:*/
#line 22233 "tex.w"

case above:switch(chr_code){
case over_code:print_esc(/*1737:*/
#line 26107 "tex.w"
612
/*:1737*/
#line 22235 "tex.w"
);break;
case atop_code:print_esc(/*1738:*/
#line 26110 "tex.w"
613
/*:1738*/
#line 22236 "tex.w"
);break;
case delimited_code+above_code:print_esc(/*1739:*/
#line 26113 "tex.w"
614
/*:1739*/
#line 22237 "tex.w"
);break;
case delimited_code+over_code:print_esc(/*1740:*/
#line 26116 "tex.w"
615
/*:1740*/
#line 22238 "tex.w"
);break;
case delimited_code+atop_code:print_esc(/*1741:*/
#line 26119 "tex.w"
616
/*:1741*/
#line 22239 "tex.w"
);break;
default:print_esc(/*1736:*/
#line 26104 "tex.w"
611
/*:1736*/
#line 22240 "tex.w"
);
}break;

/*:1179*//*1189:*/
#line 22354 "tex.w"

case left_right:if(chr_code==left_noad)print_esc(/*1659:*/
#line 25873 "tex.w"
534
/*:1659*/
#line 22355 "tex.w"
);
else print_esc(/*1660:*/
#line 25876 "tex.w"
535
/*:1660*/
#line 22356 "tex.w"
);break;

/*:1189*//*1209:*/
#line 22667 "tex.w"

case prefix:if(chr_code==1)print_esc(/*1743:*/
#line 26125 "tex.w"
618
/*:1743*/
#line 22668 "tex.w"
);
else if(chr_code==2)print_esc(/*1744:*/
#line 26128 "tex.w"
619
/*:1744*/
#line 22669 "tex.w"
);
else print_esc(/*1745:*/
#line 26131 "tex.w"
620
/*:1745*/
#line 22670 "tex.w"
);break;
case def:if(chr_code==0)print_esc(/*1746:*/
#line 26134 "tex.w"
621
/*:1746*/
#line 22671 "tex.w"
);
else if(chr_code==1)print_esc(/*1747:*/
#line 26137 "tex.w"
622
/*:1747*/
#line 22672 "tex.w"
);
else if(chr_code==2)print_esc(/*1748:*/
#line 26140 "tex.w"
623
/*:1748*/
#line 22673 "tex.w"
);
else print_esc(/*1749:*/
#line 26143 "tex.w"
624
/*:1749*/
#line 22674 "tex.w"
);break;

/*:1209*//*1220:*/
#line 22827 "tex.w"

case let:if(chr_code!=normal)print_esc(/*1753:*/
#line 26155 "tex.w"
628
/*:1753*/
#line 22828 "tex.w"
);else print_esc(/*1752:*/
#line 26152 "tex.w"
627
/*:1752*/
#line 22828 "tex.w"
);break;

/*:1220*//*1223:*/
#line 22879 "tex.w"

case shorthand_def:switch(chr_code){
case char_def_code:print_esc(/*1754:*/
#line 26158 "tex.w"
629
/*:1754*/
#line 22881 "tex.w"
);break;
case math_char_def_code:print_esc(/*1755:*/
#line 26161 "tex.w"
630
/*:1755*/
#line 22882 "tex.w"
);break;
case count_def_code:print_esc(/*1756:*/
#line 26164 "tex.w"
631
/*:1756*/
#line 22883 "tex.w"
);break;
case dimen_def_code:print_esc(/*1757:*/
#line 26167 "tex.w"
632
/*:1757*/
#line 22884 "tex.w"
);break;
case skip_def_code:print_esc(/*1758:*/
#line 26170 "tex.w"
633
/*:1758*/
#line 22885 "tex.w"
);break;
case mu_skip_def_code:print_esc(/*1759:*/
#line 26173 "tex.w"
634
/*:1759*/
#line 22886 "tex.w"
);break;
default:print_esc(/*1760:*/
#line 26176 "tex.w"
635
/*:1760*/
#line 22887 "tex.w"
);
}break;
case char_given:{print_esc(/*1535:*/
#line 25501 "tex.w"
410
/*:1535*/
#line 22889 "tex.w"
);print_hex(chr_code);
}break;
case math_given:{print_esc(/*1546:*/
#line 25534 "tex.w"
421
/*:1546*/
#line 22891 "tex.w"
);print_hex(chr_code);
}break;

/*:1223*//*1231:*/
#line 23023 "tex.w"

case def_code:if(chr_code==cat_code_base)print_esc(/*1441:*/
#line 25219 "tex.w"
316
/*:1441*/
#line 23024 "tex.w"
);
else if(chr_code==math_code_base)print_esc(/*1445:*/
#line 25231 "tex.w"
320
/*:1445*/
#line 23025 "tex.w"
);
else if(chr_code==lc_code_base)print_esc(/*1442:*/
#line 25222 "tex.w"
317
/*:1442*/
#line 23026 "tex.w"
);
else if(chr_code==uc_code_base)print_esc(/*1443:*/
#line 25225 "tex.w"
318
/*:1443*/
#line 23027 "tex.w"
);
else if(chr_code==sf_code_base)print_esc(/*1444:*/
#line 25228 "tex.w"
319
/*:1444*/
#line 23028 "tex.w"
);
else print_esc(/*1502:*/
#line 25402 "tex.w"
377
/*:1502*/
#line 23029 "tex.w"
);break;
case def_family:print_size(chr_code-math_font_base);break;

/*:1231*//*1251:*/
#line 23294 "tex.w"

case hyph_data:if(chr_code==1)print_esc(/*1684:*/
#line 25948 "tex.w"
559
/*:1684*/
#line 23295 "tex.w"
);
else print_esc(/*1683:*/
#line 25945 "tex.w"
558
/*:1683*/
#line 23296 "tex.w"
);break;

/*:1251*//*1255:*/
#line 23331 "tex.w"

case assign_font_int:if(chr_code==0)print_esc(/*1762:*/
#line 26182 "tex.w"
637
/*:1762*/
#line 23332 "tex.w"
);
else print_esc(/*1763:*/
#line 26185 "tex.w"
638
/*:1763*/
#line 23333 "tex.w"
);break;

/*:1255*//*1261:*/
#line 23416 "tex.w"

case set_font:{print_str("select font ");slow_print(font_name[chr_code]);
if(font_size[chr_code]!=font_dsize[chr_code])
{print_str(" at ");print_scaled(font_size[chr_code]);
print_str("pt");
}
}break;

/*:1261*//*1263:*/
#line 23434 "tex.w"

case set_interaction:switch(chr_code){
case batch_mode:print_esc(/*1383:*/
#line 25045 "tex.w"
258
/*:1383*/
#line 23436 "tex.w"
);break;
case nonstop_mode:print_esc(/*1384:*/
#line 25048 "tex.w"
259
/*:1384*/
#line 23437 "tex.w"
);break;
case scroll_mode:print_esc(/*1385:*/
#line 25051 "tex.w"
260
/*:1385*/
#line 23438 "tex.w"
);break;
default:print_esc(/*1767:*/
#line 26197 "tex.w"
642
/*:1767*/
#line 23439 "tex.w"
);
}break;

/*:1263*//*1273:*/
#line 23496 "tex.w"

case in_stream:if(chr_code==0)print_esc(/*1769:*/
#line 26203 "tex.w"
644
/*:1769*/
#line 23497 "tex.w"
);
else print_esc(/*1768:*/
#line 26200 "tex.w"
643
/*:1768*/
#line 23498 "tex.w"
);break;

/*:1273*//*1278:*/
#line 23531 "tex.w"

case message:if(chr_code==0)print_esc(/*1770:*/
#line 26206 "tex.w"
645
/*:1770*/
#line 23532 "tex.w"
);
else print_esc(/*1771:*/
#line 26209 "tex.w"
646
/*:1771*/
#line 23533 "tex.w"
);break;

/*:1278*//*1287:*/
#line 23598 "tex.w"

case case_shift:if(chr_code==lc_code_base)print_esc(/*1772:*/
#line 26212 "tex.w"
647
/*:1772*/
#line 23599 "tex.w"
);
else print_esc(/*1773:*/
#line 26215 "tex.w"
648
/*:1773*/
#line 23600 "tex.w"
);break;

/*:1287*//*1292:*/
#line 23649 "tex.w"

case xray:switch(chr_code){
case show_box_code:print_esc(/*1775:*/
#line 26221 "tex.w"
650
/*:1775*/
#line 23651 "tex.w"
);break;
case show_the_code:print_esc(/*1776:*/
#line 26224 "tex.w"
651
/*:1776*/
#line 23652 "tex.w"
);break;
case show_lists:print_esc(/*1777:*/
#line 26227 "tex.w"
652
/*:1777*/
#line 23653 "tex.w"
);break;
default:print_esc(/*1774:*/
#line 26218 "tex.w"
649
/*:1774*/
#line 23654 "tex.w"
);
}break;

/*:1292*//*1295:*/
#line 23698 "tex.w"

case undefined_cs:print_str("undefined");break;
case call:print_str("macro");break;
case long_call:print_esc(/*1778:*/
#line 26230 "tex.w"
653
/*:1778*/
#line 23701 "tex.w"
);break;
case outer_call:print_esc(/*1779:*/
#line 26233 "tex.w"
654
/*:1779*/
#line 23702 "tex.w"
);break;
case long_outer_call:{print_esc(/*1743:*/
#line 26125 "tex.w"
618
/*:1743*/
#line 23703 "tex.w"
);print_esc(/*1779:*/
#line 26233 "tex.w"
654
/*:1779*/
#line 23703 "tex.w"
);
}break;
case end_template:print_esc(/*1780:*/
#line 26236 "tex.w"
655
/*:1780*/
#line 23705 "tex.w"
);break;

/*:1295*//*1346:*/
#line 24646 "tex.w"

case extension:switch(chr_code){
case open_node:print_esc(/*1783:*/
#line 26245 "tex.w"
658
/*:1783*/
#line 24648 "tex.w"
);break;
case write_node:print_esc(/*1568:*/
#line 25600 "tex.w"
443
/*:1568*/
#line 24649 "tex.w"
);break;
case close_node:print_esc(/*1784:*/
#line 26248 "tex.w"
659
/*:1784*/
#line 24650 "tex.w"
);break;
case special_node:print_esc(/*1785:*/
#line 26251 "tex.w"
660
/*:1785*/
#line 24651 "tex.w"
);break;
case immediate_code:print_esc(/*1786:*/
#line 26254 "tex.w"
661
/*:1786*/
#line 24652 "tex.w"
);break;
case set_language_code:print_esc(/*1787:*/
#line 26257 "tex.w"
662
/*:1787*/
#line 24653 "tex.w"
);break;
default:print_str("[unknown extension!]");
}break;

/*:1346*/
#line 6476 "tex.w"

default:print_str("[unknown command code!]");
}
}

/*:298*/
#line 5484 "tex.w"

#ifdef STAT
void show_eqtb(pointer n)
{if(n<active_base)print_char('?');
else if(n<glue_base)/*223:*/
#line 4607 "tex.w"

{sprint_cs(n);print_char('=');print_cmd_chr(eq_type(n),equiv(n));
if(eq_type(n)>=call)
{print_char(':');show_token_list(link(equiv(n)),null,32);
}
}

/*:223*/
#line 5488 "tex.w"

else if(n<local_base)/*229:*/
#line 4757 "tex.w"

if(n<skip_base)
{print_skip_param(n-glue_base);print_char('=');
if(n<glue_base+thin_mu_skip_code)print_spec(equiv(n),/*1425:*/
#line 25171 "tex.w"
300
/*:1425*/
#line 4760 "tex.w"
);
else print_spec(equiv(n),/*1394:*/
#line 25078 "tex.w"
269
/*:1394*/
#line 4761 "tex.w"
);
}
else if(n<mu_skip_base)
{print_esc(/*1423:*/
#line 25165 "tex.w"
298
/*:1423*/
#line 4764 "tex.w"
);print_int(n-skip_base);print_char('=');
print_spec(equiv(n),/*1425:*/
#line 25171 "tex.w"
300
/*:1425*/
#line 4765 "tex.w"
);
}
else{print_esc(/*1424:*/
#line 25168 "tex.w"
299
/*:1424*/
#line 4767 "tex.w"
);print_int(n-mu_skip_base);print_char('=');
print_spec(equiv(n),/*1394:*/
#line 25078 "tex.w"
269
/*:1394*/
#line 4768 "tex.w"
);
}

/*:229*/
#line 5489 "tex.w"

else if(n<int_base)/*233:*/
#line 4899 "tex.w"

if(n==par_shape_loc)
{print_esc(/*1436:*/
#line 25204 "tex.w"
311
/*:1436*/
#line 4901 "tex.w"
);print_char('=');
if(par_shape_ptr==null)print_char('0');
else print_int(info(par_shape_ptr));
}
else if(n<toks_base)
{print_cmd_chr(assign_toks,n);print_char('=');
if(equiv(n)!=null)show_token_list(link(equiv(n)),null,32);
}
else if(n<box_base)
{print_esc(/*1435:*/
#line 25201 "tex.w"
310
/*:1435*/
#line 4910 "tex.w"
);print_int(n-toks_base);print_char('=');
if(equiv(n)!=null)show_token_list(link(equiv(n)),null,32);
}
else if(n<cur_font_loc)
{print_esc(/*1437:*/
#line 25207 "tex.w"
312
/*:1437*/
#line 4914 "tex.w"
);print_int(n-box_base);print_char('=');
if(equiv(n)==null)print_str("void");
else{depth_threshold= 0;breadth_max= 1;show_node_list(equiv(n));
}
}
else if(n<cat_code_base)/*234:*/
#line 4922 "tex.w"

{if(n==cur_font_loc)print_str("current font");
else if(n<math_font_base+16)
{print_esc(/*1438:*/
#line 25210 "tex.w"
313
/*:1438*/
#line 4925 "tex.w"
);print_int(n-math_font_base);
}
else if(n<math_font_base+32)
{print_esc(/*1439:*/
#line 25213 "tex.w"
314
/*:1439*/
#line 4928 "tex.w"
);print_int(n-math_font_base-16);
}
else{print_esc(/*1440:*/
#line 25216 "tex.w"
315
/*:1440*/
#line 4930 "tex.w"
);print_int(n-math_font_base-32);
}
print_char('=');
print_esc(hash[font_id_base+equiv(n)].rh);

}

/*:234*/
#line 4919 "tex.w"

else/*235:*/
#line 4937 "tex.w"

if(n<math_code_base)
{if(n<lc_code_base)
{print_esc(/*1441:*/
#line 25219 "tex.w"
316
/*:1441*/
#line 4940 "tex.w"
);print_int(n-cat_code_base);
}
else if(n<uc_code_base)
{print_esc(/*1442:*/
#line 25222 "tex.w"
317
/*:1442*/
#line 4943 "tex.w"
);print_int(n-lc_code_base);
}
else if(n<sf_code_base)
{print_esc(/*1443:*/
#line 25225 "tex.w"
318
/*:1443*/
#line 4946 "tex.w"
);print_int(n-uc_code_base);
}
else{print_esc(/*1444:*/
#line 25228 "tex.w"
319
/*:1444*/
#line 4948 "tex.w"
);print_int(n-sf_code_base);
}
print_char('=');print_int(equiv(n));
}
else{print_esc(/*1445:*/
#line 25231 "tex.w"
320
/*:1445*/
#line 4952 "tex.w"
);print_int(n-math_code_base);
print_char('=');print_int(ho(equiv(n)));
}

/*:235*/
#line 4920 "tex.w"


/*:233*/
#line 5490 "tex.w"

else if(n<dimen_base)/*242:*/
#line 5300 "tex.w"

{if(n<count_base)print_param(n-int_base);
else if(n<del_code_base)
{print_esc(/*1501:*/
#line 25399 "tex.w"
376
/*:1501*/
#line 5303 "tex.w"
);print_int(n-count_base);
}
else{print_esc(/*1502:*/
#line 25402 "tex.w"
377
/*:1502*/
#line 5305 "tex.w"
);print_int(n-del_code_base);
}
print_char('=');print_int(eqtb[n].i);
}

/*:242*/
#line 5491 "tex.w"

else if(n<=eqtb_size)/*251:*/
#line 5474 "tex.w"

{if(n<scaled_base)print_length_param(n-dimen_base);
else{print_esc(/*1524:*/
#line 25468 "tex.w"
399
/*:1524*/
#line 5476 "tex.w"
);print_int(n-scaled_base);
}
print_char('=');print_scaled(eqtb[n].sc);print_str("pt");
}

/*:251*/
#line 5492 "tex.w"

else print_char('?');
}
#endif

/*:252*//*259:*/
#line 5577 "tex.w"
pointer id_lookup(int j,int l)
{
int h;
int d;
pointer p;
pointer k;
/*261:*/
#line 5624 "tex.w"

h= buffer[j];
for(k= j+1;k<=j+l-1;k++)
{h= h+h+buffer[k];
while(h>=hash_prime)h= h-hash_prime;
}

/*:261*/
#line 5583 "tex.w"
;
p= h+hash_base;
loop{if(text(p)> 0)if(length(text(p))==l)
if(str_eq_buf(text(p),j))goto found;
if(next(p)==0)
{if(no_new_control_sequence)
p= undefined_control_sequence;
else/*260:*/
#line 5598 "tex.w"

{if(text(p)> 0)
{do{if(hash_is_full)overflow("hash size",hash_size);

decr(hash_used);
}while(!(text(hash_used)==0));
next(p)= hash_used;p= hash_used;
}
str_room(l);d= cur_length;
while(pool_ptr> str_start[str_ptr])
{decr(pool_ptr);str_pool[pool_ptr+l]= str_pool[pool_ptr];
}
for(k= j;k<=j+l-1;k++)append_char(buffer[k]);
text(p)= make_string();pool_ptr= pool_ptr+d;
#ifdef STAT
incr(cs_count);
#endif

}

/*:260*/
#line 5590 "tex.w"
;
goto found;
}
p= next(p);
}
found:return p;
}

/*:259*//*264:*/
#line 5680 "tex.w"

#ifdef INIT
void primitive(str_number s,quarterword c,halfword o)
{pool_pointer k;
int j;
small_number l;
if(s<256)cur_val= s+single_base;
else{k= str_start[s];l= str_start[s+1]-k;

for(j= 0;j<=l-1;j++)buffer[j]= so(str_pool[k+j]);
cur_val= id_lookup(0,l);
flush_string;text(cur_val)= s;
}
eq_level(cur_val)= level_one;eq_type(cur_val)= c;equiv(cur_val)= o;
}
#endif

/*:264*//*274:*/
#line 5987 "tex.w"
void new_save_level(group_code c)
{check_full_save_stack;
save_type(save_ptr)= level_boundary;save_level(save_ptr)= cur_group;
save_index(save_ptr)= cur_boundary;
if(cur_level==max_quarterword)overflow("grouping levels",

max_quarterword-min_quarterword);

cur_boundary= save_ptr;incr(cur_level);incr(save_ptr);cur_group= c;
}

/*:274*//*275:*/
#line 6004 "tex.w"
void eq_destroy(memory_word w)
{pointer q;
switch(eq_type_field(w)){
case call:case long_call:case outer_call:case long_outer_call:delete_token_ref(equiv_field(w));break;
case glue_ref:delete_glue_ref(equiv_field(w));break;
case shape_ref:{q= equiv_field(w);
if(q!=null)free_node(q,info(q)+info(q)+1);
}break;
case box_ref:flush_node_list(equiv_field(w));break;
default:do_nothing;
}
}

/*:275*//*276:*/
#line 6020 "tex.w"
void eq_save(pointer p,quarterword l)
{check_full_save_stack;
if(l==level_zero)save_type(save_ptr)= restore_zero;
else{save_stack[save_ptr]= eqtb[p];incr(save_ptr);
save_type(save_ptr)= restore_old_value;
}
save_level(save_ptr)= l;save_index(save_ptr)= p;incr(save_ptr);
}

/*:276*//*277:*/
#line 6037 "tex.w"
void eq_define(pointer p,quarterword t,halfword e)

{if(eq_level(p)==cur_level)eq_destroy(eqtb[p]);
else if(cur_level> level_one)eq_save(p,eq_level(p));
eq_level(p)= cur_level;eq_type(p)= t;equiv(p)= e;
}

/*:277*//*278:*/
#line 6048 "tex.w"
void eq_word_define(pointer p,int w)
{if(xeq_level[p]!=cur_level)
{eq_save(p,xeq_level[p]);xeq_level[p]= cur_level;
}
eqtb[p].i= w;
}

/*:278*//*279:*/
#line 6060 "tex.w"
void geq_define(pointer p,quarterword t,halfword e)

{eq_destroy(eqtb[p]);
eq_level(p)= level_one;eq_type(p)= t;equiv(p)= e;
}

void geq_word_define(pointer p,int w)
{eqtb[p].i= w;xeq_level[p]= level_one;
}

/*:279*//*280:*/
#line 6072 "tex.w"
void save_for_after(halfword t)
{if(cur_level> level_one)
{check_full_save_stack;
save_type(save_ptr)= insert_token;save_level(save_ptr)= level_zero;
save_index(save_ptr)= t;incr(save_ptr);
}
}

/*:280*//*281:*/
#line 6084 "tex.w"
/*284:*/
#line 6155 "tex.w"

#ifdef STAT
void restore_trace(pointer p,str_number s)

{begin_diagnostic();print_char('{');print(s);print_char(' ');
show_eqtb(p);print_char('}');
end_diagnostic(false);
}
#endif

/*:284*/
#line 6084 "tex.w"

void back_input(void);
void unsave(void)
{
pointer p;
quarterword l;
halfword t;
if(cur_level> level_one)
{decr(cur_level);
/*282:*/
#line 6099 "tex.w"

loop{decr(save_ptr);
if(save_type(save_ptr)==level_boundary)goto done;
p= save_index(save_ptr);
if(save_type(save_ptr)==insert_token)
/*326:*/
#line 7097 "tex.w"

{t= cur_tok;cur_tok= p;back_input();cur_tok= t;
}

/*:326*/
#line 6104 "tex.w"

else{if(save_type(save_ptr)==restore_old_value)
{l= save_level(save_ptr);decr(save_ptr);
}
else save_stack[save_ptr]= eqtb[undefined_control_sequence];
/*283:*/
#line 6121 "tex.w"

if(p<int_base)
if(eq_level(p)==level_one)
{eq_destroy(save_stack[save_ptr]);

#ifdef STAT
if(tracing_restores> 0)restore_trace(p,/*1564:*/
#line 25588 "tex.w"
439
/*:1564*/
#line 6127 "tex.w"
);
#endif

}
else{eq_destroy(eqtb[p]);
eqtb[p]= save_stack[save_ptr];

#ifdef STAT
if(tracing_restores> 0)restore_trace(p,/*1565:*/
#line 25591 "tex.w"
440
/*:1565*/
#line 6135 "tex.w"
);
#endif

}
else if(xeq_level[p]!=level_one)
{eqtb[p]= save_stack[save_ptr];xeq_level[p]= l;

#ifdef STAT
if(tracing_restores> 0)restore_trace(p,/*1565:*/
#line 25591 "tex.w"
440
/*:1565*/
#line 6143 "tex.w"
);
#endif

}
else{

#ifdef STAT
if(tracing_restores> 0)restore_trace(p,/*1564:*/
#line 25588 "tex.w"
439
/*:1564*/
#line 6150 "tex.w"
);
#endif

}

/*:283*/
#line 6110 "tex.w"
;
}
}
done:cur_group= save_level(save_ptr);cur_boundary= save_index(save_ptr)

/*:282*/
#line 6093 "tex.w"
;
}
else confusion(/*1563:*/
#line 25585 "tex.w"
438
/*:1563*/
#line 6095 "tex.w"
);

}

/*:281*//*288:*/
#line 6194 "tex.w"
void prepare_mag(void)
{if((mag_set> 0)&&(mag!=mag_set))
{print_err("Incompatible magnification (");print_int(mag);

print_str(");");print_nl(" the previous value will be retained");
help2("I can handle only one magnification ratio per job. So I've")
("reverted to the magnification you used earlier on this run.");
int_error(mag_set);
geq_word_define(int_base+mag_code,mag_set);
}
if((mag<=0)||(mag> 32768))
{print_err("Illegal magnification has been changed to 1000");

help1("The magnification ratio must be between 1 and 32768.");
int_error(mag);geq_word_define(int_base+mag_code,1000);
}
mag_set= mag;
}

/*:288*//*295:*/
#line 6378 "tex.w"
void token_show(pointer p)
{if(p!=null)show_token_list(link(p),null,10000000);
}

/*:295*//*296:*/
#line 6385 "tex.w"
void print_meaning(void)
{print_cmd_chr(cur_cmd,cur_chr);
if(cur_cmd>=call)
{print_char(':');print_ln();token_show(cur_chr);
}
else if(cur_cmd==top_bot_mark)
{print_char(':');print_ln();
token_show(cur_mark[cur_chr]);
}
}

/*:296*//*299:*/
#line 6483 "tex.w"
void show_cur_cmd_chr(void)
{begin_diagnostic();print_nl("{");
if(mode!=shown_mode)
{print_mode(mode);print_str(": ");shown_mode= mode;
}
print_cmd_chr(cur_cmd,cur_chr);print_char('}');
end_diagnostic(false);
}

/*:299*//*311:*/
#line 6827 "tex.w"
void show_context(void)
{
uint8_t old_setting;
int nn;
bool bottom_line;
/*315:*/
#line 6939 "tex.w"

int i;
uint16_t j;
uint8_t l;
int m;
uint8_t n;
int p;
int q;

/*:315*/
#line 6832 "tex.w"

base_ptr= input_ptr;input_stack[base_ptr]= cur_input;

nn= -1;bottom_line= false;
loop{cur_input= input_stack[base_ptr];
if((state!=token_list))
if((name> 17)||(base_ptr==0))bottom_line= true;
if((base_ptr==input_ptr)||bottom_line||(nn<error_context_lines))
/*312:*/
#line 6850 "tex.w"

{if((base_ptr==input_ptr)||(state!=token_list)||
(token_type!=backed_up)||(loc!=null))

{tally= 0;
old_setting= selector;
if(state!=token_list)
{/*313:*/
#line 6874 "tex.w"

if(name<=17)
if(terminal_input)
if(base_ptr==0)print_nl("<*>");else print_nl("<insert> ");
else{print_nl("<read ");
if(name==17)print_char('*');else print_int(name-1);

print_char('>');
}
else{print_nl("l.");print_int(line);
}
print_char(' ')

/*:313*/
#line 6857 "tex.w"
;
/*318:*/
#line 6985 "tex.w"

begin_pseudoprint;
if(buffer[limit]==end_line_char)j= limit;
else j= limit+1;
if(j> 0)for(i= start;i<=j-1;i++)
{if(i==loc)set_trick_count;
print(buffer[i]);
}

/*:318*/
#line 6858 "tex.w"
;
}
else{/*314:*/
#line 6887 "tex.w"

switch(token_type){
case parameter:print_nl("<argument> ");break;
case u_template:case v_template:print_nl("<template> ");break;
case backed_up:if(loc==null)print_nl("<recently read> ");
else print_nl("<to be read again> ");break;
case inserted:print_nl("<inserted text> ");break;
case macro:{print_ln();print_cs(name);
}break;
case output_text:print_nl("<output> ");break;
case every_par_text:print_nl("<everypar> ");break;
case every_math_text:print_nl("<everymath> ");break;
case every_display_text:print_nl("<everydisplay> ");break;
case every_hbox_text:print_nl("<everyhbox> ");break;
case every_vbox_text:print_nl("<everyvbox> ");break;
case every_job_text:print_nl("<everyjob> ");break;
case every_cr_text:print_nl("<everycr> ");break;
case mark_text:print_nl("<mark> ");break;
case write_text:print_nl("<write> ");break;
default:print_nl("?");
}

/*:314*/
#line 6860 "tex.w"
;
/*319:*/
#line 6994 "tex.w"

begin_pseudoprint;
if(token_type<macro)show_token_list(start,loc,100000);
else show_token_list(link(start),loc,100000)

/*:319*/
#line 6861 "tex.w"
;
}
selector= old_setting;
/*317:*/
#line 6963 "tex.w"

if(trick_count==1000000)set_trick_count;

if(tally<trick_count)m= tally-first_count;
else m= trick_count-first_count;
if(l+first_count<=half_error_line)
{p= 0;n= l+first_count;
}
else{print_str("...");p= l+first_count-half_error_line+3;
n= half_error_line;
}
for(q= p;q<=first_count-1;q++)print_char(trick_buf[q%error_line]);
print_ln();
for(q= 1;q<=n;q++)print_char(' ');
if(m+n<=error_line)p= first_count+m;else p= first_count+(error_line-n-3);
for(q= first_count;q<=p-1;q++)print_char(trick_buf[q%error_line]);
if(m+n> error_line)print_str("...")

/*:317*/
#line 6864 "tex.w"
;
incr(nn);
}
}

/*:312*/
#line 6840 "tex.w"

else if(nn==error_context_lines)
{print_nl("...");incr(nn);
}
if(bottom_line)goto done;
decr(base_ptr);
}
done:cur_input= input_stack[input_ptr];
}

/*:311*//*323:*/
#line 7033 "tex.w"
void begin_token_list(pointer p,quarterword t)
{push_input;state= token_list;start= p;token_type= t;
if(t>=macro)
{add_token_ref(p);
if(t==macro)param_start= param_ptr;
else{loc= link(p);
if(tracing_macros> 1)
{begin_diagnostic();print_nl("");
switch(t){
case mark_text:print_esc(/*1401:*/
#line 25099 "tex.w"
276
/*:1401*/
#line 7042 "tex.w"
);break;
case write_text:print_esc(/*1568:*/
#line 25600 "tex.w"
443
/*:1568*/
#line 7043 "tex.w"
);break;
default:print_cmd_chr(assign_toks,t-output_text+output_routine_loc);
}
print_str("->");token_show(p);end_diagnostic(false);
}
}
}
else loc= p;
}

/*:323*//*324:*/
#line 7058 "tex.w"
void end_token_list(void)
{if(token_type>=backed_up)
{if(token_type<=inserted)flush_list(start);
else{delete_token_ref(start);
if(token_type==macro)
while(param_ptr> param_start)
{decr(param_ptr);
flush_list(param_stack[param_ptr]);
}
}
}
else if(token_type==u_template)
if(align_state> 500000)align_state= 0;
else fatal_error("(interwoven alignment preambles are not allowed)");

pop_input;
check_interrupt;
}

/*:324*//*325:*/
#line 7085 "tex.w"
void back_input(void)
{pointer p;
while((state==token_list)&&(loc==null)&&(token_type!=v_template))
end_token_list();
p= get_avail();info(p)= cur_tok;
if(cur_tok<right_brace_limit)
if(cur_tok<left_brace_limit)decr(align_state);
else incr(align_state);
push_input;state= token_list;start= p;token_type= backed_up;
loc= p;
}

/*:325*//*327:*/
#line 7106 "tex.w"
void back_error(void)
{OK_to_interrupt= false;back_input();OK_to_interrupt= true;error();
}

void ins_error(void)
{OK_to_interrupt= false;back_input();token_type= inserted;
OK_to_interrupt= true;error();
}

/*:327*//*328:*/
#line 7121 "tex.w"
void begin_file_reading(void)
{if(in_open==max_in_open)overflow("text input levels",max_in_open);

if(first==buf_size)overflow("buffer size",buf_size);

incr(in_open);push_input;index= in_open;
line_stack[index]= line;start= first;state= mid_line;
name= 0;
}

/*:328*//*329:*/
#line 7134 "tex.w"
void end_file_reading(void)
{first= start;line= line_stack[index];
if(name> 17)a_close(&cur_file);
pop_input;decr(in_open);
}

/*:329*//*330:*/
#line 7144 "tex.w"
void clear_for_error_prompt(void)
{while((state!=token_list)&&terminal_input&&
(input_ptr> 0)&&(loc> limit))end_file_reading();
print_ln();clear_terminal;
}

/*:330*//*336:*/
#line 7211 "tex.w"
void check_outer_validity(void)
{pointer p;
pointer q;
if(scanner_status!=normal)
{deletions_allowed= false;
/*337:*/
#line 7237 "tex.w"

if(cur_cs!=0)
{if((state==token_list)||(name<1)||(name> 17))
{p= get_avail();info(p)= cs_token_flag+cur_cs;
back_list(p);
}
cur_cmd= spacer;cur_chr= ' ';
}

/*:337*/
#line 7216 "tex.w"
;
if(scanner_status> skipping)
/*338:*/
#line 7246 "tex.w"

{runaway();
if(cur_cs==0)print_err("File ended")

else{cur_cs= 0;print_err("Forbidden control sequence found");

}
print_str(" while scanning ");
/*339:*/
#line 7271 "tex.w"

p= get_avail();
switch(scanner_status){
case defining:{print_str("definition");info(p)= right_brace_token+'}';
}break;
case matching:{print_str("use");info(p)= par_token;long_state= outer_call;
}break;
case aligning:{print_str("preamble");info(p)= right_brace_token+'}';q= p;
p= get_avail();link(p)= q;info(p)= cs_token_flag+frozen_cr;
align_state= -1000000;
}break;
case absorbing:{print_str("text");info(p)= right_brace_token+'}';
}
}
ins_list(p)

/*:339*/
#line 7255 "tex.w"
;
print_str(" of ");sprint_cs(warning_index);
help4("I suspect you have forgotten a `}', causing me")
("to read past where you wanted me to stop.")
("I'll try to recover; but if the error is serious,")
("you'd better type `E' or `X' now and fix your file.");
error();
}

/*:338*/
#line 7218 "tex.w"

else{print_err("Incomplete ");print_cmd_chr(if_test,cur_if);

print_str("; all text was ignored after line ");print_int(skip_line);
help3("A forbidden control sequence occurred in skipped text.")
("This kind of error happens when you say `\\if...' and forget")
("the matching `\\fi'. I've inserted a `\\fi'; this might work.");
if(cur_cs!=0)cur_cs= 0;
else help_line[2]= 
"The file ended while I was skipping conditional text.";
cur_tok= cs_token_flag+frozen_fi;ins_error();
}
deletions_allowed= true;
}
}

/*:336*//*340:*/
#line 7289 "tex.w"
void firm_up_the_line(void);

/*:340*//*341:*/
#line 7295 "tex.w"
void get_next(void)
{





uint16_t k;
halfword t;
uint8_t cat;
ASCII_code c,cc;
uint8_t d;
restart:cur_cs= 0;
if(state!=token_list)
/*343:*/
#line 7325 "tex.w"


{get_cur_chr:if(loc<=limit)
{cur_chr= buffer[loc];incr(loc);
reswitch:cur_cmd= cat_code(cur_chr);
/*344:*/
#line 7349 "tex.w"

switch(state+cur_cmd){
/*345:*/
#line 7363 "tex.w"

any_state_plus(ignore):case skip_blanks+spacer:case new_line+spacer

/*:345*/
#line 7351 "tex.w"
:goto get_cur_chr;
any_state_plus(escape):/*354:*/
#line 7469 "tex.w"

{if(loc> limit)cur_cs= null_cs;
else{start_cs:k= loc;cur_chr= buffer[k];cat= cat_code(cur_chr);
incr(k);
if(cat==letter)state= skip_blanks;
else if(cat==spacer)state= skip_blanks;
else state= mid_line;
if((cat==letter)&&(k<=limit))
/*356:*/
#line 7515 "tex.w"

{do{cur_chr= buffer[k];cat= cat_code(cur_chr);incr(k);
}while(!((cat!=letter)||(k> limit)));
/*355:*/
#line 7494 "tex.w"

{if(buffer[k]==cur_chr)if(cat==sup_mark)if(k<limit)
{c= buffer[k+1];if(c<0200)
{d= 2;
if(is_hex(c))if(k+2<=limit)
{cc= buffer[k+2];if(is_hex(cc))incr(d);
}
if(d> 2)
{hex_to_cur_chr;buffer[k-1]= cur_chr;
}
else if(c<0100)buffer[k-1]= c+0100;
else buffer[k-1]= c-0100;
limit= limit-d;first= first-d;
while(k<=limit)
{buffer[k]= buffer[k+d];incr(k);
}
goto start_cs;
}
}
}

/*:355*/
#line 7518 "tex.w"
;
if(cat!=letter)decr(k);

if(k> loc+1)
{cur_cs= id_lookup(loc,k-loc);loc= k;goto found;
}
}

/*:356*/
#line 7479 "tex.w"

else/*355:*/
#line 7494 "tex.w"

{if(buffer[k]==cur_chr)if(cat==sup_mark)if(k<limit)
{c= buffer[k+1];if(c<0200)
{d= 2;
if(is_hex(c))if(k+2<=limit)
{cc= buffer[k+2];if(is_hex(cc))incr(d);
}
if(d> 2)
{hex_to_cur_chr;buffer[k-1]= cur_chr;
}
else if(c<0100)buffer[k-1]= c+0100;
else buffer[k-1]= c-0100;
limit= limit-d;first= first-d;
while(k<=limit)
{buffer[k]= buffer[k+d];incr(k);
}
goto start_cs;
}
}
}

/*:355*/
#line 7480 "tex.w"
;
cur_cs= single_base+buffer[loc];incr(loc);
}
found:cur_cmd= eq_type(cur_cs);cur_chr= equiv(cur_cs);
if(cur_cmd>=outer_call)check_outer_validity();
}

/*:354*/
#line 7353 "tex.w"
break;
any_state_plus(active_char):/*353:*/
#line 7448 "tex.w"

{cur_cs= cur_chr+active_base;
cur_cmd= eq_type(cur_cs);cur_chr= equiv(cur_cs);state= mid_line;
if(cur_cmd>=outer_call)check_outer_validity();
}

/*:353*/
#line 7355 "tex.w"
break;
any_state_plus(sup_mark):/*352:*/
#line 7432 "tex.w"

{if(cur_chr==buffer[loc])if(loc<limit)
{c= buffer[loc+1];if(c<0200)
{loc= loc+2;
if(is_hex(c))if(loc<=limit)
{cc= buffer[loc];if(is_hex(cc))
{incr(loc);hex_to_cur_chr;goto reswitch;
}
}
if(c<0100)cur_chr= c+0100;else cur_chr= c-0100;
goto reswitch;
}
}
state= mid_line;
}

/*:352*/
#line 7357 "tex.w"
break;
any_state_plus(invalid_char):/*346:*/
#line 7370 "tex.w"

{print_err("Text line contains an invalid character");

help2("A funny symbol that I can't read has just been input.")
("Continue, and I'll forget that it ever happened.");
deletions_allowed= false;error();deletions_allowed= true;
goto restart;
}

/*:346*/
#line 7358 "tex.w"

/*347:*/
#line 7382 "tex.w"

case mid_line+spacer:/*349:*/
#line 7410 "tex.w"

{state= skip_blanks;cur_chr= ' ';
}

/*:349*/
#line 7383 "tex.w"
break;
case mid_line+car_ret:/*348:*/
#line 7404 "tex.w"

{loc= limit+1;cur_cmd= spacer;cur_chr= ' ';
}

/*:348*/
#line 7384 "tex.w"
break;
case skip_blanks+car_ret:any_state_plus(comment):
/*350:*/
#line 7414 "tex.w"

{loc= limit+1;goto get_cur_chr;
}

/*:350*/
#line 7386 "tex.w"

case new_line+car_ret:/*351:*/
#line 7418 "tex.w"

{loc= limit+1;cur_cs= par_loc;cur_cmd= eq_type(cur_cs);
cur_chr= equiv(cur_cs);
if(cur_cmd>=outer_call)check_outer_validity();
}

/*:351*/
#line 7387 "tex.w"
break;
case mid_line+left_brace:incr(align_state);break;
case skip_blanks+left_brace:case new_line+left_brace:{
state= mid_line;incr(align_state);
}break;
case mid_line+right_brace:decr(align_state);break;
case skip_blanks+right_brace:case new_line+right_brace:{
state= mid_line;decr(align_state);
}break;
add_delims_to(case skip_blanks):add_delims_to(case new_line):state= mid_line;break;

/*:347*/
#line 7359 "tex.w"

default:do_nothing;
}

/*:344*/
#line 7331 "tex.w"
;
}
else{state= new_line;
/*360:*/
#line 7578 "tex.w"

if(name> 17)/*362:*/
#line 7614 "tex.w"

{incr(line);first= start;
if(!force_eof)
{if(input_ln(&cur_file,true))
firm_up_the_line();
else force_eof= true;
}
if(force_eof)
{print_char(')');decr(open_parens);
update_terminal;
force_eof= false;
end_file_reading();
check_outer_validity();goto restart;
}
if(end_line_char_inactive)decr(limit);
else buffer[limit]= end_line_char;
first= limit+1;loc= start;
}

/*:362*/
#line 7580 "tex.w"

else{if(!terminal_input)
{cur_cmd= 0;cur_chr= 0;return;
}
if(input_ptr> 0)
{end_file_reading();goto restart;
}
if(selector<log_only)open_log_file();
if(interaction> nonstop_mode)
{if(end_line_char_inactive)incr(limit);
if(limit==start)
print_nl("(Please type a command or say `\\end')");

print_ln();first= start;
prompt_input("*");

limit= last;
if(end_line_char_inactive)decr(limit);
else buffer[limit]= end_line_char;
first= limit+1;
loc= start;
}
else fatal_error("*** (job aborted, no legal \\end found)");



}

/*:360*/
#line 7335 "tex.w"
;
check_interrupt;
goto get_cur_chr;
}
}

/*:343*/
#line 7309 "tex.w"

else/*357:*/
#line 7529 "tex.w"

if(loc!=null)

{t= info(loc);loc= link(loc);
if(t>=cs_token_flag)
{cur_cs= t-cs_token_flag;
cur_cmd= eq_type(cur_cs);cur_chr= equiv(cur_cs);
if(cur_cmd>=outer_call)
if(cur_cmd==dont_expand)
/*358:*/
#line 7560 "tex.w"

{cur_cs= info(loc)-cs_token_flag;loc= null;
cur_cmd= eq_type(cur_cs);cur_chr= equiv(cur_cs);
if(cur_cmd> max_command)
{cur_cmd= relax;cur_chr= no_expand_flag;
}
}

/*:358*/
#line 7538 "tex.w"

else check_outer_validity();
}
else{cur_cmd= t/0400;cur_chr= t%0400;
switch(cur_cmd){
case left_brace:incr(align_state);break;
case right_brace:decr(align_state);break;
case out_param:/*359:*/
#line 7568 "tex.w"

{begin_token_list(param_stack[param_start+cur_chr-1],parameter);
goto restart;
}

/*:359*/
#line 7545 "tex.w"

default:do_nothing;
}
}
}
else{
end_token_list();goto restart;
}

/*:357*/
#line 7311 "tex.w"
;
/*342:*/
#line 7321 "tex.w"

if(cur_cmd<=car_ret)if(cur_cmd>=tab_mark)if(align_state==0)
/*789:*/
#line 15582 "tex.w"

{if((scanner_status==aligning)||(cur_align==null))
fatal_error("(interwoven alignment preambles are not allowed)");

cur_cmd= extra_info(cur_align);extra_info(cur_align)= cur_chr;
if(cur_cmd==omit)begin_token_list(omit_template,v_template);
else begin_token_list(v_part(cur_align),v_template);
align_state= 1000000;goto restart;
}

/*:789*/
#line 7323 "tex.w"


/*:342*/
#line 7312 "tex.w"
;
}

/*:341*//*363:*/
#line 7640 "tex.w"
void firm_up_the_line(void)
{int k;
limit= last;
if(pausing> 0)if(interaction> nonstop_mode)
{wake_up_terminal;print_ln();
if(start<limit)for(k= start;k<=limit-1;k++)print(buffer[k]);
first= limit;prompt_input("=>");

if(last> first)
{for(k= first;k<=last-1;k++)
buffer[k+start-first]= buffer[k];
limit= start+last-first;
}
}
}

/*:363*//*365:*/
#line 7679 "tex.w"
void get_token(void)
{no_new_control_sequence= false;get_next();no_new_control_sequence= true;

if(cur_cs==0)cur_tok= (cur_cmd*0400)+cur_chr;
else cur_tok= cs_token_flag+cur_cs;
}

/*:365*//*366:*/
#line 7705 "tex.w"
/*389:*/
#line 8001 "tex.w"

void macro_call(void)
{
pointer r;
pointer p;
pointer q;
pointer s;
pointer t;
pointer u,v;
pointer rbrace_ptr;
small_number n;
halfword unbalance;
int m;
pointer ref_count;
small_number save_scanner_status;
pointer save_warning_index;
ASCII_code match_chr;
save_scanner_status= scanner_status;save_warning_index= warning_index;
warning_index= cur_cs;ref_count= cur_chr;r= link(ref_count);n= 0;
if(tracing_macros> 0)/*401:*/
#line 8225 "tex.w"

{begin_diagnostic();print_ln();print_cs(warning_index);
token_show(ref_count);end_diagnostic(false);
}

/*:401*/
#line 8020 "tex.w"
;
if(info(r)!=end_match_token)
/*391:*/
#line 8057 "tex.w"

{scanner_status= matching;unbalance= 0;
long_state= eq_type(cur_cs);
if(long_state>=outer_call)long_state= long_state-2;
do{link(temp_head)= null;
if((info(r)> match_token+255)||(info(r)<match_token))s= null;
else{match_chr= info(r)-match_token;s= link(r);r= s;
p= temp_head;m= 0;
}
/*392:*/
#line 8077 "tex.w"

resume:get_token();
if(cur_tok==info(r))
/*394:*/
#line 8109 "tex.w"

{r= link(r);
if((info(r)>=match_token)&&(info(r)<=end_match_token))
{if(cur_tok<left_brace_limit)decr(align_state);
goto found;
}
else goto resume;
}

/*:394*/
#line 8081 "tex.w"
;
/*397:*/
#line 8165 "tex.w"

if(s!=r)
if(s==null)/*398:*/
#line 8182 "tex.w"

{print_err("Use of ");sprint_cs(warning_index);

print_str(" doesn't match its definition");
help4("If you say, e.g., `\\def\\a1{...}', then you must always")
("put `1' after `\\a', since control sequence names are")
("made up of letters only. The macro here has not been")
("followed by the required stuff, so I'm ignoring it.");
error();goto end;
}

/*:398*/
#line 8167 "tex.w"

else{t= s;
do{store_new_token(info(t));incr(m);u= link(t);v= s;
loop{if(u==r)
if(cur_tok!=info(v))goto done;
else{r= link(v);goto resume;
}
if(info(u)!=info(v))goto done;
u= link(u);v= link(v);
}
done:t= link(t);
}while(!(t==r));
r= s;
}

/*:397*/
#line 8083 "tex.w"
;
if(cur_tok==par_token)if(long_state!=long_call)
/*396:*/
#line 8134 "tex.w"

{if(long_state==call)
{runaway();print_err("Paragraph ended before ");

sprint_cs(warning_index);print_str(" was complete");
help3("I suspect you've forgotten a `}', causing me to apply this")
("control sequence to too much text. How can we recover?")
("My plan is to forget the whole thing and hope for the best.");
back_error();
}
pstack[n]= link(temp_head);align_state= align_state-unbalance;
for(m= 0;m<=n;m++)flush_list(pstack[m]);
goto end;
}

/*:396*/
#line 8085 "tex.w"
;
if(cur_tok<right_brace_limit)
if(cur_tok<left_brace_limit)
/*399:*/
#line 8193 "tex.w"

{unbalance= 1;

loop{fast_store_new_token(cur_tok);get_token();
if(cur_tok==par_token)if(long_state!=long_call)
/*396:*/
#line 8134 "tex.w"

{if(long_state==call)
{runaway();print_err("Paragraph ended before ");

sprint_cs(warning_index);print_str(" was complete");
help3("I suspect you've forgotten a `}', causing me to apply this")
("control sequence to too much text. How can we recover?")
("My plan is to forget the whole thing and hope for the best.");
back_error();
}
pstack[n]= link(temp_head);align_state= align_state-unbalance;
for(m= 0;m<=n;m++)flush_list(pstack[m]);
goto end;
}

/*:396*/
#line 8198 "tex.w"
;
if(cur_tok<right_brace_limit)
if(cur_tok<left_brace_limit)incr(unbalance);
else{decr(unbalance);
if(unbalance==0)goto done1;
}
}
done1:rbrace_ptr= p;store_new_token(cur_tok);
}

/*:399*/
#line 8088 "tex.w"

else/*395:*/
#line 8118 "tex.w"

{back_input();print_err("Argument of ");sprint_cs(warning_index);

print_str(" has an extra }");
help6("I've run across a `}' that doesn't seem to match anything.")
("For example, `\\def\\a#1{...}' and `\\a}' would produce")
("this error. If you simply proceed now, the `\\par' that")
("I've just inserted will cause me to report a runaway")
("argument that might be the root of the problem. But if")
("your `}' was spurious, just type `2' and it will go away.");
incr(align_state);long_state= call;cur_tok= par_token;ins_error();
goto resume;
}

/*:395*/
#line 8089 "tex.w"

else/*393:*/
#line 8097 "tex.w"

{if(cur_tok==space_token)
if(info(r)<=end_match_token)
if(info(r)>=match_token)goto resume;
store_new_token(cur_tok);
}

/*:393*/
#line 8091 "tex.w"
;
incr(m);
if(info(r)> end_match_token)goto resume;
if(info(r)<match_token)goto resume;
found:if(s!=null)/*400:*/
#line 8211 "tex.w"

{if((m==1)&&(info(p)<right_brace_limit)&&(p!=temp_head))
{link(rbrace_ptr)= null;free_avail(p);
p= link(temp_head);pstack[n]= link(p);free_avail(p);
}
else pstack[n]= link(temp_head);
incr(n);
if(tracing_macros> 0)
{begin_diagnostic();print_nl("");print(match_chr);print_int(n);
print_str("<-");show_token_list(pstack[n-1],null,1000);
end_diagnostic(false);
}
}

/*:400*/
#line 8095 "tex.w"


/*:392*/
#line 8067 "tex.w"
;

}while(!(info(r)==end_match_token));
}

/*:391*/
#line 8023 "tex.w"
;
/*390:*/
#line 8032 "tex.w"

while((state==token_list)&&(loc==null)&&(token_type!=v_template))
end_token_list();
begin_token_list(ref_count,macro);name= warning_index;loc= link(r);
if(n> 0)
{if(param_ptr+n> max_param_stack)
{max_param_stack= param_ptr+n;
if(max_param_stack> param_size)
overflow("parameter stack size",param_size);

}
for(m= 0;m<=n-1;m++)param_stack[param_ptr+m]= pstack[m];
param_ptr= param_ptr+n;
}

/*:390*/
#line 8024 "tex.w"
;
end:scanner_status= save_scanner_status;warning_index= save_warning_index;
}

/*:389*/
#line 7705 "tex.w"

/*379:*/
#line 7865 "tex.w"

void insert_relax(void)
{cur_tok= cs_token_flag+cur_cs;back_input();
cur_tok= cs_token_flag+frozen_relax;back_input();token_type= inserted;
}

/*:379*/
#line 7706 "tex.w"

void pass_text(void);
void start_input(void);
void conditional(void);
void get_x_token(void);
void conv_toks(void);
void ins_the_toks(void);
void expand(void)
{halfword t;
pointer p,q,r;
uint16_t j;
int cv_backup;
small_number cvl_backup,radix_backup,co_backup;

pointer backup_backup;
small_number save_scanner_status;
cv_backup= cur_val;cvl_backup= cur_val_level;radix_backup= radix;
co_backup= cur_order;backup_backup= link(backup_head);
if(cur_cmd<call)/*367:*/
#line 7731 "tex.w"

{if(tracing_commands> 1)show_cur_cmd_chr();
switch(cur_cmd){
case top_bot_mark:/*386:*/
#line 7957 "tex.w"

{if(cur_mark[cur_chr]!=null)
begin_token_list(cur_mark[cur_chr],mark_text);
}

/*:386*/
#line 7734 "tex.w"
break;
case expand_after:/*368:*/
#line 7749 "tex.w"

{get_token();t= cur_tok;get_token();
if(cur_cmd> max_command)expand();else back_input();
cur_tok= t;back_input();
}

/*:368*/
#line 7735 "tex.w"
break;
case no_expand:/*369:*/
#line 7763 "tex.w"

{save_scanner_status= scanner_status;scanner_status= normal;
get_token();scanner_status= save_scanner_status;t= cur_tok;
back_input();
if(t>=cs_token_flag)
{p= get_avail();info(p)= cs_token_flag+frozen_dont_expand;
link(p)= loc;start= p;loc= p;
}
}

/*:369*/
#line 7736 "tex.w"
break;
case cs_name:/*372:*/
#line 7795 "tex.w"

{r= get_avail();p= r;
do{get_x_token();
if(cur_cs==0)store_new_token(cur_tok);
}while(!(cur_cs!=0));
if(cur_cmd!=end_cs_name)/*373:*/
#line 7809 "tex.w"

{print_err("Missing ");print_esc(/*1527:*/
#line 25477 "tex.w"
402
/*:1527*/
#line 7810 "tex.w"
);print_str(" inserted");

help2("The control sequence marked <to be read again> should")
("not appear between \\csname and \\endcsname.");
back_error();
}

/*:373*/
#line 7800 "tex.w"
;
/*374:*/
#line 7817 "tex.w"

j= first;p= link(r);
while(p!=null)
{if(j>=max_buf_stack)
{max_buf_stack= j+1;
if(max_buf_stack==buf_size)
overflow("buffer size",buf_size);

}
buffer[j]= info(p)%0400;incr(j);p= link(p);
}
if(j> first+1)
{no_new_control_sequence= false;cur_cs= id_lookup(first,j-first);
no_new_control_sequence= true;
}
else if(j==first)cur_cs= null_cs;
else cur_cs= single_base+buffer[first]

/*:374*/
#line 7801 "tex.w"
;
flush_list(r);
if(eq_type(cur_cs)==undefined_cs)
{eq_define(cur_cs,relax,256);
}
cur_tok= cur_cs+cs_token_flag;back_input();
}

/*:372*/
#line 7737 "tex.w"
break;
case convert:conv_toks();break;
case the:ins_the_toks();break;
case if_test:conditional();break;
case fi_or_else:/*510:*/
#line 9940 "tex.w"

if(cur_chr> if_limit)
if(if_limit==if_code)insert_relax();
else{print_err("Extra ");print_cmd_chr(fi_or_else,cur_chr);



help1("I'm ignoring this; it doesn't match any \\if.");
error();
}
else{while(cur_chr!=fi_code)pass_text();
/*496:*/
#line 9732 "tex.w"

{p= cond_ptr;if_line= if_line_field(p);
cur_if= subtype(p);if_limit= type(p);cond_ptr= link(p);
free_node(p,if_node_size);
}

/*:496*/
#line 9951 "tex.w"
;
}

/*:510*/
#line 7741 "tex.w"
break;
case input:/*378:*/
#line 7857 "tex.w"

if(cur_chr> 0)force_eof= true;
else if(name_in_progress)insert_relax();
else start_input()

/*:378*/
#line 7742 "tex.w"
;break;
default:/*370:*/
#line 7773 "tex.w"

{print_err("Undefined control sequence");

help5("The control sequence at the end of the top line")
("of your error message was never \\def'ed. If you have")
("misspelled it (e.g., `\\hobx'), type `I' and the correct")
("spelling (e.g., `I\\hbox'). Otherwise just continue,")
("and I'll forget about whatever was undefined.");
error();
}

/*:370*/
#line 7743 "tex.w"

}
}

/*:367*/
#line 7724 "tex.w"

else if(cur_cmd<end_template)macro_call();
else/*375:*/
#line 7841 "tex.w"

{cur_tok= cs_token_flag+frozen_endv;back_input();
}

/*:375*/
#line 7726 "tex.w"
;
cur_val= cv_backup;cur_val_level= cvl_backup;radix= radix_backup;
cur_order= co_backup;link(backup_head)= backup_backup;
}

/*:366*//*380:*/
#line 7875 "tex.w"
void get_x_token(void)

{
restart:get_next();

if(cur_cmd<=max_command)goto done;
if(cur_cmd>=call)
if(cur_cmd<end_template)macro_call();
else{cur_cs= frozen_endv;cur_cmd= endv;
goto done;
}
else expand();
goto restart;
done:if(cur_cs==0)cur_tok= (cur_cmd*0400)+cur_chr;
else cur_tok= cs_token_flag+cur_cs;
}

/*:380*//*381:*/
#line 7895 "tex.w"
void x_token(void)
{while(cur_cmd> max_command)
{expand();
get_next();
}
if(cur_cs==0)cur_tok= (cur_cmd*0400)+cur_chr;
else cur_tok= cs_token_flag+cur_cs;
}

/*:381*//*403:*/
#line 8243 "tex.w"
void scan_left_brace(void)
{/*404:*/
#line 8257 "tex.w"

do{get_x_token();
}while(!((cur_cmd!=spacer)&&(cur_cmd!=relax)))

/*:404*/
#line 8244 "tex.w"
;
if(cur_cmd!=left_brace)
{print_err("Missing { inserted");

help4("A left brace was mandatory here, so I've put one in.")
("You might want to delete and/or insert some corrections")
("so that I will find a matching right brace soon.")
("(If you're confused by all this, try typing `I}' now.)");
back_error();cur_tok= left_brace_token+'{';cur_cmd= left_brace;
cur_chr= '{';incr(align_state);
}
}

/*:403*//*405:*/
#line 8264 "tex.w"
void scan_optional_equals(void)
{/*406:*/
#line 8269 "tex.w"

do{get_x_token();
}while(!(cur_cmd!=spacer))

/*:406*/
#line 8265 "tex.w"
;
if(cur_tok!=other_token+'=')back_input();
}

/*:405*//*407:*/
#line 8288 "tex.w"
bool scan_keyword(str_number s)
{
pointer p;
pointer q;
pool_pointer k;
p= backup_head;link(p)= null;k= str_start[s];
while(k<str_start[s+1])
{get_x_token();

if((cur_cs==0)&&
((cur_chr==so(str_pool[k]))||(cur_chr==so(str_pool[k])-'a'+'A')))
{store_new_token(cur_tok);incr(k);
}
else if((cur_cmd!=spacer)||(p!=backup_head))
{back_input();
if(p!=backup_head)back_list(link(backup_head));
return false;
}
}
flush_list(link(backup_head));return true;
}

/*:407*//*408:*/
#line 8313 "tex.w"
void mu_error(void)
{print_err("Incompatible glue units");

help1("I'm going to assume that 1mu=1pt when they're mixed.");
error();
}

/*:408*//*409:*/
#line 8330 "tex.w"
void scan_int(void);
/*433:*/
#line 8666 "tex.w"

void scan_eight_bit_int(void)
{scan_int();
if((cur_val<0)||(cur_val> 255))
{print_err("Bad register code");

help2("A register number must be between 0 and 255.")
("I changed this one to zero.");int_error(cur_val);cur_val= 0;
}
}

/*:433*//*434:*/
#line 8677 "tex.w"

void scan_char_num(void)
{scan_int();
if((cur_val<0)||(cur_val> 255))
{print_err("Bad character code");

help2("A character number must be between 0 and 255.")
("I changed this one to zero.");int_error(cur_val);cur_val= 0;
}
}

/*:434*//*435:*/
#line 8691 "tex.w"

void scan_four_bit_int(void)
{scan_int();
if((cur_val<0)||(cur_val> 15))
{print_err("Bad number");

help2("Since I expected to read a number between 0 and 15,")
("I changed this one to zero.");int_error(cur_val);cur_val= 0;
}
}

/*:435*//*436:*/
#line 8702 "tex.w"

void scan_fifteen_bit_int(void)
{scan_int();
if((cur_val<0)||(cur_val> 077777))
{print_err("Bad mathchar");

help2("A mathchar number must be between 0 and 32767.")
("I changed this one to zero.");int_error(cur_val);cur_val= 0;
}
}

/*:436*//*437:*/
#line 8713 "tex.w"

void scan_twenty_seven_bit_int(void)
{scan_int();
if((cur_val<0)||(cur_val> 0777777777))
{print_err("Bad delimiter code");

help2("A numeric delimiter code must be between 0 and 2^{27}-1.")
("I changed this one to zero.");int_error(cur_val);cur_val= 0;
}
}

/*:437*/
#line 8331 "tex.w"

/*577:*/
#line 11265 "tex.w"

void scan_font_ident(void)
{internal_font_number f;
halfword m;
/*406:*/
#line 8269 "tex.w"

do{get_x_token();
}while(!(cur_cmd!=spacer))

/*:406*/
#line 11269 "tex.w"
;
if(cur_cmd==def_font)f= cur_font;
else if(cur_cmd==set_font)f= cur_chr;
else if(cur_cmd==def_family)
{m= cur_chr;scan_four_bit_int();f= equiv(m+cur_val);
}
else{print_err("Missing font identifier");

help2("I was looking for a control sequence whose")
("current meaning has been defined by \\font.");
back_error();f= null_font;
}
cur_val= f;
}

/*:577*//*578:*/
#line 11288 "tex.w"

void find_font_dimen(bool writing)

{internal_font_number f;
int n;
scan_int();n= cur_val;scan_font_ident();f= cur_val;
if(n<=0)cur_val= fmem_ptr;
else{if(writing&&(n<=space_shrink_code)&&
(n>=space_code)&&(font_glue[f]!=null))
{delete_glue_ref(font_glue[f]);
font_glue[f]= null;
}
if(n> font_params[f])
if(f<font_ptr)cur_val= fmem_ptr;
else/*580:*/
#line 11319 "tex.w"

{do{if(fmem_ptr==font_mem_size)
overflow("font memory",font_mem_size);

font_info[fmem_ptr].sc= 0;incr(fmem_ptr);incr(font_params[f]);
}while(!(n==font_params[f]));
cur_val= fmem_ptr-1;
}

/*:580*/
#line 11302 "tex.w"

else cur_val= n+param_base[f];
}
/*579:*/
#line 11308 "tex.w"

if(cur_val==fmem_ptr)
{print_err("Font ");print_esc(font_id_text(f));
print_str(" has only ");print_int(font_params[f]);
print_str(" fontdimen parameters");

help2("To increase the number of font parameters, you must")
("use \\fontdimen immediately after the \\font is loaded.");
error();
}

/*:579*/
#line 11305 "tex.w"
;
}

/*:578*/
#line 8332 "tex.w"


/*:409*//*413:*/
#line 8403 "tex.w"
void scan_something_internal(small_number level,bool negative)

{halfword m;
uint8_t p;
m= cur_chr;
switch(cur_cmd){
case def_code:/*414:*/
#line 8433 "tex.w"

{scan_char_num();
if(m==math_code_base)scanned_result(ho(math_code(cur_val)))(int_val)
else if(m<math_code_base)scanned_result(equiv(m+cur_val))(int_val)
else scanned_result(eqtb[m+cur_val].i)(int_val);
}

/*:414*/
#line 8409 "tex.w"
break;
case toks_register:case assign_toks:case def_family:case set_font:case def_font:/*415:*/
#line 8440 "tex.w"

if(level!=tok_val)
{print_err("Missing number, treated as zero");

help3("A number should have been here; I inserted `0'.")
("(If you can't figure out why I needed to see a number,")
("look up `weird error' in the index to The TeXbook.)");

back_error();scanned_result(0)(dimen_val);
}
else if(cur_cmd<=assign_toks)
{if(cur_cmd<assign_toks)
{scan_eight_bit_int();m= toks_base+cur_val;
}
scanned_result(equiv(m))(tok_val);
}
else{back_input();scan_font_ident();
scanned_result(font_id_base+cur_val)(ident_val);
}

/*:415*/
#line 8411 "tex.w"
break;
case assign_int:scanned_result(eqtb[m].i)(int_val)break;
case assign_dimen:scanned_result(eqtb[m].sc)(dimen_val)break;
case assign_glue:scanned_result(equiv(m))(glue_val)break;
case assign_mu_glue:scanned_result(equiv(m))(mu_val)break;
case set_aux:/*418:*/
#line 8514 "tex.w"

if(abs(mode)!=m)
{print_err("Improper ");print_cmd_chr(set_aux,m);


help4("You can refer to \\spacefactor only in horizontal mode;")
("you can refer to \\prevdepth only in vertical mode; and")
("neither of these is meaningful inside \\write. So")
("I'm forgetting what you said and using zero instead.");
error();
if(level!=tok_val)scanned_result(0)(dimen_val)
else scanned_result(0)(int_val);
}
else if(m==vmode)scanned_result(prev_depth)(dimen_val)
else scanned_result(space_factor)(int_val)

/*:418*/
#line 8416 "tex.w"
break;
case set_prev_graf:/*422:*/
#line 8553 "tex.w"

if(mode==0)scanned_result(0)(int_val)
else{nest[nest_ptr]= cur_list;p= nest_ptr;
while(abs(nest[p].mode_field)!=vmode)decr(p);
scanned_result(nest[p].pg_field)(int_val);
}

/*:422*/
#line 8417 "tex.w"
break;
case set_page_int:/*419:*/
#line 8530 "tex.w"

{if(m==0)cur_val= dead_cycles;else cur_val= insert_penalties;
cur_val_level= int_val;
}

/*:419*/
#line 8418 "tex.w"
break;
case set_page_dimen:/*421:*/
#line 8546 "tex.w"

{if((page_contents==empty)&&(!output_active))
if(m==0)cur_val= max_dimen;else cur_val= 0;
else cur_val= page_so_far[m];
cur_val_level= dimen_val;
}

/*:421*/
#line 8419 "tex.w"
break;
case set_shape:/*423:*/
#line 8560 "tex.w"

{if(par_shape_ptr==null)cur_val= 0;
else cur_val= info(par_shape_ptr);
cur_val_level= int_val;
}

/*:423*/
#line 8420 "tex.w"
break;
case set_box_dimen:/*420:*/
#line 8535 "tex.w"

{scan_eight_bit_int();
if(box(cur_val)==null)cur_val= 0;else cur_val= mem[box(cur_val)+m].sc;
cur_val_level= dimen_val;
}

/*:420*/
#line 8421 "tex.w"
break;
case char_given:case math_given:scanned_result(cur_chr)(int_val)break;
case assign_font_dimen:/*425:*/
#line 8597 "tex.w"

{find_font_dimen(false);font_info[fmem_ptr].sc= 0;
scanned_result(font_info[cur_val].sc)(dimen_val);
}

/*:425*/
#line 8423 "tex.w"
break;
case assign_font_int:/*426:*/
#line 8602 "tex.w"

{scan_font_ident();
if(m==0)scanned_result(hyphen_char[cur_val])(int_val)
else scanned_result(skew_char[cur_val])(int_val);
}

/*:426*/
#line 8424 "tex.w"
break;
case register:/*427:*/
#line 8608 "tex.w"

{scan_eight_bit_int();
switch(m){
case int_val:cur_val= count(cur_val);break;
case dimen_val:cur_val= dimen(cur_val);break;
case glue_val:cur_val= skip(cur_val);break;
case mu_val:cur_val= mu_skip(cur_val);
}
cur_val_level= m;
}

/*:427*/
#line 8425 "tex.w"
break;
case last_item:/*424:*/
#line 8572 "tex.w"

if(cur_chr> glue_val)
{if(cur_chr==input_line_no_code)cur_val= line;
else cur_val= last_badness;
cur_val_level= int_val;
}
else{if(cur_chr==glue_val)cur_val= zero_glue;else cur_val= 0;
cur_val_level= cur_chr;
if(!is_char_node(tail)&&(mode!=0))
switch(cur_chr){
case int_val:if(type(tail)==penalty_node)cur_val= penalty(tail);break;
case dimen_val:if(type(tail)==kern_node)cur_val= width(tail);break;
case glue_val:if(type(tail)==glue_node)
{cur_val= glue_ptr(tail);
if(subtype(tail)==mu_glue)cur_val_level= mu_val;
}
}
else if((mode==vmode)&&(tail==head))
switch(cur_chr){
case int_val:cur_val= last_penalty;break;
case dimen_val:cur_val= last_kern;break;
case glue_val:if(last_glue!=max_halfword)cur_val= last_glue;
}
}

/*:424*/
#line 8426 "tex.w"
break;
default:/*428:*/
#line 8619 "tex.w"

{print_err("You can't use `");print_cmd_chr(cur_cmd,cur_chr);

print_str("' after ");print_esc(/*1559:*/
#line 25573 "tex.w"
434
/*:1559*/
#line 8622 "tex.w"
);
help1("I'm forgetting what you said and using zero instead.");
error();
if(level!=tok_val)scanned_result(0)(dimen_val)
else scanned_result(0)(int_val);
}

/*:428*/
#line 8427 "tex.w"

}
while(cur_val_level> level)/*429:*/
#line 8635 "tex.w"

{if(cur_val_level==glue_val)cur_val= width(cur_val);
else if(cur_val_level==mu_val)mu_error();
decr(cur_val_level);
}

/*:429*/
#line 8429 "tex.w"
;
/*430:*/
#line 8645 "tex.w"

if(negative)
if(cur_val_level>=glue_val)
{cur_val= new_spec(cur_val);
/*431:*/
#line 8655 "tex.w"

{negate(width(cur_val));
negate(stretch(cur_val));
negate(shrink(cur_val));
}

/*:431*/
#line 8649 "tex.w"
;
}
else negate(cur_val);
else if((cur_val_level>=glue_val)&&(cur_val_level<=mu_val))
add_glue_ref(cur_val)

/*:430*/
#line 8430 "tex.w"
;
}

/*:413*//*440:*/
#line 8756 "tex.w"
void scan_int(void)
{
bool negative;
int m;
small_number d;
bool vacuous;
bool OK_so_far;
radix= 0;OK_so_far= true;
/*441:*/
#line 8772 "tex.w"

negative= false;
do{/*406:*/
#line 8269 "tex.w"

do{get_x_token();
}while(!(cur_cmd!=spacer))

/*:406*/
#line 8774 "tex.w"
;
if(cur_tok==other_token+'-')
{negative= !negative;cur_tok= other_token+'+';
}
}while(!(cur_tok!=other_token+'+'))

/*:441*/
#line 8764 "tex.w"
;
if(cur_tok==alpha_token)/*442:*/
#line 8783 "tex.w"

{get_token();
if(cur_tok<cs_token_flag)
{cur_val= cur_chr;
if(cur_cmd<=right_brace)
if(cur_cmd==right_brace)incr(align_state);
else decr(align_state);
}
else if(cur_tok<cs_token_flag+single_base)
cur_val= cur_tok-cs_token_flag-active_base;
else cur_val= cur_tok-cs_token_flag-single_base;
if(cur_val> 255)
{print_err("Improper alphabetic constant");

help2("A one-character control sequence belongs after a ` mark.")
("So I'm essentially inserting \\0 here.");
cur_val= '0';back_error();
}
else/*443:*/
#line 8804 "tex.w"

{get_x_token();if(cur_cmd!=spacer)back_input();
}

/*:443*/
#line 8801 "tex.w"
;
}

/*:442*/
#line 8765 "tex.w"

else if((cur_cmd>=min_internal)&&(cur_cmd<=max_internal))
scan_something_internal(int_val,false);
else/*444:*/
#line 8808 "tex.w"

{radix= 10;m= 214748364;
if(cur_tok==octal_token)
{radix= 8;m= 02000000000;get_x_token();
}
else if(cur_tok==hex_token)
{radix= 16;m= 01000000000;get_x_token();
}
vacuous= true;cur_val= 0;
/*445:*/
#line 8827 "tex.w"

loop{if((cur_tok<zero_token+radix)&&(cur_tok>=zero_token)&&
(cur_tok<=zero_token+9))d= cur_tok-zero_token;
else if(radix==16)
if((cur_tok<=A_token+5)&&(cur_tok>=A_token))d= cur_tok-A_token+10;
else if((cur_tok<=other_A_token+5)&&(cur_tok>=other_A_token))
d= cur_tok-other_A_token+10;
else goto done;
else goto done;
vacuous= false;
if((cur_val>=m)&&((cur_val> m)||(d> 7)||(radix!=10)))
{if(OK_so_far)
{print_err("Number too big");

help2("I can only go up to 2147483647='17777777777=\"7FFFFFFF,")
("so I'm using that number instead of yours.");
error();cur_val= infinity;OK_so_far= false;
}
}
else cur_val= cur_val*radix+d;
get_x_token();
}
done:

/*:445*/
#line 8817 "tex.w"
;
if(vacuous)/*446:*/
#line 8851 "tex.w"

{print_err("Missing number, treated as zero");

help3("A number should have been here; I inserted `0'.")
("(If you can't figure out why I needed to see a number,")
("look up `weird error' in the index to The TeXbook.)");

back_error();
}

/*:446*/
#line 8818 "tex.w"

else if(cur_cmd!=spacer)back_input();
}

/*:444*/
#line 8768 "tex.w"
;
if(negative)negate(cur_val);
}

/*:440*//*448:*/
#line 8890 "tex.w"
void scan_dimen(bool mu,bool inf,bool shortcut)

{
bool negative;
int f;
/*450:*/
#line 8932 "tex.w"

uint32_t num,denom;
int k,kk;
pointer p,q;
scaled v;
int save_cur_val;

/*:450*/
#line 8895 "tex.w"

f= 0;arith_error= false;cur_order= normal;negative= false;
if(!shortcut)
{/*441:*/
#line 8772 "tex.w"

negative= false;
do{/*406:*/
#line 8269 "tex.w"

do{get_x_token();
}while(!(cur_cmd!=spacer))

/*:406*/
#line 8774 "tex.w"
;
if(cur_tok==other_token+'-')
{negative= !negative;cur_tok= other_token+'+';
}
}while(!(cur_tok!=other_token+'+'))

/*:441*/
#line 8898 "tex.w"
;
if((cur_cmd>=min_internal)&&(cur_cmd<=max_internal))
/*449:*/
#line 8921 "tex.w"

if(mu)
{scan_something_internal(mu_val,false);
/*451:*/
#line 8943 "tex.w"

if(cur_val_level>=glue_val)
{v= width(cur_val);delete_glue_ref(cur_val);cur_val= v;
}

/*:451*/
#line 8924 "tex.w"
;
if(cur_val_level==mu_val)goto attach_sign;
if(cur_val_level!=int_val)mu_error();
}
else{scan_something_internal(dimen_val,false);
if(cur_val_level==dimen_val)goto attach_sign;
}

/*:449*/
#line 8900 "tex.w"

else{back_input();
if(cur_tok==continental_point_token)cur_tok= point_token;
if(cur_tok!=point_token)scan_int();
else{radix= 10;cur_val= 0;
}
if(cur_tok==continental_point_token)cur_tok= point_token;
if((radix==10)&&(cur_tok==point_token))/*452:*/
#line 8954 "tex.w"

{k= 0;p= null;get_token();
loop{get_x_token();
if((cur_tok> zero_token+9)||(cur_tok<zero_token))goto done1;
if(k<17)
{q= get_avail();link(q)= p;info(q)= cur_tok-zero_token;
p= q;incr(k);
}
}
done1:for(kk= k;kk>=1;kk--)
{dig[kk-1]= info(p);q= p;p= link(p);free_avail(q);
}
f= round_decimals(k);
if(cur_cmd!=spacer)back_input();
}

/*:452*/
#line 8907 "tex.w"
;
}
}
if(cur_val<0)
{negative= !negative;negate(cur_val);
}
/*453:*/
#line 8977 "tex.w"

if(inf)/*454:*/
#line 8995 "tex.w"

if(scan_keyword(/*1387:*/
#line 25057 "tex.w"
262
/*:1387*/
#line 8996 "tex.w"
))

{cur_order= fil;
while(scan_keyword('l'))
{if(cur_order==filll)
{print_err("Illegal unit of measure (");

print_str("replaced by filll)");
help1("I dddon't go any higher than filll.");error();
}
else incr(cur_order);
}
goto attach_fraction;
}

/*:454*/
#line 8978 "tex.w"
;
/*455:*/
#line 9011 "tex.w"

save_cur_val= cur_val;
/*406:*/
#line 8269 "tex.w"

do{get_x_token();
}while(!(cur_cmd!=spacer))

/*:406*/
#line 9013 "tex.w"
;
if((cur_cmd<min_internal)||(cur_cmd> max_internal))back_input();
else{if(mu)
{scan_something_internal(mu_val,false);/*451:*/
#line 8943 "tex.w"

if(cur_val_level>=glue_val)
{v= width(cur_val);delete_glue_ref(cur_val);cur_val= v;
}

/*:451*/
#line 9016 "tex.w"
;
if(cur_val_level!=mu_val)mu_error();
}
else scan_something_internal(dimen_val,false);
v= cur_val;goto found;
}
if(mu)goto not_found;
if(scan_keyword(/*1590:*/
#line 25666 "tex.w"
465
/*:1590*/
#line 9023 "tex.w"
))v= (/*558:*/
#line 10924 "tex.w"
quad(cur_font)

/*:558*/
#line 9023 "tex.w"
);

else if(scan_keyword(/*1591:*/
#line 25669 "tex.w"
466
/*:1591*/
#line 9025 "tex.w"
))v= (/*559:*/
#line 10926 "tex.w"
x_height(cur_font)

/*:559*/
#line 9025 "tex.w"
);

else goto not_found;
/*443:*/
#line 8804 "tex.w"

{get_x_token();if(cur_cmd!=spacer)back_input();
}

/*:443*/
#line 9028 "tex.w"
;
found:cur_val= nx_plus_y(save_cur_val,v,xn_over_d(v,f,0200000));
goto attach_sign;
not_found:

/*:455*/
#line 8980 "tex.w"
;
if(mu)/*456:*/
#line 9033 "tex.w"

if(scan_keyword(/*1394:*/
#line 25078 "tex.w"
269
/*:1394*/
#line 9034 "tex.w"
))goto attach_fraction;

else{print_err("Illegal unit of measure (");print_str("mu inserted)");

help4("The unit of measurement in math glue must be mu.")
("To recover gracefully from this error, it's best to")
("delete the erroneous units; e.g., type `2' to delete")
("two letters. (See Chapter 27 of The TeXbook.)");

error();goto attach_fraction;
}

/*:456*/
#line 8981 "tex.w"
;
if(scan_keyword(/*1589:*/
#line 25663 "tex.w"
464
/*:1589*/
#line 8982 "tex.w"
))/*457:*/
#line 9046 "tex.w"

{prepare_mag();
if(mag!=1000)
{cur_val= xn_over_d(cur_val,1000,mag);
f= (1000*f+0200000*rem)/mag;
cur_val= cur_val+(f/0200000);f= f%0200000;
}
}

/*:457*/
#line 8982 "tex.w"
;

if(scan_keyword(/*1425:*/
#line 25171 "tex.w"
300
/*:1425*/
#line 8984 "tex.w"
))goto attach_fraction;

/*458:*/
#line 9065 "tex.w"

if(scan_keyword(/*1592:*/
#line 25672 "tex.w"
467
/*:1592*/
#line 9066 "tex.w"
))set_conversion(7227)(100)

else if(scan_keyword(/*1593:*/
#line 25675 "tex.w"
468
/*:1593*/
#line 9068 "tex.w"
))set_conversion(12)(1)

else if(scan_keyword(/*1594:*/
#line 25678 "tex.w"
469
/*:1594*/
#line 9070 "tex.w"
))set_conversion(7227)(254)

else if(scan_keyword(/*1595:*/
#line 25681 "tex.w"
470
/*:1595*/
#line 9072 "tex.w"
))set_conversion(7227)(2540)

else if(scan_keyword(/*1596:*/
#line 25684 "tex.w"
471
/*:1596*/
#line 9074 "tex.w"
))set_conversion(7227)(7200)

else if(scan_keyword(/*1597:*/
#line 25687 "tex.w"
472
/*:1597*/
#line 9076 "tex.w"
))set_conversion(1238)(1157)

else if(scan_keyword(/*1598:*/
#line 25690 "tex.w"
473
/*:1598*/
#line 9078 "tex.w"
))set_conversion(14856)(1157)

else if(scan_keyword(/*1599:*/
#line 25693 "tex.w"
474
/*:1599*/
#line 9080 "tex.w"
))goto done;

else/*459:*/
#line 9088 "tex.w"

{print_err("Illegal unit of measure (");print_str("pt inserted)");

help6("Dimensions can be in units of em, ex, in, pt, pc,")
("cm, mm, dd, cc, bp, or sp; but yours is a new one!")
("I'll assume that you meant to say pt, for printer's points.")
("To recover gracefully from this error, it's best to")
("delete the erroneous units; e.g., type `2' to delete")
("two letters. (See Chapter 27 of The TeXbook.)");

error();goto done2;
}


/*:459*/
#line 9082 "tex.w"
;
cur_val= xn_over_d(cur_val,num,denom);
f= (num*f+0200000*rem)/denom;
cur_val= cur_val+(f/0200000);f= f%0200000;
done2:

/*:458*/
#line 8987 "tex.w"
;
attach_fraction:if(cur_val>=040000)arith_error= true;
else cur_val= cur_val*unity+f;
done:

/*:453*/
#line 8914 "tex.w"
;
/*443:*/
#line 8804 "tex.w"

{get_x_token();if(cur_cmd!=spacer)back_input();
}

/*:443*/
#line 8915 "tex.w"
;
attach_sign:if(arith_error||(abs(cur_val)>=010000000000))
/*460:*/
#line 9102 "tex.w"

{print_err("Dimension too large");

help2("I can't work with sizes bigger than about 19 feet.")
("Continue and I'll use the largest value I can.");
error();cur_val= max_dimen;arith_error= false;
}

/*:460*/
#line 8917 "tex.w"
;
if(negative)negate(cur_val);
}

/*:448*//*461:*/
#line 9120 "tex.w"
void scan_glue(small_number level)

{
bool negative;
pointer q;
bool mu;
mu= (level==mu_val);/*441:*/
#line 8772 "tex.w"

negative= false;
do{/*406:*/
#line 8269 "tex.w"

do{get_x_token();
}while(!(cur_cmd!=spacer))

/*:406*/
#line 8774 "tex.w"
;
if(cur_tok==other_token+'-')
{negative= !negative;cur_tok= other_token+'+';
}
}while(!(cur_tok!=other_token+'+'))

/*:441*/
#line 9126 "tex.w"
;
if((cur_cmd>=min_internal)&&(cur_cmd<=max_internal))
{scan_something_internal(level,negative);
if(cur_val_level>=glue_val)
{if(cur_val_level!=level)mu_error();
return;
}
if(cur_val_level==int_val)scan_dimen(mu,false,true);
else if(level==mu_val)mu_error();
}
else{back_input();scan_dimen(mu,false,false);
if(negative)negate(cur_val);
}
/*462:*/
#line 9143 "tex.w"

q= new_spec(zero_glue);width(q)= cur_val;
if(scan_keyword(/*1600:*/
#line 25696 "tex.w"
475
/*:1600*/
#line 9145 "tex.w"
))

{scan_dimen(mu,true,false);
stretch(q)= cur_val;stretch_order(q)= cur_order;
}
if(scan_keyword(/*1601:*/
#line 25699 "tex.w"
476
/*:1601*/
#line 9150 "tex.w"
))

{scan_dimen(mu,true,false);
shrink(q)= cur_val;shrink_order(q)= cur_order;
}
cur_val= q

/*:462*/
#line 9140 "tex.w"
;
}

/*:461*//*463:*/
#line 9166 "tex.w"
pointer scan_rule_spec(void)
{
pointer q;
q= new_rule();
if(cur_cmd==vrule)width(q)= default_rule;
else{height(q)= default_rule;depth(q)= 0;
}
reswitch:if(scan_keyword(/*1602:*/
#line 25702 "tex.w"
477
/*:1602*/
#line 9173 "tex.w"
))

{scan_normal_dimen;width(q)= cur_val;goto reswitch;
}
if(scan_keyword(/*1603:*/
#line 25705 "tex.w"
478
/*:1603*/
#line 9177 "tex.w"
))

{scan_normal_dimen;height(q)= cur_val;goto reswitch;
}
if(scan_keyword(/*1604:*/
#line 25708 "tex.w"
479
/*:1604*/
#line 9181 "tex.w"
))

{scan_normal_dimen;depth(q)= cur_val;goto reswitch;
}
return q;
}

/*:463*//*464:*/
#line 9200 "tex.w"
pointer str_toks(pool_pointer b)

{pointer p;
pointer q;
halfword t;
pool_pointer k;
str_room(1);
p= temp_head;link(p)= null;k= b;
while(k<pool_ptr)
{t= so(str_pool[k]);
if(t==' ')t= space_token;
else t= other_token+t;
fast_store_new_token(t);
incr(k);
}
pool_ptr= b;return p;
}

/*:464*//*465:*/
#line 9225 "tex.w"
pointer the_toks(void)
{uint8_t old_setting;
pointer p,q,r;
pool_pointer b;
get_x_token();scan_something_internal(tok_val,false);
if(cur_val_level>=ident_val)/*466:*/
#line 9245 "tex.w"

{p= temp_head;link(p)= null;
if(cur_val_level==ident_val)store_new_token(cs_token_flag+cur_val)
else if(cur_val!=null)
{r= link(cur_val);
while(r!=null)
{fast_store_new_token(info(r));r= link(r);
}
}
return p;
}

/*:466*/
#line 9230 "tex.w"

else{old_setting= selector;selector= new_string;b= pool_ptr;
switch(cur_val_level){
case int_val:print_int(cur_val);break;
case dimen_val:{print_scaled(cur_val);print_str("pt");
}break;
case glue_val:{print_spec(cur_val,/*1425:*/
#line 25171 "tex.w"
300
/*:1425*/
#line 9236 "tex.w"
);delete_glue_ref(cur_val);
}break;
case mu_val:{print_spec(cur_val,/*1394:*/
#line 25078 "tex.w"
269
/*:1394*/
#line 9238 "tex.w"
);delete_glue_ref(cur_val);
}
}
selector= old_setting;return str_toks(b);
}
}

/*:465*//*467:*/
#line 9259 "tex.w"
void ins_the_toks(void)
{link(garbage)= the_toks();ins_list(link(temp_head));
}

/*:467*//*470:*/
#line 9301 "tex.w"
void conv_toks(void)
{uint8_t old_setting;
uint8_t c;
small_number save_scanner_status;
pool_pointer b;
c= cur_chr;/*471:*/
#line 9312 "tex.w"

switch(c){
case number_code:case roman_numeral_code:scan_int();break;
case string_code:case meaning_code:{save_scanner_status= scanner_status;
scanner_status= normal;get_token();scanner_status= save_scanner_status;
}break;
case font_name_code:scan_font_ident();break;
case job_name_code:if(job_name==0)open_log_file();
}

/*:471*/
#line 9306 "tex.w"
;
old_setting= selector;selector= new_string;b= pool_ptr;
/*472:*/
#line 9322 "tex.w"

switch(c){
case number_code:print_int(cur_val);break;
case roman_numeral_code:print_roman_int(cur_val);break;
case string_code:if(cur_cs!=0)sprint_cs(cur_cs);
else print_char(cur_chr);break;
case meaning_code:print_meaning();break;
case font_name_code:{print(font_name[cur_val]);
if(font_size[cur_val]!=font_dsize[cur_val])
{print_str(" at ");print_scaled(font_size[cur_val]);
print_str("pt");
}
}break;
case job_name_code:print(job_name);
}

/*:472*/
#line 9308 "tex.w"
;
selector= old_setting;link(garbage)= str_toks(b);ins_list(link(temp_head));
}

/*:470*//*473:*/
#line 9362 "tex.w"
pointer scan_toks(bool macro_def,bool xpand)
{
halfword t;
halfword s;
pointer p;
pointer q;
halfword unbalance;
halfword hash_brace;
if(macro_def)scanner_status= defining;
else scanner_status= absorbing;
warning_index= cur_cs;def_ref= get_avail();token_ref_count(def_ref)= null;
p= def_ref;hash_brace= 0;t= zero_token;
if(macro_def)/*474:*/
#line 9382 "tex.w"

{loop{get_token();
if(cur_tok<right_brace_limit)goto done1;
if(cur_cmd==mac_param)
/*476:*/
#line 9403 "tex.w"

{s= match_token+cur_chr;get_token();
if(cur_cmd==left_brace)
{hash_brace= cur_tok;
store_new_token(cur_tok);store_new_token(end_match_token);
goto done;
}
if(t==zero_token+9)
{print_err("You already have nine parameters");

help1("I'm going to ignore the # sign you just used.");error();
}
else{incr(t);
if(cur_tok!=t)
{print_err("Parameters must be numbered consecutively");

help2("I've inserted the digit you should have used after the #.")
("Type `1' to delete what you did use.");back_error();
}
cur_tok= s;
}
}

/*:476*/
#line 9388 "tex.w"
;
store_new_token(cur_tok);
}
done1:store_new_token(end_match_token);
if(cur_cmd==right_brace)
/*475:*/
#line 9396 "tex.w"

{print_err("Missing { inserted");incr(align_state);

help2("Where was the left brace? You said something like `\\def\\a}',")
("which I'm going to interpret as `\\def\\a{}'.");error();goto found;
}

/*:475*/
#line 9393 "tex.w"
;
done:;}

/*:474*/
#line 9374 "tex.w"

else scan_left_brace();
/*477:*/
#line 9426 "tex.w"

unbalance= 1;
loop{if(xpand)/*478:*/
#line 9443 "tex.w"

{loop{get_next();
if(cur_cmd<=max_command)goto done2;
if(cur_cmd!=the)expand();
else{q= the_toks();
if(link(temp_head)!=null)
{link(p)= link(temp_head);p= q;
}
}
}
done2:x_token();
}

/*:478*/
#line 9428 "tex.w"

else get_token();
if(cur_tok<right_brace_limit)
if(cur_cmd<right_brace)incr(unbalance);
else{decr(unbalance);
if(unbalance==0)goto found;
}
else if(cur_cmd==mac_param)
if(macro_def)/*479:*/
#line 9456 "tex.w"

{s= cur_tok;
if(xpand)get_x_token();else get_token();
if(cur_cmd!=mac_param)
if((cur_tok<=zero_token)||(cur_tok> t))
{print_err("Illegal parameter number in definition of ");

sprint_cs(warning_index);
help3("You meant to type ## instead of #, right?")
("Or maybe a } was forgotten somewhere earlier, and things")
("are all screwed up? I'm going to assume that you meant ##.");
back_error();cur_tok= s;
}
else cur_tok= out_param_token-'0'+cur_chr;
}

/*:479*/
#line 9436 "tex.w"
;
store_new_token(cur_tok);
}

/*:477*/
#line 9376 "tex.w"
;
found:scanner_status= normal;
if(hash_brace!=0)store_new_token(hash_brace);
return p;
}

/*:473*//*482:*/
#line 9493 "tex.w"
void read_toks(int n,pointer r)
{
pointer p;
pointer q;
int s;
small_number m;
scanner_status= defining;warning_index= r;
def_ref= get_avail();token_ref_count(def_ref)= null;
p= def_ref;
store_new_token(end_match_token);
if((n<0)||(n> 15))m= 16;else m= n;
s= align_state;align_state= 1000000;
do{/*483:*/
#line 9510 "tex.w"

begin_file_reading();name= m+1;
if(read_open[m]==closed)/*484:*/
#line 9534 "tex.w"

if(interaction> nonstop_mode)
if(n<0)prompt_input("")
else{wake_up_terminal;
print_ln();sprint_cs(r);prompt_input("=");n= -1;
}
else fatal_error("*** (cannot \\read from terminal in nonstop modes)")


/*:484*/
#line 9512 "tex.w"
;
else if(read_open[m]==just_open)/*485:*/
#line 9547 "tex.w"

if(input_ln(&read_file[m],false))read_open[m]= normal;
else{a_close(&read_file[m]);read_open[m]= closed;
}

/*:485*/
#line 9513 "tex.w"

else/*486:*/
#line 9555 "tex.w"

{if(!input_ln(&read_file[m],true))
{a_close(&read_file[m]);read_open[m]= closed;
if(align_state!=1000000)
{runaway();
print_err("File ended within ");print_esc(/*1556:*/
#line 25564 "tex.w"
431
/*:1556*/
#line 9560 "tex.w"
);

help1("This \\read has unbalanced braces.");
align_state= 1000000;error();
}
}
}

/*:486*/
#line 9514 "tex.w"
;
limit= last;
if(end_line_char_inactive)decr(limit);
else buffer[limit]= end_line_char;
first= limit+1;loc= start;state= new_line;
loop{get_token();
if(cur_tok==0)goto done;

if(align_state<1000000)
{do{get_token();}while(!(cur_tok==0));
align_state= 1000000;goto done;
}
store_new_token(cur_tok);
}
done:end_file_reading()

/*:483*/
#line 9505 "tex.w"
;
}while(!(align_state==1000000));
cur_val= def_ref;scanner_status= normal;align_state= s;
}

/*:482*//*494:*/
#line 9704 "tex.w"
void pass_text(void)
{
int l;
small_number save_scanner_status;
save_scanner_status= scanner_status;scanner_status= skipping;l= 0;
skip_line= line;
loop{get_next();
if(cur_cmd==fi_or_else)
{if(l==0)goto done;
if(cur_chr==fi_code)decr(l);
}
else if(cur_cmd==if_test)incr(l);
}
done:scanner_status= save_scanner_status;
}

/*:494*//*497:*/
#line 9741 "tex.w"
void change_if_limit(small_number l,pointer p)
{
pointer q;
if(p==cond_ptr)if_limit= l;
else{q= cond_ptr;
loop{if(q==null)confusion(/*1611:*/
#line 25729 "tex.w"
486
/*:1611*/
#line 9746 "tex.w"
);

if(link(q)==p)
{type(q)= l;return;
}
q= link(q);
}
}
}

/*:497*//*498:*/
#line 9761 "tex.w"
void conditional(void)
{
bool b;
uint8_t r;
int m,n;
pointer p,q;
small_number save_scanner_status;
pointer save_cond_ptr;
small_number this_if;
/*495:*/
#line 9726 "tex.w"

{p= get_node(if_node_size);link(p)= cond_ptr;type(p)= if_limit;
subtype(p)= cur_if;if_line_field(p)= if_line;
cond_ptr= p;cur_if= cur_chr;if_limit= if_code;if_line= line;
}

/*:495*/
#line 9770 "tex.w"
;save_cond_ptr= cond_ptr;this_if= cur_chr;
/*501:*/
#line 9799 "tex.w"

switch(this_if){
case if_char_code:case if_cat_code:/*506:*/
#line 9870 "tex.w"

{get_x_token_or_active_char;
if((cur_cmd> active_char)||(cur_chr> 255))
{m= relax;n= 256;
}
else{m= cur_cmd;n= cur_chr;
}
get_x_token_or_active_char;
if((cur_cmd> active_char)||(cur_chr> 255))
{cur_cmd= relax;cur_chr= 256;
}
if(this_if==if_char_code)b= (n==cur_chr);else b= (m==cur_cmd);
}

/*:506*/
#line 9801 "tex.w"
break;
case if_int_code:case if_dim_code:/*503:*/
#line 9827 "tex.w"

{if(this_if==if_int_code)scan_int();else scan_normal_dimen;
n= cur_val;/*406:*/
#line 8269 "tex.w"

do{get_x_token();
}while(!(cur_cmd!=spacer))

/*:406*/
#line 9829 "tex.w"
;
if((cur_tok>=other_token+'<')&&(cur_tok<=other_token+'>'))
r= cur_tok-other_token;
else{print_err("Missing = inserted for ");

print_cmd_chr(if_test,this_if);
help1("I was expecting to see `<', `=', or `>'. Didn't.");
back_error();r= '=';
}
if(this_if==if_int_code)scan_int();else scan_normal_dimen;
switch(r){
case'<':b= (n<cur_val);break;
case'=':b= (n==cur_val);break;
case'>':b= (n> cur_val);
}
}

/*:503*/
#line 9802 "tex.w"
break;
case if_odd_code:/*504:*/
#line 9846 "tex.w"

{scan_int();b= odd(cur_val);
}

/*:504*/
#line 9803 "tex.w"
break;
case if_vmode_code:b= (abs(mode)==vmode);break;
case if_hmode_code:b= (abs(mode)==hmode);break;
case if_mmode_code:b= (abs(mode)==mmode);break;
case if_inner_code:b= (mode<0);break;
case if_void_code:case if_hbox_code:case if_vbox_code:/*505:*/
#line 9850 "tex.w"

{scan_eight_bit_int();p= box(cur_val);
if(this_if==if_void_code)b= (p==null);
else if(p==null)b= false;
else if(this_if==if_hbox_code)b= (type(p)==hlist_node);
else b= (type(p)==vlist_node);
}

/*:505*/
#line 9808 "tex.w"
break;
case ifx_code:/*507:*/
#line 9891 "tex.w"

{save_scanner_status= scanner_status;scanner_status= normal;
get_next();n= cur_cs;p= cur_cmd;q= cur_chr;
get_next();if(cur_cmd!=p)b= false;
else if(cur_cmd<call)b= (cur_chr==q);
else/*508:*/
#line 9908 "tex.w"

{p= link(cur_chr);q= link(equiv(n));
if(p==q)b= true;
else{while((p!=null)&&(q!=null))
if(info(p)!=info(q))p= null;
else{p= link(p);q= link(q);
}
b= ((p==null)&&(q==null));
}
}

/*:508*/
#line 9896 "tex.w"
;
scanner_status= save_scanner_status;
}

/*:507*/
#line 9809 "tex.w"
break;
case if_eof_code:{scan_four_bit_int();b= (read_open[cur_val]==closed);
}break;
case if_true_code:b= true;break;
case if_false_code:b= false;break;
case if_case_code:/*509:*/
#line 9919 "tex.w"

{scan_int();n= cur_val;
if(tracing_commands> 1)
{begin_diagnostic();print_str("{case ");print_int(n);print_char('}');
end_diagnostic(false);
}
while(n!=0)
{pass_text();
if(cond_ptr==save_cond_ptr)
if(cur_chr==or_code)decr(n);
else goto common_ending;
else if(cur_chr==fi_code)/*496:*/
#line 9732 "tex.w"

{p= cond_ptr;if_line= if_line_field(p);
cur_if= subtype(p);if_limit= type(p);cond_ptr= link(p);
free_node(p,if_node_size);
}

/*:496*/
#line 9930 "tex.w"
;
}
change_if_limit(or_code,save_cond_ptr);
return;
}

/*:509*/
#line 9814 "tex.w"
;
}

/*:501*/
#line 9771 "tex.w"
;
if(tracing_commands> 1)/*502:*/
#line 9817 "tex.w"

{begin_diagnostic();
if(b)print_str("{true}");else print_str("{false}");
end_diagnostic(false);
}

/*:502*/
#line 9772 "tex.w"
;
if(b)
{change_if_limit(else_code,save_cond_ptr);
return;
}
/*500:*/
#line 9787 "tex.w"

loop{pass_text();
if(cond_ptr==save_cond_ptr)
{if(cur_chr!=or_code)goto common_ending;
print_err("Extra ");print_esc(/*1629:*/
#line 25783 "tex.w"
504
/*:1629*/
#line 9791 "tex.w"
);

help1("I'm ignoring this; it doesn't match any \\if.");
error();
}
else if(cur_chr==fi_code)/*496:*/
#line 9732 "tex.w"

{p= cond_ptr;if_line= if_line_field(p);
cur_if= subtype(p);if_limit= type(p);cond_ptr= link(p);
free_node(p,if_node_size);
}

/*:496*/
#line 9796 "tex.w"
;
}

/*:500*/
#line 9777 "tex.w"
;
common_ending:if(cur_chr==fi_code)/*496:*/
#line 9732 "tex.w"

{p= cond_ptr;if_line= if_line_field(p);
cur_if= subtype(p);if_limit= type(p);cond_ptr= link(p);
free_node(p,if_node_size);
}

/*:496*/
#line 9778 "tex.w"

else if_limit= fi_code;
}

/*:498*//*515:*/
#line 10054 "tex.w"
void begin_name(void)
{area_delimiter= 0;ext_delimiter= 0;
}

/*:515*//*516:*/
#line 10064 "tex.w"
bool more_name(ASCII_code c)
{if(c==' ')return false;
else{str_room(1);append_char(c);
if((c=='>')||(c==':'))
{area_delimiter= cur_length;ext_delimiter= 0;
}
else if((c=='.')&&(ext_delimiter==0))ext_delimiter= cur_length;
return true;
}
}

/*:516*//*517:*/
#line 10078 "tex.w"
void end_name(void)
{if(str_ptr+3> max_strings)
overflow("number of strings",max_strings-init_str_ptr);

if(area_delimiter==0)cur_area= empty_string;
else{cur_area= str_ptr;
str_start[str_ptr+1]= str_start[str_ptr]+area_delimiter;incr(str_ptr);
}
if(ext_delimiter==0)
{cur_ext= empty_string;cur_name= make_string();
}
else{cur_name= str_ptr;
str_start[str_ptr+1]= str_start[str_ptr]+ext_delimiter-area_delimiter-1;
incr(str_ptr);cur_ext= make_string();
}
}

/*:517*//*519:*/
#line 10115 "tex.w"
void pack_file_name(str_number n,str_number a,str_number e)
{int k;
ASCII_code c;
int j;
k= 0;
for(j= str_start[a];j<=str_start[a+1]-1;j++)append_to_name(so(str_pool[j]));
for(j= str_start[n];j<=str_start[n+1]-1;j++)append_to_name(so(str_pool[j]));
for(j= str_start[e];j<=str_start[e+1]-1;j++)append_to_name(so(str_pool[j]));
if(k<=file_name_size)name_length= k;else name_length= file_name_size;
name_of_file[name_length+1]= 0;
}

/*:519*//*522:*/
#line 10158 "tex.w"
void pack_buffered_name(small_number n,int a,int b)
{int k;
ASCII_code c;
int j;
if(n+b-a+1+format_ext_length> file_name_size)
b= a+file_name_size-n-1-format_ext_length;
k= 0;
for(j= 1;j<=n;j++)append_to_name(xord[TEX_format_default[j]]);
for(j= a;j<=b;j++)append_to_name(buffer[j]);
for(j= format_default_length-format_ext_length+1;j<=format_default_length;j++)
append_to_name(xord[TEX_format_default[j]]);
if(k<=file_name_size)name_length= k;else name_length= file_name_size;
name_of_file[name_length+1]= 0;
}

/*:522*//*524:*/
#line 10220 "tex.w"
str_number make_name_string(void)
{int k;
if((pool_ptr+name_length> pool_size)||(str_ptr==max_strings)||
(cur_length> 0))
return'?';
else{for(k= 1;k<=name_length;k++)append_char(xord[name_of_file[k]]);
return make_string();
}
}
str_number a_make_name_string(alpha_file*f)
{return make_name_string();
}
str_number b_make_name_string(byte_file*f)
{return make_name_string();
}
str_number w_make_name_string(word_file*f)
{return make_name_string();
}

/*:524*//*525:*/
#line 10244 "tex.w"
void scan_file_name(void)
{
name_in_progress= true;begin_name();
/*406:*/
#line 8269 "tex.w"

do{get_x_token();
}while(!(cur_cmd!=spacer))

/*:406*/
#line 10247 "tex.w"
;
loop{if((cur_cmd> other_char)||(cur_chr> 255))
{back_input();goto done;
}
if(!more_name(cur_chr))goto done;
get_x_token();
}
done:end_name();name_in_progress= false;
}

/*:525*//*528:*/
#line 10287 "tex.w"
void pack_job_name(str_number s)

{cur_area= empty_string;cur_ext= s;
cur_name= job_name;pack_cur_name;
}

/*:528*//*529:*/
#line 10300 "tex.w"
void prompt_file_name(char*s,str_number e)
{
uint16_t k;
if(interaction==scroll_mode)wake_up_terminal;
if(strcmp(s,"input file name")==0)print_err("I can't find file `")

else print_err("I can't write on file `");

print_file_name(cur_name,cur_area,cur_ext);print_str("'.");
if(e==/*1637:*/
#line 25807 "tex.w"
512
/*:1637*/
#line 10309 "tex.w"
)show_context();
print_nl("Please type another ");print_str(s);

if(interaction<scroll_mode)
fatal_error("*** (job aborted, file error in nonstop mode)");

clear_terminal;prompt_input(": ");/*530:*/
#line 10320 "tex.w"

{begin_name();k= first;
while((buffer[k]==' ')&&(k<last))incr(k);
loop{if(k==last)goto done;
if(!more_name(buffer[k]))goto done;
incr(k);
}
done:end_name();
}

/*:530*/
#line 10315 "tex.w"
;
if(cur_ext==empty_string)cur_ext= e;
pack_cur_name;
}

/*:529*//*534:*/
#line 10352 "tex.w"
void open_log_file(void)
{uint8_t old_setting;
int k;
uint16_t l;
ASCII_code months[]= " JANFEBMARAPRMAYJUNJULAUGSEPOCTNOVDEC";
old_setting= selector;
if(job_name==0)job_name= /*1638:*/
#line 25810 "tex.w"
513
/*:1638*/
#line 10358 "tex.w"
;

pack_job_name(/*1634:*/
#line 25798 "tex.w"
509
/*:1634*/
#line 10360 "tex.w"
);
while(!a_open_out(&log_file))/*535:*/
#line 10389 "tex.w"

{selector= term_only;
prompt_file_name("transcript file name",/*1634:*/
#line 25798 "tex.w"
509
/*:1634*/
#line 10391 "tex.w"
);
}

/*:535*/
#line 10361 "tex.w"
;
log_name= a_make_name_string(&log_file);
selector= log_only;log_opened= true;
/*536:*/
#line 10394 "tex.w"

{wlog("%s",banner);
slow_print(format_ident);print_str("  ");
print_int(day);print_char(' ');
for(k= 3*month-2;k<=3*month;k++)wlog("%c",months[k]);
print_char(' ');print_int(year);print_char(' ');
print_two(time/60);print_char(':');print_two(time%60);
}

/*:536*/
#line 10364 "tex.w"
;
input_stack[input_ptr]= cur_input;
print_nl("**");

l= input_stack[0].limit_field;
if(buffer[l]==end_line_char)decr(l);
for(k= 1;k<=l;k++)print(buffer[k]);
print_ln();
selector= old_setting+2;
}

/*:534*//*537:*/
#line 10406 "tex.w"
void start_input(void)
{
scan_file_name();
if(cur_ext==empty_string)cur_ext= /*1637:*/
#line 25807 "tex.w"
512
/*:1637*/
#line 10409 "tex.w"
;
pack_cur_name;
loop{begin_file_reading();
if(a_open_in(&cur_file))goto done;
if(cur_area==empty_string)
{pack_file_name(cur_name,TEX_area,cur_ext);
if(a_open_in(&cur_file))goto done;
}
end_file_reading();
prompt_file_name("input file name",/*1637:*/
#line 25807 "tex.w"
512
/*:1637*/
#line 10418 "tex.w"
);
}
done:name= a_make_name_string(&cur_file);
if(job_name==0)
{job_name= cur_name;open_log_file();
}

if(term_offset+length(name)> max_print_line-2)print_ln();
else if((term_offset> 0)||(file_offset> 0))print_char(' ');
print_char('(');incr(open_parens);slow_print(name);update_terminal;
state= new_line;
if(name==str_ptr-1)
{flush_string;name= cur_name;
}
/*538:*/
#line 10441 "tex.w"

{line= 1;
if(input_ln(&cur_file,false))do_nothing;
firm_up_the_line();
if(end_line_char_inactive)decr(limit);
else buffer[limit]= end_line_char;
first= limit+1;loc= start;
}

/*:538*/
#line 10432 "tex.w"
;
}

/*:537*//*560:*/
#line 10946 "tex.w"
internal_font_number read_font_info(pointer u,str_number nom,str_number aire,
scaled s)
{
font_index k;
bool file_opened;
halfword lf,lh,bc,ec,nw,nh,nd,ni,nl,nk,ne,np;

internal_font_number f;
internal_font_number g;
eight_bits a,b,c,d;
four_quarters qw;scaled sw;
int bch_label;
uint16_t bchar;
scaled z;
int alpha;uint8_t beta;

g= null_font;
/*562:*/
#line 10999 "tex.w"

/*563:*/
#line 11011 "tex.w"

file_opened= false;
if(aire==empty_string)pack_file_name(nom,TEX_font_area,/*1640:*/
#line 25816 "tex.w"
515
/*:1640*/
#line 11013 "tex.w"
);
else pack_file_name(nom,aire,/*1640:*/
#line 25816 "tex.w"
515
/*:1640*/
#line 11014 "tex.w"
);
if(!b_open_in(&tfm_file))abort;
file_opened= true

/*:563*/
#line 11000 "tex.w"
;
/*565:*/
#line 11039 "tex.w"

{read_sixteen(lf);
fget;read_sixteen(lh);
fget;read_sixteen(bc);
fget;read_sixteen(ec);
if((bc> ec+1)||(ec> 255))abort;
if(bc> 255)
{bc= 1;ec= 0;
}
fget;read_sixteen(nw);
fget;read_sixteen(nh);
fget;read_sixteen(nd);
fget;read_sixteen(ni);
fget;read_sixteen(nl);
fget;read_sixteen(nk);
fget;read_sixteen(ne);
fget;read_sixteen(np);
if(lf!=6+lh+(ec-bc+1)+nw+nh+nd+ni+nl+nk+ne+np)abort;
if((nw==0)||(nh==0)||(nd==0)||(ni==0))abort;
}

/*:565*/
#line 11001 "tex.w"
;
/*566:*/
#line 11066 "tex.w"

lf= lf-6-lh;
if(np<7)lf= lf+7-np;
if((font_ptr==font_max)||(fmem_ptr+lf> font_mem_size))
/*567:*/
#line 11082 "tex.w"

{start_font_error_message;
print_str(" not loaded: Not enough room left");

help4("I'm afraid I won't be able to make use of this font,")
("because my memory for character-size data is too small.")
("If you're really stuck, ask a wizard to enlarge me.")
("Or maybe try `I\\font<same font id>=<name of loaded font>'.");
error();goto done;
}

/*:567*/
#line 11070 "tex.w"
;
f= font_ptr+1;
char_base[f]= fmem_ptr-bc;
width_base[f]= char_base[f]+ec+1;
height_base[f]= width_base[f]+nw;
depth_base[f]= height_base[f]+nh;
italic_base[f]= depth_base[f]+nd;
lig_kern_base[f]= italic_base[f]+ni;
kern_base[f]= lig_kern_base[f]+nl-kern_base_offset;
exten_base[f]= kern_base[f]+kern_base_offset+nk;
param_base[f]= exten_base[f]+ne

/*:566*/
#line 11002 "tex.w"
;
/*568:*/
#line 11095 "tex.w"

{if(lh<2)abort;
store_four_quarters(font_check[f]);
fget;read_sixteen(z);
fget;z= z*0400+fbyte;fget;z= (z*020)+(fbyte/020);
if(z<unity)abort;
while(lh> 2)
{fget;fget;fget;fget;decr(lh);
}
font_dsize[f]= z;
if(s!=-1000)
if(s>=0)z= s;
else z= xn_over_d(z,-s,1000);
font_size[f]= z;
}

/*:568*/
#line 11003 "tex.w"
;
/*569:*/
#line 11111 "tex.w"

for(k= fmem_ptr;k<=width_base[f]-1;k++)
{store_four_quarters(font_info[k].qqqq);
if((a>=nw)||(b/020>=nh)||(b%020>=nd)||
(c/4>=ni))abort;
switch(c%4){
case lig_tag:if(d>=nl)abort;break;
case ext_tag:if(d>=ne)abort;break;
case list_tag:/*570:*/
#line 11132 "tex.w"

{check_byte_range(d);
while(d<current_character_being_worked_on)
{qw= char_info(f)(d);

if(char_tag(qw)!=list_tag)goto not_found;
d= qo(rem_byte(qw));
}
if(d==current_character_being_worked_on)abort;
not_found:;}

/*:570*/
#line 11119 "tex.w"
break;
default:do_nothing;
}
}

/*:569*/
#line 11004 "tex.w"
;
/*571:*/
#line 11167 "tex.w"

{/*572:*/
#line 11177 "tex.w"

{alpha= 16;
while(z>=040000000)
{z= z/2;alpha= alpha+alpha;
}
beta= 256/alpha;alpha= alpha*z;
}

/*:572*/
#line 11168 "tex.w"
;
for(k= width_base[f];k<=lig_kern_base[f]-1;k++)
store_scaled(font_info[k].sc);
if(font_info[width_base[f]].sc!=0)abort;
if(font_info[height_base[f]].sc!=0)abort;
if(font_info[depth_base[f]].sc!=0)abort;
if(font_info[italic_base[f]].sc!=0)abort;
}

/*:571*/
#line 11005 "tex.w"
;
/*573:*/
#line 11191 "tex.w"

bch_label= 077777;bchar= 256;
if(nl> 0)
{for(k= lig_kern_base[f];k<=kern_base[f]+kern_base_offset-1;k++)
{store_four_quarters(font_info[k].qqqq);
if(a> 128)
{if(256*c+d>=nl)abort;
if(a==255)if(k==lig_kern_base[f])bchar= b;
}
else{if(b!=bchar)check_existence(b);
if(c<128)check_existence(d)
else if(256*(c-128)+d>=nk)abort;
if(a<128)if(k-lig_kern_base[f]+a+1>=nl)abort;
}
}
if(a==255)bch_label= 256*c+d;
}
for(k= kern_base[f]+kern_base_offset;k<=exten_base[f]-1;k++)
store_scaled(font_info[k].sc);

/*:573*/
#line 11006 "tex.w"
;
/*574:*/
#line 11211 "tex.w"

for(k= exten_base[f];k<=param_base[f]-1;k++)
{store_four_quarters(font_info[k].qqqq);
if(a!=0)check_existence(a);
if(b!=0)check_existence(b);
if(c!=0)check_existence(c);
check_existence(d);
}

/*:574*/
#line 11007 "tex.w"
;
/*575:*/
#line 11223 "tex.w"

{for(k= 1;k<=np;k++)
if(k==1)
{fget;sw= fbyte;if(sw> 127)sw= sw-256;
fget;sw= sw*0400+fbyte;fget;sw= sw*0400+fbyte;
fget;font_info[param_base[f]].sc= 
(sw*020)+(fbyte/020);
}
else store_scaled(font_info[param_base[f]+k-1].sc);
if(eof(tfm_file))abort;
for(k= np+1;k<=7;k++)font_info[param_base[f]+k-1].sc= 0;
}

/*:575*/
#line 11008 "tex.w"
;
/*576:*/
#line 11243 "tex.w"

if(np>=7)font_params[f]= np;else font_params[f]= 7;
hyphen_char[f]= default_hyphen_char;skew_char[f]= default_skew_char;
if(bch_label<nl)bchar_label[f]= bch_label+lig_kern_base[f];
else bchar_label[f]= non_address;
font_bchar[f]= qi(bchar);
font_false_bchar[f]= qi(bchar);
if(bchar<=ec)if(bchar>=bc)
{qw= char_info(f)(bchar);
if(char_exists(qw))font_false_bchar[f]= non_char;
}
font_name[f]= nom;
font_area[f]= aire;
font_bc[f]= bc;font_ec[f]= ec;font_glue[f]= null;
adjust(char_base);adjust(width_base);adjust(lig_kern_base);
adjust(kern_base);adjust(exten_base);
decr(param_base[f]);
fmem_ptr= fmem_ptr+lf;font_ptr= f;g= f;goto done

/*:576*/
#line 11009 "tex.w"


/*:562*/
#line 10965 "tex.w"
;
bad_tfm:/*561:*/
#line 10987 "tex.w"

start_font_error_message;

if(file_opened)print_str(" not loadable: Bad metric (TFM) file");
else print_str(" not loadable: Metric (TFM) file not found");
help5("I wasn't able to read the size data for this font,")
("so I will ignore the font specification.")
("[Wizards can fix TFM files using TFtoPL/PLtoTF.]")
("You might try inserting a different font spec;")
("e.g., type `I\\font<same font id>=<substitute font name>'.");
error()

/*:561*/
#line 10966 "tex.w"
;
done:if(file_opened)b_close(&tfm_file);
return g;
}

/*:560*//*581:*/
#line 11333 "tex.w"
void char_warning(internal_font_number f,eight_bits c)
{if(tracing_lost_chars> 0)
{begin_diagnostic();
print_nl("Missing character: There is no ");

print_ASCII(c);print_str(" in font ");
slow_print(font_name[f]);print_char('!');end_diagnostic(false);
}
}

/*:581*//*582:*/
#line 11347 "tex.w"
pointer new_character(internal_font_number f,eight_bits c)
{
pointer p;
if(font_bc[f]<=c)if(font_ec[f]>=c)
if(char_exists(char_info(f)(qi(c))))
{p= get_avail();font(p)= f;character(p)= qi(c);
return p;
}
char_warning(f,c);
return null;
}

/*:582*//*597:*/
#line 11957 "tex.w"
void write_dvi(dvi_index a,dvi_index b)
{int k;
for(k= a;k<=b;k++)write(dvi_file,"%c",dvi_buf[k]);
}

/*:597*//*598:*/
#line 11969 "tex.w"
void dvi_swap(void)
{if(dvi_limit==dvi_buf_size)
{write_dvi(0,half_buf-1);dvi_limit= half_buf;
dvi_offset= dvi_offset+dvi_buf_size;dvi_ptr= 0;
}
else{write_dvi(half_buf,dvi_buf_size-1);dvi_limit= dvi_buf_size;
}
dvi_gone= dvi_gone+half_buf;
}

/*:598*//*600:*/
#line 11989 "tex.w"
void dvi_four(int x)
{if(x>=0)dvi_out(x/0100000000)
else{x= x+010000000000;
x= x+010000000000;
dvi_out((x/0100000000)+128);
}
x= x%0100000000;dvi_out(x/0200000);
x= x%0200000;dvi_out(x/0400);
dvi_out(x%0400);
}

/*:600*//*601:*/
#line 12005 "tex.w"
void dvi_pop(int l)
{if((l==dvi_offset+dvi_ptr)&&(dvi_ptr> 0))decr(dvi_ptr);
else dvi_out(pop);
}

/*:601*//*602:*/
#line 12013 "tex.w"
void dvi_font_def(internal_font_number f)
{int k;
dvi_out(fnt_def1);
dvi_out(f-font_base-1);
dvi_out(qo(font_check[f].b0));
dvi_out(qo(font_check[f].b1));
dvi_out(qo(font_check[f].b2));
dvi_out(qo(font_check[f].b3));
dvi_four(font_size[f]);
dvi_four(font_dsize[f]);
dvi_out(length(font_area[f]));
dvi_out(length(font_name[f]));
/*603:*/
#line 12028 "tex.w"

for(k= str_start[font_area[f]];k<=str_start[font_area[f]+1]-1;k++)
dvi_out(so(str_pool[k]));
for(k= str_start[font_name[f]];k<=str_start[font_name[f]+1]-1;k++)
dvi_out(so(str_pool[k]))

/*:603*/
#line 12025 "tex.w"
;
}

/*:602*//*607:*/
#line 12107 "tex.w"
void movement(scaled w,eight_bits o)
{
small_number mstate;
pointer p,q;
int k;
q= get_node(movement_node_size);
width(q)= w;location(q)= dvi_offset+dvi_ptr;
if(o==down1)
{link(q)= down_ptr;down_ptr= q;
}
else{link(q)= right_ptr;right_ptr= q;
}
/*611:*/
#line 12222 "tex.w"

p= link(q);mstate= none_seen;
while(p!=null)
{if(width(p)==w)/*612:*/
#line 12241 "tex.w"

switch(mstate+info(p)){
case none_seen+yz_OK:case none_seen+y_OK:case z_seen+yz_OK:case z_seen+y_OK:
if(location(p)<dvi_gone)goto not_found;
else/*613:*/
#line 12253 "tex.w"

{k= location(p)-dvi_offset;
if(k<0)k= k+dvi_buf_size;
dvi_buf[k]= dvi_buf[k]+y1-down1;
info(p)= y_here;goto found;
}

/*:613*/
#line 12245 "tex.w"
break;
case none_seen+z_OK:case y_seen+yz_OK:case y_seen+z_OK:
if(location(p)<dvi_gone)goto not_found;
else/*614:*/
#line 12260 "tex.w"

{k= location(p)-dvi_offset;
if(k<0)k= k+dvi_buf_size;
dvi_buf[k]= dvi_buf[k]+z1-down1;
info(p)= z_here;goto found;
}

/*:614*/
#line 12248 "tex.w"
break;
case none_seen+y_here:case none_seen+z_here:case y_seen+z_here:case z_seen+y_here:goto found;
default:do_nothing;
}

/*:612*/
#line 12226 "tex.w"

else switch(mstate+info(p)){
case none_seen+y_here:mstate= y_seen;break;
case none_seen+z_here:mstate= z_seen;break;
case y_seen+z_here:case z_seen+y_here:goto not_found;
default:do_nothing;
}
p= link(p);
}
not_found:

/*:611*/
#line 12120 "tex.w"
;
/*610:*/
#line 12189 "tex.w"

info(q)= yz_OK;
if(abs(w)>=040000000)
{dvi_out(o+3);
dvi_four(w);return;
}
if(abs(w)>=0100000)
{dvi_out(o+2);
if(w<0)w= w+0100000000;
dvi_out(w/0200000);w= w%0200000;goto label2;
}
if(abs(w)>=0200)
{dvi_out(o+1);
if(w<0)w= w+0200000;
goto label2;
}
dvi_out(o);
if(w<0)w= w+0400;
goto label1;
label2:dvi_out(w/0400);
label1:dvi_out(w%0400);return

/*:610*/
#line 12121 "tex.w"
;
found:/*609:*/
#line 12165 "tex.w"

info(q)= info(p);
if(info(q)==y_here)
{dvi_out(o+y0-down1);
while(link(q)!=p)
{q= link(q);
switch(info(q)){
case yz_OK:info(q)= z_OK;break;
case y_OK:info(q)= d_fixed;break;
default:do_nothing;
}
}
}
else{dvi_out(o+z0-down1);
while(link(q)!=p)
{q= link(q);
switch(info(q)){
case yz_OK:info(q)= y_OK;break;
case z_OK:info(q)= d_fixed;break;
default:do_nothing;
}
}
}

/*:609*/
#line 12122 "tex.w"
;
}

/*:607*//*615:*/
#line 12273 "tex.w"
void prune_movements(int l)

{
pointer p;
while(down_ptr!=null)
{if(location(down_ptr)<l)goto done;
p= down_ptr;down_ptr= link(p);free_node(p,movement_node_size);
}
done:while(right_ptr!=null)
{if(location(right_ptr)<l)return;
p= right_ptr;right_ptr= link(p);free_node(p,movement_node_size);
}
}

/*:615*//*618:*/
#line 12350 "tex.w"
void vlist_out(void);


/*:618*//*619:*/
#line 12359 "tex.w"
/*1368:*/
#line 24824 "tex.w"

void special_out(pointer p)
{uint8_t old_setting;
int k;
synch_h;synch_v;
old_setting= selector;selector= new_string;
show_token_list(link(write_tokens(p)),null,pool_size-pool_ptr);
selector= old_setting;
str_room(1);
if(cur_length<256)
{dvi_out(xxx1);dvi_out(cur_length);
}
else{dvi_out(xxx4);dvi_four(cur_length);
}
for(k= str_start[str_ptr];k<=pool_ptr-1;k++)dvi_out(so(str_pool[k]));
pool_ptr= str_start[str_ptr];
}

/*:1368*//*1370:*/
#line 24855 "tex.w"

void write_out(pointer p)
{uint8_t old_setting;
int old_mode;
small_number j;
pointer q,r;
/*1371:*/
#line 24882 "tex.w"

q= get_avail();info(q)= right_brace_token+'}';
r= get_avail();link(q)= r;info(r)= end_write_token;ins_list(q);
begin_token_list(write_tokens(p),write_text);
q= get_avail();info(q)= left_brace_token+'{';ins_list(q);


old_mode= mode;mode= 0;

cur_cs= write_loc;q= scan_toks(false,true);
get_token();if(cur_tok!=end_write_token)
/*1372:*/
#line 24897 "tex.w"

{print_err("Unbalanced write command");

help2("On this page there's a \\write with fewer real {'s than }'s.")
("I can't handle that very well; good luck.");error();
do{get_token();
}while(!(cur_tok==end_write_token));
}

/*:1372*/
#line 24893 "tex.w"
;
mode= old_mode;
end_token_list()

/*:1371*/
#line 24861 "tex.w"
;
old_setting= selector;j= write_stream(p);
if(write_open[j])selector= j;
else{
if((j==17)&&(selector==term_and_log))selector= log_only;
print_nl("");
}
token_show(def_ref);print_ln();
flush_list(def_ref);selector= old_setting;
}

/*:1370*//*1373:*/
#line 24909 "tex.w"

void out_what(pointer p)
{small_number j;
switch(subtype(p)){
case open_node:case write_node:case close_node:/*1374:*/
#line 24927 "tex.w"

if(!doing_leaders)
{j= write_stream(p);
if(subtype(p)==write_node)write_out(p);
else{if(write_open[j])a_close(&write_file[j]);
if(subtype(p)==close_node)write_open[j]= false;
else if(j<16)
{cur_name= open_name(p);cur_area= open_area(p);
cur_ext= open_ext(p);
if(cur_ext==empty_string)cur_ext= /*1637:*/
#line 25807 "tex.w"
512
/*:1637*/
#line 24936 "tex.w"
;
pack_cur_name;
while(!a_open_out(&write_file[j]))
prompt_file_name("output file name",/*1637:*/
#line 25807 "tex.w"
512
/*:1637*/
#line 24939 "tex.w"
);
write_open[j]= true;
}
}
}

/*:1374*/
#line 24914 "tex.w"
break;
case special_node:special_out(p);break;
case language_node:do_nothing;break;
default:confusion(/*1792:*/
#line 26272 "tex.w"
667

/*:1792*/
#line 24917 "tex.w"
);

}
}

/*:1373*/
#line 12359 "tex.w"

void hlist_out(void)
{
scaled base_line;
scaled left_edge;
scaled save_h,save_v;
pointer this_box;
glue_ord g_order;
uint8_t g_sign;
pointer p;
int save_loc;
pointer leader_box;
scaled leader_wd;
scaled lx;
bool outer_doing_leaders;
scaled edge;
double glue_temp;
double cur_glue;
scaled cur_g;
cur_g= 0;cur_glue= float_constant(0);
this_box= temp_ptr;g_order= glue_order(this_box);
g_sign= glue_sign(this_box);p= list_ptr(this_box);
incr(cur_s);
if(cur_s> 0)dvi_out(push);
if(cur_s> max_push)max_push= cur_s;
save_loc= dvi_offset+dvi_ptr;base_line= cur_v;left_edge= cur_h;
while(p!=null)/*620:*/
#line 12398 "tex.w"

reswitch:if(is_char_node(p))
{synch_h;synch_v;
do{f= font(p);c= character(p);
if(f!=dvi_f)/*621:*/
#line 12412 "tex.w"

{if(!font_used[f])
{dvi_font_def(f);font_used[f]= true;
}
if(f<=64+font_base)dvi_out(f-font_base-1+fnt_num_0)
else{dvi_out(fnt1);dvi_out(f-font_base-1);
}
dvi_f= f;
}

/*:621*/
#line 12402 "tex.w"
;
if(c>=qi(128))dvi_out(set1);
dvi_out(qo(c));
cur_h= cur_h+char_width(f)(char_info(f)(c));
p= link(p);
}while(!(!is_char_node(p)));
dvi_h= cur_h;
}
else/*622:*/
#line 12422 "tex.w"

{switch(type(p)){
case hlist_node:case vlist_node:/*623:*/
#line 12440 "tex.w"

if(list_ptr(p)==null)cur_h= cur_h+width(p);
else{save_h= dvi_h;save_v= dvi_v;
cur_v= base_line+shift_amount(p);
temp_ptr= p;edge= cur_h;
if(type(p)==vlist_node)vlist_out();else hlist_out();
dvi_h= save_h;dvi_v= save_v;
cur_h= edge+width(p);cur_v= base_line;
}

/*:623*/
#line 12424 "tex.w"
break;
case rule_node:{rule_ht= height(p);rule_dp= depth(p);rule_wd= width(p);
goto fin_rule;
}
case whatsit_node:/*1367:*/
#line 24817 "tex.w"

out_what(p)

/*:1367*/
#line 12428 "tex.w"
;break;
case glue_node:/*625:*/
#line 12467 "tex.w"

{g= glue_ptr(p);rule_wd= width(g)-cur_g;
if(g_sign!=normal)
{if(g_sign==stretching)
{if(stretch_order(g)==g_order)
{cur_glue= cur_glue+stretch(g);
vet_glue(float(glue_set(this_box))*cur_glue);

cur_g= round(glue_temp);
}
}
else if(shrink_order(g)==g_order)
{cur_glue= cur_glue-shrink(g);
vet_glue(float(glue_set(this_box))*cur_glue);
cur_g= round(glue_temp);
}
}
rule_wd= rule_wd+cur_g;
if(subtype(p)>=a_leaders)
/*626:*/
#line 12490 "tex.w"

{leader_box= leader_ptr(p);
if(type(leader_box)==rule_node)
{rule_ht= height(leader_box);rule_dp= depth(leader_box);
goto fin_rule;
}
leader_wd= width(leader_box);
if((leader_wd> 0)&&(rule_wd> 0))
{rule_wd= rule_wd+10;
edge= cur_h+rule_wd;lx= 0;
/*627:*/
#line 12524 "tex.w"

if(subtype(p)==a_leaders)
{save_h= cur_h;
cur_h= left_edge+leader_wd*((cur_h-left_edge)/leader_wd);
if(cur_h<save_h)cur_h= cur_h+leader_wd;
}
else{lq= rule_wd/leader_wd;
lr= rule_wd%leader_wd;
if(subtype(p)==c_leaders)cur_h= cur_h+(lr/2);
else{lx= lr/(lq+1);
cur_h= cur_h+((lr-(lq-1)*lx)/2);
}
}

/*:627*/
#line 12501 "tex.w"
;
while(cur_h+leader_wd<=edge)
/*628:*/
#line 12541 "tex.w"

{cur_v= base_line+shift_amount(leader_box);synch_v;save_v= dvi_v;
synch_h;save_h= dvi_h;temp_ptr= leader_box;
outer_doing_leaders= doing_leaders;doing_leaders= true;
if(type(leader_box)==vlist_node)vlist_out();else hlist_out();
doing_leaders= outer_doing_leaders;
dvi_v= save_v;dvi_h= save_h;cur_v= base_line;
cur_h= save_h+leader_wd+lx;
}

/*:628*/
#line 12503 "tex.w"
;
cur_h= edge-10;goto next_p;
}
}

/*:626*/
#line 12486 "tex.w"
;
goto move_past;
}

/*:625*/
#line 12429 "tex.w"

case kern_node:case math_node:cur_h= cur_h+width(p);break;
case ligature_node:/*652:*/
#line 12994 "tex.w"

{mem[lig_trick]= mem[lig_char(p)];link(lig_trick)= link(p);
p= lig_trick;goto reswitch;
}

/*:652*/
#line 12431 "tex.w"

default:do_nothing;
}
goto next_p;
fin_rule:/*624:*/
#line 12450 "tex.w"

if(is_running(rule_ht))rule_ht= height(this_box);
if(is_running(rule_dp))rule_dp= depth(this_box);
rule_ht= rule_ht+rule_dp;
if((rule_ht> 0)&&(rule_wd> 0))
{synch_h;cur_v= base_line+rule_dp;synch_v;
dvi_out(set_rule);dvi_four(rule_ht);dvi_four(rule_wd);
cur_v= base_line;dvi_h= dvi_h+rule_wd;
}

/*:624*/
#line 12435 "tex.w"
;
move_past:cur_h= cur_h+rule_wd;
next_p:p= link(p);
}

/*:622*/
#line 12410 "tex.w"


/*:620*/
#line 12386 "tex.w"
;
prune_movements(save_loc);
if(cur_s> 0)dvi_pop(save_loc);
decr(cur_s);
}

/*:619*//*629:*/
#line 12553 "tex.w"
void vlist_out(void)
{
scaled left_edge;
scaled top_edge;
scaled save_h,save_v;
pointer this_box;
glue_ord g_order;
uint8_t g_sign;
pointer p;
int save_loc;
pointer leader_box;
scaled leader_ht;
scaled lx;
bool outer_doing_leaders;
scaled edge;
double glue_temp;
double cur_glue;
scaled cur_g;
cur_g= 0;cur_glue= float_constant(0);
this_box= temp_ptr;g_order= glue_order(this_box);
g_sign= glue_sign(this_box);p= list_ptr(this_box);
incr(cur_s);
if(cur_s> 0)dvi_out(push);
if(cur_s> max_push)max_push= cur_s;
save_loc= dvi_offset+dvi_ptr;left_edge= cur_h;cur_v= cur_v-height(this_box);
top_edge= cur_v;
while(p!=null)/*630:*/
#line 12586 "tex.w"

{if(is_char_node(p))confusion(/*1641:*/
#line 25819 "tex.w"
516
/*:1641*/
#line 12587 "tex.w"
);

else/*631:*/
#line 12593 "tex.w"

{switch(type(p)){
case hlist_node:case vlist_node:/*632:*/
#line 12613 "tex.w"

if(list_ptr(p)==null)cur_v= cur_v+height(p)+depth(p);
else{cur_v= cur_v+height(p);synch_v;
save_h= dvi_h;save_v= dvi_v;
cur_h= left_edge+shift_amount(p);
temp_ptr= p;
if(type(p)==vlist_node)vlist_out();else hlist_out();
dvi_h= save_h;dvi_v= save_v;
cur_v= save_v+depth(p);cur_h= left_edge;
}

/*:632*/
#line 12595 "tex.w"
break;
case rule_node:{rule_ht= height(p);rule_dp= depth(p);rule_wd= width(p);
goto fin_rule;
}
case whatsit_node:/*1366:*/
#line 24814 "tex.w"

out_what(p)

/*:1366*/
#line 12599 "tex.w"
;break;
case glue_node:/*634:*/
#line 12634 "tex.w"

{g= glue_ptr(p);rule_ht= width(g)-cur_g;
if(g_sign!=normal)
{if(g_sign==stretching)
{if(stretch_order(g)==g_order)
{cur_glue= cur_glue+stretch(g);
vet_glue(float(glue_set(this_box))*cur_glue);

cur_g= round(glue_temp);
}
}
else if(shrink_order(g)==g_order)
{cur_glue= cur_glue-shrink(g);
vet_glue(float(glue_set(this_box))*cur_glue);
cur_g= round(glue_temp);
}
}
rule_ht= rule_ht+cur_g;
if(subtype(p)>=a_leaders)
/*635:*/
#line 12657 "tex.w"

{leader_box= leader_ptr(p);
if(type(leader_box)==rule_node)
{rule_wd= width(leader_box);rule_dp= 0;
goto fin_rule;
}
leader_ht= height(leader_box)+depth(leader_box);
if((leader_ht> 0)&&(rule_ht> 0))
{rule_ht= rule_ht+10;
edge= cur_v+rule_ht;lx= 0;
/*636:*/
#line 12675 "tex.w"

if(subtype(p)==a_leaders)
{save_v= cur_v;
cur_v= top_edge+leader_ht*((cur_v-top_edge)/leader_ht);
if(cur_v<save_v)cur_v= cur_v+leader_ht;
}
else{lq= rule_ht/leader_ht;
lr= rule_ht%leader_ht;
if(subtype(p)==c_leaders)cur_v= cur_v+(lr/2);
else{lx= lr/(lq+1);
cur_v= cur_v+((lr-(lq-1)*lx)/2);
}
}

/*:636*/
#line 12668 "tex.w"
;
while(cur_v+leader_ht<=edge)
/*637:*/
#line 12692 "tex.w"

{cur_h= left_edge+shift_amount(leader_box);synch_h;save_h= dvi_h;
cur_v= cur_v+height(leader_box);synch_v;save_v= dvi_v;
temp_ptr= leader_box;
outer_doing_leaders= doing_leaders;doing_leaders= true;
if(type(leader_box)==vlist_node)vlist_out();else hlist_out();
doing_leaders= outer_doing_leaders;
dvi_v= save_v;dvi_h= save_h;cur_h= left_edge;
cur_v= save_v-height(leader_box)+leader_ht+lx;
}

/*:637*/
#line 12670 "tex.w"
;
cur_v= edge-10;goto next_p;
}
}

/*:635*/
#line 12653 "tex.w"
;
goto move_past;
}

/*:634*/
#line 12600 "tex.w"

case kern_node:cur_v= cur_v+width(p);break;
default:do_nothing;
}
goto next_p;
fin_rule:/*633:*/
#line 12624 "tex.w"

if(is_running(rule_wd))rule_wd= width(this_box);
rule_ht= rule_ht+rule_dp;
cur_v= cur_v+rule_ht;
if((rule_ht> 0)&&(rule_wd> 0))
{synch_h;synch_v;
dvi_out(put_rule);dvi_four(rule_ht);dvi_four(rule_wd);
}
goto next_p

/*:633*/
#line 12605 "tex.w"
;
move_past:cur_v= cur_v+rule_ht;
}

/*:631*/
#line 12589 "tex.w"
;
next_p:p= link(p);
}

/*:630*/
#line 12580 "tex.w"
;
prune_movements(save_loc);
if(cur_s> 0)dvi_pop(save_loc);
decr(cur_s);
}

/*:629*//*638:*/
#line 12706 "tex.w"
void ship_out(pointer p)
{
int page_loc;
uint8_t j,k;
int s;
uint8_t old_setting;
if(tracing_output> 0)
{print_nl("");print_ln();
print_str("Completed box being shipped out");

}
if(term_offset> max_print_line-9)print_ln();
else if((term_offset> 0)||(file_offset> 0))print_char(' ');
print_char('[');j= 9;
while((count(j)==0)&&(j> 0))decr(j);
for(k= 0;k<=j;k++)
{print_int(count(k));
if(k<j)print_char('.');
}
update_terminal;
if(tracing_output> 0)
{print_char(']');
begin_diagnostic();show_box(p);end_diagnostic(true);
}
/*640:*/
#line 12756 "tex.w"

/*641:*/
#line 12772 "tex.w"

if((height(p)> max_dimen)||(depth(p)> max_dimen)||
(height(p)+depth(p)+v_offset> max_dimen)||
(width(p)+h_offset> max_dimen))
{print_err("Huge page cannot be shipped out");

help2("The page just created is more than 18 feet tall or")
("more than 18 feet wide, so I suspect something went wrong.");
error();
if(tracing_output<=0)
{begin_diagnostic();
print_nl("The following box has been deleted:");

show_box(p);
end_diagnostic(true);
}
goto done;
}
if(height(p)+depth(p)+v_offset> max_v)max_v= height(p)+depth(p)+v_offset;
if(width(p)+h_offset> max_h)max_h= width(p)+h_offset

/*:641*/
#line 12757 "tex.w"
;
/*617:*/
#line 12323 "tex.w"

dvi_h= 0;dvi_v= 0;cur_h= h_offset;dvi_f= null_font;
/*531:*/
#line 10333 "tex.w"

if(output_file_name==0)
{if(job_name==0)open_log_file();
pack_job_name(/*1635:*/
#line 25801 "tex.w"
510
/*:1635*/
#line 10336 "tex.w"
);
while(!b_open_out(&dvi_file))
prompt_file_name("file name for output",/*1635:*/
#line 25801 "tex.w"
510
/*:1635*/
#line 10338 "tex.w"
);
output_file_name= b_make_name_string(&dvi_file);
}

/*:531*/
#line 12325 "tex.w"
;
if(total_pages==0)
{dvi_out(pre);dvi_out(id_byte);

dvi_four(25400000);dvi_four(473628672);
prepare_mag();dvi_four(mag);
old_setting= selector;selector= new_string;
print_str(" TeX output ");print_int(year);print_char('.');
print_two(month);print_char('.');print_two(day);
print_char(':');print_two(time/60);
print_two(time%60);
selector= old_setting;dvi_out(cur_length);
for(s= str_start[str_ptr];s<=pool_ptr-1;s++)dvi_out(so(str_pool[s]));
pool_ptr= str_start[str_ptr];
}

/*:617*/
#line 12758 "tex.w"
;
page_loc= dvi_offset+dvi_ptr;
dvi_out(bop);
for(k= 0;k<=9;k++)dvi_four(count(k));
dvi_four(last_bop);last_bop= page_loc;
cur_v= height(p)+v_offset;temp_ptr= p;
if(type(p)==vlist_node)vlist_out();else hlist_out();
dvi_out(eop);incr(total_pages);cur_s= -1;
done:

/*:640*/
#line 12730 "tex.w"
;
if(tracing_output<=0)print_char(']');
dead_cycles= 0;
update_terminal;
/*639:*/
#line 12737 "tex.w"

#ifdef STAT
if(tracing_stats> 1)
{print_nl("Memory usage before: ");

print_int(var_used);print_char('&');
print_int(dyn_used);print_char(';');
}
#endif
flush_node_list(p);
#ifdef STAT
if(tracing_stats> 1)
{print_str(" after: ");
print_int(var_used);print_char('&');
print_int(dyn_used);print_str("; still untouched: ");
print_int(hi_mem_min-lo_mem_max-1);print_ln();
}
#endif

/*:639*/
#line 12734 "tex.w"
;
}

/*:638*//*645:*/
#line 12883 "tex.w"
void scan_spec(group_code c,bool three_codes)

{
int s;
uint8_t spec_code;
if(three_codes)s= saved(0);
if(scan_keyword(/*1642:*/
#line 25822 "tex.w"
517
/*:1642*/
#line 12889 "tex.w"
))spec_code= exactly;

else if(scan_keyword(/*1643:*/
#line 25825 "tex.w"
518
/*:1643*/
#line 12891 "tex.w"
))spec_code= additional;

else{spec_code= additional;cur_val= 0;
goto found;
}
scan_normal_dimen;
found:if(three_codes)
{saved(0)= s;incr(save_ptr);
}
saved(0)= spec_code;saved(1)= cur_val;save_ptr= save_ptr+2;
new_save_level(c);scan_left_brace();
}

/*:645*//*649:*/
#line 12938 "tex.w"
pointer hpack(pointer p,scaled w,small_number m)
{
pointer r;
pointer q;
scaled h,d,x;
scaled s;
pointer g;
glue_ord o;
internal_font_number f;
four_quarters i;
eight_bits hd;
last_badness= 0;r= get_node(box_node_size);type(r)= hlist_node;
subtype(r)= min_quarterword;shift_amount(r)= 0;
q= r+list_offset;link(q)= p;
h= 0;/*650:*/
#line 12965 "tex.w"

d= 0;x= 0;
total_stretch[normal]= 0;total_shrink[normal]= 0;
total_stretch[fil]= 0;total_shrink[fil]= 0;
total_stretch[fill]= 0;total_shrink[fill]= 0;
total_stretch[filll]= 0;total_shrink[filll]= 0

/*:650*/
#line 12952 "tex.w"
;
while(p!=null)/*651:*/
#line 12972 "tex.w"


{reswitch:while(is_char_node(p))
/*654:*/
#line 13015 "tex.w"

{f= font(p);i= char_info(f)(character(p));hd= height_depth(i);
x= x+char_width(f)(i);
s= char_height(f)(hd);if(s> h)h= s;
s= char_depth(f)(hd);if(s> d)d= s;
p= link(p);
}

/*:654*/
#line 12976 "tex.w"
;
if(p!=null)
{switch(type(p)){
case hlist_node:case vlist_node:case rule_node:case unset_node:
/*653:*/
#line 13003 "tex.w"

{x= x+width(p);
if(type(p)>=rule_node)s= 0;else s= shift_amount(p);
if(height(p)-s> h)h= height(p)-s;
if(depth(p)+s> d)d= depth(p)+s;
}

/*:653*/
#line 12980 "tex.w"
break;
case ins_node:case mark_node:case adjust_node:if(adjust_tail!=null)
/*655:*/
#line 13030 "tex.w"

{while(link(q)!=p)q= link(q);
if(type(p)==adjust_node)
{link(adjust_tail)= adjust_ptr(p);
while(link(adjust_tail)!=null)adjust_tail= link(adjust_tail);
p= link(p);free_node(link(q),small_node_size);
}
else{link(adjust_tail)= p;adjust_tail= p;p= link(p);
}
link(q)= p;p= q;
}

/*:655*/
#line 12982 "tex.w"
break;
case whatsit_node:/*1360:*/
#line 24795 "tex.w"
do_nothing

/*:1360*/
#line 12983 "tex.w"
;break;
case glue_node:/*656:*/
#line 13042 "tex.w"

{g= glue_ptr(p);x= x+width(g);
o= stretch_order(g);total_stretch[o]= total_stretch[o]+stretch(g);
o= shrink_order(g);total_shrink[o]= total_shrink[o]+shrink(g);
if(subtype(p)>=a_leaders)
{g= leader_ptr(p);
if(height(g)> h)h= height(g);
if(depth(g)> d)d= depth(g);
}
}

/*:656*/
#line 12984 "tex.w"
break;
case kern_node:case math_node:x= x+width(p);break;
case ligature_node:/*652:*/
#line 12994 "tex.w"

{mem[lig_trick]= mem[lig_char(p)];link(lig_trick)= link(p);
p= lig_trick;goto reswitch;
}

/*:652*/
#line 12986 "tex.w"

default:do_nothing;
}
p= link(p);
}
}


/*:651*/
#line 12955 "tex.w"
;
if(adjust_tail!=null)link(adjust_tail)= null;
height(r)= h;depth(r)= d;
/*657:*/
#line 13056 "tex.w"

if(m==additional)w= x+w;
width(r)= w;x= w-x;
if(x==0)
{glue_sign(r)= normal;glue_order(r)= normal;
set_glue_ratio_zero(glue_set(r));
goto end;
}
else if(x> 0)/*658:*/
#line 13068 "tex.w"

{/*659:*/
#line 13082 "tex.w"

if(total_stretch[filll]!=0)o= filll;
else if(total_stretch[fill]!=0)o= fill;
else if(total_stretch[fil]!=0)o= fil;
else o= normal

/*:659*/
#line 13069 "tex.w"
;
glue_order(r)= o;glue_sign(r)= stretching;
if(total_stretch[o]!=0)glue_set(r)= unfloat(x/(double)total_stretch[o]);

else{glue_sign(r)= normal;
set_glue_ratio_zero(glue_set(r));
}
if(o==normal)if(list_ptr(r)!=null)
/*660:*/
#line 13088 "tex.w"

{last_badness= badness(x,total_stretch[normal]);
if(last_badness> hbadness)
{print_ln();
if(last_badness> 100)print_nl("Underfull");else print_nl("Loose");
print_str(" \\hbox (badness ");print_int(last_badness);


goto common_ending;
}
}

/*:660*/
#line 13078 "tex.w"
;
goto end;
}

/*:658*/
#line 13065 "tex.w"

else/*664:*/
#line 13127 "tex.w"

{/*665:*/
#line 13146 "tex.w"

if(total_shrink[filll]!=0)o= filll;
else if(total_shrink[fill]!=0)o= fill;
else if(total_shrink[fil]!=0)o= fil;
else o= normal

/*:665*/
#line 13128 "tex.w"
;
glue_order(r)= o;glue_sign(r)= shrinking;
if(total_shrink[o]!=0)glue_set(r)= unfloat((-x)/(double)total_shrink[o]);

else{glue_sign(r)= normal;
set_glue_ratio_zero(glue_set(r));
}
if((total_shrink[o]<-x)&&(o==normal)&&(list_ptr(r)!=null))
{last_badness= 1000000;
set_glue_ratio_one(glue_set(r));
/*666:*/
#line 13152 "tex.w"

if((-x-total_shrink[normal]> hfuzz)||(hbadness<100))
{if((overfull_rule> 0)&&(-x-total_shrink[normal]> hfuzz))
{while(link(q)!=null)q= link(q);
link(q)= new_rule();
width(link(q))= overfull_rule;
}
print_ln();print_nl("Overfull \\hbox (");

print_scaled(-x-total_shrink[normal]);print_str("pt too wide");
goto common_ending;
}

/*:666*/
#line 13139 "tex.w"
;
}
else if(o==normal)if(list_ptr(r)!=null)
/*667:*/
#line 13165 "tex.w"

{last_badness= badness(-x,total_shrink[normal]);
if(last_badness> hbadness)
{print_ln();print_nl("Tight \\hbox (badness ");print_int(last_badness);

goto common_ending;
}
}

/*:667*/
#line 13142 "tex.w"
;
goto end;
}

/*:664*/
#line 13066 "tex.w"


/*:657*/
#line 12959 "tex.w"
;
common_ending:/*663:*/
#line 13112 "tex.w"

if(output_active)print_str(") has occurred while \\output is active");
else{if(pack_begin_line!=0)
{if(pack_begin_line> 0)print_str(") in paragraph at lines ");
else print_str(") in alignment at lines ");
print_int(abs(pack_begin_line));
print_str("--");
}
else print_str(") detected at line ");
print_int(line);
}
print_ln();
font_in_short_display= null_font;short_display(list_ptr(r));print_ln();
begin_diagnostic();show_box(r);end_diagnostic(true)

/*:663*/
#line 12961 "tex.w"
;
end:return r;
}

/*:649*//*668:*/
#line 13181 "tex.w"

#define vpack(...) vpackage(__VA_ARGS__, max_dimen)


pointer vpackage(pointer p,scaled h,small_number m,scaled l)
{
pointer r;
scaled w,d,x;
scaled s;
pointer g;
glue_ord o;
last_badness= 0;r= get_node(box_node_size);type(r)= vlist_node;
subtype(r)= min_quarterword;shift_amount(r)= 0;
list_ptr(r)= p;
w= 0;/*650:*/
#line 12965 "tex.w"

d= 0;x= 0;
total_stretch[normal]= 0;total_shrink[normal]= 0;
total_stretch[fil]= 0;total_shrink[fil]= 0;
total_stretch[fill]= 0;total_shrink[fill]= 0;
total_stretch[filll]= 0;total_shrink[filll]= 0

/*:650*/
#line 13195 "tex.w"
;
while(p!=null)/*669:*/
#line 13210 "tex.w"

{if(is_char_node(p))confusion(/*1644:*/
#line 25828 "tex.w"
519
/*:1644*/
#line 13211 "tex.w"
);

else switch(type(p)){
case hlist_node:case vlist_node:case rule_node:case unset_node:
/*670:*/
#line 13225 "tex.w"

{x= x+d+height(p);d= depth(p);
if(type(p)>=rule_node)s= 0;else s= shift_amount(p);
if(width(p)+s> w)w= width(p)+s;
}

/*:670*/
#line 13215 "tex.w"
break;
case whatsit_node:/*1359:*/
#line 24793 "tex.w"
do_nothing

/*:1359*/
#line 13216 "tex.w"
;break;
case glue_node:/*671:*/
#line 13231 "tex.w"

{x= x+d;d= 0;
g= glue_ptr(p);x= x+width(g);
o= stretch_order(g);total_stretch[o]= total_stretch[o]+stretch(g);
o= shrink_order(g);total_shrink[o]= total_shrink[o]+shrink(g);
if(subtype(p)>=a_leaders)
{g= leader_ptr(p);
if(width(g)> w)w= width(g);
}
}

/*:671*/
#line 13217 "tex.w"
break;
case kern_node:{x= x+d+width(p);d= 0;
}break;
default:do_nothing;
}
p= link(p);
}

/*:669*/
#line 13197 "tex.w"
;
width(r)= w;
if(d> l)
{x= x+d-l;depth(r)= l;
}
else depth(r)= d;
/*672:*/
#line 13245 "tex.w"

if(m==additional)h= x+h;
height(r)= h;x= h-x;
if(x==0)
{glue_sign(r)= normal;glue_order(r)= normal;
set_glue_ratio_zero(glue_set(r));
goto end;
}
else if(x> 0)/*673:*/
#line 13257 "tex.w"

{/*659:*/
#line 13082 "tex.w"

if(total_stretch[filll]!=0)o= filll;
else if(total_stretch[fill]!=0)o= fill;
else if(total_stretch[fil]!=0)o= fil;
else o= normal

/*:659*/
#line 13258 "tex.w"
;
glue_order(r)= o;glue_sign(r)= stretching;
if(total_stretch[o]!=0)glue_set(r)= unfloat(x/(double)total_stretch[o]);

else{glue_sign(r)= normal;
set_glue_ratio_zero(glue_set(r));
}
if(o==normal)if(list_ptr(r)!=null)
/*674:*/
#line 13271 "tex.w"

{last_badness= badness(x,total_stretch[normal]);
if(last_badness> vbadness)
{print_ln();
if(last_badness> 100)print_nl("Underfull");else print_nl("Loose");
print_str(" \\vbox (badness ");print_int(last_badness);


goto common_ending;
}
}

/*:674*/
#line 13267 "tex.w"
;
goto end;
}

/*:673*/
#line 13254 "tex.w"

else/*676:*/
#line 13296 "tex.w"

{/*665:*/
#line 13146 "tex.w"

if(total_shrink[filll]!=0)o= filll;
else if(total_shrink[fill]!=0)o= fill;
else if(total_shrink[fil]!=0)o= fil;
else o= normal

/*:665*/
#line 13297 "tex.w"
;
glue_order(r)= o;glue_sign(r)= shrinking;
if(total_shrink[o]!=0)glue_set(r)= unfloat((-x)/(double)total_shrink[o]);

else{glue_sign(r)= normal;
set_glue_ratio_zero(glue_set(r));
}
if((total_shrink[o]<-x)&&(o==normal)&&(list_ptr(r)!=null))
{last_badness= 1000000;
set_glue_ratio_one(glue_set(r));
/*677:*/
#line 13315 "tex.w"

if((-x-total_shrink[normal]> vfuzz)||(vbadness<100))
{print_ln();print_nl("Overfull \\vbox (");

print_scaled(-x-total_shrink[normal]);print_str("pt too high");
goto common_ending;
}

/*:677*/
#line 13308 "tex.w"
;
}
else if(o==normal)if(list_ptr(r)!=null)
/*678:*/
#line 13323 "tex.w"

{last_badness= badness(-x,total_shrink[normal]);
if(last_badness> vbadness)
{print_ln();print_nl("Tight \\vbox (badness ");print_int(last_badness);

goto common_ending;
}
}

/*:678*/
#line 13311 "tex.w"
;
goto end;
}

/*:676*/
#line 13255 "tex.w"


/*:672*/
#line 13204 "tex.w"
;
common_ending:/*675:*/
#line 13283 "tex.w"

if(output_active)print_str(") has occurred while \\output is active");
else{if(pack_begin_line!=0)
{print_str(") in alignment at lines ");
print_int(abs(pack_begin_line));
print_str("--");
}
else print_str(") detected at line ");
print_int(line);
print_ln();
}
begin_diagnostic();show_box(r);end_diagnostic(true)

/*:675*/
#line 13206 "tex.w"
;
end:return r;
}

/*:668*//*679:*/
#line 13335 "tex.w"
void append_to_vlist(pointer b)
{scaled d;
pointer p;
if(prev_depth> ignore_depth)
{d= width(baseline_skip)-prev_depth-height(b);
if(d<line_skip_limit)p= new_param_glue(line_skip_code);
else{p= new_skip_param(baseline_skip_code);
width(temp_ptr)= d;
}
link(tail)= p;tail= p;
}
link(tail)= b;tail= b;prev_depth= depth(b);
}

/*:679*//*686:*/
#line 13533 "tex.w"
pointer new_noad(void)
{pointer p;
p= get_node(noad_size);
type(p)= ord_noad;subtype(p)= normal;
mem[nucleus(p)].hh= empty_field;
mem[subscr(p)].hh= empty_field;
mem[supscr(p)].hh= empty_field;
return p;
}

/*:686*//*688:*/
#line 13594 "tex.w"
pointer new_style(small_number s)
{pointer p;
p= get_node(style_node_size);type(p)= style_node;
subtype(p)= s;width(p)= 0;depth(p)= 0;
return p;
}

/*:688*//*689:*/
#line 13611 "tex.w"
pointer new_choice(void)
{pointer p;
p= get_node(style_node_size);type(p)= choice_node;
subtype(p)= 0;
display_mlist(p)= null;text_mlist(p)= null;script_mlist(p)= null;
script_script_mlist(p)= null;
return p;
}

/*:689*//*693:*/
#line 13699 "tex.w"
void show_info(void)
{show_node_list(info(temp_ptr));
}

/*:693*//*704:*/
#line 13894 "tex.w"
pointer fraction_rule(scaled t)

{pointer p;
p= new_rule();height(p)= t;depth(p)= 0;return p;
}

/*:704*//*705:*/
#line 13904 "tex.w"
pointer overbar(pointer b,scaled k,scaled t)
{pointer p,q;
p= new_kern(k);link(p)= b;q= fraction_rule(t);link(q)= p;
p= new_kern(t);link(p)= q;return vpack(p,natural);
}

/*:705*//*706:*/
#line 13925 "tex.w"
/*709:*/
#line 13997 "tex.w"

pointer char_box(internal_font_number f,quarterword c)
{four_quarters q;
eight_bits hd;
pointer b,p;
q= char_info(f)(c);hd= height_depth(q);
b= new_null_box();width(b)= char_width(f)(q)+char_italic(f)(q);
height(b)= char_height(f)(hd);depth(b)= char_depth(f)(hd);
p= get_avail();character(p)= c;font(p)= f;list_ptr(b)= p;return b;
}

/*:709*//*711:*/
#line 14021 "tex.w"

void stack_into_box(pointer b,internal_font_number f,
quarterword c)
{pointer p;
p= char_box(f,c);link(p)= list_ptr(b);list_ptr(b)= p;
height(b)= height(p);
}

/*:711*//*712:*/
#line 14032 "tex.w"

scaled height_plus_depth(internal_font_number f,quarterword c)
{four_quarters q;
eight_bits hd;
q= char_info(f)(c);hd= height_depth(q);
return char_height(f)(hd)+char_depth(f)(hd);
}

/*:712*/
#line 13925 "tex.w"

pointer var_delimiter(pointer d,small_number s,scaled v)
{
pointer b;
internal_font_number f,g;
quarterword c,x,y;
int m,n;
scaled u;
scaled w;
four_quarters q;
eight_bits hd;
four_quarters r;
small_number z;
bool large_attempt;
f= null_font;w= 0;large_attempt= false;
z= small_fam(d);x= small_char(d);
loop{/*707:*/
#line 13959 "tex.w"

if((z!=0)||(x!=min_quarterword))
{z= z+s+16;
do{z= z-16;g= fam_fnt(z);
if(g!=null_font)
/*708:*/
#line 13970 "tex.w"

{y= x;
if((qo(y)>=font_bc[g])&&(qo(y)<=font_ec[g]))
{resume:q= char_info(g)(y);
if(char_exists(q))
{if(char_tag(q)==ext_tag)
{f= g;c= y;goto found;
}
hd= height_depth(q);
u= char_height(g)(hd)+char_depth(g)(hd);
if(u> w)
{f= g;c= y;w= u;
if(u>=v)goto found;
}
if(char_tag(q)==list_tag)
{y= rem_byte(q);goto resume;
}
}
}
}

/*:708*/
#line 13966 "tex.w"
;
}while(!(z<16));
}

/*:707*/
#line 13942 "tex.w"
;
if(large_attempt)goto found;
large_attempt= true;z= large_fam(d);x= large_char(d);
}
found:if(f!=null_font)
/*710:*/
#line 14011 "tex.w"

if(char_tag(q)==ext_tag)
/*713:*/
#line 14040 "tex.w"

{b= new_null_box();
type(b)= vlist_node;
r= font_info[exten_base[f]+rem_byte(q)].qqqq;
/*714:*/
#line 14065 "tex.w"

c= ext_rep(r);u= height_plus_depth(f,c);
w= 0;q= char_info(f)(c);width(b)= char_width(f)(q)+char_italic(f)(q);
c= ext_bot(r);if(c!=min_quarterword)w= w+height_plus_depth(f,c);
c= ext_mid(r);if(c!=min_quarterword)w= w+height_plus_depth(f,c);
c= ext_top(r);if(c!=min_quarterword)w= w+height_plus_depth(f,c);
n= 0;
if(u> 0)while(w<v)
{w= w+u;incr(n);
if(ext_mid(r)!=min_quarterword)w= w+u;
}

/*:714*/
#line 14045 "tex.w"
;
c= ext_bot(r);
if(c!=min_quarterword)stack_into_box(b,f,c);
c= ext_rep(r);
for(m= 1;m<=n;m++)stack_into_box(b,f,c);
c= ext_mid(r);
if(c!=min_quarterword)
{stack_into_box(b,f,c);c= ext_rep(r);
for(m= 1;m<=n;m++)stack_into_box(b,f,c);
}
c= ext_top(r);
if(c!=min_quarterword)stack_into_box(b,f,c);
depth(b)= w-height(b);
}

/*:713*/
#line 14014 "tex.w"

else b= char_box(f,c)

/*:710*/
#line 13947 "tex.w"
;
else{b= new_null_box();
width(b)= null_delimiter_space;
}
shift_amount(b)= half(height(b)-depth(b))-axis_height(s);
return b;
}

/*:706*//*715:*/
#line 14090 "tex.w"
pointer rebox(pointer b,scaled w)
{pointer p;
internal_font_number f;
scaled v;
if((width(b)!=w)&&(list_ptr(b)!=null))
{if(type(b)==vlist_node)b= hpack(b,natural);
p= list_ptr(b);
if((is_char_node(p))&&(link(p)==null))
{f= font(p);v= char_width(f)(char_info(f)(character(p)));
if(v!=width(b))link(p)= new_kern(width(b)-v);
}
free_node(b,box_node_size);
b= new_glue(ss_glue);link(b)= p;
while(link(p)!=null)p= link(p);
link(p)= new_glue(ss_glue);
return hpack(b,w,exactly);
}
else{width(b)= w;return b;
}
}

/*:715*//*716:*/
#line 14116 "tex.w"
pointer math_glue(pointer g,scaled m)
{pointer p;
int n;
scaled f;
n= x_over_n(m,0200000);f= rem;
if(f<0)
{decr(n);f= f+0200000;
}
p= get_node(glue_spec_size);
width(p)= mu_mult(width(g));
stretch_order(p)= stretch_order(g);
if(stretch_order(p)==normal)stretch(p)= mu_mult(stretch(g));
else stretch(p)= stretch(g);
shrink_order(p)= shrink_order(g);
if(shrink_order(p)==normal)shrink(p)= mu_mult(shrink(g));
else shrink(p)= shrink(g);
return p;
}

/*:716*//*717:*/
#line 14138 "tex.w"
void math_kern(pointer p,scaled m)
{int n;
scaled f;
if(subtype(p)==mu_glue)
{n= x_over_n(m,0200000);f= rem;
if(f<0)
{decr(n);f= f+0200000;
}
width(p)= mu_mult(width(p));subtype(p)= explicit;
}
}

/*:717*//*718:*/
#line 14153 "tex.w"
void flush_math(void)
{flush_node_list(link(head));flush_node_list(incompleat_noad);
link(head)= null;tail= head;incompleat_noad= null;
}

/*:718*//*720:*/
#line 14190 "tex.w"
void mlist_to_hlist(void);
pointer clean_box(pointer p,small_number s)
{
pointer q;
small_number save_style;
pointer x;
pointer r;
switch(math_type(p)){
case math_char:{cur_mlist= new_noad();mem[nucleus(cur_mlist)]= mem[p];
}break;
case sub_box:{q= info(p);goto found;
}
case sub_mlist:cur_mlist= info(p);break;
default:{q= new_null_box();goto found;
}
}
save_style= cur_style;cur_style= s;mlist_penalties= false;
mlist_to_hlist();q= link(temp_head);
cur_style= save_style;
/*703:*/
#line 13884 "tex.w"

{if(cur_style<script_style)cur_size= text_size;
else cur_size= 16*((cur_style-text_style)/2);
cur_mu= x_over_n(math_quad(cur_size),18);
}

/*:703*/
#line 14209 "tex.w"
;
found:if(is_char_node(q)||(q==null))x= hpack(q,natural);
else if((link(q)==null)&&(type(q)<=vlist_node)&&(shift_amount(q)==0))
x= q;
else x= hpack(q,natural);
/*721:*/
#line 14220 "tex.w"

q= list_ptr(x);
if(is_char_node(q))
{r= link(q);
if(r!=null)if(link(r)==null)if(!is_char_node(r))
if(type(r)==kern_node)
{free_node(r,small_node_size);link(q)= null;
}
}

/*:721*/
#line 14214 "tex.w"
;
return x;
}

/*:720*//*722:*/
#line 14237 "tex.w"
void fetch(pointer a)
{cur_c= character(a);cur_f= fam_fnt(fam(a)+cur_size);
if(cur_f==null_font)
/*723:*/
#line 14251 "tex.w"

{print_err("");print_size(cur_size);print_char(' ');
print_int(fam(a));print_str(" is undefined (character ");
print_ASCII(qo(cur_c));print_char(')');
help4("Somewhere in the math formula just ended, you used the")
("stated character from an undefined font family. For example,")
("plain TeX doesn't allow \\it or \\sl in subscripts. Proceed,")
("and I'll try to forget that I needed that character.");
error();cur_i= null_character;math_type(a)= empty;
}

/*:723*/
#line 14240 "tex.w"

else{if((qo(cur_c)>=font_bc[cur_f])&&(qo(cur_c)<=font_ec[cur_f]))
cur_i= char_info(cur_f)(cur_c);
else cur_i= null_character;
if(!(char_exists(cur_i)))
{char_warning(cur_f,qo(cur_c));
math_type(a)= empty;
}
}
}

/*:722*//*726:*/
#line 14291 "tex.w"
/*734:*/
#line 14443 "tex.w"

void make_over(pointer q)
{info(nucleus(q))= 
overbar(clean_box(nucleus(q),cramped_style(cur_style)),
3*default_rule_thickness,default_rule_thickness);
math_type(nucleus(q))= sub_box;
}

/*:734*//*735:*/
#line 14451 "tex.w"

void make_under(pointer q)
{pointer p,x,y;
scaled delta;
x= clean_box(nucleus(q),cur_style);
p= new_kern(3*default_rule_thickness);link(x)= p;
link(p)= fraction_rule(default_rule_thickness);
y= vpack(x,natural);
delta= height(y)+depth(y)+default_rule_thickness;
height(y)= height(x);depth(y)= delta-height(y);
info(nucleus(q))= y;math_type(nucleus(q))= sub_box;
}

/*:735*//*736:*/
#line 14464 "tex.w"

void make_vcenter(pointer q)
{pointer v;
scaled delta;
v= info(nucleus(q));
if(type(v)!=vlist_node)confusion(/*1561:*/
#line 25579 "tex.w"
436
/*:1561*/
#line 14469 "tex.w"
);

delta= height(v)+depth(v);
height(v)= axis_height(cur_size)+half(delta);
depth(v)= delta-height(v);
}

/*:736*//*737:*/
#line 14485 "tex.w"

void make_radical(pointer q)
{pointer x,y;
scaled delta,clr;
x= clean_box(nucleus(q),cramped_style(cur_style));
if(cur_style<text_style)
clr= default_rule_thickness+(abs(math_x_height(cur_size))/4);
else{clr= default_rule_thickness;clr= clr+(abs(clr)/4);
}
y= var_delimiter(left_delimiter(q),cur_size,height(x)+depth(x)+clr+
default_rule_thickness);
delta= depth(y)-(height(x)+depth(x)+clr);
if(delta> 0)clr= clr+half(delta);
shift_amount(y)= -(height(x)+clr);
link(y)= overbar(x,clr,height(y));
info(nucleus(q))= hpack(y,natural);math_type(nucleus(q))= sub_box;
}

/*:737*//*738:*/
#line 14507 "tex.w"

void make_math_accent(pointer q)
{
pointer p,x,y;
int a;
quarterword c;
internal_font_number f;
four_quarters i;
scaled s;
scaled h;
scaled delta;
scaled w;
fetch(accent_chr(q));
if(char_exists(cur_i))
{i= cur_i;c= cur_c;f= cur_f;
/*741:*/
#line 14554 "tex.w"

s= 0;
if(math_type(nucleus(q))==math_char)
{fetch(nucleus(q));
if(char_tag(cur_i)==lig_tag)
{a= lig_kern_start(cur_f)(cur_i);
cur_i= font_info[a].qqqq;
if(skip_byte(cur_i)> stop_flag)
{a= lig_kern_restart(cur_f)(cur_i);
cur_i= font_info[a].qqqq;
}
loop{if(qo(next_char(cur_i))==skew_char[cur_f])
{if(op_byte(cur_i)>=kern_flag)
if(skip_byte(cur_i)<=stop_flag)s= char_kern(cur_f)(cur_i);
goto done1;
}
if(skip_byte(cur_i)>=stop_flag)goto done1;
a= a+qo(skip_byte(cur_i))+1;
cur_i= font_info[a].qqqq;
}
}
}
done1:

/*:741*/
#line 14522 "tex.w"
;
x= clean_box(nucleus(q),cramped_style(cur_style));w= width(x);h= height(x);
/*740:*/
#line 14544 "tex.w"

loop{if(char_tag(i)!=list_tag)goto done;
y= rem_byte(i);
i= char_info(f)(y);
if(!char_exists(i))goto done;
if(char_width(f)(i)> w)goto done;
c= y;
}
done:

/*:740*/
#line 14524 "tex.w"
;
if(h<x_height(f))delta= h;else delta= x_height(f);
if((math_type(supscr(q))!=empty)||(math_type(subscr(q))!=empty))
if(math_type(nucleus(q))==math_char)
/*742:*/
#line 14578 "tex.w"

{flush_node_list(x);x= new_noad();
mem[nucleus(x)]= mem[nucleus(q)];
mem[supscr(x)]= mem[supscr(q)];
mem[subscr(x)]= mem[subscr(q)];
mem[supscr(q)].hh= empty_field;
mem[subscr(q)].hh= empty_field;
math_type(nucleus(q))= sub_mlist;info(nucleus(q))= x;
x= clean_box(nucleus(q),cur_style);delta= delta+height(x)-h;h= height(x);
}

/*:742*/
#line 14528 "tex.w"
;
y= char_box(f,c);
shift_amount(y)= s+half(w-width(y));
width(y)= 0;p= new_kern(-delta);link(p)= x;link(y)= p;
y= vpack(y,natural);width(y)= width(x);
if(height(y)<h)/*739:*/
#line 14539 "tex.w"

{p= new_kern(h-height(y));link(p)= list_ptr(y);list_ptr(y)= p;
height(y)= h;
}

/*:739*/
#line 14533 "tex.w"
;
info(nucleus(q))= y;
math_type(nucleus(q))= sub_box;
}
}

/*:738*//*743:*/
#line 14592 "tex.w"

void make_fraction(pointer q)
{pointer p,v,x,y,z;
scaled delta,delta1,delta2,shift_up,shift_down,clr;

if(thickness(q)==default_code)thickness(q)= default_rule_thickness;
/*744:*/
#line 14609 "tex.w"

x= clean_box(numerator(q),num_style(cur_style));
z= clean_box(denominator(q),denom_style(cur_style));
if(width(x)<width(z))x= rebox(x,width(z));
else z= rebox(z,width(x));
if(cur_style<text_style)
{shift_up= num1(cur_size);shift_down= denom1(cur_size);
}
else{shift_down= denom2(cur_size);
if(thickness(q)!=0)shift_up= num2(cur_size);
else shift_up= num3(cur_size);
}

/*:744*/
#line 14600 "tex.w"
;
if(thickness(q)==0)/*745:*/
#line 14626 "tex.w"

{if(cur_style<text_style)clr= 7*default_rule_thickness;
else clr= 3*default_rule_thickness;
delta= half(clr-((shift_up-depth(x))-(height(z)-shift_down)));
if(delta> 0)
{shift_up= shift_up+delta;
shift_down= shift_down+delta;
}
}

/*:745*/
#line 14602 "tex.w"

else/*746:*/
#line 14639 "tex.w"

{if(cur_style<text_style)clr= 3*thickness(q);
else clr= thickness(q);
delta= half(thickness(q));
delta1= clr-((shift_up-depth(x))-(axis_height(cur_size)+delta));
delta2= clr-((axis_height(cur_size)-delta)-(height(z)-shift_down));
if(delta1> 0)shift_up= shift_up+delta1;
if(delta2> 0)shift_down= shift_down+delta2;
}

/*:746*/
#line 14603 "tex.w"
;
/*747:*/
#line 14649 "tex.w"

v= new_null_box();type(v)= vlist_node;
height(v)= shift_up+height(x);depth(v)= depth(z)+shift_down;
width(v)= width(x);
if(thickness(q)==0)
{p= new_kern((shift_up-depth(x))-(height(z)-shift_down));
link(p)= z;
}
else{y= fraction_rule(thickness(q));
p= new_kern((axis_height(cur_size)-delta)-(height(z)-shift_down));
link(y)= p;link(p)= z;
p= new_kern((shift_up-depth(x))-(axis_height(cur_size)+delta));
link(p)= y;
}
link(x)= p;list_ptr(v)= x

/*:747*/
#line 14604 "tex.w"
;
/*748:*/
#line 14665 "tex.w"

if(cur_style<text_style)delta= delim1(cur_size);
else delta= delim2(cur_size);
x= var_delimiter(left_delimiter(q),cur_size,delta);link(x)= v;
z= var_delimiter(right_delimiter(q),cur_size,delta);link(v)= z;
new_hlist(q)= hpack(x,natural)

/*:748*/
#line 14606 "tex.w"
;
}

/*:743*//*749:*/
#line 14687 "tex.w"

scaled make_op(pointer q)
{scaled delta;
pointer p,v,x,y,z;
quarterword c;four_quarters i;
scaled shift_up,shift_down;
if((subtype(q)==normal)&&(cur_style<text_style))
subtype(q)= limits;
if(math_type(nucleus(q))==math_char)
{fetch(nucleus(q));
if((cur_style<text_style)&&(char_tag(cur_i)==list_tag))
{c= rem_byte(cur_i);i= char_info(cur_f)(c);
if(char_exists(i))
{cur_c= c;cur_i= i;character(nucleus(q))= c;
}
}
delta= char_italic(cur_f)(cur_i);x= clean_box(nucleus(q),cur_style);
if((math_type(subscr(q))!=empty)&&(subtype(q)!=limits))
width(x)= width(x)-delta;
shift_amount(x)= half(height(x)-depth(x))-axis_height(cur_size);

math_type(nucleus(q))= sub_box;info(nucleus(q))= x;
}
else delta= 0;
if(subtype(q)==limits)
/*750:*/
#line 14719 "tex.w"

{x= clean_box(supscr(q),sup_style(cur_style));
y= clean_box(nucleus(q),cur_style);
z= clean_box(subscr(q),sub_style(cur_style));
v= new_null_box();type(v)= vlist_node;width(v)= width(y);
if(width(x)> width(v))width(v)= width(x);
if(width(z)> width(v))width(v)= width(z);
x= rebox(x,width(v));y= rebox(y,width(v));z= rebox(z,width(v));
shift_amount(x)= half(delta);shift_amount(z)= -shift_amount(x);
height(v)= height(y);depth(v)= depth(y);
/*751:*/
#line 14739 "tex.w"

if(math_type(supscr(q))==empty)
{free_node(x,box_node_size);list_ptr(v)= y;
}
else{shift_up= big_op_spacing3-depth(x);
if(shift_up<big_op_spacing1)shift_up= big_op_spacing1;
p= new_kern(shift_up);link(p)= y;link(x)= p;
p= new_kern(big_op_spacing5);link(p)= x;list_ptr(v)= p;
height(v)= height(v)+big_op_spacing5+height(x)+depth(x)+shift_up;
}
if(math_type(subscr(q))==empty)free_node(z,box_node_size);
else{shift_down= big_op_spacing4-height(z);
if(shift_down<big_op_spacing2)shift_down= big_op_spacing2;
p= new_kern(shift_down);link(y)= p;link(p)= z;
p= new_kern(big_op_spacing5);link(z)= p;
depth(v)= depth(v)+big_op_spacing5+height(z)+depth(z)+shift_down;
}

/*:751*/
#line 14730 "tex.w"
;
new_hlist(q)= v;
}

/*:750*/
#line 14712 "tex.w"
;
return delta;
}

/*:749*//*752:*/
#line 14767 "tex.w"

void make_ord(pointer q)
{
int a;
pointer p,r;
restart:
if(math_type(subscr(q))==empty)if(math_type(supscr(q))==empty)
if(math_type(nucleus(q))==math_char)
{p= link(q);
if(p!=null)if((type(p)>=ord_noad)&&(type(p)<=punct_noad))
if(math_type(nucleus(p))==math_char)
if(fam(nucleus(p))==fam(nucleus(q)))
{math_type(nucleus(q))= math_text_char;
fetch(nucleus(q));
if(char_tag(cur_i)==lig_tag)
{a= lig_kern_start(cur_f)(cur_i);
cur_c= character(nucleus(p));
cur_i= font_info[a].qqqq;
if(skip_byte(cur_i)> stop_flag)
{a= lig_kern_restart(cur_f)(cur_i);
cur_i= font_info[a].qqqq;
}
loop{/*753:*/
#line 14809 "tex.w"

if(next_char(cur_i)==cur_c)if(skip_byte(cur_i)<=stop_flag)
if(op_byte(cur_i)>=kern_flag)
{p= new_kern(char_kern(cur_f)(cur_i));
link(p)= link(q);link(q)= p;return;
}
else{check_interrupt;
switch(op_byte(cur_i)){
qi(case 1):qi(case 5):character(nucleus(q))= rem_byte(cur_i);break;
qi(case 2):qi(case 6):character(nucleus(p))= rem_byte(cur_i);break;
qi(case 3):qi(case 7):qi(case 11):{r= new_noad();
character(nucleus(r))= rem_byte(cur_i);
fam(nucleus(r))= fam(nucleus(q));
link(q)= r;link(r)= p;
if(op_byte(cur_i)<qi(11))math_type(nucleus(r))= math_char;
else math_type(nucleus(r))= math_text_char;
}break;
default:{link(q)= link(p);
character(nucleus(q))= rem_byte(cur_i);
mem[subscr(q)]= mem[subscr(p)];mem[supscr(q)]= mem[supscr(p)];
free_node(p,noad_size);
}
}
if(op_byte(cur_i)> qi(3))return;
math_type(nucleus(q))= math_char;goto restart;
}

/*:753*/
#line 14791 "tex.w"
;
if(skip_byte(cur_i)>=stop_flag)return;
a= a+qo(skip_byte(cur_i))+1;
cur_i= font_info[a].qqqq;
}
}
}
}
}

/*:752*//*756:*/
#line 14891 "tex.w"

void make_scripts(pointer q,scaled delta)
{pointer p,x,y,z;
scaled shift_up,shift_down,clr;
small_number t;
p= new_hlist(q);
if(is_char_node(p))
{shift_up= 0;shift_down= 0;
}
else{z= hpack(p,natural);
if(cur_style<script_style)t= script_size;else t= script_script_size;
shift_up= height(z)-sup_drop(t);
shift_down= depth(z)+sub_drop(t);
free_node(z,box_node_size);
}
if(math_type(supscr(q))==empty)
/*757:*/
#line 14923 "tex.w"

{x= clean_box(subscr(q),sub_style(cur_style));
width(x)= width(x)+script_space;
if(shift_down<sub1(cur_size))shift_down= sub1(cur_size);
clr= height(x)-(abs(math_x_height(cur_size)*4)/5);
if(shift_down<clr)shift_down= clr;
shift_amount(x)= shift_down;
}

/*:757*/
#line 14907 "tex.w"

else{/*758:*/
#line 14935 "tex.w"

{x= clean_box(supscr(q),sup_style(cur_style));
width(x)= width(x)+script_space;
if(odd(cur_style))clr= sup3(cur_size);
else if(cur_style<text_style)clr= sup1(cur_size);
else clr= sup2(cur_size);
if(shift_up<clr)shift_up= clr;
clr= depth(x)+(abs(math_x_height(cur_size))/4);
if(shift_up<clr)shift_up= clr;
}

/*:758*/
#line 14908 "tex.w"
;
if(math_type(subscr(q))==empty)shift_amount(x)= -shift_up;
else/*759:*/
#line 14952 "tex.w"

{y= clean_box(subscr(q),sub_style(cur_style));
width(y)= width(y)+script_space;
if(shift_down<sub2(cur_size))shift_down= sub2(cur_size);
clr= 4*default_rule_thickness-
((shift_up-depth(x))-(height(y)-shift_down));
if(clr> 0)
{shift_down= shift_down+clr;
clr= (abs(math_x_height(cur_size)*4)/5)-(shift_up-depth(x));
if(clr> 0)
{shift_up= shift_up+clr;
shift_down= shift_down-clr;
}
}
shift_amount(x)= delta;
p= new_kern((shift_up-depth(x))-(height(y)-shift_down));link(x)= p;link(p)= y;
x= vpack(x,natural);shift_amount(x)= shift_down;
}

/*:759*/
#line 14911 "tex.w"
;
}
if(new_hlist(q)==null)new_hlist(q)= x;
else{p= new_hlist(q);
while(link(p)!=null)p= link(p);
link(p)= x;
}
}

/*:756*//*762:*/
#line 15024 "tex.w"

small_number make_left_right(pointer q,small_number style,
scaled max_d,scaled max_h)
{scaled delta,delta1,delta2;
if(style<script_style)cur_size= text_size;
else cur_size= 16*((style-text_style)/2);
delta2= max_d+axis_height(cur_size);
delta1= max_h+max_d-delta2;
if(delta2> delta1)delta1= delta2;
delta= (delta1/500)*delimiter_factor;
delta2= delta1+delta1-delimiter_shortfall;
if(delta<delta2)delta= delta2;
new_hlist(q)= var_delimiter(delimiter(q),cur_size,delta);
return type(q)-(left_noad-open_noad);
}

/*:762*/
#line 14291 "tex.w"

void mlist_to_hlist(void)
{

pointer mlist;
bool penalties;
small_number style;
small_number save_style;
pointer q;
pointer r;
small_number r_type;
small_number t;
pointer p,x,y,z;
int pen;
small_number s;
scaled max_h,max_d;
scaled delta;
mlist= cur_mlist;penalties= mlist_penalties;
style= cur_style;
q= mlist;r= null;r_type= op_noad;max_h= 0;max_d= 0;
/*703:*/
#line 13884 "tex.w"

{if(cur_style<script_style)cur_size= text_size;
else cur_size= 16*((cur_style-text_style)/2);
cur_mu= x_over_n(math_quad(cur_size),18);
}

/*:703*/
#line 14311 "tex.w"
;
while(q!=null)/*727:*/
#line 14322 "tex.w"

{/*728:*/
#line 14338 "tex.w"

reswitch:delta= 0;
switch(type(q)){
case bin_noad:switch(r_type){
case bin_noad:case op_noad:case rel_noad:case open_noad:case punct_noad:case left_noad:
{type(q)= ord_noad;goto reswitch;
}
default:do_nothing;
}break;
case rel_noad:case close_noad:case punct_noad:case right_noad:{
/*729:*/
#line 14358 "tex.w"

if(r_type==bin_noad)type(r)= ord_noad

/*:729*/
#line 14348 "tex.w"
;
if(type(q)==right_noad)goto done_with_noad;
}break;
/*733:*/
#line 14422 "tex.w"

case left_noad:goto done_with_noad;
case fraction_noad:{make_fraction(q);goto check_dimensions;
}
case op_noad:{delta= make_op(q);
if(subtype(q)==limits)goto check_dimensions;
}break;
case ord_noad:make_ord(q);break;
case open_noad:case inner_noad:do_nothing;break;
case radical_noad:make_radical(q);break;
case over_noad:make_over(q);break;
case under_noad:make_under(q);break;
case accent_noad:make_math_accent(q);break;
case vcenter_noad:make_vcenter(q);break;

/*:733*/
#line 14351 "tex.w"

/*730:*/
#line 14361 "tex.w"

case style_node:{cur_style= subtype(q);
/*703:*/
#line 13884 "tex.w"

{if(cur_style<script_style)cur_size= text_size;
else cur_size= 16*((cur_style-text_style)/2);
cur_mu= x_over_n(math_quad(cur_size),18);
}

/*:703*/
#line 14363 "tex.w"
;
goto done_with_node;
}
case choice_node:/*731:*/
#line 14381 "tex.w"

{switch(cur_style/2){
case 0:choose_mlist(display_mlist)break;
case 1:choose_mlist(text_mlist)break;
case 2:choose_mlist(script_mlist)break;
case 3:choose_mlist(script_script_mlist);
}
flush_node_list(display_mlist(q));
flush_node_list(text_mlist(q));
flush_node_list(script_mlist(q));
flush_node_list(script_script_mlist(q));
type(q)= style_node;subtype(q)= cur_style;width(q)= 0;depth(q)= 0;
if(p!=null)
{z= link(q);link(q)= p;
while(link(p)!=null)p= link(p);
link(p)= z;
}
goto done_with_node;
}

/*:731*/
#line 14367 "tex.w"

case ins_node:case mark_node:case adjust_node:
case whatsit_node:case penalty_node:case disc_node:goto done_with_node;
case rule_node:{if(height(q)> max_h)max_h= height(q);
if(depth(q)> max_d)max_d= depth(q);goto done_with_node;
}
case glue_node:{/*732:*/
#line 14409 "tex.w"

if(subtype(q)==mu_glue)
{x= glue_ptr(q);
y= math_glue(x,cur_mu);delete_glue_ref(x);glue_ptr(q)= y;
subtype(q)= normal;
}
else if((cur_size!=text_size)&&(subtype(q)==cond_math_glue))
{p= link(q);
if(p!=null)if((type(p)==glue_node)||(type(p)==kern_node))
{link(q)= link(p);link(p)= null;flush_node_list(p);
}
}

/*:732*/
#line 14373 "tex.w"
;
goto done_with_node;
}
case kern_node:{math_kern(q,cur_mu);goto done_with_node;
}

/*:730*/
#line 14352 "tex.w"

default:confusion(/*1664:*/
#line 25888 "tex.w"
539
/*:1664*/
#line 14353 "tex.w"
);

}
/*754:*/
#line 14848 "tex.w"

switch(math_type(nucleus(q))){
case math_char:case math_text_char:
/*755:*/
#line 14870 "tex.w"

{fetch(nucleus(q));
if(char_exists(cur_i))
{delta= char_italic(cur_f)(cur_i);p= new_character(cur_f,qo(cur_c));
if((math_type(nucleus(q))==math_text_char)&&(space(cur_f)!=0))
delta= 0;
if((math_type(subscr(q))==empty)&&(delta!=0))
{link(p)= new_kern(delta);delta= 0;
}
}
else p= null;
}

/*:755*/
#line 14853 "tex.w"
break;
case empty:p= null;break;
case sub_box:p= info(nucleus(q));break;
case sub_mlist:{cur_mlist= info(nucleus(q));save_style= cur_style;
mlist_penalties= false;mlist_to_hlist();

cur_style= save_style;/*703:*/
#line 13884 "tex.w"

{if(cur_style<script_style)cur_size= text_size;
else cur_size= 16*((cur_style-text_style)/2);
cur_mu= x_over_n(math_quad(cur_size),18);
}

/*:703*/
#line 14859 "tex.w"
;
p= hpack(link(temp_head),natural);
}break;
default:confusion(/*1665:*/
#line 25891 "tex.w"
540
/*:1665*/
#line 14862 "tex.w"
);

}
new_hlist(q)= p;
if((math_type(subscr(q))==empty)&&(math_type(supscr(q))==empty))
goto check_dimensions;
make_scripts(q,delta)

/*:754*/
#line 14356 "tex.w"


/*:728*/
#line 14325 "tex.w"
;
check_dimensions:z= hpack(new_hlist(q),natural);
if(height(z)> max_h)max_h= height(z);
if(depth(z)> max_d)max_d= depth(z);
free_node(z,box_node_size);
done_with_noad:r= q;r_type= type(r);
done_with_node:q= link(q);
}

/*:727*/
#line 14313 "tex.w"
;
/*729:*/
#line 14358 "tex.w"

if(r_type==bin_noad)type(r)= ord_noad

/*:729*/
#line 14314 "tex.w"
;
/*760:*/
#line 14977 "tex.w"

p= temp_head;link(p)= null;q= mlist;r_type= 0;cur_style= style;
/*703:*/
#line 13884 "tex.w"

{if(cur_style<script_style)cur_size= text_size;
else cur_size= 16*((cur_style-text_style)/2);
cur_mu= x_over_n(math_quad(cur_size),18);
}

/*:703*/
#line 14979 "tex.w"
;
while(q!=null)
{/*761:*/
#line 14994 "tex.w"

t= ord_noad;s= noad_size;pen= inf_penalty;
switch(type(q)){
case op_noad:case open_noad:case close_noad:case punct_noad:case inner_noad:t= type(q);break;
case bin_noad:{t= bin_noad;pen= bin_op_penalty;
}break;
case rel_noad:{t= rel_noad;pen= rel_penalty;
}break;
case ord_noad:case vcenter_noad:case over_noad:case under_noad:do_nothing;break;
case radical_noad:s= radical_noad_size;break;
case accent_noad:s= accent_noad_size;break;
case fraction_noad:{t= inner_noad;s= fraction_noad_size;
}break;
case left_noad:case right_noad:t= make_left_right(q,style,max_d,max_h);break;
case style_node:/*763:*/
#line 15040 "tex.w"

{cur_style= subtype(q);s= style_node_size;
/*703:*/
#line 13884 "tex.w"

{if(cur_style<script_style)cur_size= text_size;
else cur_size= 16*((cur_style-text_style)/2);
cur_mu= x_over_n(math_quad(cur_size),18);
}

/*:703*/
#line 15042 "tex.w"
;
goto delete_q;
}

/*:763*/
#line 15008 "tex.w"

case whatsit_node:case penalty_node:case rule_node:case disc_node:case adjust_node:case ins_node:case mark_node:
case glue_node:case kern_node:
{link(p)= q;p= q;q= link(q);link(p)= null;goto done;
}
default:confusion(/*1666:*/
#line 25894 "tex.w"
541
/*:1666*/
#line 15013 "tex.w"
);

}

/*:761*/
#line 14984 "tex.w"
;
/*766:*/
#line 15081 "tex.w"

if(r_type> 0)
{switch(so(str_pool[r_type*8+t+magic_offset])){
case'0':x= 0;break;
case'1':if(cur_style<script_style)x= thin_mu_skip_code;else x= 0;break;
case'2':x= thin_mu_skip_code;break;
case'3':if(cur_style<script_style)x= med_mu_skip_code;else x= 0;break;
case'4':if(cur_style<script_style)x= thick_mu_skip_code;else x= 0;break;
default:confusion(/*1668:*/
#line 25900 "tex.w"
543
/*:1668*/
#line 15089 "tex.w"
);

}
if(x!=0)
{y= math_glue(glue_par(x),cur_mu);
z= new_glue(y);glue_ref_count(y)= null;link(p)= z;p= z;
subtype(z)= x+1;
}
}

/*:766*/
#line 14985 "tex.w"
;
/*767:*/
#line 15103 "tex.w"

if(new_hlist(q)!=null)
{link(p)= new_hlist(q);
do{p= link(p);
}while(!(link(p)==null));
}
if(penalties)if(link(q)!=null)if(pen<inf_penalty)
{r_type= type(link(q));
if(r_type!=penalty_node)if(r_type!=rel_noad)
{z= new_penalty(pen);link(p)= z;p= z;
}
}

/*:767*/
#line 14986 "tex.w"
;
r_type= t;
delete_q:r= q;q= link(q);free_node(r,s);
done:;}

/*:760*/
#line 14316 "tex.w"
;
}

/*:726*//*772:*/
#line 15292 "tex.w"
void push_alignment(void)
{pointer p;
p= get_node(align_stack_node_size);
link(p)= align_ptr;info(p)= cur_align;
llink(p)= preamble;rlink(p)= cur_span;
mem[p+2].i= cur_loop;mem[p+3].i= align_state;
info(p+4)= cur_head;link(p+4)= cur_tail;
align_ptr= p;
cur_head= get_avail();
}

void pop_alignment(void)
{pointer p;
free_avail(cur_head);
p= align_ptr;
cur_tail= link(p+4);cur_head= info(p+4);
align_state= mem[p+3].i;cur_loop= mem[p+2].i;
cur_span= rlink(p);preamble= llink(p);
cur_align= info(p);align_ptr= link(p);
free_node(p,align_stack_node_size);
}

/*:772*//*774:*/
#line 15332 "tex.w"
/*782:*/
#line 15444 "tex.w"

void get_preamble_token(void)
{
restart:get_token();
while((cur_chr==span_code)&&(cur_cmd==tab_mark))
{get_token();
if(cur_cmd> max_command)
{expand();get_token();
}
}
if(cur_cmd==endv)
fatal_error("(interwoven alignment preambles are not allowed)");

if((cur_cmd==assign_glue)&&(cur_chr==glue_base+tab_skip_code))
{scan_optional_equals();scan_glue(glue_val);
if(global_defs> 0)geq_define(glue_base+tab_skip_code,glue_ref,cur_val);
else eq_define(glue_base+tab_skip_code,glue_ref,cur_val);
goto restart;
}
}

/*:782*/
#line 15332 "tex.w"

void align_peek(void);
void normal_paragraph(void);
void init_align(void)
{
pointer save_cs_ptr;
pointer p;
save_cs_ptr= cur_cs;
push_alignment();align_state= -1000000;
/*776:*/
#line 15365 "tex.w"

if((mode==mmode)&&((tail!=head)||(incompleat_noad!=null)))
{print_err("Improper ");print_esc(/*1542:*/
#line 25522 "tex.w"
417
/*:1542*/
#line 15367 "tex.w"
);print_str(" inside $$'s");

help3("Displays can use special alignments (like \\eqalignno)")
("only if nothing but the alignment itself is between $$'s.")
("So I've deleted the formulas that preceded this alignment.");
error();flush_math();
}

/*:776*/
#line 15341 "tex.w"
;
push_nest();
/*775:*/
#line 15356 "tex.w"

if(mode==mmode)
{mode= -vmode;prev_depth= nest[nest_ptr-2].aux_field.sc;
}
else if(mode> 0)negate(mode)

/*:775*/
#line 15343 "tex.w"
;
scan_spec(align_group,false);
/*777:*/
#line 15375 "tex.w"

preamble= null;cur_align= align_head;cur_loop= null;scanner_status= aligning;
warning_index= save_cs_ptr;align_state= -1000000;

loop{/*778:*/
#line 15386 "tex.w"

link(cur_align)= new_param_glue(tab_skip_code);
cur_align= link(cur_align)

/*:778*/
#line 15379 "tex.w"
;
if(cur_cmd==car_ret)goto done;
/*779:*/
#line 15390 "tex.w"

/*783:*/
#line 15467 "tex.w"

p= hold_head;link(p)= null;
loop{get_preamble_token();
if(cur_cmd==mac_param)goto done1;
if((cur_cmd<=car_ret)&&(cur_cmd>=tab_mark)&&(align_state==-1000000))
if((p==hold_head)&&(cur_loop==null)&&(cur_cmd==tab_mark)
)cur_loop= cur_align;
else{print_err("Missing # inserted in alignment preamble");

help3("There should be exactly one # between &'s, when an")
("\\halign or \\valign is being set up. In this case you had")
("none, so I've put one in; maybe that will work.");
back_error();goto done1;
}
else if((cur_cmd!=spacer)||(p!=hold_head))
{link(p)= get_avail();p= link(p);info(p)= cur_tok;
}
}
done1:

/*:783*/
#line 15391 "tex.w"
;
link(cur_align)= new_null_box();cur_align= link(cur_align);
info(cur_align)= end_span;width(cur_align)= null_flag;
u_part(cur_align)= link(hold_head);
/*784:*/
#line 15487 "tex.w"

p= hold_head;link(p)= null;
loop{resume:get_preamble_token();
if((cur_cmd<=car_ret)&&(cur_cmd>=tab_mark)&&(align_state==-1000000))
goto done2;
if(cur_cmd==mac_param)
{print_err("Only one # is allowed per tab");

help3("There should be exactly one # between &'s, when an")
("\\halign or \\valign is being set up. In this case you had")
("more than one, so I'm ignoring all but the first.");
error();goto resume;
}
link(p)= get_avail();p= link(p);info(p)= cur_tok;
}
done2:link(p)= get_avail();p= link(p);
info(p)= end_template_token

/*:784*/
#line 15395 "tex.w"
;
v_part(cur_align)= link(hold_head)

/*:779*/
#line 15382 "tex.w"
;
}
done:scanner_status= normal

/*:777*/
#line 15345 "tex.w"
;
new_save_level(align_group);
if(every_cr!=null)begin_token_list(every_cr,every_cr_text);
align_peek();
}

/*:774*//*786:*/
#line 15537 "tex.w"
/*787:*/
#line 15550 "tex.w"

void init_span(pointer p)
{push_nest();
if(mode==-hmode)space_factor= 1000;
else{prev_depth= ignore_depth;normal_paragraph();
}
cur_span= p;
}

/*:787*/
#line 15537 "tex.w"

void init_row(void)
{push_nest();mode= (-hmode-vmode)-mode;
if(mode==-hmode)space_factor= 0;else prev_depth= 0;
tail_append(new_glue(glue_ptr(preamble)));
subtype(tail)= tab_skip_code+1;
cur_align= link(preamble);cur_tail= cur_head;init_span(cur_align);
}

/*:786*//*788:*/
#line 15566 "tex.w"
void init_col(void)
{extra_info(cur_align)= cur_cmd;
if(cur_cmd==omit)align_state= 0;
else{back_input();begin_token_list(u_part(cur_align),u_template);
}
}

/*:788*//*791:*/
#line 15603 "tex.w"
bool fin_col(void)
{
pointer p;
pointer q,r;
pointer s;
pointer u;
scaled w;
glue_ord o;
halfword n;
if(cur_align==null)confusion(/*1673:*/
#line 25915 "tex.w"
548
/*:1673*/
#line 15612 "tex.w"
);
q= link(cur_align);if(q==null)confusion(/*1673:*/
#line 25915 "tex.w"
548
/*:1673*/
#line 15613 "tex.w"
);

if(align_state<500000)
fatal_error("(interwoven alignment preambles are not allowed)");

p= link(q);
/*792:*/
#line 15634 "tex.w"

if((p==null)&&(extra_info(cur_align)<cr_code))
if(cur_loop!=null)/*793:*/
#line 15646 "tex.w"

{link(q)= new_null_box();p= link(q);
info(p)= end_span;width(p)= null_flag;cur_loop= link(cur_loop);
/*794:*/
#line 15654 "tex.w"

q= hold_head;r= u_part(cur_loop);
while(r!=null)
{link(q)= get_avail();q= link(q);info(q)= info(r);r= link(r);
}
link(q)= null;u_part(p)= link(hold_head);
q= hold_head;r= v_part(cur_loop);
while(r!=null)
{link(q)= get_avail();q= link(q);info(q)= info(r);r= link(r);
}
link(q)= null;v_part(p)= link(hold_head)

/*:794*/
#line 15649 "tex.w"
;
cur_loop= link(cur_loop);
link(p)= new_glue(glue_ptr(cur_loop));
}

/*:793*/
#line 15636 "tex.w"

else{print_err("Extra alignment tab has been changed to ");

print_esc(/*1670:*/
#line 25906 "tex.w"
545
/*:1670*/
#line 15639 "tex.w"
);
help3("You have given more \\span or & marks than there were")
("in the preamble to the \\halign or \\valign now in progress.")
("So I'll assume that you meant to type \\cr instead.");
extra_info(cur_align)= cr_code;error();
}

/*:792*/
#line 15619 "tex.w"
;
if(extra_info(cur_align)!=span_code)
{unsave();new_save_level(align_group);
/*796:*/
#line 15670 "tex.w"

{if(mode==-hmode)
{adjust_tail= cur_tail;u= hpack(link(head),natural);w= width(u);
cur_tail= adjust_tail;adjust_tail= null;
}
else{u= vpackage(link(head),natural,0);w= height(u);
}
n= min_quarterword;
if(cur_span!=cur_align)/*798:*/
#line 15704 "tex.w"

{q= cur_span;
do{incr(n);q= link(link(q));
}while(!(q==cur_align));
if(n> max_quarterword)confusion(/*1674:*/
#line 25918 "tex.w"
549
/*:1674*/
#line 15708 "tex.w"
);


q= cur_span;while(link(info(q))<n)q= info(q);
if(link(info(q))> n)
{s= get_node(span_node_size);info(s)= info(q);link(s)= n;
info(q)= s;width(s)= w;
}
else if(width(info(q))<w)width(info(q))= w;
}

/*:798*/
#line 15678 "tex.w"

else if(w> width(cur_align))width(cur_align)= w;
type(u)= unset_node;span_count(u)= n;
/*659:*/
#line 13082 "tex.w"

if(total_stretch[filll]!=0)o= filll;
else if(total_stretch[fill]!=0)o= fill;
else if(total_stretch[fil]!=0)o= fil;
else o= normal

/*:659*/
#line 15681 "tex.w"
;
glue_order(u)= o;glue_stretch(u)= total_stretch[o];
/*665:*/
#line 13146 "tex.w"

if(total_shrink[filll]!=0)o= filll;
else if(total_shrink[fill]!=0)o= fill;
else if(total_shrink[fil]!=0)o= fil;
else o= normal

/*:665*/
#line 15683 "tex.w"
;
glue_sign(u)= o;glue_shrink(u)= total_shrink[o];
pop_nest();link(tail)= u;tail= u;
}

/*:796*/
#line 15622 "tex.w"
;
/*795:*/
#line 15666 "tex.w"

tail_append(new_glue(glue_ptr(link(cur_align))));
subtype(tail)= tab_skip_code+1

/*:795*/
#line 15623 "tex.w"
;
if(extra_info(cur_align)>=cr_code)
{return true;
}
init_span(p);
}
align_state= 1000000;/*406:*/
#line 8269 "tex.w"

do{get_x_token();
}while(!(cur_cmd!=spacer))

/*:406*/
#line 15629 "tex.w"
;
cur_align= p;
init_col();return false;
}

/*:791*//*799:*/
#line 15724 "tex.w"
void fin_row(void)
{pointer p;
if(mode==-hmode)
{p= hpack(link(head),natural);
pop_nest();append_to_vlist(p);
if(cur_head!=cur_tail)
{link(tail)= link(cur_head);tail= cur_tail;
}
}
else{p= vpack(link(head),natural);pop_nest();
link(tail)= p;tail= p;space_factor= 1000;
}
type(p)= unset_node;glue_stretch(p)= 0;
if(every_cr!=null)begin_token_list(every_cr,every_cr_text);
align_peek();
}

/*:799*//*800:*/
#line 15745 "tex.w"
void do_assignments(void);
void resume_after_display(void);
void build_page(void);
void fin_align(void)
{pointer p,q,r,s,u,v;
scaled t,w;
scaled o;
halfword n;
scaled rule_save;
memory_word aux_save;
if(cur_group!=align_group)confusion(/*1675:*/
#line 25921 "tex.w"
550
/*:1675*/
#line 15755 "tex.w"
);

unsave();
if(cur_group!=align_group)confusion(/*1676:*/
#line 25924 "tex.w"
551
/*:1676*/
#line 15758 "tex.w"
);
unsave();
if(nest[nest_ptr-1].mode_field==mmode)o= display_indent;
else o= 0;
/*801:*/
#line 15795 "tex.w"

q= link(preamble);
do{flush_list(u_part(q));flush_list(v_part(q));
p= link(link(q));
if(width(q)==null_flag)
/*802:*/
#line 15809 "tex.w"

{width(q)= 0;r= link(q);s= glue_ptr(r);
if(s!=zero_glue)
{add_glue_ref(zero_glue);delete_glue_ref(s);
glue_ptr(r)= zero_glue;
}
}

/*:802*/
#line 15800 "tex.w"
;
if(info(q)!=end_span)
/*803:*/
#line 15824 "tex.w"

{t= width(q)+width(glue_ptr(link(q)));
r= info(q);s= end_span;info(s)= p;n= min_quarterword+1;
do{width(r)= width(r)-t;u= info(r);
while(link(r)> n)
{s= info(s);n= link(info(s))+1;
}
if(link(r)<n)
{info(r)= info(s);info(s)= r;decr(link(r));s= r;
}
else{if(width(r)> width(info(s)))width(info(s))= width(r);
free_node(r,span_node_size);
}
r= u;
}while(!(r==end_span));
}

/*:803*/
#line 15803 "tex.w"
;
type(q)= unset_node;span_count(q)= min_quarterword;height(q)= 0;
depth(q)= 0;glue_order(q)= normal;glue_sign(q)= normal;
glue_stretch(q)= 0;glue_shrink(q)= 0;q= p;
}while(!(q==null))

/*:801*/
#line 15763 "tex.w"
;
/*804:*/
#line 15847 "tex.w"

save_ptr= save_ptr-2;pack_begin_line= -mode_line;
if(mode==-vmode)
{rule_save= overfull_rule;
overfull_rule= 0;
p= hpack(preamble,saved(1),saved(0));overfull_rule= rule_save;
}
else{q= link(preamble);
do{height(q)= width(q);width(q)= 0;q= link(link(q));
}while(!(q==null));
p= vpack(preamble,saved(1),saved(0));
q= link(preamble);
do{width(q)= height(q);height(q)= 0;q= link(link(q));
}while(!(q==null));
}
pack_begin_line= 0

/*:804*/
#line 15765 "tex.w"
;
/*805:*/
#line 15864 "tex.w"

q= link(head);s= head;
while(q!=null)
{if(!is_char_node(q))
if(type(q)==unset_node)
/*807:*/
#line 15888 "tex.w"

{if(mode==-vmode)
{type(q)= hlist_node;width(q)= width(p);
}
else{type(q)= vlist_node;height(q)= height(p);
}
glue_order(q)= glue_order(p);glue_sign(q)= glue_sign(p);
glue_set(q)= glue_set(p);shift_amount(q)= o;
r= link(list_ptr(q));s= link(list_ptr(p));
do{/*808:*/
#line 15907 "tex.w"

n= span_count(r);t= width(s);w= t;u= hold_head;
while(n> min_quarterword)
{decr(n);
/*809:*/
#line 15924 "tex.w"

s= link(s);v= glue_ptr(s);link(u)= new_glue(v);u= link(u);
subtype(u)= tab_skip_code+1;t= t+width(v);
if(glue_sign(p)==stretching)
{if(stretch_order(v)==glue_order(p))
t= t+round(float(glue_set(p))*stretch(v));

}
else if(glue_sign(p)==shrinking)
{if(shrink_order(v)==glue_order(p))
t= t-round(float(glue_set(p))*shrink(v));
}
s= link(s);link(u)= new_null_box();u= link(u);t= t+width(s);
if(mode==-vmode)width(u)= width(s);else
{type(u)= vlist_node;height(u)= width(s);
}

/*:809*/
#line 15912 "tex.w"
;
}
if(mode==-vmode)
/*810:*/
#line 15941 "tex.w"

{height(r)= height(q);depth(r)= depth(q);
if(t==width(r))
{glue_sign(r)= normal;glue_order(r)= normal;
set_glue_ratio_zero(glue_set(r));
}
else if(t> width(r))
{glue_sign(r)= stretching;
if(glue_stretch(r)==0)set_glue_ratio_zero(glue_set(r));
else glue_set(r)= unfloat((t-width(r))/(double)glue_stretch(r));

}
else{glue_order(r)= glue_sign(r);glue_sign(r)= shrinking;
if(glue_shrink(r)==0)set_glue_ratio_zero(glue_set(r));
else if((glue_order(r)==normal)&&(width(r)-t> glue_shrink(r)))
set_glue_ratio_one(glue_set(r));
else glue_set(r)= unfloat((width(r)-t)/(double)glue_shrink(r));
}
width(r)= w;type(r)= hlist_node;
}

/*:810*/
#line 15916 "tex.w"

else/*811:*/
#line 15962 "tex.w"

{width(r)= width(q);
if(t==height(r))
{glue_sign(r)= normal;glue_order(r)= normal;
set_glue_ratio_zero(glue_set(r));
}
else if(t> height(r))
{glue_sign(r)= stretching;
if(glue_stretch(r)==0)set_glue_ratio_zero(glue_set(r));
else glue_set(r)= unfloat((t-height(r))/(double)glue_stretch(r));

}
else{glue_order(r)= glue_sign(r);glue_sign(r)= shrinking;
if(glue_shrink(r)==0)set_glue_ratio_zero(glue_set(r));
else if((glue_order(r)==normal)&&(height(r)-t> glue_shrink(r)))
set_glue_ratio_one(glue_set(r));
else glue_set(r)= unfloat((height(r)-t)/(double)glue_shrink(r));
}
height(r)= w;type(r)= vlist_node;
}

/*:811*/
#line 15918 "tex.w"
;
shift_amount(r)= 0;
if(u!=hold_head)
{link(u)= link(r);link(r)= link(hold_head);r= u;
}

/*:808*/
#line 15897 "tex.w"
;
r= link(link(r));s= link(link(s));
}while(!(r==null));
}

/*:807*/
#line 15869 "tex.w"

else if(type(q)==rule_node)
/*806:*/
#line 15875 "tex.w"

{if(is_running(width(q)))width(q)= width(p);
if(is_running(height(q)))height(q)= height(p);
if(is_running(depth(q)))depth(q)= depth(p);
if(o!=0)
{r= link(q);link(q)= null;q= hpack(q,natural);
shift_amount(q)= o;link(q)= r;link(s)= q;
}
}

/*:806*/
#line 15871 "tex.w"
;
s= q;q= link(q);
}

/*:805*/
#line 15766 "tex.w"
;
flush_node_list(p);pop_alignment();
/*812:*/
#line 15993 "tex.w"

aux_save= aux;p= link(head);q= tail;pop_nest();
if(mode==mmode)/*1206:*/
#line 22615 "tex.w"

{do_assignments();
if(cur_cmd!=math_shift)/*1207:*/
#line 22629 "tex.w"

{print_err("Missing $$ inserted");

help2("Displays can use special alignments (like \\eqalignno)")
("only if nothing but the alignment itself is between $$'s.");
back_error();
}

/*:1207*/
#line 22617 "tex.w"

else/*1197:*/
#line 22467 "tex.w"

{get_x_token();
if(cur_cmd!=math_shift)
{print_err("Display math should end with $$");

help2("The `$' that I just saw supposedly matches a previous `$$'.")
("So I shall assume that you typed `$$' both times.");
back_error();
}
}

/*:1197*/
#line 22618 "tex.w"
;
pop_nest();
tail_append(new_penalty(pre_display_penalty));
tail_append(new_param_glue(above_display_skip_code));
link(tail)= p;
if(p!=null)tail= q;
tail_append(new_penalty(post_display_penalty));
tail_append(new_param_glue(below_display_skip_code));
prev_depth= aux_save.sc;resume_after_display();
}

/*:1206*/
#line 15995 "tex.w"

else{aux= aux_save;link(tail)= p;
if(p!=null)tail= q;
if(mode==vmode)build_page();
}

/*:812*/
#line 15768 "tex.w"
;
}
/*785:*/
#line 15515 "tex.w"

void align_peek(void)
{
restart:align_state= 1000000;/*406:*/
#line 8269 "tex.w"

do{get_x_token();
}while(!(cur_cmd!=spacer))

/*:406*/
#line 15518 "tex.w"
;
if(cur_cmd==no_align)
{scan_left_brace();new_save_level(no_align_group);
if(mode==-vmode)normal_paragraph();
}
else if(cur_cmd==right_brace)fin_align();
else if((cur_cmd==car_ret)&&(cur_chr==cr_cr_code))
goto restart;
else{init_row();
init_col();
}
}

/*:785*/
#line 15770 "tex.w"


/*:800*//*815:*/
#line 16057 "tex.w"
/*826:*/
#line 16291 "tex.w"

pointer finite_shrink(pointer p)
{pointer q;
if(no_shrink_error_yet)
{no_shrink_error_yet= false;
print_err("Infinite glue shrinkage found in a paragraph");

help5("The paragraph just ended includes some glue that has")
("infinite shrinkability, e.g., `\\hskip 0pt minus 1fil'.")
("Such glue doesn't belong there---it allows a paragraph")
("of any length to fit on one line. But it's safe to proceed,")
("since the offensive shrinkability has been made finite.");
error();
}
q= new_spec(p);shrink_order(q)= normal;
delete_glue_ref(p);return q;
}

/*:826*//*829:*/
#line 16363 "tex.w"

void try_break(int pi,small_number break_type)
{
pointer r;
pointer prev_r;
halfword old_l;
bool no_break_yet;
/*830:*/
#line 16391 "tex.w"

pointer prev_prev_r;
pointer s;
pointer q;
pointer v;
int t;
internal_font_number f;
halfword l;
bool node_r_stays_active;
scaled line_width;
uint8_t fit_class;
halfword b;
int d;
bool artificial_demerits;
#ifdef STAT
pointer save_link;
#endif
scaled shortfall;

/*:830*/
#line 16370 "tex.w"

/*831:*/
#line 16410 "tex.w"

if(abs(pi)>=inf_penalty)
if(pi> 0)goto end;
else pi= eject_penalty

/*:831*/
#line 16371 "tex.w"
;
no_break_yet= true;prev_r= active;old_l= 0;
do_all_six(copy_to_cur_active);
loop{resume:r= link(prev_r);
/*832:*/
#line 16420 "tex.w"


if(type(r)==delta_node)
{do_all_six(update_width);
prev_prev_r= prev_r;prev_r= r;goto resume;
}

/*:832*/
#line 16376 "tex.w"
;
/*835:*/
#line 16465 "tex.w"

{l= line_number(r);
if(l> old_l)
{
if((minimum_demerits<awful_bad)&&
((old_l!=easy_line)||(r==last_active)))
/*836:*/
#line 16483 "tex.w"

{if(no_break_yet)/*837:*/
#line 16519 "tex.w"

{no_break_yet= false;do_all_six(set_break_width_to_background);
s= cur_p;
if(break_type> unhyphenated)if(cur_p!=null)
/*840:*/
#line 16562 "tex.w"

{t= replace_count(cur_p);v= cur_p;s= post_break(cur_p);
while(t> 0)
{decr(t);v= link(v);
/*841:*/
#line 16580 "tex.w"

if(is_char_node(v))
{f= font(v);
break_width[1]= break_width[1]-char_width(f)(char_info(f)(character(v)));
}
else switch(type(v)){
case ligature_node:{f= font(lig_char(v));
break_width[1]= break_width[1]-
char_width(f)(char_info(f)(character(lig_char(v))));
}break;
case hlist_node:case vlist_node:case rule_node:case kern_node:
break_width[1]= break_width[1]-width(v);break;
default:confusion(/*1677:*/
#line 25927 "tex.w"
552
/*:1677*/
#line 16592 "tex.w"
);

}

/*:841*/
#line 16566 "tex.w"
;
}
while(s!=null)
{/*842:*/
#line 16596 "tex.w"

if(is_char_node(s))
{f= font(s);
break_width[1]= break_width[1]+char_width(f)(char_info(f)(character(s)));
}
else switch(type(s)){
case ligature_node:{f= font(lig_char(s));
break_width[1]= break_width[1]+
char_width(f)(char_info(f)(character(lig_char(s))));
}break;
case hlist_node:case vlist_node:case rule_node:case kern_node:
break_width[1]= break_width[1]+width(s);break;
default:confusion(/*1678:*/
#line 25930 "tex.w"
553
/*:1678*/
#line 16608 "tex.w"
);

}

/*:842*/
#line 16569 "tex.w"
;
s= link(s);
}
break_width[1]= break_width[1]+disc_width;
if(post_break(cur_p)==null)s= link(v);

}

/*:840*/
#line 16523 "tex.w"
;
while(s!=null)
{if(is_char_node(s))goto done;
switch(type(s)){
case glue_node:/*838:*/
#line 16538 "tex.w"

{v= glue_ptr(s);break_width[1]= break_width[1]-width(v);
break_width[2+stretch_order(v)]= break_width[2+stretch_order(v)]-stretch(v);
break_width[6]= break_width[6]-shrink(v);
}

/*:838*/
#line 16527 "tex.w"
break;
case penalty_node:do_nothing;break;
case math_node:break_width[1]= break_width[1]-width(s);break;
case kern_node:if(subtype(s)!=explicit)goto done;
else break_width[1]= break_width[1]-width(s);break;
default:goto done;
}
s= link(s);
}
done:;}

/*:837*/
#line 16484 "tex.w"
;
/*843:*/
#line 16621 "tex.w"

if(type(prev_r)==delta_node)
{do_all_six(convert_to_break_width);
}
else if(prev_r==active)
{do_all_six(store_break_width);
}
else{q= get_node(delta_node_size);link(q)= r;type(q)= delta_node;
subtype(q)= 0;
do_all_six(new_delta_to_break_width);
link(prev_r)= q;prev_prev_r= prev_r;prev_r= q;
}

/*:843*/
#line 16485 "tex.w"
;
if(abs(adj_demerits)>=awful_bad-minimum_demerits)
minimum_demerits= awful_bad-1;
else minimum_demerits= minimum_demerits+abs(adj_demerits);
for(fit_class= very_loose_fit;fit_class<=tight_fit;fit_class++)
{if(minimal_demerits[fit_class]<=minimum_demerits)
/*845:*/
#line 16651 "tex.w"

{q= get_node(passive_node_size);
link(q)= passive;passive= q;cur_break(q)= cur_p;
#ifdef STAT
incr(pass_number);serial(q)= pass_number;
#endif

prev_break(q)= best_place[fit_class];
q= get_node(active_node_size);break_node(q)= passive;
line_number(q)= best_pl_line[fit_class]+1;
fitness(q)= fit_class;type(q)= break_type;
total_demerits(q)= minimal_demerits[fit_class];
link(q)= r;link(prev_r)= q;prev_r= q;
#ifdef STAT
if(tracing_paragraphs> 0)
/*846:*/
#line 16671 "tex.w"

{print_nl("@@");print_int(serial(passive));

print_str(": line ");print_int(line_number(q)-1);
print_char('.');print_int(fit_class);
if(break_type==hyphenated)print_char('-');
print_str(" t=");print_int(total_demerits(q));
print_str(" -> @@");
if(prev_break(passive)==null)print_char('0');
else print_int(serial(prev_break(passive)));
}

/*:846*/
#line 16666 "tex.w"
;
#endif

}

/*:845*/
#line 16491 "tex.w"
;
minimal_demerits[fit_class]= awful_bad;
}
minimum_demerits= awful_bad;
/*844:*/
#line 16640 "tex.w"

if(r!=last_active)
{q= get_node(delta_node_size);link(q)= r;type(q)= delta_node;
subtype(q)= 0;
do_all_six(new_delta_from_break_width);
link(prev_r)= q;prev_prev_r= prev_r;prev_r= q;
}

/*:844*/
#line 16495 "tex.w"
;
}

/*:836*/
#line 16471 "tex.w"
;
if(r==last_active)goto end;
/*850:*/
#line 16747 "tex.w"

if(l> easy_line)
{line_width= second_width;old_l= max_halfword-1;
}
else{old_l= l;
if(l> last_special_line)line_width= second_width;
else if(par_shape_ptr==null)line_width= first_width;
else line_width= mem[par_shape_ptr+2*l].sc;
}

/*:850*/
#line 16473 "tex.w"
;
}
}

/*:835*/
#line 16379 "tex.w"
;
/*851:*/
#line 16767 "tex.w"

{artificial_demerits= false;

shortfall= line_width-cur_active_width[1];
if(shortfall> 0)
/*852:*/
#line 16797 "tex.w"

if((cur_active_width[3]!=0)||(cur_active_width[4]!=0)||
(cur_active_width[5]!=0))
{b= 0;fit_class= decent_fit;
}
else{if(shortfall> 7230584)if(cur_active_width[2]<1663497)
{b= inf_bad;fit_class= very_loose_fit;goto done1;
}
b= badness(shortfall,cur_active_width[2]);
if(b> 12)
if(b> 99)fit_class= very_loose_fit;
else fit_class= loose_fit;
else fit_class= decent_fit;
done1:;
}

/*:852*/
#line 16773 "tex.w"

else/*853:*/
#line 16816 "tex.w"

{if(-shortfall> cur_active_width[6])b= inf_bad+1;
else b= badness(-shortfall,cur_active_width[6]);
if(b> 12)fit_class= tight_fit;else fit_class= decent_fit;
}

/*:853*/
#line 16775 "tex.w"
;
if((b> inf_bad)||(pi==eject_penalty))
/*854:*/
#line 16831 "tex.w"

{if(final_pass&&(minimum_demerits==awful_bad)&&
(link(r)==last_active)&&
(prev_r==active))
artificial_demerits= true;
else if(b> threshold)goto deactivate;
node_r_stays_active= false;
}

/*:854*/
#line 16778 "tex.w"

else{prev_r= r;
if(b> threshold)goto resume;
node_r_stays_active= true;
}
/*855:*/
#line 16847 "tex.w"

if(artificial_demerits)d= 0;
else/*859:*/
#line 16908 "tex.w"

{d= line_penalty+b;
if(abs(d)>=10000)d= 100000000;else d= d*d;
if(pi!=0)
if(pi> 0)d= d+pi*pi;
else if(pi> eject_penalty)d= d-pi*pi;
if((break_type==hyphenated)&&(type(r)==hyphenated))
if(cur_p!=null)d= d+double_hyphen_demerits;
else d= d+final_hyphen_demerits;
if(abs(fit_class-fitness(r))> 1)d= d+adj_demerits;
}

/*:859*/
#line 16849 "tex.w"
;
#ifdef STAT
if(tracing_paragraphs> 0)
/*856:*/
#line 16863 "tex.w"

{if(printed_node!=cur_p)
/*857:*/
#line 16885 "tex.w"

{print_nl("");
if(cur_p==null)short_display(link(printed_node));
else{save_link= link(cur_p);
link(cur_p)= null;print_nl("");short_display(link(printed_node));
link(cur_p)= save_link;
}
printed_node= cur_p;
}

/*:857*/
#line 16865 "tex.w"
;
print_nl("@");

if(cur_p==null)print_esc(/*1569:*/
#line 25603 "tex.w"
444
/*:1569*/
#line 16868 "tex.w"
);
else if(type(cur_p)!=glue_node)
{if(type(cur_p)==penalty_node)print_esc(/*1553:*/
#line 25555 "tex.w"
428
/*:1553*/
#line 16870 "tex.w"
);
else if(type(cur_p)==disc_node)print_esc(/*1400:*/
#line 25096 "tex.w"
275
/*:1400*/
#line 16871 "tex.w"
);
else if(type(cur_p)==kern_node)print_esc(/*1396:*/
#line 25084 "tex.w"
271
/*:1396*/
#line 16872 "tex.w"
);
else print_esc(/*1398:*/
#line 25090 "tex.w"
273
/*:1398*/
#line 16873 "tex.w"
);
}
print_str(" via @@");
if(break_node(r)==null)print_char('0');
else print_int(serial(break_node(r)));
print_str(" b=");
if(b> inf_bad)print_char('*');else print_int(b);

print_str(" p=");print_int(pi);print_str(" d=");
if(artificial_demerits)print_char('*');else print_int(d);
}

/*:856*/
#line 16852 "tex.w"
;
#endif

d= d+total_demerits(r);

if(d<=minimal_demerits[fit_class])
{minimal_demerits[fit_class]= d;
best_place[fit_class]= break_node(r);best_pl_line[fit_class]= l;
if(d<minimum_demerits)minimum_demerits= d;
}

/*:855*/
#line 16783 "tex.w"
;
if(node_r_stays_active)goto resume;
deactivate:/*860:*/
#line 16930 "tex.w"

link(prev_r)= link(r);free_node(r,active_node_size);
if(prev_r==active)/*861:*/
#line 16955 "tex.w"

{r= link(active);
if(type(r)==delta_node)
{do_all_six(update_active);
do_all_six(copy_to_cur_active);
link(active)= link(r);free_node(r,delta_node_size);
}
}

/*:861*/
#line 16933 "tex.w"

else if(type(prev_r)==delta_node)
{r= link(prev_r);
if(r==last_active)
{do_all_six(downdate_width);
link(prev_prev_r)= last_active;
free_node(prev_r,delta_node_size);prev_r= prev_prev_r;
}
else if(type(r)==delta_node)
{do_all_six(update_width);
do_all_six(combine_two_deltas);
link(prev_r)= link(r);free_node(r,delta_node_size);
}
}

/*:860*/
#line 16785 "tex.w"
;
}

/*:851*/
#line 16382 "tex.w"
;
}
end:;
#ifdef STAT
/*858:*/
#line 16900 "tex.w"

if(cur_p==printed_node)if(cur_p!=null)if(type(cur_p)==disc_node)
{t= replace_count(cur_p);
while(t> 0)
{decr(t);printed_node= link(printed_node);
}
}

/*:858*/
#line 16386 "tex.w"
;
#endif

}

/*:829*//*877:*/
#line 17281 "tex.w"

void post_line_break(int final_widow_penalty)
{
pointer q,r,s;
bool disc_break;
bool post_disc_break;
scaled cur_width;
scaled cur_indent;
quarterword t;
int pen;
halfword cur_line;
/*878:*/
#line 17312 "tex.w"

q= break_node(best_bet);cur_p= null;
do{r= q;q= prev_break(q);next_break(r)= cur_p;cur_p= r;
}while(!(q==null))

/*:878*/
#line 17292 "tex.w"
;
cur_line= prev_graf+1;
do{/*880:*/
#line 17349 "tex.w"

/*881:*/
#line 17361 "tex.w"

q= cur_break(cur_p);disc_break= false;post_disc_break= false;
if(q!=null)
if(type(q)==glue_node)
{delete_glue_ref(glue_ptr(q));
glue_ptr(q)= right_skip;
subtype(q)= right_skip_code+1;add_glue_ref(right_skip);
goto done;
}
else{if(type(q)==disc_node)
/*882:*/
#line 17380 "tex.w"

{t= replace_count(q);
/*883:*/
#line 17388 "tex.w"

if(t==0)r= link(q);
else{r= q;
while(t> 1)
{r= link(r);decr(t);
}
s= link(r);
r= link(s);link(s)= null;
flush_node_list(link(q));replace_count(q)= 0;
}

/*:883*/
#line 17382 "tex.w"
;
if(post_break(q)!=null)/*884:*/
#line 17402 "tex.w"

{s= post_break(q);
while(link(s)!=null)s= link(s);
link(s)= r;r= post_break(q);post_break(q)= null;post_disc_break= true;
}

/*:884*/
#line 17383 "tex.w"
;
if(pre_break(q)!=null)/*885:*/
#line 17411 "tex.w"

{s= pre_break(q);link(q)= s;
while(link(s)!=null)s= link(s);
pre_break(q)= null;q= s;
}

/*:885*/
#line 17384 "tex.w"
;
link(q)= r;disc_break= true;
}

/*:882*/
#line 17371 "tex.w"

else if((type(q)==math_node)||(type(q)==kern_node))width(q)= 0;
}
else{q= temp_head;
while(link(q)!=null)q= link(q);
}
/*886:*/
#line 17417 "tex.w"

r= new_param_glue(right_skip_code);link(r)= link(q);link(q)= r;q= r

/*:886*/
#line 17377 "tex.w"
;
done:

/*:881*/
#line 17351 "tex.w"
;
/*887:*/
#line 17424 "tex.w"

r= link(q);link(q)= null;q= link(temp_head);link(temp_head)= r;
if(left_skip!=zero_glue)
{r= new_param_glue(left_skip_code);
link(r)= q;q= r;
}

/*:887*/
#line 17352 "tex.w"
;
/*889:*/
#line 17443 "tex.w"

if(cur_line> last_special_line)
{cur_width= second_width;cur_indent= second_indent;
}
else if(par_shape_ptr==null)
{cur_width= first_width;cur_indent= first_indent;
}
else{cur_width= mem[par_shape_ptr+2*cur_line].sc;
cur_indent= mem[par_shape_ptr+2*cur_line-1].sc;
}
adjust_tail= adjust_head;just_box= hpack(q,cur_width,exactly);
shift_amount(just_box)= cur_indent

/*:889*/
#line 17353 "tex.w"
;
/*888:*/
#line 17431 "tex.w"

append_to_vlist(just_box);
if(adjust_head!=adjust_tail)
{link(tail)= link(adjust_head);tail= adjust_tail;
}
adjust_tail= null

/*:888*/
#line 17355 "tex.w"
;
/*890:*/
#line 17463 "tex.w"

if(cur_line+1!=best_line)
{pen= inter_line_penalty;
if(cur_line==prev_graf+1)pen= pen+club_penalty;
if(cur_line+2==best_line)pen= pen+final_widow_penalty;
if(disc_break)pen= pen+broken_penalty;
if(pen!=0)
{r= new_penalty(pen);
link(tail)= r;tail= r;
}
}

/*:890*/
#line 17356 "tex.w"


/*:880*/
#line 17295 "tex.w"
;
incr(cur_line);cur_p= next_break(cur_p);
if(cur_p!=null)if(!post_disc_break)
/*879:*/
#line 17324 "tex.w"

{r= temp_head;
loop{q= link(r);
if(q==cur_break(cur_p))goto done1;


if(is_char_node(q))goto done1;
if(non_discardable(q))goto done1;
if(type(q)==kern_node)if(subtype(q)!=explicit)goto done1;
r= q;
}
done1:if(r!=temp_head)
{link(r)= null;flush_node_list(link(temp_head));
link(temp_head)= q;
}
}

/*:879*/
#line 17298 "tex.w"
;
}while(!(cur_p==null));
if((cur_line!=best_line)||(link(temp_head)!=null))
confusion(/*1682:*/
#line 25942 "tex.w"
557
/*:1682*/
#line 17301 "tex.w"
);

prev_graf= best_line-1;
}

/*:877*//*895:*/
#line 17576 "tex.w"

/*906:*/
#line 17804 "tex.w"


small_number reconstitute(small_number j,small_number n,halfword bchar,halfword hchar)
{
pointer p;
pointer t;
four_quarters q;
halfword cur_rh;
halfword test_char;
scaled w;
font_index k;
hyphen_passed= 0;t= hold_head;w= 0;link(hold_head)= null;

/*908:*/
#line 17856 "tex.w"

cur_l= qi(hu[j]);cur_q= t;
if(j==0)
{ligature_present= init_lig;p= init_list;
if(ligature_present)lft_hit= init_lft;
while(p> null)
{append_charnode_to_t(character(p));p= link(p);
}
}
else if(cur_l<non_char)append_charnode_to_t(cur_l);
lig_stack= null;set_cur_r

/*:908*/
#line 17817 "tex.w"
;
resume:/*909:*/
#line 17872 "tex.w"

if(cur_l==non_char)
{k= bchar_label[hf];
if(k==non_address)goto done;else q= font_info[k].qqqq;
}
else{q= char_info(hf)(cur_l);
if(char_tag(q)!=lig_tag)goto done;
k= lig_kern_start(hf)(q);q= font_info[k].qqqq;
if(skip_byte(q)> stop_flag)
{k= lig_kern_restart(hf)(q);q= font_info[k].qqqq;
}
}
if(cur_rh<non_char)test_char= cur_rh;else test_char= cur_r;
loop{if(next_char(q)==test_char)if(skip_byte(q)<=stop_flag)
if(cur_rh<non_char)
{hyphen_passed= j;hchar= non_char;cur_rh= non_char;
goto resume;
}
else{if(hchar<non_char)if(odd(hyf[j]))
{hyphen_passed= j;hchar= non_char;
}
if(op_byte(q)<kern_flag)
/*911:*/
#line 17934 "tex.w"

{if(cur_l==non_char)lft_hit= true;
if(j==n)if(lig_stack==null)rt_hit= true;
check_interrupt;
switch(op_byte(q)){
qi(case 1):qi(case 5):{cur_l= rem_byte(q);
ligature_present= true;
}break;
qi(case 2):qi(case 6):{cur_r= rem_byte(q);
if(lig_stack> null)character(lig_stack)= cur_r;
else{lig_stack= new_lig_item(cur_r);
if(j==n)bchar= non_char;
else{p= get_avail();lig_ptr(lig_stack)= p;
character(p)= qi(hu[j+1]);font(p)= hf;
}
}
}break;
qi(case 3):{cur_r= rem_byte(q);
p= lig_stack;lig_stack= new_lig_item(cur_r);link(lig_stack)= p;
}break;
qi(case 7):qi(case 11):{wrap_lig(false);
cur_q= t;cur_l= rem_byte(q);ligature_present= true;
}break;
default:{cur_l= rem_byte(q);ligature_present= true;
if(lig_stack> null)pop_lig_stack
else if(j==n)goto done;
else{append_charnode_to_t(cur_r);incr(j);set_cur_r;
}
}
}
if(op_byte(q)> qi(4))if(op_byte(q)!=qi(7))goto done;
goto resume;
}

/*:911*/
#line 17895 "tex.w"
;
w= char_kern(hf)(q);goto done;
}
if(skip_byte(q)>=stop_flag)
if(cur_rh==non_char)goto done;
else{cur_rh= non_char;goto resume;
}
k= k+qo(skip_byte(q))+1;q= font_info[k].qqqq;
}
done:

/*:909*/
#line 17819 "tex.w"
;
/*910:*/
#line 17924 "tex.w"

wrap_lig(rt_hit);
if(w!=0)
{link(t)= new_kern(w);t= link(t);w= 0;
}
if(lig_stack> null)
{cur_q= t;cur_l= character(lig_stack);ligature_present= true;
pop_lig_stack;goto resume;
}

/*:910*/
#line 17821 "tex.w"
;
return j;
}

/*:906*/
#line 17577 "tex.w"

void hyphenate(void)
{
/*901:*/
#line 17683 "tex.w"

int i,j,l;
pointer q,r,s;
halfword bchar;

/*:901*//*912:*/
#line 17977 "tex.w"

pointer major_tail,minor_tail;

ASCII_code c;
uint8_t c_loc;
int r_count;
pointer hyf_node;

/*:912*//*922:*/
#line 18152 "tex.w"

trie_pointer z;
int v;

/*:922*//*929:*/
#line 18224 "tex.w"

hyph_pointer h;
str_number k;
pool_pointer u;

/*:929*/
#line 17580 "tex.w"

/*923:*/
#line 18161 "tex.w"

for(j= 0;j<=hn;j++)hyf[j]= 0;
/*930:*/
#line 18233 "tex.w"

h= hc[1];incr(hn);hc[hn]= cur_lang;
for(j= 2;j<=hn;j++)h= (h+h+hc[j])%hyph_size;
loop{/*931:*/
#line 18242 "tex.w"

k= hyph_word[h];if(k==0)goto not_found;
if(length(k)<hn)goto not_found;
if(length(k)==hn)
{j= 1;u= str_start[k];
do{if(so(str_pool[u])<hc[j])goto not_found;
if(so(str_pool[u])> hc[j])goto done;
incr(j);incr(u);
}while(!(j> hn));
/*932:*/
#line 18256 "tex.w"

s= hyph_list[h];
while(s!=null)
{hyf[info(s)]= 1;s= link(s);
}

/*:932*/
#line 18251 "tex.w"
;
decr(hn);goto found;
}
done:

/*:931*/
#line 18237 "tex.w"
;
if(h> 0)decr(h);else h= hyph_size;
}
not_found:decr(hn)

/*:930*/
#line 18164 "tex.w"
;
if(trie_char(cur_lang+1)!=qi(cur_lang))return;
hc[0]= 0;hc[hn+1]= 0;hc[hn+2]= 256;
for(j= 0;j<=hn-r_hyf+1;j++)
{z= trie_link(cur_lang+1)+hc[j];l= j;
while(hc[l]==qo(trie_char(z)))
{if(trie_op(z)!=min_quarterword)
/*924:*/
#line 18178 "tex.w"

{v= trie_op(z);
do{v= v+op_start[cur_lang];i= l-hyf_distance[v];
if(hyf_num[v]> hyf[i])hyf[i]= hyf_num[v];
v= hyf_next[v];
}while(!(v==min_quarterword));
}

/*:924*/
#line 18171 "tex.w"
;
incr(l);z= trie_link(z)+hc[l];
}
}
found:for(j= 0;j<=l_hyf-1;j++)hyf[j]= 0;
for(j= 0;j<=r_hyf-1;j++)hyf[hn-j]= 0

/*:923*/
#line 17581 "tex.w"
;
/*902:*/
#line 17695 "tex.w"

for(j= l_hyf;j<=hn-r_hyf;j++)if(odd(hyf[j]))goto found1;
return;
found1:

/*:902*/
#line 17582 "tex.w"
;
/*903:*/
#line 17711 "tex.w"

q= link(hb);link(hb)= null;r= link(ha);link(ha)= null;bchar= hyf_bchar;
if(is_char_node(ha))
if(font(ha)!=hf)goto found2;
else{init_list= ha;init_lig= false;hu[0]= qo(character(ha));
}
else if(type(ha)==ligature_node)
if(font(lig_char(ha))!=hf)goto found2;
else{init_list= lig_ptr(ha);init_lig= true;init_lft= (subtype(ha)> 1);
hu[0]= qo(character(lig_char(ha)));
if(init_list==null)if(init_lft)
{hu[0]= 256;init_lig= false;
}
free_node(ha,small_node_size);
}
else{
if(!is_char_node(r))if(type(r)==ligature_node)
if(subtype(r)> 1)goto found2;
j= 1;s= ha;init_list= null;goto common_ending;
}
s= cur_p;
while(link(s)!=ha)s= link(s);
j= 0;goto common_ending;
found2:s= ha;j= 0;hu[0]= 256;init_lig= false;init_list= null;
common_ending:flush_node_list(r);
/*913:*/
#line 17987 "tex.w"

do{l= j;j= reconstitute(j,hn,bchar,qi(hyf_char))+1;
if(hyphen_passed==0)
{link(s)= link(hold_head);
while(link(s)> null)s= link(s);
if(odd(hyf[j-1]))
{l= j;hyphen_passed= j-1;link(hold_head)= null;
}
}
if(hyphen_passed> 0)
/*914:*/
#line 18012 "tex.w"

do{r= get_node(small_node_size);
link(r)= link(hold_head);type(r)= disc_node;
major_tail= r;r_count= 0;
while(link(major_tail)> null)advance_major_tail;
i= hyphen_passed;hyf[i]= 0;
/*915:*/
#line 18028 "tex.w"

minor_tail= null;pre_break(r)= null;hyf_node= new_character(hf,hyf_char);
if(hyf_node!=null)
{incr(i);c= hu[i];hu[i]= hyf_char;free_avail(hyf_node);
}
while(l<=i)
{l= reconstitute(l,i,font_bchar[hf],non_char)+1;
if(link(hold_head)> null)
{if(minor_tail==null)pre_break(r)= link(hold_head);
else link(minor_tail)= link(hold_head);
minor_tail= link(hold_head);
while(link(minor_tail)> null)minor_tail= link(minor_tail);
}
}
if(hyf_node!=null)
{hu[i]= c;
l= i;decr(i);
}

/*:915*/
#line 18018 "tex.w"
;
/*916:*/
#line 18049 "tex.w"

minor_tail= null;post_break(r)= null;c_loc= 0;
if(bchar_label[hf]!=non_address)
{decr(l);c= hu[l];c_loc= l;hu[l]= 256;
}
while(l<j)
{do{l= reconstitute(l,hn,bchar,non_char)+1;
if(c_loc> 0)
{hu[c_loc]= c;c_loc= 0;
}
if(link(hold_head)> null)
{if(minor_tail==null)post_break(r)= link(hold_head);
else link(minor_tail)= link(hold_head);
minor_tail= link(hold_head);
while(link(minor_tail)> null)minor_tail= link(minor_tail);
}
}while(!(l>=j));
while(l> j)
/*917:*/
#line 18070 "tex.w"

{j= reconstitute(j,hn,bchar,non_char)+1;
link(major_tail)= link(hold_head);
while(link(major_tail)> null)advance_major_tail;
}

/*:917*/
#line 18067 "tex.w"
;
}

/*:916*/
#line 18020 "tex.w"
;
/*918:*/
#line 18080 "tex.w"

if(r_count> 127)
{link(s)= link(r);link(r)= null;flush_node_list(r);
}
else{link(s)= r;replace_count(r)= r_count;
}
s= major_tail

/*:918*/
#line 18021 "tex.w"
;
hyphen_passed= j-1;link(hold_head)= null;
}while(!(!odd(hyf[j-1])))

/*:914*/
#line 17998 "tex.w"
;
}while(!(j> hn));
link(s)= q

/*:913*/
#line 17736 "tex.w"
;
flush_list(init_list)

/*:903*/
#line 17583 "tex.w"
;
}

/*:895*//*942:*/
#line 18389 "tex.w"

#ifdef INIT
/*944:*/
#line 18436 "tex.w"

quarterword new_trie_op(small_number d,small_number n,quarterword v)
{
int16_t h;
quarterword u;
uint16_t l;
h= abs(n+313*d+361*v+1009*cur_lang)%(trie_op_size+trie_op_size)
-trie_op_size;
loop{l= trie_op_hash[h];
if(l==0)
{if(trie_op_ptr==trie_op_size)
overflow("pattern memory ops",trie_op_size);
u= trie_used[cur_lang];
if(u==max_quarterword)
overflow("pattern memory ops per language",
max_quarterword-min_quarterword);
incr(trie_op_ptr);incr(u);trie_used[cur_lang]= u;
hyf_distance[trie_op_ptr]= d;
hyf_num[trie_op_ptr]= n;hyf_next[trie_op_ptr]= v;
trie_op_lang[trie_op_ptr]= cur_lang;trie_op_hash[h]= trie_op_ptr;
trie_op_val[trie_op_ptr]= u;return u;
}
if((hyf_distance[l]==d)&&(hyf_num[l]==n)&&(hyf_next[l]==v)
&&(trie_op_lang[l]==cur_lang))
{return trie_op_val[l];
}
if(h> -trie_op_size)decr(h);else h= trie_op_size;
}
}

/*:944*//*948:*/
#line 18538 "tex.w"

trie_pointer trie_node(trie_pointer p)

{
trie_pointer h;
trie_pointer q;
h= abs(trie_c[p]+1009*trie_o[p]+
2718*trie_l[p]+3142*trie_r[p])%trie_size;
loop{q= trie_hash[h];
if(q==0)
{trie_hash[h]= p;return p;
}
if((trie_c[q]==trie_c[p])&&(trie_o[q]==trie_o[p])&&
(trie_l[q]==trie_l[p])&&(trie_r[q]==trie_r[p]))
{return q;
}
if(h> 0)decr(h);else h= trie_size;
}
}

/*:948*//*949:*/
#line 18564 "tex.w"

trie_pointer compress_trie(trie_pointer p)
{if(p==0)return 0;
else{trie_l[p]= compress_trie(trie_l[p]);
trie_r[p]= compress_trie(trie_r[p]);
return trie_node(p);
}
}

/*:949*//*953:*/
#line 18635 "tex.w"

void first_fit(trie_pointer p)
{
trie_pointer h;
trie_pointer z;
trie_pointer q;
ASCII_code c;
trie_pointer l,r;
uint16_t ll;
c= so(trie_c[p]);
z= trie_min[c];
loop{h= z-c;
/*954:*/
#line 18660 "tex.w"

if(trie_max<h+256)
{if(trie_size<=h+256)overflow("pattern memory",trie_size);

do{incr(trie_max);trie_taken[trie_max]= false;
trie_link(trie_max)= trie_max+1;trie_back(trie_max)= trie_max-1;
}while(!(trie_max==h+256));
}

/*:954*/
#line 18647 "tex.w"
;
if(trie_taken[h])goto not_found;
/*955:*/
#line 18669 "tex.w"

q= trie_r[p];
while(q> 0)
{if(trie_link(h+so(trie_c[q]))==0)goto not_found;
q= trie_r[q];
}
goto found

/*:955*/
#line 18650 "tex.w"
;
not_found:z= trie_link(z);
}
found:/*956:*/
#line 18677 "tex.w"

trie_taken[h]= true;trie_ref[p]= h;q= p;
do{z= h+so(trie_c[q]);l= trie_back(z);r= trie_link(z);
trie_back(r)= l;trie_link(l)= r;trie_link(z)= 0;
if(l<256)
{if(z<256)ll= z;else ll= 256;
do{trie_min[l]= r;incr(l);
}while(!(l==ll));
}
q= trie_r[q];
}while(!(q==0))

/*:956*/
#line 18653 "tex.w"
;
}

/*:953*//*957:*/
#line 18692 "tex.w"

void trie_pack(trie_pointer p)
{trie_pointer q;
do{q= trie_l[p];
if((q> 0)&&(trie_ref[q]==0))
{first_fit(q);trie_pack(q);
}
p= trie_r[p];
}while(!(p==0));
}

/*:957*//*959:*/
#line 18728 "tex.w"

void trie_fix(trie_pointer p)
{trie_pointer q;
ASCII_code c;
trie_pointer z;
z= trie_ref[p];
do{q= trie_l[p];c= so(trie_c[p]);
trie_link(z+c)= trie_ref[q];trie_char(z+c)= qi(c);trie_op(z+c)= trie_o[p];
if(q> 0)trie_fix(q);
p= trie_r[p];
}while(!(p==0));
}

/*:959*//*960:*/
#line 18745 "tex.w"

void new_patterns(void)
{
uint8_t k,l;

bool digit_sensed;
quarterword v;
trie_pointer p,q;
bool first_child;
ASCII_code c;
if(trie_not_ready)
{set_cur_lang;scan_left_brace();
/*961:*/
#line 18769 "tex.w"

k= 0;hyf[0]= 0;digit_sensed= false;
loop{get_x_token();
switch(cur_cmd){
case letter:case other_char:/*962:*/
#line 18787 "tex.w"

if(digit_sensed||(cur_chr<'0')||(cur_chr> '9'))
{if(cur_chr=='.')cur_chr= 0;
else{cur_chr= lc_code(cur_chr);
if(cur_chr==0)
{print_err("Nonletter");

help1("(See Appendix H.)");error();
}
}
if(k<63)
{incr(k);hc[k]= cur_chr;hyf[k]= 0;digit_sensed= false;
}
}
else if(k<63)
{hyf[k]= cur_chr-'0';digit_sensed= true;
}

/*:962*/
#line 18773 "tex.w"
break;
case spacer:case right_brace:{if(k> 0)
/*963:*/
#line 18809 "tex.w"

{/*965:*/
#line 18837 "tex.w"

if(hc[1]==0)hyf[0]= 0;
if(hc[k]==0)hyf[k]= 0;
l= k;v= min_quarterword;
loop{if(hyf[l]!=0)v= new_trie_op(k-l,hyf[l],v);
if(l> 0)decr(l);else goto done1;
}
done1:

/*:965*/
#line 18810 "tex.w"
;
q= 0;hc[0]= cur_lang;
while(l<=k)
{c= hc[l];incr(l);p= trie_l[q];first_child= true;
while((p> 0)&&(c> so(trie_c[p])))
{q= p;p= trie_r[q];first_child= false;
}
if((p==0)||(c<so(trie_c[p])))
/*964:*/
#line 18829 "tex.w"

{if(trie_ptr==trie_size)overflow("pattern memory",trie_size);

incr(trie_ptr);trie_r[trie_ptr]= p;p= trie_ptr;trie_l[p]= 0;
if(first_child)trie_l[q]= p;else trie_r[q]= p;
trie_c[p]= si(c);trie_o[p]= min_quarterword;
}

/*:964*/
#line 18818 "tex.w"
;
q= p;
}
if(trie_o[q]!=min_quarterword)
{print_err("Duplicate pattern");

help1("(See Appendix H.)");error();
}
trie_o[q]= v;
}

/*:963*/
#line 18775 "tex.w"
;
if(cur_cmd==right_brace)goto done;
k= 0;hyf[0]= 0;digit_sensed= false;
}break;
default:{print_err("Bad ");print_esc(/*1684:*/
#line 25948 "tex.w"
559
/*:1684*/
#line 18779 "tex.w"
);

help1("(See Appendix H.)");error();
}
}
}
done:

/*:961*/
#line 18757 "tex.w"
;
}
else{print_err("Too late for ");print_esc(/*1684:*/
#line 25948 "tex.w"
559
/*:1684*/
#line 18759 "tex.w"
);
help1("All patterns must be given before typesetting begins.");
error();link(garbage)= scan_toks(false,false);flush_list(def_ref);
}
}

/*:960*//*966:*/
#line 18853 "tex.w"

void init_trie(void)
{trie_pointer p;
int j,k,t;
trie_pointer r,s;
two_halves h;
/*952:*/
#line 18620 "tex.w"

/*945:*/
#line 18470 "tex.w"

op_start[0]= -min_quarterword;
for(j= 1;j<=255;j++)op_start[j]= op_start[j-1]+qo(trie_used[j-1]);
for(j= 1;j<=trie_op_ptr;j++)
trie_op_hash[j]= op_start[trie_op_lang[j]]+trie_op_val[j];
for(j= 1;j<=trie_op_ptr;j++)while(trie_op_hash[j]> j)
{k= trie_op_hash[j];
t= hyf_distance[k];hyf_distance[k]= hyf_distance[j];hyf_distance[j]= t;
t= hyf_num[k];hyf_num[k]= hyf_num[j];hyf_num[j]= t;
t= hyf_next[k];hyf_next[k]= hyf_next[j];hyf_next[j]= t;
trie_op_hash[j]= trie_op_hash[k];trie_op_hash[k]= k;
}

/*:945*/
#line 18621 "tex.w"
;
for(p= 0;p<=trie_size;p++)trie_hash[p]= 0;
trie_root= compress_trie(trie_root);
for(p= 0;p<=trie_ptr;p++)trie_ref[p]= 0;
for(p= 0;p<=255;p++)trie_min[p]= p+1;
trie_link(0)= 1;trie_max= 0

/*:952*/
#line 18859 "tex.w"
;
if(trie_root!=0)
{first_fit(trie_root);trie_pack(trie_root);
}
/*958:*/
#line 18708 "tex.w"

h.rh= 0;h.b0= min_quarterword;h.b1= min_quarterword;

if(trie_root==0)
{for(r= 0;r<=256;r++)trie[r]= h;
trie_max= 256;
}
else{trie_fix(trie_root);
r= 0;
do{s= trie_link(r);trie[r]= h;r= s;
}while(!(r> trie_max));
}
trie_char(0)= qi('?');

/*:958*/
#line 18863 "tex.w"
;
trie_not_ready= false;
}

/*:966*/
#line 18391 "tex.w"

#endif

/*:942*/
#line 16057 "tex.w"

void line_break(int final_widow_penalty)
{
/*862:*/
#line 16984 "tex.w"

bool auto_breaking;
pointer prev_p;
pointer q,r,s,prev_s;
internal_font_number f;

/*:862*//*893:*/
#line 17557 "tex.w"

small_number j;
uint8_t c;

/*:893*/
#line 16060 "tex.w"

pack_begin_line= mode_line;
/*816:*/
#line 16081 "tex.w"

link(temp_head)= link(head);
if(is_char_node(tail))tail_append(new_penalty(inf_penalty))
else if(type(tail)!=glue_node)tail_append(new_penalty(inf_penalty))
else{type(tail)= penalty_node;delete_glue_ref(glue_ptr(tail));
flush_node_list(leader_ptr(tail));penalty(tail)= inf_penalty;
}
link(tail)= new_param_glue(par_fill_skip_code);
init_cur_lang= prev_graf%0200000;
init_l_hyf= prev_graf/020000000;
init_r_hyf= (prev_graf/0200000)%0100;
pop_nest();

/*:816*//*827:*/
#line 16309 "tex.w"

no_shrink_error_yet= true;
check_shrinkage(left_skip);check_shrinkage(right_skip);
q= left_skip;r= right_skip;background[1]= width(q)+width(r);
background[2]= 0;background[3]= 0;background[4]= 0;background[5]= 0;
background[2+stretch_order(q)]= stretch(q);
background[2+stretch_order(r)]= background[2+stretch_order(r)]+stretch(r);
background[6]= shrink(q)+shrink(r);

/*:827*//*834:*/
#line 16451 "tex.w"

minimum_demerits= awful_bad;
minimal_demerits[tight_fit]= awful_bad;
minimal_demerits[decent_fit]= awful_bad;
minimal_demerits[loose_fit]= awful_bad;
minimal_demerits[very_loose_fit]= awful_bad;

/*:834*//*848:*/
#line 16712 "tex.w"

if(par_shape_ptr==null)
if(hang_indent==0)
{last_special_line= 0;second_width= hsize;
second_indent= 0;
}
else/*849:*/
#line 16726 "tex.w"

{last_special_line= abs(hang_after);
if(hang_after<0)
{first_width= hsize-abs(hang_indent);
if(hang_indent>=0)first_indent= hang_indent;
else first_indent= 0;
second_width= hsize;second_indent= 0;
}
else{first_width= hsize;first_indent= 0;
second_width= hsize-abs(hang_indent);
if(hang_indent>=0)second_indent= hang_indent;
else second_indent= 0;
}
}

/*:849*/
#line 16718 "tex.w"

else{last_special_line= info(par_shape_ptr)-1;
second_width= mem[par_shape_ptr+2*(last_special_line+1)].sc;
second_indent= mem[par_shape_ptr+2*last_special_line+1].sc;
}
if(looseness==0)easy_line= last_special_line;
else easy_line= max_halfword

/*:848*/
#line 16062 "tex.w"
;
/*863:*/
#line 16994 "tex.w"

threshold= pretolerance;
if(threshold>=0)
{
#ifdef STAT
if(tracing_paragraphs> 0)
{begin_diagnostic();print_nl("@firstpass");}
#endif

second_pass= false;final_pass= false;
}
else{threshold= tolerance;second_pass= true;
final_pass= (emergency_stretch<=0);

#ifdef STAT
if(tracing_paragraphs> 0)begin_diagnostic();
#endif

}
loop{if(threshold> inf_bad)threshold= inf_bad;
if(second_pass)/*891:*/
#line 17530 "tex.w"

{
#ifdef INIT
if(trie_not_ready)init_trie();
#endif

cur_lang= init_cur_lang;l_hyf= init_l_hyf;r_hyf= init_r_hyf;
}

/*:891*/
#line 17014 "tex.w"
;
/*864:*/
#line 17053 "tex.w"

q= get_node(active_node_size);
type(q)= unhyphenated;fitness(q)= decent_fit;
link(q)= last_active;break_node(q)= null;
line_number(q)= prev_graf+1;total_demerits(q)= 0;link(active)= q;
do_all_six(store_background);
passive= null;printed_node= temp_head;pass_number= 0;
font_in_short_display= null_font

/*:864*/
#line 17015 "tex.w"
;
cur_p= link(temp_head);auto_breaking= true;
prev_p= cur_p;
while((cur_p!=null)&&(link(active)!=last_active))
/*866:*/
#line 17089 "tex.w"

{if(is_char_node(cur_p))
/*867:*/
#line 17123 "tex.w"

{prev_p= cur_p;
do{f= font(cur_p);
act_width= act_width+char_width(f)(char_info(f)(character(cur_p)));
cur_p= link(cur_p);
}while(!(!is_char_node(cur_p)));
}

/*:867*/
#line 17091 "tex.w"
;
switch(type(cur_p)){
case hlist_node:case vlist_node:case rule_node:act_width= act_width+width(cur_p);break;
case whatsit_node:/*1362:*/
#line 24802 "tex.w"

adv_past(cur_p)

/*:1362*/
#line 17094 "tex.w"
break;
case glue_node:{/*868:*/
#line 17134 "tex.w"

if(auto_breaking)
{if(is_char_node(prev_p))try_break(0,unhyphenated);
else if(precedes_break(prev_p))try_break(0,unhyphenated);
else if((type(prev_p)==kern_node)&&(subtype(prev_p)!=explicit))
try_break(0,unhyphenated);
}
check_shrinkage(glue_ptr(cur_p));q= glue_ptr(cur_p);
act_width= act_width+width(q);
active_width[2+stretch_order(q)]= 
active_width[2+stretch_order(q)]+stretch(q);
active_width[6]= active_width[6]+shrink(q)

/*:868*/
#line 17096 "tex.w"
;
if(second_pass&&auto_breaking)
/*894:*/
#line 17564 "tex.w"

{prev_s= cur_p;s= link(prev_s);
if(s!=null)
{/*896:*/
#line 17589 "tex.w"

loop{if(is_char_node(s))
{c= qo(character(s));hf= font(s);
}
else if(type(s)==ligature_node)
if(lig_ptr(s)==null)goto resume;
else{q= lig_ptr(s);c= qo(character(q));hf= font(q);
}
else if((type(s)==kern_node)&&(subtype(s)==normal))goto resume;
else if(type(s)==whatsit_node)
{/*1363:*/
#line 24805 "tex.w"

adv_past(s)

/*:1363*/
#line 17599 "tex.w"
;
goto resume;
}
else goto done1;
if(lc_code(c)!=0)
if((lc_code(c)==c)||(uc_hyph> 0))goto done2;
else goto done1;
resume:prev_s= s;s= link(prev_s);
}
done2:hyf_char= hyphen_char[hf];
if(hyf_char<0)goto done1;
if(hyf_char> 255)goto done1;
ha= prev_s

/*:896*/
#line 17567 "tex.w"
;
if(l_hyf+r_hyf> 63)goto done1;
/*897:*/
#line 17615 "tex.w"

hn= 0;
loop{if(is_char_node(s))
{if(font(s)!=hf)goto done3;
hyf_bchar= character(s);c= qo(hyf_bchar);
if(lc_code(c)==0)goto done3;
if(hn==63)goto done3;
hb= s;incr(hn);hu[hn]= c;hc[hn]= lc_code(c);hyf_bchar= non_char;
}
else if(type(s)==ligature_node)
/*898:*/
#line 17641 "tex.w"

{if(font(lig_char(s))!=hf)goto done3;
j= hn;q= lig_ptr(s);if(q> null)hyf_bchar= character(q);
while(q> null)
{c= qo(character(q));
if(lc_code(c)==0)goto done3;
if(j==63)goto done3;
incr(j);hu[j]= c;hc[j]= lc_code(c);
q= link(q);
}
hb= s;hn= j;
if(odd(subtype(s)))hyf_bchar= font_bchar[hf];else hyf_bchar= non_char;
}

/*:898*/
#line 17626 "tex.w"

else if((type(s)==kern_node)&&(subtype(s)==normal))
{hb= s;
hyf_bchar= font_bchar[hf];
}
else goto done3;
s= link(s);
}
done3:

/*:897*/
#line 17569 "tex.w"
;
/*899:*/
#line 17655 "tex.w"

if(hn<l_hyf+r_hyf)goto done1;
loop{if(!(is_char_node(s)))
switch(type(s)){
case ligature_node:do_nothing;break;
case kern_node:if(subtype(s)!=normal)goto done4;break;
case whatsit_node:case glue_node:case penalty_node:case ins_node:case adjust_node:case mark_node:
goto done4;
default:goto done1;
}
s= link(s);
}
done4:

/*:899*/
#line 17571 "tex.w"
;
hyphenate();
}
done1:;}

/*:894*/
#line 17098 "tex.w"
;
}break;
case kern_node:if(subtype(cur_p)==explicit)kern_break
else act_width= act_width+width(cur_p);break;
case ligature_node:{f= font(lig_char(cur_p));
act_width= act_width+char_width(f)(char_info(f)(character(lig_char(cur_p))));
}break;
case disc_node:/*869:*/
#line 17150 "tex.w"

{s= pre_break(cur_p);disc_width= 0;
if(s==null)try_break(ex_hyphen_penalty,hyphenated);
else{do{/*870:*/
#line 17168 "tex.w"

if(is_char_node(s))
{f= font(s);
disc_width= disc_width+char_width(f)(char_info(f)(character(s)));
}
else switch(type(s)){
case ligature_node:{f= font(lig_char(s));
disc_width= disc_width+
char_width(f)(char_info(f)(character(lig_char(s))));
}break;
case hlist_node:case vlist_node:case rule_node:case kern_node:
disc_width= disc_width+width(s);break;
default:confusion(/*1680:*/
#line 25936 "tex.w"
555
/*:1680*/
#line 17180 "tex.w"
);

}

/*:870*/
#line 17153 "tex.w"
;
s= link(s);
}while(!(s==null));
act_width= act_width+disc_width;
try_break(hyphen_penalty,hyphenated);
act_width= act_width-disc_width;
}
r= replace_count(cur_p);s= link(cur_p);
while(r> 0)
{/*871:*/
#line 17184 "tex.w"

if(is_char_node(s))
{f= font(s);
act_width= act_width+char_width(f)(char_info(f)(character(s)));
}
else switch(type(s)){
case ligature_node:{f= font(lig_char(s));
act_width= act_width+
char_width(f)(char_info(f)(character(lig_char(s))));
}break;
case hlist_node:case vlist_node:case rule_node:case kern_node:
act_width= act_width+width(s);break;
default:confusion(/*1681:*/
#line 25939 "tex.w"
556
/*:1681*/
#line 17196 "tex.w"
);

}

/*:871*/
#line 17162 "tex.w"
;
decr(r);s= link(s);
}
prev_p= cur_p;cur_p= s;goto done5;
}

/*:869*/
#line 17105 "tex.w"

case math_node:{auto_breaking= (subtype(cur_p)==after);kern_break;
}break;
case penalty_node:try_break(penalty(cur_p),unhyphenated);break;
case mark_node:case ins_node:case adjust_node:do_nothing;break;
default:confusion(/*1679:*/
#line 25933 "tex.w"
554
/*:1679*/
#line 17110 "tex.w"
);

}
prev_p= cur_p;cur_p= link(cur_p);
done5:;}

/*:866*/
#line 17021 "tex.w"
;
if(cur_p==null)
/*873:*/
#line 17219 "tex.w"

{try_break(eject_penalty,hyphenated);
if(link(active)!=last_active)
{/*874:*/
#line 17229 "tex.w"

r= link(active);fewest_demerits= awful_bad;
do{if(type(r)!=delta_node)if(total_demerits(r)<fewest_demerits)
{fewest_demerits= total_demerits(r);best_bet= r;
}
r= link(r);
}while(!(r==last_active));
best_line= line_number(best_bet)

/*:874*/
#line 17222 "tex.w"
;
if(looseness==0)goto done;
/*875:*/
#line 17243 "tex.w"

{r= link(active);actual_looseness= 0;
do{if(type(r)!=delta_node)
{line_diff= line_number(r)-best_line;
if(((line_diff<actual_looseness)&&(looseness<=line_diff))||
((line_diff> actual_looseness)&&(looseness>=line_diff)))
{best_bet= r;actual_looseness= line_diff;
fewest_demerits= total_demerits(r);
}
else if((line_diff==actual_looseness)&&
(total_demerits(r)<fewest_demerits))
{best_bet= r;fewest_demerits= total_demerits(r);
}
}
r= link(r);
}while(!(r==last_active));
best_line= line_number(best_bet);
}

/*:875*/
#line 17224 "tex.w"
;
if((actual_looseness==looseness)||final_pass)goto done;
}
}

/*:873*/
#line 17024 "tex.w"
;
/*865:*/
#line 17062 "tex.w"

q= link(active);
while(q!=last_active)
{cur_p= link(q);
if(type(q)==delta_node)free_node(q,delta_node_size);
else free_node(q,active_node_size);
q= cur_p;
}
q= passive;
while(q!=null)
{cur_p= link(q);
free_node(q,passive_node_size);
q= cur_p;
}

/*:865*/
#line 17025 "tex.w"
;
if(!second_pass)
{
#ifdef STAT
if(tracing_paragraphs> 0)print_nl("@secondpass");
#endif
threshold= tolerance;second_pass= true;final_pass= (emergency_stretch<=0);
}
else{
#ifdef STAT
if(tracing_paragraphs> 0)
print_nl("@emergencypass");
#endif
background[2]= background[2]+emergency_stretch;final_pass= true;
}
}
done:
#ifdef STAT
if(tracing_paragraphs> 0)
{end_diagnostic(true);normalize_selector();
}
#endif

/*:863*/
#line 16063 "tex.w"
;
/*876:*/
#line 17267 "tex.w"

post_line_break(final_widow_penalty)

/*:876*/
#line 16065 "tex.w"
;
/*865:*/
#line 17062 "tex.w"

q= link(active);
while(q!=last_active)
{cur_p= link(q);
if(type(q)==delta_node)free_node(q,delta_node_size);
else free_node(q,active_node_size);
q= cur_p;
}
q= passive;
while(q!=null)
{cur_p= link(q);
free_node(q,passive_node_size);
q= cur_p;
}

/*:865*/
#line 16066 "tex.w"
;
pack_begin_line= 0;
}

/*:815*//*934:*/
#line 18280 "tex.w"
void new_hyph_exceptions(void)
{
uint8_t n;
int j;
hyph_pointer h;
str_number k;
pointer p;
pointer q;
str_number s,t;
pool_pointer u,v;
scan_left_brace();
set_cur_lang;
/*935:*/
#line 18296 "tex.w"

n= 0;p= null;
loop{get_x_token();
reswitch:switch(cur_cmd){
case letter:case other_char:case char_given:/*937:*/
#line 18321 "tex.w"

if(cur_chr=='-')/*938:*/
#line 18335 "tex.w"

{if(n<63)
{q= get_avail();link(q)= p;info(q)= n;p= q;
}
}

/*:938*/
#line 18322 "tex.w"

else{if(lc_code(cur_chr)==0)
{print_err("Not a letter");

help2("Letters in \\hyphenation words must have \\lccode>0.")
("Proceed; I'll ignore the character I just read.");
error();
}
else if(n<63)
{incr(n);hc[n]= lc_code(cur_chr);
}
}

/*:937*/
#line 18300 "tex.w"
break;
case char_num:{scan_char_num();cur_chr= cur_val;cur_cmd= char_given;
goto reswitch;
}
case spacer:case right_brace:{if(n> 1)/*939:*/
#line 18341 "tex.w"

{incr(n);hc[n]= cur_lang;str_room(n);h= 0;
for(j= 1;j<=n;j++)
{h= (h+h+hc[j])%hyph_size;
append_char(hc[j]);
}
s= make_string();
/*940:*/
#line 18351 "tex.w"

if(hyph_count==hyph_size)overflow("exception dictionary",hyph_size);

incr(hyph_count);
while(hyph_word[h]!=0)
{/*941:*/
#line 18362 "tex.w"

k= hyph_word[h];
if(length(k)<length(s))goto found;
if(length(k)> length(s))goto not_found;
u= str_start[k];v= str_start[s];
do{if(str_pool[u]<str_pool[v])goto found;
if(str_pool[u]> str_pool[v])goto not_found;
incr(u);incr(v);
}while(!(u==str_start[k+1]));
found:q= hyph_list[h];hyph_list[h]= p;p= q;
t= hyph_word[h];hyph_word[h]= s;s= t;
not_found:

/*:941*/
#line 18357 "tex.w"
;
if(h> 0)decr(h);else h= hyph_size;
}
hyph_word[h]= s;hyph_list[h]= p

/*:940*/
#line 18348 "tex.w"
;
}

/*:939*/
#line 18304 "tex.w"
;
if(cur_cmd==right_brace)return;
n= 0;p= null;
}break;
default:/*936:*/
#line 18312 "tex.w"

{print_err("Improper ");print_esc(/*1683:*/
#line 25945 "tex.w"
558
/*:1683*/
#line 18313 "tex.w"
);

print_str(" will be flushed");
help2("Hyphenation exceptions must contain only letters")
("and hyphens. But continue; I'll forgive and forget.");
error();
}

/*:936*/
#line 18308 "tex.w"

}
}

/*:935*/
#line 18293 "tex.w"
;
}

/*:934*//*968:*/
#line 18886 "tex.w"
pointer prune_page_top(pointer p)
{pointer prev_p;
pointer q;
prev_p= temp_head;link(temp_head)= p;
while(p!=null)
switch(type(p)){
case hlist_node:case vlist_node:case rule_node:/*969:*/
#line 18905 "tex.w"

{q= new_skip_param(split_top_skip_code);link(prev_p)= q;link(q)= p;

if(width(temp_ptr)> height(p))width(temp_ptr)= width(temp_ptr)-height(p);
else width(temp_ptr)= 0;
p= null;
}

/*:969*/
#line 18893 "tex.w"
break;
case whatsit_node:case mark_node:case ins_node:{prev_p= p;p= link(prev_p);
}break;
case glue_node:case kern_node:case penalty_node:{q= p;p= link(q);link(q)= null;
link(prev_p)= p;flush_node_list(q);
}break;
default:confusion(/*1685:*/
#line 25951 "tex.w"
560
/*:1685*/
#line 18899 "tex.w"
);

}
return link(temp_head);
}

/*:968*//*970:*/
#line 18929 "tex.w"
pointer vert_break(pointer p,scaled h,scaled d)

{
pointer prev_p;

pointer q,r;
int pi;
int b;
int least_cost;
pointer best_place;
scaled prev_dp;
small_number t;
prev_p= p;
least_cost= awful_bad;do_all_six(set_height_zero);prev_dp= 0;
loop{/*972:*/
#line 18963 "tex.w"

if(p==null)pi= eject_penalty;
else/*973:*/
#line 18978 "tex.w"

switch(type(p)){
case hlist_node:case vlist_node:case rule_node:{
cur_height= cur_height+prev_dp+height(p);prev_dp= depth(p);
goto not_found;
}
case whatsit_node:/*1365:*/
#line 24811 "tex.w"

goto not_found

/*:1365*/
#line 18984 "tex.w"
;
case glue_node:if(precedes_break(prev_p))pi= 0;
else goto update_heights;break;
case kern_node:{if(link(p)==null)t= penalty_node;
else t= type(link(p));
if(t==glue_node)pi= 0;else goto update_heights;
}break;
case penalty_node:pi= penalty(p);break;
case mark_node:case ins_node:goto not_found;
default:confusion(/*1686:*/
#line 25954 "tex.w"
561
/*:1686*/
#line 18993 "tex.w"
);

}

/*:973*/
#line 18967 "tex.w"
;
/*974:*/
#line 18999 "tex.w"

if(pi<inf_penalty)
{/*975:*/
#line 19013 "tex.w"

if(cur_height<h)
if((active_height[3]!=0)||(active_height[4]!=0)||
(active_height[5]!=0))b= 0;
else b= badness(h-cur_height,active_height[2]);
else if(cur_height-h> active_height[6])b= awful_bad;
else b= badness(cur_height-h,active_height[6])

/*:975*/
#line 19001 "tex.w"
;
if(b<awful_bad)
if(pi<=eject_penalty)b= pi;
else if(b<inf_bad)b= b+pi;
else b= deplorable;
if(b<=least_cost)
{best_place= p;least_cost= b;
best_height_plus_depth= cur_height+prev_dp;
}
if((b==awful_bad)||(pi<=eject_penalty))goto done;
}

/*:974*/
#line 18969 "tex.w"
;
if((type(p)<glue_node)||(type(p)> kern_node))goto not_found;
update_heights:/*976:*/
#line 19025 "tex.w"

if(type(p)==kern_node)q= p;
else{q= glue_ptr(p);
active_height[2+stretch_order(q)]= 
active_height[2+stretch_order(q)]+stretch(q);
active_height[6]= active_height[6]+shrink(q);
if((shrink_order(q)!=normal)&&(shrink(q)!=0))
{
print_err("Infinite glue shrinkage found in box being split");

help4("The box you are \\vsplitting contains some infinitely")
("shrinkable glue, e.g., `\\vss' or `\\vskip 0pt minus 1fil'.")
("Such glue doesn't belong there; but you can safely proceed,")
("since the offensive shrinkability has been made finite.");
error();r= new_spec(q);shrink_order(r)= normal;delete_glue_ref(q);
glue_ptr(p)= r;q= r;
}
}
cur_height= cur_height+prev_dp+width(q);prev_dp= 0

/*:976*/
#line 18972 "tex.w"
;
not_found:if(prev_dp> d)
{cur_height= cur_height+prev_dp-d;
prev_dp= d;
}

/*:972*/
#line 18945 "tex.w"
;
prev_p= p;p= link(prev_p);
}
done:return best_place;
}

/*:970*//*977:*/
#line 19060 "tex.w"
pointer vsplit(eight_bits n,scaled h)

{
pointer v;
pointer p;
pointer q;
v= box(n);
if(split_first_mark!=null)
{delete_token_ref(split_first_mark);split_first_mark= null;
delete_token_ref(split_bot_mark);split_bot_mark= null;
}
/*978:*/
#line 19081 "tex.w"

if(v==null)
{return null;
}
if(type(v)!=vlist_node)
{print_err("");print_esc(/*1687:*/
#line 25957 "tex.w"
562
/*:1687*/
#line 19086 "tex.w"
);print_str(" needs a ");
print_esc(/*1688:*/
#line 25960 "tex.w"
563
/*:1688*/
#line 19087 "tex.w"
);

help2("The box you are trying to split is an \\hbox.")
("I can't split such a box, so I'll leave it alone.");
error();return null;
}

/*:978*/
#line 19071 "tex.w"
;
q= vert_break(list_ptr(v),h,split_max_depth);
/*979:*/
#line 19097 "tex.w"

p= list_ptr(v);
if(p==q)list_ptr(v)= null;
else loop{if(type(p)==mark_node)
if(split_first_mark==null)
{split_first_mark= mark_ptr(p);
split_bot_mark= split_first_mark;
token_ref_count(split_first_mark)= 
token_ref_count(split_first_mark)+2;
}
else{delete_token_ref(split_bot_mark);
split_bot_mark= mark_ptr(p);
add_token_ref(split_bot_mark);
}
if(link(p)==q)
{link(p)= null;goto done;
}
p= link(p);
}
done:

/*:979*/
#line 19074 "tex.w"
;
q= prune_page_top(q);p= list_ptr(v);free_node(v,box_node_size);
if(q==null)box(n)= null;
else box(n)= vpack(q,natural);
return vpackage(p,h,exactly,split_max_depth);
}

/*:977*//*985:*/
#line 19285 "tex.w"
void print_totals(void)
{print_scaled(page_total);
print_plus(2)("");
print_plus(3)("fil");
print_plus(4)("fill");
print_plus(5)("filll");
if(page_shrink!=0)
{print_str(" minus ");print_scaled(page_shrink);
}
}

/*:985*//*987:*/
#line 19331 "tex.w"
void freeze_page_specs(small_number s)
{page_contents= s;
page_goal= vsize;page_max_depth= max_depth;
page_depth= 0;do_all_six(set_page_so_far_zero);
least_page_cost= awful_bad;
#ifdef STAT
if(tracing_pages> 0)
{begin_diagnostic();
print_nl("%% goal height=");print_scaled(page_goal);

print_str(", max depth=");print_scaled(page_max_depth);
end_diagnostic(false);
}
#endif

}

/*:987*//*992:*/
#line 19398 "tex.w"
void box_error(eight_bits n)
{error();begin_diagnostic();
print_nl("The following box has been deleted:");

show_box(box(n));end_diagnostic(true);
flush_node_list(box(n));box(n)= null;
}

/*:992*//*993:*/
#line 19409 "tex.w"
void ensure_vbox(eight_bits n)
{pointer p;
p= box(n);
if(p!=null)if(type(p)==hlist_node)
{print_err("Insertions can only be added to a vbox");

help3("Tut tut: You're trying to \\insert into a")
("\\box register that now contains an \\hbox.")
("Proceed, and I'll discard its present contents.");
box_error(n);
}
}

/*:993*//*994:*/
#line 19428 "tex.w"
/*1012:*/
#line 19723 "tex.w"

void fire_up(pointer c)
{
pointer p,q,r,s;
pointer prev_p;
uint8_t n;
bool wait;
int save_vbadness;
scaled save_vfuzz;
pointer save_split_top_skip;
/*1013:*/
#line 19752 "tex.w"

if(type(best_page_break)==penalty_node)
{geq_word_define(int_base+output_penalty_code,penalty(best_page_break));
penalty(best_page_break)= inf_penalty;
}
else geq_word_define(int_base+output_penalty_code,inf_penalty)

/*:1013*/
#line 19733 "tex.w"
;
if(bot_mark!=null)
{if(top_mark!=null)delete_token_ref(top_mark);
top_mark= bot_mark;add_token_ref(top_mark);
delete_token_ref(first_mark);first_mark= null;
}
/*1014:*/
#line 19764 "tex.w"

if(c==best_page_break)best_page_break= null;
/*1015:*/
#line 19786 "tex.w"

if(box(255)!=null)
{print_err("");print_esc(/*1437:*/
#line 25207 "tex.w"
312
/*:1437*/
#line 19788 "tex.w"
);print_str("255 is not void");

help2("You shouldn't use \\box255 except in \\output routines.")
("Proceed, and I'll discard its present contents.");
box_error(255);
}

/*:1015*/
#line 19766 "tex.w"
;
insert_penalties= 0;
save_split_top_skip= split_top_skip;
if(holding_inserts<=0)
/*1018:*/
#line 19840 "tex.w"

{r= link(page_ins_head);
while(r!=page_ins_head)
{if(best_ins_ptr(r)!=null)
{n= qo(subtype(r));ensure_vbox(n);
if(box(n)==null)box(n)= new_null_box();
p= box(n)+list_offset;
while(link(p)!=null)p= link(p);
last_ins_ptr(r)= p;
}
r= link(r);
}
}

/*:1018*/
#line 19770 "tex.w"
;
q= hold_head;link(q)= null;prev_p= page_head;p= link(prev_p);
while(p!=best_page_break)
{if(type(p)==ins_node)
{if(holding_inserts<=0)
/*1020:*/
#line 19866 "tex.w"

{r= link(page_ins_head);
while(subtype(r)!=subtype(p))r= link(r);
if(best_ins_ptr(r)==null)wait= true;
else{wait= false;s= last_ins_ptr(r);link(s)= ins_ptr(p);
if(best_ins_ptr(r)==p)
/*1021:*/
#line 19882 "tex.w"

{if(type(r)==split_up)
if((broken_ins(r)==p)&&(broken_ptr(r)!=null))
{while(link(s)!=broken_ptr(r))s= link(s);
link(s)= null;
split_top_skip= split_top_ptr(p);
ins_ptr(p)= prune_page_top(broken_ptr(r));
if(ins_ptr(p)!=null)
{temp_ptr= vpack(ins_ptr(p),natural);
height(p)= height(temp_ptr)+depth(temp_ptr);
free_node(temp_ptr,box_node_size);wait= true;
}
}
best_ins_ptr(r)= null;
n= qo(subtype(r));
temp_ptr= list_ptr(box(n));
free_node(box(n),box_node_size);
box(n)= vpack(temp_ptr,natural);
}

/*:1021*/
#line 19873 "tex.w"

else{while(link(s)!=null)s= link(s);
last_ins_ptr(r)= s;
}
}
/*1022:*/
#line 19902 "tex.w"

link(prev_p)= link(p);link(p)= null;
if(wait)
{link(q)= p;q= p;incr(insert_penalties);
}
else{delete_glue_ref(split_top_ptr(p));
free_node(p,ins_node_size);
}
p= prev_p

/*:1022*/
#line 19879 "tex.w"
;
}

/*:1020*/
#line 19776 "tex.w"
;
}
else if(type(p)==mark_node)/*1016:*/
#line 19795 "tex.w"

{if(first_mark==null)
{first_mark= mark_ptr(p);
add_token_ref(first_mark);
}
if(bot_mark!=null)delete_token_ref(bot_mark);
bot_mark= mark_ptr(p);add_token_ref(bot_mark);
}

/*:1016*/
#line 19778 "tex.w"
;
prev_p= p;p= link(prev_p);
}
split_top_skip= save_split_top_skip;
/*1017:*/
#line 19815 "tex.w"

if(p!=null)
{if(link(contrib_head)==null)
if(nest_ptr==0)tail= page_tail;
else contrib_tail= page_tail;
link(page_tail)= link(contrib_head);
link(contrib_head)= p;
link(prev_p)= null;
}
save_vbadness= vbadness;vbadness= inf_bad;
save_vfuzz= vfuzz;vfuzz= max_dimen;
box(255)= vpackage(link(page_head),best_size,exactly,page_max_depth);
vbadness= save_vbadness;vfuzz= save_vfuzz;
if(last_glue!=max_halfword)delete_glue_ref(last_glue);
/*991:*/
#line 19388 "tex.w"

page_contents= empty;page_tail= page_head;link(page_head)= null;
last_glue= max_halfword;last_penalty= 0;last_kern= 0;
page_depth= 0;page_max_depth= 0

/*:991*/
#line 19829 "tex.w"
;
if(q!=hold_head)
{link(page_head)= link(hold_head);page_tail= q;
}

/*:1017*/
#line 19783 "tex.w"
;
/*1019:*/
#line 19854 "tex.w"

r= link(page_ins_head);
while(r!=page_ins_head)
{q= link(r);free_node(r,page_ins_node_size);r= q;
}
link(page_ins_head)= page_ins_head

/*:1019*/
#line 19784 "tex.w"


/*:1014*/
#line 19741 "tex.w"
;
if((top_mark!=null)&&(first_mark==null))
{first_mark= top_mark;add_token_ref(top_mark);
}
if(output_routine!=null)
if(dead_cycles>=max_dead_cycles)
/*1024:*/
#line 19927 "tex.w"

{print_err("Output loop---");print_int(dead_cycles);

print_str(" consecutive dead cycles");
help3("I've concluded that your \\output is awry; it never does a")
("\\shipout, so I'm shipping \\box255 out myself. Next time")
("increase \\maxdeadcycles if you want me to be more patient!");error();
}

/*:1024*/
#line 19747 "tex.w"

else/*1025:*/
#line 19936 "tex.w"

{output_active= true;
incr(dead_cycles);
push_nest();mode= -vmode;prev_depth= ignore_depth;mode_line= -line;
begin_token_list(output_routine,output_text);
new_save_level(output_group);normal_paragraph();
scan_left_brace();
return;
}

/*:1025*/
#line 19748 "tex.w"
;
/*1023:*/
#line 19916 "tex.w"

{if(link(page_head)!=null)
{if(link(contrib_head)==null)
if(nest_ptr==0)tail= page_tail;else contrib_tail= page_tail;
else link(page_tail)= link(contrib_head);
link(contrib_head)= link(page_head);
link(page_head)= null;page_tail= page_head;
}
ship_out(box(255));box(255)= null;
}

/*:1023*/
#line 19749 "tex.w"
;
}

/*:1012*/
#line 19428 "tex.w"

void build_page(void)
{
pointer p;
pointer q,r;
int b,c;
int pi;
uint8_t n;
scaled delta,h,w;
if((link(contrib_head)==null)||output_active)return;
do{resume:p= link(contrib_head);
/*996:*/
#line 19453 "tex.w"

if(last_glue!=max_halfword)delete_glue_ref(last_glue);
last_penalty= 0;last_kern= 0;
if(type(p)==glue_node)
{last_glue= glue_ptr(p);add_glue_ref(last_glue);
}
else{last_glue= max_halfword;
if(type(p)==penalty_node)last_penalty= penalty(p);
else if(type(p)==kern_node)last_kern= width(p);
}

/*:996*/
#line 19439 "tex.w"
;
/*997:*/
#line 19470 "tex.w"

/*1000:*/
#line 19498 "tex.w"

switch(type(p)){
case hlist_node:case vlist_node:case rule_node:if(page_contents<box_there)
/*1001:*/
#line 19519 "tex.w"

{if(page_contents==empty)freeze_page_specs(box_there);
else page_contents= box_there;
q= new_skip_param(top_skip_code);
if(width(temp_ptr)> height(p))width(temp_ptr)= width(temp_ptr)-height(p);
else width(temp_ptr)= 0;
link(q)= p;link(contrib_head)= q;goto resume;
}

/*:1001*/
#line 19502 "tex.w"

else/*1002:*/
#line 19528 "tex.w"

{page_total= page_total+page_depth+height(p);
page_depth= depth(p);
goto contribute;
}

/*:1002*/
#line 19503 "tex.w"
break;
case whatsit_node:/*1364:*/
#line 24808 "tex.w"

goto contribute

/*:1364*/
#line 19504 "tex.w"
;
case glue_node:if(page_contents<box_there)goto done1;
else if(precedes_break(page_tail))pi= 0;
else goto update_heights;break;
case kern_node:if(page_contents<box_there)goto done1;
else if(link(p)==null)return;
else if(type(link(p))==glue_node)pi= 0;
else goto update_heights;break;
case penalty_node:if(page_contents<box_there)goto done1;else pi= penalty(p);break;
case mark_node:goto contribute;
case ins_node:/*1008:*/
#line 19615 "tex.w"

{if(page_contents==empty)freeze_page_specs(inserts_only);
n= subtype(p);r= page_ins_head;
while(n>=subtype(link(r)))r= link(r);
n= qo(n);
if(subtype(r)!=qi(n))
/*1009:*/
#line 19643 "tex.w"

{q= get_node(page_ins_node_size);link(q)= link(r);link(r)= q;r= q;
subtype(r)= qi(n);type(r)= inserting;ensure_vbox(n);
if(box(n)==null)height(r)= 0;
else height(r)= height(box(n))+depth(box(n));
best_ins_ptr(r)= null;
q= skip(n);
if(count(n)==1000)h= height(r);
else h= x_over_n(height(r),1000)*count(n);
page_goal= page_goal-h-width(q);
page_so_far[2+stretch_order(q)]= page_so_far[2+stretch_order(q)]+stretch(q);
page_shrink= page_shrink+shrink(q);
if((shrink_order(q)!=normal)&&(shrink(q)!=0))
{print_err("Infinite glue shrinkage inserted from ");print_esc(/*1423:*/
#line 25165 "tex.w"
298
/*:1423*/
#line 19656 "tex.w"
);

print_int(n);
help3("The correction glue for page breaking with insertions")
("must have finite shrinkability. But you may proceed,")
("since the offensive shrinkability has been made finite.");
error();
}
}

/*:1009*/
#line 19622 "tex.w"
;
if(type(r)==split_up)insert_penalties= insert_penalties+float_cost(p);
else{last_ins_ptr(r)= p;
delta= page_goal-page_total-page_depth+page_shrink;

if(count(n)==1000)h= height(p);
else h= x_over_n(height(p),1000)*count(n);
if(((h<=0)||(h<=delta))&&(height(p)+height(r)<=dimen(n)))
{page_goal= page_goal-h;height(r)= height(r)+height(p);
}
else/*1010:*/
#line 19676 "tex.w"

{if(count(n)<=0)w= max_dimen;
else{w= page_goal-page_total-page_depth;
if(count(n)!=1000)w= x_over_n(w,count(n))*1000;
}
if(w> dimen(n)-height(r))w= dimen(n)-height(r);
q= vert_break(ins_ptr(p),w,depth(p));
height(r)= height(r)+best_height_plus_depth;
#ifdef STAT
if(tracing_pages> 0)/*1011:*/
#line 19696 "tex.w"

{begin_diagnostic();print_nl("% split");print_int(n);

print_str(" to ");print_scaled(w);
print_char(',');print_scaled(best_height_plus_depth);
print_str(" p=");
if(q==null)print_int(eject_penalty);
else if(type(q)==penalty_node)print_int(penalty(q));
else print_char('0');
end_diagnostic(false);
}

/*:1011*/
#line 19685 "tex.w"
;
#endif

if(count(n)!=1000)
best_height_plus_depth= x_over_n(best_height_plus_depth,1000)*count(n);
page_goal= page_goal-best_height_plus_depth;
type(r)= split_up;broken_ptr(r)= q;broken_ins(r)= p;
if(q==null)insert_penalties= insert_penalties+eject_penalty;
else if(type(q)==penalty_node)insert_penalties= insert_penalties+penalty(q);
}

/*:1010*/
#line 19632 "tex.w"
;
}
goto contribute;
}

/*:1008*/
#line 19514 "tex.w"

default:confusion(/*1697:*/
#line 25987 "tex.w"
572
/*:1697*/
#line 19515 "tex.w"
);

}

/*:1000*/
#line 19474 "tex.w"
;
/*1005:*/
#line 19562 "tex.w"

if(pi<inf_penalty)
{/*1007:*/
#line 19607 "tex.w"

if(page_total<page_goal)
if((page_so_far[3]!=0)||(page_so_far[4]!=0)||
(page_so_far[5]!=0))b= 0;
else b= badness(page_goal-page_total,page_so_far[2]);
else if(page_total-page_goal> page_shrink)b= awful_bad;
else b= badness(page_total-page_goal,page_shrink)

/*:1007*/
#line 19565 "tex.w"
;
if(b<awful_bad)
if(pi<=eject_penalty)c= pi;
else if(b<inf_bad)c= b+pi+insert_penalties;
else c= deplorable;
else c= b;
if(insert_penalties>=10000)c= awful_bad;

#ifdef STAT
if(tracing_pages> 0)/*1006:*/
#line 19593 "tex.w"

{begin_diagnostic();print_nl("%");
print_str(" t=");print_totals();
print_str(" g=");print_scaled(page_goal);
print_str(" b=");
if(b==awful_bad)print_char('*');else print_int(b);

print_str(" p=");print_int(pi);
print_str(" c=");
if(c==awful_bad)print_char('*');else print_int(c);
if(c<=least_page_cost)print_char('#');
end_diagnostic(false);
}

/*:1006*/
#line 19574 "tex.w"
;
#endif

if(c<=least_page_cost)
{best_page_break= p;best_size= page_goal;
least_page_cost= c;
r= link(page_ins_head);
while(r!=page_ins_head)
{best_ins_ptr(r)= last_ins_ptr(r);
r= link(r);
}
}
if((c==awful_bad)||(pi<=eject_penalty))
{fire_up(p);
if(output_active)return;
goto done;
}
}

/*:1005*/
#line 19477 "tex.w"
;
if((type(p)<glue_node)||(type(p)> kern_node))goto contribute;
update_heights:/*1004:*/
#line 19541 "tex.w"

if(type(p)==kern_node)q= p;
else{q= glue_ptr(p);
page_so_far[2+stretch_order(q)]= 
page_so_far[2+stretch_order(q)]+stretch(q);
page_shrink= page_shrink+shrink(q);
if((shrink_order(q)!=normal)&&(shrink(q)!=0))
{
print_err("Infinite glue shrinkage found on current page");

help4("The page about to be output contains some infinitely")
("shrinkable glue, e.g., `\\vss' or `\\vskip 0pt minus 1fil'.")
("Such glue doesn't belong there; but you can safely proceed,")
("since the offensive shrinkability has been made finite.");
error();
r= new_spec(q);shrink_order(r)= normal;delete_glue_ref(q);
glue_ptr(p)= r;q= r;
}
}
page_total= page_total+page_depth+width(q);page_depth= 0

/*:1004*/
#line 19480 "tex.w"
;
contribute:/*1003:*/
#line 19534 "tex.w"

if(page_depth> page_max_depth)
{page_total= 
page_total+page_depth-page_max_depth;
page_depth= page_max_depth;
}

/*:1003*/
#line 19481 "tex.w"
;
/*998:*/
#line 19486 "tex.w"

link(page_tail)= p;page_tail= p;
link(contrib_head)= link(p);link(p)= null;goto done

/*:998*/
#line 19482 "tex.w"
;
done1:/*999:*/
#line 19490 "tex.w"

link(contrib_head)= link(p);link(p)= null;flush_node_list(p)

/*:999*/
#line 19483 "tex.w"
;
done:

/*:997*/
#line 19442 "tex.w"
;
}while(!(link(contrib_head)==null));
/*995:*/
#line 19449 "tex.w"

if(nest_ptr==0)tail= contrib_head;
else contrib_tail= contrib_head

/*:995*/
#line 19444 "tex.w"
;
}

/*:994*//*1030:*/
#line 20035 "tex.w"
/*1043:*/
#line 20361 "tex.w"

void app_space(void)
{pointer q;
if((space_factor>=2000)&&(xspace_skip!=zero_glue))
q= new_param_glue(xspace_skip_code);
else{if(space_skip!=zero_glue)main_p= space_skip;
else/*1042:*/
#line 20350 "tex.w"

{main_p= font_glue[cur_font];
if(main_p==null)
{main_p= new_spec(zero_glue);main_k= param_base[cur_font]+space_code;
width(main_p)= font_info[main_k].sc;
stretch(main_p)= font_info[main_k+1].sc;
shrink(main_p)= font_info[main_k+2].sc;
font_glue[cur_font]= main_p;
}
}

/*:1042*/
#line 20367 "tex.w"
;
main_p= new_spec(main_p);
/*1044:*/
#line 20375 "tex.w"

if(space_factor>=2000)width(main_p)= width(main_p)+extra_space(cur_font);
stretch(main_p)= xn_over_d(stretch(main_p),space_factor,1000);
shrink(main_p)= xn_over_d(shrink(main_p),1000,space_factor)

/*:1044*/
#line 20369 "tex.w"
;
q= new_glue(main_p);glue_ref_count(main_p)= null;
}
link(tail)= q;tail= q;
}

/*:1043*//*1047:*/
#line 20413 "tex.w"

void insert_dollar_sign(void)
{back_input();cur_tok= math_shift_token+'$';
print_err("Missing $ inserted");

help2("I've inserted a begin-math/end-math symbol since I think")
("you left one out. Proceed, with fingers crossed.");ins_error();
}

/*:1047*//*1049:*/
#line 20438 "tex.w"

void you_cant(void)
{print_err("You can't use `");

print_cmd_chr(cur_cmd,cur_chr);
print_str("' in ");print_mode(mode);
}

/*:1049*//*1050:*/
#line 20446 "tex.w"

void report_illegal_case(void)
{you_cant();
help4("Sorry, but I'm not programmed to handle this case;")
("I'll just pretend that you didn't ask for it.")
("If you're in the wrong mode, you might be able to")
("return to the right one by typing `I}' or `I$' or `I\\par'.");
error();
}

/*:1050*//*1051:*/
#line 20461 "tex.w"

bool privileged(void)
{if(mode> 0)return true;
else{report_illegal_case();return false;
}
}

/*:1051*//*1054:*/
#line 20488 "tex.w"

bool its_all_over(void)
{
if(privileged())
{if((page_head==page_tail)&&(head==tail)&&(dead_cycles==0))
{return true;
}
back_input();
tail_append(new_null_box());
width(tail)= hsize;
tail_append(new_glue(fill_glue));
tail_append(new_penalty(-010000000000));
build_page();
}
return false;
}

/*:1054*//*1060:*/
#line 20598 "tex.w"

void append_glue(void)
{small_number s;
s= cur_chr;
switch(s){
case fil_code:cur_val= fil_glue;break;
case fill_code:cur_val= fill_glue;break;
case ss_code:cur_val= ss_glue;break;
case fil_neg_code:cur_val= fil_neg_glue;break;
case skip_code:scan_glue(glue_val);break;
case mskip_code:scan_glue(mu_val);
}
tail_append(new_glue(cur_val));
if(s>=skip_code)
{decr(glue_ref_count(cur_val));
if(s> skip_code)subtype(tail)= mu_glue;
}
}

/*:1060*//*1061:*/
#line 20617 "tex.w"

void append_kern(void)
{quarterword s;
s= cur_chr;scan_dimen(s==mu_glue,false,false);
tail_append(new_kern(cur_val));subtype(tail)= s;
}

/*:1061*//*1064:*/
#line 20661 "tex.w"

void off_save(void)
{pointer p;
if(cur_group==bottom_level)
/*1066:*/
#line 20700 "tex.w"

{print_err("Extra ");print_cmd_chr(cur_cmd,cur_chr);

help1("Things are pretty mixed up, but I think the worst is over.");
error();
}

/*:1066*/
#line 20665 "tex.w"

else{back_input();p= get_avail();link(temp_head)= p;
print_err("Missing ");
/*1065:*/
#line 20681 "tex.w"

switch(cur_group){
case semi_simple_group:{info(p)= cs_token_flag+frozen_end_group;
print_esc(/*1538:*/
#line 25510 "tex.w"
413
/*:1538*/
#line 20684 "tex.w"
);

}break;
case math_shift_group:{info(p)= math_shift_token+'$';print_char('$');

}break;
case math_left_group:{info(p)= cs_token_flag+frozen_right;link(p)= get_avail();
p= link(p);info(p)= other_token+'.';print_esc(/*1710:*/
#line 26026 "tex.w"
585
/*:1710*/
#line 20691 "tex.w"
);


}break;
default:{info(p)= right_brace_token+'}';print_char('}');

}
}

/*:1065*/
#line 20668 "tex.w"
;
print_str(" inserted");ins_list(link(temp_head));
help5("I've inserted something that you may have forgotten.")
("(See the <inserted text> above.)")
("With luck, this will get me unwedged. But if you")
("really didn't forget anything, try typing `2' now; then")
("my insertion and my current dilemma will both disappear.");
error();
}
}

/*:1064*//*1069:*/
#line 20736 "tex.w"

void extra_right_brace(void)
{print_err("Extra }, or forgotten ");

switch(cur_group){
case semi_simple_group:print_esc(/*1538:*/
#line 25510 "tex.w"
413
/*:1538*/
#line 20741 "tex.w"
);break;
case math_shift_group:print_char('$');break;
case math_left_group:print_esc(/*1660:*/
#line 25876 "tex.w"
535
/*:1660*/
#line 20743 "tex.w"
);
}
help5("I've deleted a group-closing symbol because it seems to be")
("spurious, as in `$x}$'. But perhaps the } is legitimate and")
("you forgot something else, as in `\\hbox{$x}'. In such cases")
("the way to recover is to insert both the forgotten and the")
("deleted material, e.g., by typing `I$}'.");error();
incr(align_state);
}

/*:1069*//*1070:*/
#line 20756 "tex.w"

void normal_paragraph(void)
{if(looseness!=0)eq_word_define(int_base+looseness_code,0);
if(hang_indent!=0)eq_word_define(dimen_base+hang_indent_code,0);
if(hang_after!=1)eq_word_define(int_base+hang_after_code,1);
if(par_shape_ptr!=null)eq_define(par_shape_loc,shape_ref,null);
}

/*:1070*//*1075:*/
#line 20877 "tex.w"

void box_end(int box_context)
{pointer p;
if(box_context<box_flag)/*1076:*/
#line 20892 "tex.w"

{if(cur_box!=null)
{shift_amount(cur_box)= box_context;
if(abs(mode)==vmode)
{append_to_vlist(cur_box);
if(adjust_tail!=null)
{if(adjust_head!=adjust_tail)
{link(tail)= link(adjust_head);tail= adjust_tail;
}
adjust_tail= null;
}
if(mode> 0)build_page();
}
else{if(abs(mode)==hmode)space_factor= 1000;
else{p= new_noad();
math_type(nucleus(p))= sub_box;
info(nucleus(p))= cur_box;cur_box= p;
}
link(tail)= cur_box;tail= cur_box;
}
}
}

/*:1076*/
#line 20881 "tex.w"

else if(box_context<ship_out_flag)/*1077:*/
#line 20915 "tex.w"

if(box_context<box_flag+256)
eq_define(box_base-box_flag+box_context,box_ref,cur_box);
else geq_define(box_base-box_flag-256+box_context,box_ref,cur_box)

/*:1077*/
#line 20882 "tex.w"
;
else if(cur_box!=null)
if(box_context> ship_out_flag)/*1078:*/
#line 20920 "tex.w"

{/*404:*/
#line 8257 "tex.w"

do{get_x_token();
}while(!((cur_cmd!=spacer)&&(cur_cmd!=relax)))

/*:404*/
#line 20921 "tex.w"
;
if(((cur_cmd==hskip)&&(abs(mode)!=vmode))||
((cur_cmd==vskip)&&(abs(mode)==vmode)))
{append_glue();subtype(tail)= box_context-(leader_flag-a_leaders);
leader_ptr(tail)= cur_box;
}
else{print_err("Leaders not followed by proper glue");

help3("You should say `\\leaders <box or rule><hskip or vskip>'.")
("I found the <box or rule>, but there's no suitable")
("<hskip or vskip>, so I'm ignoring these leaders.");back_error();
flush_node_list(cur_box);
}
}

/*:1078*/
#line 20884 "tex.w"

else ship_out(cur_box);
}

/*:1075*//*1079:*/
#line 20941 "tex.w"

void begin_box(int box_context)
{
pointer p,q;
int m;
halfword k;
eight_bits n;
switch(cur_chr){
case box_code:{scan_eight_bit_int();cur_box= box(cur_val);
box(cur_val)= null;
}break;
case copy_code:{scan_eight_bit_int();cur_box= copy_node_list(box(cur_val));
}break;
case last_box_code:/*1080:*/
#line 20965 "tex.w"

{cur_box= null;
if(abs(mode)==mmode)
{you_cant();help1("Sorry; this \\lastbox will be void.");error();
}
else if((mode==vmode)&&(head==tail))
{you_cant();
help2("Sorry...I usually can't take things from the current page.")
("This \\lastbox will therefore be void.");error();
}
else{if(!is_char_node(tail))
if((type(tail)==hlist_node)||(type(tail)==vlist_node))
/*1081:*/
#line 20981 "tex.w"

{q= head;
do{p= q;
if(!is_char_node(q))if(type(q)==disc_node)
{for(m= 1;m<=replace_count(q);m++)p= link(p);
if(p==tail)goto done;
}
q= link(p);
}while(!(q==tail));
cur_box= tail;shift_amount(cur_box)= 0;
tail= p;link(p)= null;
done:;}

/*:1081*/
#line 20977 "tex.w"
;
}
}

/*:1080*/
#line 20955 "tex.w"
break;
case vsplit_code:/*1082:*/
#line 20996 "tex.w"

{scan_eight_bit_int();n= cur_val;
if(!scan_keyword(/*1642:*/
#line 25822 "tex.w"
517
/*:1642*/
#line 20998 "tex.w"
))

{print_err("Missing `to' inserted");

help2("I'm working on `\\vsplit<box number> to <dimen>';")
("will look for the <dimen> next.");error();
}
scan_normal_dimen;
cur_box= vsplit(n,cur_val);
}

/*:1082*/
#line 20956 "tex.w"
break;
default:/*1083:*/
#line 21012 "tex.w"

{k= cur_chr-vtop_code;saved(0)= box_context;
if(k==hmode)
if((box_context<box_flag)&&(abs(mode)==vmode))
scan_spec(adjusted_hbox_group,true);
else scan_spec(hbox_group,true);
else{if(k==vmode)scan_spec(vbox_group,true);
else{scan_spec(vtop_group,true);k= vmode;
}
normal_paragraph();
}
push_nest();mode= -k;
if(k==vmode)
{prev_depth= ignore_depth;
if(every_vbox!=null)begin_token_list(every_vbox,every_vbox_text);
}
else{space_factor= 1000;
if(every_hbox!=null)begin_token_list(every_hbox,every_hbox_text);
}
return;
}

/*:1083*/
#line 20957 "tex.w"

}
box_end(box_context);
}

/*:1079*//*1084:*/
#line 21034 "tex.w"

void scan_box(int box_context)

{/*404:*/
#line 8257 "tex.w"

do{get_x_token();
}while(!((cur_cmd!=spacer)&&(cur_cmd!=relax)))

/*:404*/
#line 21037 "tex.w"
;
if(cur_cmd==make_box)begin_box(box_context);
else if((box_context>=leader_flag)&&((cur_cmd==hrule)||(cur_cmd==vrule)))
{cur_box= scan_rule_spec();box_end(box_context);
}
else{
print_err("A <box> was supposed to be here");

help3("I was expecting to see \\hbox or \\vbox or \\copy or \\box or")
("something like that. So you might find something missing in")
("your output. But keep trying; you can fix this later.");back_error();
}
}

/*:1084*//*1086:*/
#line 21064 "tex.w"

void package(small_number c)
{scaled h;
pointer p;
scaled d;
d= box_max_depth;unsave();save_ptr= save_ptr-3;
if(mode==-hmode)cur_box= hpack(link(head),saved(2),saved(1));
else{cur_box= vpackage(link(head),saved(2),saved(1),d);
if(c==vtop_code)/*1087:*/
#line 21082 "tex.w"

{h= 0;p= list_ptr(cur_box);
if(p!=null)if(type(p)<=rule_node)h= height(p);
depth(cur_box)= depth(cur_box)-h+height(cur_box);height(cur_box)= h;
}

/*:1087*/
#line 21072 "tex.w"
;
}
pop_nest();box_end(saved(0));
}

/*:1086*//*1091:*/
#line 21110 "tex.w"

small_number norm_min(int h)
{if(h<=0)return 1;else if(h>=63)return 63;
else return h;
}

void new_graf(bool indented)
{prev_graf= 0;
if((mode==vmode)||(head!=tail))
tail_append(new_param_glue(par_skip_code));
push_nest();mode= hmode;space_factor= 1000;set_cur_lang;clang= cur_lang;
prev_graf= (norm_min(left_hyphen_min)*0100+norm_min(right_hyphen_min))
*0200000+cur_lang;
if(indented)
{tail= new_null_box();link(head)= tail;width(tail)= par_indent;
}
if(every_par!=null)begin_token_list(every_par,every_par_text);
if(nest_ptr==1)build_page();
}

/*:1091*//*1093:*/
#line 21133 "tex.w"

void indent_in_hmode(void)
{pointer p,q;
if(cur_chr> 0)
{p= new_null_box();width(p)= par_indent;
if(abs(mode)==hmode)space_factor= 1000;
else{q= new_noad();math_type(nucleus(q))= sub_box;
info(nucleus(q))= p;p= q;
}
tail_append(p);
}
}

/*:1093*//*1095:*/
#line 21161 "tex.w"

void head_for_vmode(void)
{if(mode<0)
if(cur_cmd!=hrule)off_save();
else{print_err("You can't use `");
print_esc(/*1543:*/
#line 25525 "tex.w"
418
/*:1543*/
#line 21166 "tex.w"
);print_str("' here except with leaders");

help2("To put a horizontal rule in an hbox or an alignment,")
("you should use \\leaders or \\hrulefill (see The TeXbook).");
error();
}
else{back_input();cur_tok= par_token;back_input();token_type= inserted;
}
}

/*:1095*//*1096:*/
#line 21176 "tex.w"

void end_graf(void)
{if(mode==hmode)
{if(head==tail)pop_nest();
else line_break(widow_penalty);
normal_paragraph();
error_count= 0;
}
}

/*:1096*//*1099:*/
#line 21196 "tex.w"

void begin_insert_or_adjust(void)
{if(cur_cmd==vadjust)cur_val= 255;
else{scan_eight_bit_int();
if(cur_val==255)
{print_err("You can't ");print_esc(/*1390:*/
#line 25066 "tex.w"
265
/*:1390*/
#line 21201 "tex.w"
);print_int(255);

help1("I'm changing to \\insert0; box 255 is special.");
error();cur_val= 0;
}
}
saved(0)= cur_val;incr(save_ptr);
new_save_level(insert_group);scan_left_brace();normal_paragraph();
push_nest();mode= -vmode;prev_depth= ignore_depth;
}

/*:1099*//*1101:*/
#line 21233 "tex.w"

void make_mark(void)
{pointer p;
p= scan_toks(false,true);p= get_node(small_node_size);
type(p)= mark_node;subtype(p)= 0;
mark_ptr(p)= def_ref;link(tail)= p;tail= p;
}

/*:1101*//*1103:*/
#line 21247 "tex.w"

void append_penalty(void)
{scan_int();tail_append(new_penalty(cur_val));
if(mode==vmode)build_page();
}

/*:1103*//*1105:*/
#line 21266 "tex.w"

void delete_last(void)
{
pointer p,q;
int m;
if((mode==vmode)&&(tail==head))
/*1106:*/
#line 21287 "tex.w"

{if((cur_chr!=glue_node)||(last_glue!=max_halfword))
{you_cant();
help2("Sorry...I usually can't take things from the current page.")
("Try `I\\vskip-\\lastskip' instead.");
if(cur_chr==kern_node)help_line[0]= 
("Try `I\\kern-\\lastkern' instead.");
else if(cur_chr!=glue_node)help_line[0]= 
("Perhaps you can make the output routine do it.");
error();
}
}

/*:1106*/
#line 21272 "tex.w"

else{if(!is_char_node(tail))if(type(tail)==cur_chr)
{q= head;
do{p= q;
if(!is_char_node(q))if(type(q)==disc_node)
{for(m= 1;m<=replace_count(q);m++)p= link(p);
if(p==tail)return;
}
q= link(p);
}while(!(q==tail));
link(p)= null;flush_node_list(tail);tail= p;
}
}
}

/*:1105*//*1110:*/
#line 21330 "tex.w"

void unpackage(void)
{
pointer p;
uint8_t c;
c= cur_chr;scan_eight_bit_int();p= box(cur_val);
if(p==null)return;
if((abs(mode)==mmode)||((abs(mode)==vmode)&&(type(p)!=vlist_node))||
((abs(mode)==hmode)&&(type(p)!=hlist_node)))
{print_err("Incompatible list can't be unboxed");

help3("Sorry, Pandora. (You sneaky devil.)")
("I refuse to unbox an \\hbox in vertical mode or vice versa.")
("And I can't open any boxes in math mode.");
error();return;
}
if(c==copy_code)link(tail)= copy_node_list(list_ptr(p));
else{link(tail)= list_ptr(p);box(cur_val)= null;
free_node(p,box_node_size);
}
while(link(tail)!=null)tail= link(tail);
}

/*:1110*//*1113:*/
#line 21363 "tex.w"

void append_italic_correction(void)
{
pointer p;
internal_font_number f;
if(tail!=head)
{if(is_char_node(tail))p= tail;
else if(type(tail)==ligature_node)p= lig_char(tail);
else return;
f= font(p);
tail_append(new_kern(char_italic(f)(char_info(f)(character(p)))));
subtype(tail)= explicit;
}
}

/*:1113*//*1117:*/
#line 21397 "tex.w"

void append_discretionary(void)
{int c;
tail_append(new_disc());
if(cur_chr==1)
{c= hyphen_char[cur_font];
if(c>=0)if(c<256)pre_break(tail)= new_character(cur_font,c);
}
else{incr(save_ptr);saved(-1)= 0;new_save_level(disc_group);
scan_left_brace();push_nest();mode= -hmode;space_factor= 1000;
}
}

/*:1117*//*1119:*/
#line 21417 "tex.w"

void build_discretionary(void)
{
pointer p,q;
int n;
unsave();
/*1121:*/
#line 21459 "tex.w"

q= head;p= link(q);n= 0;
while(p!=null)
{if(!is_char_node(p))if(type(p)> rule_node)
if(type(p)!=kern_node)if(type(p)!=ligature_node)
{print_err("Improper discretionary list");

help1("Discretionary lists must contain only boxes and kerns.");
error();
begin_diagnostic();
print_nl("The following discretionary sublist has been deleted:");

show_box(p);
end_diagnostic(true);
flush_node_list(p);link(q)= null;goto done;
}
q= p;p= link(q);incr(n);
}
done:

/*:1121*/
#line 21425 "tex.w"
;
p= link(head);pop_nest();
switch(saved(-1)){
case 0:pre_break(tail)= p;break;
case 1:post_break(tail)= p;break;
case 2:/*1120:*/
#line 21437 "tex.w"

{if((n> 0)&&(abs(mode)==mmode))
{print_err("Illegal math ");print_esc(/*1400:*/
#line 25096 "tex.w"
275
/*:1400*/
#line 21439 "tex.w"
);

help2("Sorry: The third part of a discretionary break must be")
("empty, in math formulas. I had to delete your third part.");
flush_node_list(p);n= 0;error();
}
else link(tail)= p;
if(n<=max_quarterword)replace_count(tail)= n;
else{print_err("Discretionary list is too long");

help2("Wow---I never thought anybody would tweak me here.")
("You can't seriously need such a huge discretionary list?");
error();
}
if(n> 0)tail= q;
decr(save_ptr);return;
}

/*:1120*/
#line 21431 "tex.w"
;
}
incr(saved(-1));new_save_level(disc_group);scan_left_brace();
push_nest();mode= -hmode;space_factor= 1000;
}

/*:1119*//*1123:*/
#line 21493 "tex.w"

void make_accent(void)
{double s,t;
pointer p,q,r;
internal_font_number f;
scaled a,h,x,w,delta;
four_quarters i;
scan_char_num();f= cur_font;p= new_character(f,cur_val);
if(p!=null)
{x= x_height(f);s= slant(f)/float_constant(65536);

a= char_width(f)(char_info(f)(character(p)));
do_assignments();
/*1124:*/
#line 21513 "tex.w"

q= null;f= cur_font;
if((cur_cmd==letter)||(cur_cmd==other_char)||(cur_cmd==char_given))
q= new_character(f,cur_chr);
else if(cur_cmd==char_num)
{scan_char_num();q= new_character(f,cur_val);
}
else back_input()

/*:1124*/
#line 21507 "tex.w"
;
if(q!=null)/*1125:*/
#line 21529 "tex.w"

{t= slant(f)/float_constant(65536);

i= char_info(f)(character(q));
w= char_width(f)(i);h= char_height(f)(height_depth(i));
if(h!=x)
{p= hpack(p,natural);shift_amount(p)= x-h;
}
delta= round((w-a)/float_constant(2)+h*t-x*s);


r= new_kern(delta);subtype(r)= acc_kern;link(tail)= r;link(r)= p;
tail= new_kern(-a-delta);subtype(tail)= acc_kern;link(p)= tail;p= q;
}

/*:1125*/
#line 21508 "tex.w"
;
link(tail)= p;tail= p;space_factor= 1000;
}
}

/*:1123*//*1127:*/
#line 21557 "tex.w"

void align_error(void)
{if(abs(align_state)> 2)
/*1128:*/
#line 21577 "tex.w"

{print_err("Misplaced ");print_cmd_chr(cur_cmd,cur_chr);



if(cur_tok==tab_token+'&')
{help6("I can't figure out why you would want to use a tab mark")
("here. If you just want an ampersand, the remedy is")
("simple: Just type `I\\&' now. But if some right brace")
("up above has ended a previous alignment prematurely,")
("you're probably due for more error messages, and you")
("might try typing `S' now just to see what is salvageable.");
}
else{help5("I can't figure out why you would want to use a tab mark")
("or \\cr or \\span just now. If something like a right brace")
("up above has ended a previous alignment prematurely,")
("you're probably due for more error messages, and you")
("might try typing `S' now just to see what is salvageable.");
}
error();
}

/*:1128*/
#line 21560 "tex.w"

else{back_input();
if(align_state<0)
{print_err("Missing { inserted");

incr(align_state);cur_tok= left_brace_token+'{';
}
else{print_err("Missing } inserted");

decr(align_state);cur_tok= right_brace_token+'}';
}
help3("I've put in what seems to be necessary to fix")
("the current column of the current alignment.")
("Try to go on, since this might almost work.");ins_error();
}
}

/*:1127*//*1129:*/
#line 21602 "tex.w"

void no_align_error(void)
{print_err("Misplaced ");print_esc(/*1549:*/
#line 25543 "tex.w"
424
/*:1549*/
#line 21604 "tex.w"
);

help2("I expect to see \\noalign only after the \\cr of")
("an alignment. Proceed, and I'll ignore this case.");error();
}
void omit_error(void)
{print_err("Misplaced ");print_esc(/*1552:*/
#line 25552 "tex.w"
427
/*:1552*/
#line 21610 "tex.w"
);

help2("I expect to see \\omit only after tab marks or the \\cr of")
("an alignment. Proceed, and I'll ignore this case.");error();
}

/*:1129*//*1131:*/
#line 21632 "tex.w"

void do_endv(void)
{base_ptr= input_ptr;input_stack[base_ptr]= cur_input;
while((input_stack[base_ptr].index_field!=v_template)&&
(input_stack[base_ptr].loc_field==null)&&
(input_stack[base_ptr].state_field==token_list))decr(base_ptr);
if((input_stack[base_ptr].index_field!=v_template)||
(input_stack[base_ptr].loc_field!=null)||
(input_stack[base_ptr].state_field!=token_list))
fatal_error("(interwoven alignment preambles are not allowed)");

if(cur_group==align_group)
{end_graf();
if(fin_col())fin_row();
}
else off_save();
}

/*:1131*//*1135:*/
#line 21667 "tex.w"

void cs_error(void)
{print_err("Extra ");print_esc(/*1527:*/
#line 25477 "tex.w"
402
/*:1527*/
#line 21669 "tex.w"
);

help1("I'm ignoring this, since I wasn't doing a \\csname.");
error();
}

/*:1135*//*1136:*/
#line 21685 "tex.w"

void push_math(group_code c)
{push_nest();mode= -mmode;incompleat_noad= null;new_save_level(c);
}

/*:1136*//*1138:*/
#line 21698 "tex.w"

void init_math(void)
{
scaled w;
scaled l;
scaled s;
pointer p;
pointer q;
internal_font_number f;
int n;
scaled v;
scaled d;
get_token();
if((cur_cmd==math_shift)&&(mode> 0))/*1145:*/
#line 21756 "tex.w"

{if(head==tail)
{pop_nest();w= -max_dimen;
}
else{line_break(display_widow_penalty);
/*1146:*/
#line 21776 "tex.w"

v= shift_amount(just_box)+2*quad(cur_font);w= -max_dimen;
p= list_ptr(just_box);
while(p!=null)
{/*1147:*/
#line 21793 "tex.w"

reswitch:if(is_char_node(p))
{f= font(p);d= char_width(f)(char_info(f)(character(p)));
goto found;
}
switch(type(p)){
case hlist_node:case vlist_node:case rule_node:{d= width(p);goto found;
}
case ligature_node:/*652:*/
#line 12994 "tex.w"

{mem[lig_trick]= mem[lig_char(p)];link(lig_trick)= link(p);
p= lig_trick;goto reswitch;
}

/*:652*/
#line 21801 "tex.w"

case kern_node:case math_node:d= width(p);break;
case glue_node:/*1148:*/
#line 21815 "tex.w"

{q= glue_ptr(p);d= width(q);
if(glue_sign(just_box)==stretching)
{if((glue_order(just_box)==stretch_order(q))&&
(stretch(q)!=0))
v= max_dimen;
}
else if(glue_sign(just_box)==shrinking)
{if((glue_order(just_box)==shrink_order(q))&&
(shrink(q)!=0))
v= max_dimen;
}
if(subtype(p)>=a_leaders)goto found;
}

/*:1148*/
#line 21804 "tex.w"
break;
case whatsit_node:/*1361:*/
#line 24797 "tex.w"
d= 0

/*:1361*/
#line 21805 "tex.w"
;break;
default:d= 0;
}

/*:1147*/
#line 21781 "tex.w"
;
if(v<max_dimen)v= v+d;
goto not_found;
found:if(v<max_dimen)
{v= v+d;w= v;
}
else{w= max_dimen;goto done;
}
not_found:p= link(p);
}
done:

/*:1146*/
#line 21763 "tex.w"
;
}

/*1149:*/
#line 21833 "tex.w"

if(par_shape_ptr==null)
if((hang_indent!=0)&&
(((hang_after>=0)&&(prev_graf+2> hang_after))||
(prev_graf+1<-hang_after)))
{l= hsize-abs(hang_indent);
if(hang_indent> 0)s= hang_indent;else s= 0;
}
else{l= hsize;s= 0;
}
else{n= info(par_shape_ptr);
if(prev_graf+2>=n)p= par_shape_ptr+2*n;
else p= par_shape_ptr+2*(prev_graf+2);
s= mem[p-1].sc;l= mem[p].sc;
}

/*:1149*/
#line 21766 "tex.w"
;
push_math(math_shift_group);mode= mmode;
eq_word_define(int_base+cur_fam_code,-1);
eq_word_define(dimen_base+pre_display_size_code,w);
eq_word_define(dimen_base+display_width_code,l);
eq_word_define(dimen_base+display_indent_code,s);
if(every_display!=null)begin_token_list(every_display,every_display_text);
if(nest_ptr==1)build_page();
}

/*:1145*/
#line 21711 "tex.w"

else{back_input();/*1139:*/
#line 21716 "tex.w"

{push_math(math_shift_group);eq_word_define(int_base+cur_fam_code,-1);
if(every_math!=null)begin_token_list(every_math,every_math_text);
}

/*:1139*/
#line 21712 "tex.w"
;
}
}

/*:1138*//*1142:*/
#line 21740 "tex.w"

void start_eq_no(void)
{saved(0)= cur_chr;incr(save_ptr);
/*1139:*/
#line 21716 "tex.w"

{push_math(math_shift_group);eq_word_define(int_base+cur_fam_code,-1);
if(every_math!=null)begin_token_list(every_math,every_math_text);
}

/*:1139*/
#line 21743 "tex.w"
;
}

/*:1142*//*1151:*/
#line 21877 "tex.w"

void scan_math(pointer p)
{
int c;
restart:/*404:*/
#line 8257 "tex.w"

do{get_x_token();
}while(!((cur_cmd!=spacer)&&(cur_cmd!=relax)))

/*:404*/
#line 21881 "tex.w"
;
reswitch:switch(cur_cmd){
case letter:case other_char:case char_given:{c= ho(math_code(cur_chr));
if(c==0100000)
{/*1152:*/
#line 21906 "tex.w"

{cur_cs= cur_chr+active_base;
cur_cmd= eq_type(cur_cs);cur_chr= equiv(cur_cs);
x_token();back_input();
}

/*:1152*/
#line 21885 "tex.w"
;
goto restart;
}
}break;
case char_num:{scan_char_num();cur_chr= cur_val;cur_cmd= char_given;
goto reswitch;
}
case math_char_num:{scan_fifteen_bit_int();c= cur_val;
}break;
case math_given:c= cur_chr;break;
case delim_num:{scan_twenty_seven_bit_int();c= cur_val/010000;
}break;
default:/*1153:*/
#line 21915 "tex.w"

{back_input();scan_left_brace();
saved(0)= p;incr(save_ptr);push_math(math_group);return;
}

/*:1153*/
#line 21897 "tex.w"

}
math_type(p)= math_char;character(p)= qi(c%256);
if((c>=var_code)&&fam_in_range)fam(p)= cur_fam;
else fam(p)= (c/256)%16;
}

/*:1151*//*1155:*/
#line 21945 "tex.w"

void set_math_char(int c)
{pointer p;
if(c>=0100000)
/*1152:*/
#line 21906 "tex.w"

{cur_cs= cur_chr+active_base;
cur_cmd= eq_type(cur_cs);cur_chr= equiv(cur_cs);
x_token();back_input();
}

/*:1152*/
#line 21949 "tex.w"

else{p= new_noad();math_type(nucleus(p))= math_char;
character(nucleus(p))= qi(c%256);
fam(nucleus(p))= (c/256)%16;
if(c>=var_code)
{if(fam_in_range)fam(nucleus(p))= cur_fam;
type(p)= ord_noad;
}
else type(p)= ord_noad+(c/010000);
link(tail)= p;tail= p;
}
}

/*:1155*//*1159:*/
#line 22017 "tex.w"

void math_limit_switch(void)
{
if(head!=tail)if(type(tail)==op_noad)
{subtype(tail)= cur_chr;return;
}
print_err("Limit controls must follow a math operator");

help1("I'm ignoring this misplaced \\limits or \\nolimits command.");error();
}

/*:1159*//*1160:*/
#line 22033 "tex.w"

void scan_delimiter(pointer p,bool r)
{if(r)scan_twenty_seven_bit_int();
else{/*404:*/
#line 8257 "tex.w"

do{get_x_token();
}while(!((cur_cmd!=spacer)&&(cur_cmd!=relax)))

/*:404*/
#line 22036 "tex.w"
;
switch(cur_cmd){
case letter:case other_char:cur_val= del_code(cur_chr);break;
case delim_num:scan_twenty_seven_bit_int();break;
default:cur_val= -1;
}
}
if(cur_val<0)/*1161:*/
#line 22051 "tex.w"

{print_err("Missing delimiter (. inserted)");

help6("I was expecting to see something like `(' or `\\{' or")
("`\\}' here. If you typed, e.g., `{' instead of `\\{', you")
("should probably delete the `{' by typing `1' now, so that")
("braces don't get unbalanced. Otherwise just proceed.")
("Acceptable delimiters are characters whose \\delcode is")
("nonnegative, or you can use `\\delimiter <delimiter code>'.");
back_error();cur_val= 0;
}

/*:1161*/
#line 22044 "tex.w"
;
small_fam(p)= (cur_val/04000000)%16;
small_char(p)= qi((cur_val/010000)%256);
large_fam(p)= (cur_val/256)%16;
large_char(p)= qi(cur_val%256);
}

/*:1160*//*1163:*/
#line 22066 "tex.w"

void math_radical(void)
{tail_append(get_node(radical_noad_size));
type(tail)= radical_noad;subtype(tail)= normal;
mem[nucleus(tail)].hh= empty_field;
mem[subscr(tail)].hh= empty_field;
mem[supscr(tail)].hh= empty_field;
scan_delimiter(left_delimiter(tail),true);scan_math(nucleus(tail));
}

/*:1163*//*1165:*/
#line 22079 "tex.w"

void math_ac(void)
{if(cur_cmd==accent)
/*1166:*/
#line 22096 "tex.w"

{print_err("Please use ");print_esc(/*1545:*/
#line 25531 "tex.w"
420
/*:1545*/
#line 22097 "tex.w"
);
print_str(" for accents in math mode");

help2("I'm changing \\accent to \\mathaccent here; wish me luck.")
("(Accents are not the same in formulas as they are in text.)");
error();
}

/*:1166*/
#line 22082 "tex.w"
;
tail_append(get_node(accent_noad_size));
type(tail)= accent_noad;subtype(tail)= normal;
mem[nucleus(tail)].hh= empty_field;
mem[subscr(tail)].hh= empty_field;
mem[supscr(tail)].hh= empty_field;
math_type(accent_chr(tail))= math_char;
scan_fifteen_bit_int();
character(accent_chr(tail))= qi(cur_val%256);
if((cur_val>=var_code)&&fam_in_range)fam(accent_chr(tail))= cur_fam;
else fam(accent_chr(tail))= (cur_val/256)%16;
scan_math(nucleus(tail));
}

/*:1165*//*1172:*/
#line 22143 "tex.w"

void append_choices(void)
{tail_append(new_choice());incr(save_ptr);saved(-1)= 0;
push_math(math_choice_group);scan_left_brace();
}

/*:1172*//*1174:*/
#line 22152 "tex.w"

/*1184:*/
#line 22297 "tex.w"

pointer fin_mlist(pointer p)
{pointer q;
if(incompleat_noad!=null)/*1185:*/
#line 22306 "tex.w"

{math_type(denominator(incompleat_noad))= sub_mlist;
info(denominator(incompleat_noad))= link(head);
if(p==null)q= incompleat_noad;
else{q= info(numerator(incompleat_noad));
if(type(q)!=left_noad)confusion(/*1660:*/
#line 25876 "tex.w"
535
/*:1660*/
#line 22311 "tex.w"
);

info(numerator(incompleat_noad))= link(q);
link(q)= incompleat_noad;link(incompleat_noad)= p;
}
}

/*:1185*/
#line 22300 "tex.w"

else{link(tail)= p;q= link(head);
}
pop_nest();return q;
}

/*:1184*/
#line 22153 "tex.w"

void build_choices(void)
{
pointer p;
unsave();p= fin_mlist(null);
switch(saved(-1)){
case 0:display_mlist(tail)= p;break;
case 1:text_mlist(tail)= p;break;
case 2:script_mlist(tail)= p;break;
case 3:{script_script_mlist(tail)= p;decr(save_ptr);return;
}
}
incr(saved(-1));push_math(math_choice_group);scan_left_brace();
}

/*:1174*//*1176:*/
#line 22176 "tex.w"

void sub_sup(void)
{small_number t;
pointer p;
t= empty;p= null;
if(tail!=head)if(scripts_allowed(tail))
{p= supscr(tail)+cur_cmd-sup_mark;
t= math_type(p);
}
if((p==null)||(t!=empty))/*1177:*/
#line 22189 "tex.w"

{tail_append(new_noad());
p= supscr(tail)+cur_cmd-sup_mark;
if(t!=empty)
{if(cur_cmd==sup_mark)
{print_err("Double superscript");

help1("I treat `x^1^2' essentially like `x^1{}^2'.");
}
else{print_err("Double subscript");

help1("I treat `x_1_2' essentially like `x_1{}_2'.");
}
error();
}
}

/*:1177*/
#line 22185 "tex.w"
;
scan_math(p);
}

/*:1176*//*1181:*/
#line 22246 "tex.w"

void math_fraction(void)
{small_number c;
c= cur_chr;
if(incompleat_noad!=null)
/*1183:*/
#line 22278 "tex.w"

{if(c>=delimited_code)
{scan_delimiter(garbage,false);scan_delimiter(garbage,false);
}
if(c%delimited_code==above_code)scan_normal_dimen;
print_err("Ambiguous; you need another { and }");

help3("I'm ignoring this fraction specification, since I don't")
("know whether a construction like `x \\over y \\over z'")
("means `{x \\over y} \\over z' or `x \\over {y \\over z}'.");
error();
}

/*:1183*/
#line 22251 "tex.w"

else{incompleat_noad= get_node(fraction_noad_size);
type(incompleat_noad)= fraction_noad;
subtype(incompleat_noad)= normal;
math_type(numerator(incompleat_noad))= sub_mlist;
info(numerator(incompleat_noad))= link(head);
mem[denominator(incompleat_noad)].hh= empty_field;
mem[left_delimiter(incompleat_noad)].qqqq= null_delimiter;
mem[right_delimiter(incompleat_noad)].qqqq= null_delimiter;
link(head)= null;tail= head;
/*1182:*/
#line 22265 "tex.w"

if(c>=delimited_code)
{scan_delimiter(left_delimiter(incompleat_noad),false);
scan_delimiter(right_delimiter(incompleat_noad),false);
}
switch(c%delimited_code){
case above_code:{scan_normal_dimen;
thickness(incompleat_noad)= cur_val;
}break;
case over_code:thickness(incompleat_noad)= default_code;break;
case atop_code:thickness(incompleat_noad)= 0;
}

/*:1182*/
#line 22261 "tex.w"
;
}
}

/*:1181*//*1191:*/
#line 22361 "tex.w"

void math_left_right(void)
{small_number t;
pointer p;
t= cur_chr;
if((t==right_noad)&&(cur_group!=math_left_group))
/*1192:*/
#line 22381 "tex.w"

{if(cur_group==math_shift_group)
{scan_delimiter(garbage,false);
print_err("Extra ");print_esc(/*1660:*/
#line 25876 "tex.w"
535
/*:1660*/
#line 22384 "tex.w"
);

help1("I'm ignoring a \\right that had no matching \\left.");
error();
}
else off_save();
}

/*:1192*/
#line 22367 "tex.w"

else{p= new_noad();type(p)= t;
scan_delimiter(delimiter(p),false);
if(t==left_noad)
{push_math(math_left_group);link(head)= p;tail= p;
}
else{p= fin_mlist(p);unsave();
tail_append(new_noad());type(tail)= inner_noad;
math_type(nucleus(tail))= sub_mlist;
info(nucleus(tail))= p;
}
}
}

/*:1191*//*1194:*/
#line 22398 "tex.w"

void after_math(void)
{bool l;
bool danger;
int m;
pointer p;
pointer a;
/*1198:*/
#line 22482 "tex.w"

pointer b;
scaled w;
scaled z;
scaled e;
scaled q;
scaled d;
scaled s;
small_number g1,g2;
pointer r;
pointer t;

/*:1198*/
#line 22405 "tex.w"

danger= false;
/*1195:*/
#line 22428 "tex.w"

if((font_params[fam_fnt(2+text_size)]<total_mathsy_params)||
(font_params[fam_fnt(2+script_size)]<total_mathsy_params)||
(font_params[fam_fnt(2+script_script_size)]<total_mathsy_params))
{print_err("Math formula deleted: Insufficient symbol fonts");

help3("Sorry, but I can't typeset math unless \\textfont 2")
("and \\scriptfont 2 and \\scriptscriptfont 2 have all")
("the \\fontdimen values needed in math symbol fonts.");
error();flush_math();danger= true;
}
else if((font_params[fam_fnt(3+text_size)]<total_mathex_params)||
(font_params[fam_fnt(3+script_size)]<total_mathex_params)||
(font_params[fam_fnt(3+script_script_size)]<total_mathex_params))
{print_err("Math formula deleted: Insufficient extension fonts");
help3("Sorry, but I can't typeset math unless \\textfont 3")
("and \\scriptfont 3 and \\scriptscriptfont 3 have all")
("the \\fontdimen values needed in math extension fonts.");
error();flush_math();danger= true;
}

/*:1195*/
#line 22408 "tex.w"
;
m= mode;l= false;p= fin_mlist(null);
if(mode==-m)
{/*1197:*/
#line 22467 "tex.w"

{get_x_token();
if(cur_cmd!=math_shift)
{print_err("Display math should end with $$");

help2("The `$' that I just saw supposedly matches a previous `$$'.")
("So I shall assume that you typed `$$' both times.");
back_error();
}
}

/*:1197*/
#line 22411 "tex.w"
;
cur_mlist= p;cur_style= text_style;mlist_penalties= false;
mlist_to_hlist();a= hpack(link(temp_head),natural);
unsave();decr(save_ptr);
if(saved(0)==1)l= true;
danger= false;
/*1195:*/
#line 22428 "tex.w"

if((font_params[fam_fnt(2+text_size)]<total_mathsy_params)||
(font_params[fam_fnt(2+script_size)]<total_mathsy_params)||
(font_params[fam_fnt(2+script_script_size)]<total_mathsy_params))
{print_err("Math formula deleted: Insufficient symbol fonts");

help3("Sorry, but I can't typeset math unless \\textfont 2")
("and \\scriptfont 2 and \\scriptscriptfont 2 have all")
("the \\fontdimen values needed in math symbol fonts.");
error();flush_math();danger= true;
}
else if((font_params[fam_fnt(3+text_size)]<total_mathex_params)||
(font_params[fam_fnt(3+script_size)]<total_mathex_params)||
(font_params[fam_fnt(3+script_script_size)]<total_mathex_params))
{print_err("Math formula deleted: Insufficient extension fonts");
help3("Sorry, but I can't typeset math unless \\textfont 3")
("and \\scriptfont 3 and \\scriptscriptfont 3 have all")
("the \\fontdimen values needed in math extension fonts.");
error();flush_math();danger= true;
}

/*:1195*/
#line 22418 "tex.w"
;
m= mode;p= fin_mlist(null);
}
else a= null;
if(m<0)/*1196:*/
#line 22455 "tex.w"

{tail_append(new_math(math_surround,before));
cur_mlist= p;cur_style= text_style;mlist_penalties= (mode> 0);mlist_to_hlist();
link(tail)= link(temp_head);
while(link(tail)!=null)tail= link(tail);
tail_append(new_math(math_surround,after));
space_factor= 1000;unsave();
}

/*:1196*/
#line 22422 "tex.w"

else{if(a==null)/*1197:*/
#line 22467 "tex.w"

{get_x_token();
if(cur_cmd!=math_shift)
{print_err("Display math should end with $$");

help2("The `$' that I just saw supposedly matches a previous `$$'.")
("So I shall assume that you typed `$$' both times.");
back_error();
}
}

/*:1197*/
#line 22423 "tex.w"
;
/*1199:*/
#line 22498 "tex.w"

cur_mlist= p;cur_style= display_style;mlist_penalties= false;
mlist_to_hlist();p= link(temp_head);
adjust_tail= adjust_head;b= hpack(p,natural);p= list_ptr(b);
t= adjust_tail;adjust_tail= null;
w= width(b);z= display_width;s= display_indent;
if((a==null)||danger)
{e= 0;q= 0;
}
else{e= width(a);q= e+math_quad(text_size);
}
if(w+q> z)
/*1201:*/
#line 22534 "tex.w"

{if((e!=0)&&((w-total_shrink[normal]+q<=z)||
(total_shrink[fil]!=0)||(total_shrink[fill]!=0)||
(total_shrink[filll]!=0)))
{free_node(b,box_node_size);
b= hpack(p,z-q,exactly);
}
else{e= 0;
if(w> z)
{free_node(b,box_node_size);
b= hpack(p,z,exactly);
}
}
w= width(b);
}

/*:1201*/
#line 22511 "tex.w"
;
/*1202:*/
#line 22558 "tex.w"

d= half(z-w);
if((e> 0)&&(d<2*e))
{d= half(z-w-e);
if(p!=null)if(!is_char_node(p))if(type(p)==glue_node)d= 0;
}

/*:1202*/
#line 22513 "tex.w"
;
/*1203:*/
#line 22571 "tex.w"

tail_append(new_penalty(pre_display_penalty));
if((d+s<=pre_display_size)||l)
{g1= above_display_skip_code;g2= below_display_skip_code;
}
else{g1= above_display_short_skip_code;
g2= below_display_short_skip_code;
}
if(l&&(e==0))
{shift_amount(a)= s;append_to_vlist(a);
tail_append(new_penalty(inf_penalty));
}
else tail_append(new_param_glue(g1))

/*:1203*/
#line 22514 "tex.w"
;
/*1204:*/
#line 22585 "tex.w"

if(e!=0)
{r= new_kern(z-w-e-d);
if(l)
{link(a)= r;link(r)= b;b= a;d= 0;
}
else{link(b)= r;link(r)= a;
}
b= hpack(b,natural);
}
shift_amount(b)= s+d;append_to_vlist(b)

/*:1204*/
#line 22515 "tex.w"
;
/*1205:*/
#line 22597 "tex.w"

if((a!=null)&&(e==0)&&!l)
{tail_append(new_penalty(inf_penalty));
shift_amount(a)= s+z-width(a);
append_to_vlist(a);
g2= 0;
}
if(t!=adjust_head)
{link(tail)= link(adjust_head);tail= t;
}
tail_append(new_penalty(post_display_penalty));
if(g2> 0)tail_append(new_param_glue(g2))

/*:1205*/
#line 22516 "tex.w"
;
resume_after_display()

/*:1199*/
#line 22424 "tex.w"
;
}
}

/*:1194*//*1200:*/
#line 22519 "tex.w"

void resume_after_display(void)
{if(cur_group!=math_shift_group)confusion(/*1742:*/
#line 26122 "tex.w"
617
/*:1742*/
#line 22521 "tex.w"
);

unsave();prev_graf= prev_graf+3;
push_nest();mode= hmode;space_factor= 1000;set_cur_lang;clang= cur_lang;
prev_graf= (norm_min(left_hyphen_min)*0100+norm_min(right_hyphen_min))
*0200000+cur_lang;
/*443:*/
#line 8804 "tex.w"

{get_x_token();if(cur_cmd!=spacer)back_input();
}

/*:443*/
#line 22527 "tex.w"
;
if(nest_ptr==1)build_page();
}

/*:1200*//*1211:*/
#line 22716 "tex.w"

/*1215:*/
#line 22781 "tex.w"

void get_r_token(void)
{
restart:do{get_token();
}while(!(cur_tok!=space_token));
if((cur_cs==0)||(cur_cs> frozen_control_sequence))
{print_err("Missing control sequence inserted");

help5("Please don't say `\\def cs{...}', say `\\def\\cs{...}'.")
("I've inserted an inaccessible control sequence so that your")
("definition will be completed without mixing me up too badly.")
("You can recover graciously from this error, if you're")
("careful; see exercise 27.2 in The TeXbook.");

if(cur_cs==0)back_input();
cur_tok= cs_token_flag+frozen_protection;ins_error();goto restart;
}
}

/*:1215*//*1229:*/
#line 22992 "tex.w"

void trap_zero_glue(void)
{if((width(cur_val)==0)&&(stretch(cur_val)==0)&&(shrink(cur_val)==0))
{add_glue_ref(zero_glue);
delete_glue_ref(cur_val);cur_val= zero_glue;
}
}

/*:1229*//*1236:*/
#line 23072 "tex.w"

void do_register_command(small_number a)
{
pointer l,q,r,s;
uint8_t p;
q= cur_cmd;
/*1237:*/
#line 23101 "tex.w"

{if(q!=register)
{get_x_token();
if((cur_cmd>=assign_int)&&(cur_cmd<=assign_mu_glue))
{l= cur_chr;p= cur_cmd-assign_int;goto found;
}
if(cur_cmd!=register)
{print_err("You can't use `");print_cmd_chr(cur_cmd,cur_chr);

print_str("' after ");print_cmd_chr(q,0);
help1("I'm forgetting what you said and not changing anything.");
error();return;
}
}
p= cur_chr;scan_eight_bit_int();
switch(p){
case int_val:l= cur_val+count_base;break;
case dimen_val:l= cur_val+scaled_base;break;
case glue_val:l= cur_val+skip_base;break;
case mu_val:l= cur_val+mu_skip_base;
}
}
found:

/*:1237*/
#line 23078 "tex.w"
;
if(q==register)scan_optional_equals();
else if(scan_keyword(/*1761:*/
#line 26179 "tex.w"
636
/*:1761*/
#line 23080 "tex.w"
))do_nothing;

arith_error= false;
if(q<multiply)/*1238:*/
#line 23125 "tex.w"

if(p<glue_val)
{if(p==int_val)scan_int();else scan_normal_dimen;
if(q==advance)cur_val= cur_val+eqtb[l].i;
}
else{scan_glue(p);
if(q==advance)/*1239:*/
#line 23134 "tex.w"

{q= new_spec(cur_val);r= equiv(l);
delete_glue_ref(cur_val);
width(q)= width(q)+width(r);
if(stretch(q)==0)stretch_order(q)= normal;
if(stretch_order(q)==stretch_order(r))stretch(q)= stretch(q)+stretch(r);
else if((stretch_order(q)<stretch_order(r))&&(stretch(r)!=0))
{stretch(q)= stretch(r);stretch_order(q)= stretch_order(r);
}
if(shrink(q)==0)shrink_order(q)= normal;
if(shrink_order(q)==shrink_order(r))shrink(q)= shrink(q)+shrink(r);
else if((shrink_order(q)<shrink_order(r))&&(shrink(r)!=0))
{shrink(q)= shrink(r);shrink_order(q)= shrink_order(r);
}
cur_val= q;
}

/*:1239*/
#line 23131 "tex.w"
;
}

/*:1238*/
#line 23083 "tex.w"

else/*1240:*/
#line 23151 "tex.w"

{scan_int();
if(p<glue_val)
if(q==multiply)
if(p==int_val)cur_val= mult_integers(eqtb[l].i,cur_val);
else cur_val= nx_plus_y(eqtb[l].i,cur_val,0);
else cur_val= x_over_n(eqtb[l].i,cur_val);
else{s= equiv(l);r= new_spec(s);
if(q==multiply)
{width(r)= nx_plus_y(width(s),cur_val,0);
stretch(r)= nx_plus_y(stretch(s),cur_val,0);
shrink(r)= nx_plus_y(shrink(s),cur_val,0);
}
else{width(r)= x_over_n(width(s),cur_val);
stretch(r)= x_over_n(stretch(s),cur_val);
shrink(r)= x_over_n(shrink(s),cur_val);
}
cur_val= r;
}
}

/*:1240*/
#line 23084 "tex.w"
;
if(arith_error)
{print_err("Arithmetic overflow");

help2("I can't carry out that multiplication or division,")
("since the result is out of range.");
if(p>=glue_val)delete_glue_ref(cur_val);
error();return;
}
if(p<glue_val)word_define(l,cur_val);
else{trap_zero_glue();define(l,glue_ref,cur_val);
}
}

/*:1236*//*1243:*/
#line 23203 "tex.w"

void alter_aux(void)
{halfword c;
if(cur_chr!=abs(mode))report_illegal_case();
else{c= cur_chr;scan_optional_equals();
if(c==vmode)
{scan_normal_dimen;prev_depth= cur_val;
}
else{scan_int();
if((cur_val<=0)||(cur_val> 32767))
{print_err("Bad space factor");

help1("I allow only values in the range 1..32767 here.");
int_error(cur_val);
}
else space_factor= cur_val;
}
}
}

/*:1243*//*1244:*/
#line 23223 "tex.w"

void alter_prev_graf(void)
{uint8_t p;
nest[nest_ptr]= cur_list;p= nest_ptr;
while(abs(nest[p].mode_field)!=vmode)decr(p);
scan_optional_equals();scan_int();
if(cur_val<0)
{print_err("Bad ");print_esc(/*1554:*/
#line 25558 "tex.w"
429
/*:1554*/
#line 23230 "tex.w"
);

help1("I allow only nonnegative values here.");
int_error(cur_val);
}
else{nest[p].pg_field= cur_val;cur_list= nest[nest_ptr];
}
}

/*:1244*//*1245:*/
#line 23239 "tex.w"

void alter_page_so_far(void)
{uint8_t c;
c= cur_chr;scan_optional_equals();scan_normal_dimen;
page_so_far[c]= cur_val;
}

/*:1245*//*1246:*/
#line 23246 "tex.w"

void alter_integer(void)
{uint8_t c;
c= cur_chr;scan_optional_equals();scan_int();
if(c==0)dead_cycles= cur_val;
else insert_penalties= cur_val;
}

/*:1246*//*1247:*/
#line 23254 "tex.w"

void alter_box_dimen(void)
{small_number c;
eight_bits b;
c= cur_chr;scan_eight_bit_int();b= cur_val;scan_optional_equals();
scan_normal_dimen;
if(box(b)!=null)mem[box(b)+c].sc= cur_val;
}

/*:1247*//*1257:*/
#line 23340 "tex.w"

void new_font(small_number a)
{
pointer u;
scaled s;
int f;
str_number t;
uint8_t old_setting;
str_number flushable_string;
if(job_name==0)open_log_file();


get_r_token();u= cur_cs;
if(u>=hash_base)t= text(u);
else if(u>=single_base)
if(u==null_cs)t= /*1764:*/
#line 26188 "tex.w"
639
/*:1764*/
#line 23355 "tex.w"
;else t= u-single_base;
else{old_setting= selector;selector= new_string;
print_str("FONT");print(u-active_base);selector= old_setting;

str_room(1);t= make_string();
}
define(u,set_font,null_font);scan_optional_equals();scan_file_name();
/*1258:*/
#line 23369 "tex.w"

name_in_progress= true;
if(scan_keyword(/*1765:*/
#line 26191 "tex.w"
640
/*:1765*/
#line 23371 "tex.w"
))/*1259:*/
#line 23386 "tex.w"

{scan_normal_dimen;s= cur_val;
if((s<=0)||(s>=01000000000))
{print_err("Improper `at' size (");
print_scaled(s);print_str("pt), replaced by 10pt");

help2("I can only handle fonts at positive sizes that are")
("less than 2048pt, so I've changed what you said to 10pt.");
error();s= 10*unity;
}
}

/*:1259*/
#line 23371 "tex.w"


else if(scan_keyword(/*1766:*/
#line 26194 "tex.w"
641
/*:1766*/
#line 23373 "tex.w"
))

{scan_int();s= -cur_val;
if((cur_val<=0)||(cur_val> 32768))
{print_err("Illegal magnification has been changed to 1000");

help1("The magnification ratio must be between 1 and 32768.");
int_error(cur_val);s= -1000;
}
}
else s= -1000;
name_in_progress= false

/*:1258*/
#line 23362 "tex.w"
;
/*1260:*/
#line 23402 "tex.w"

flushable_string= str_ptr-1;
for(f= font_base+1;f<=font_ptr;f++)
if(str_eq_str(font_name[f],cur_name)&&str_eq_str(font_area[f],cur_area))
{if(cur_name==flushable_string)
{flush_string;cur_name= font_name[f];
}
if(s> 0)
{if(s==font_size[f])goto common_ending;
}
else if(font_size[f]==xn_over_d(font_dsize[f],-s,1000))
goto common_ending;
}

/*:1260*/
#line 23364 "tex.w"
;
f= read_font_info(u,cur_name,cur_area,s);
common_ending:equiv(u)= f;eqtb[font_id_base+f]= eqtb[u];font_id_text(f)= t;
}

/*:1257*//*1265:*/
#line 23445 "tex.w"

void new_interaction(void)
{print_ln();
interaction= cur_chr;
/*75:*/
#line 1788 "tex.w"

if(interaction==batch_mode)selector= no_print;else selector= term_only

/*:75*/
#line 23449 "tex.w"
;
if(log_opened)selector= selector+2;
}

/*:1265*/
#line 22717 "tex.w"

void prefixed_command(void)
{
small_number a;
internal_font_number f;
int j;
font_index k;
pointer p,q;
int n;
bool e;
a= 0;
while(cur_cmd==prefix)
{if(!odd(a/cur_chr))a= a+cur_chr;
/*404:*/
#line 8257 "tex.w"

do{get_x_token();
}while(!((cur_cmd!=spacer)&&(cur_cmd!=relax)))

/*:404*/
#line 22730 "tex.w"
;
if(cur_cmd<=max_non_prefixed_command)
/*1212:*/
#line 22744 "tex.w"

{print_err("You can't use a prefix with `");

print_cmd_chr(cur_cmd,cur_chr);print_char('\'');
help1("I'll pretend you didn't say \\long or \\outer or \\global.");
back_error();return;
}

/*:1212*/
#line 22732 "tex.w"
;
}
/*1213:*/
#line 22752 "tex.w"

if((cur_cmd!=def)&&(a%4!=0))
{print_err("You can't use `");print_esc(/*1743:*/
#line 26125 "tex.w"
618
/*:1743*/
#line 22754 "tex.w"
);print_str("' or `");
print_esc(/*1744:*/
#line 26128 "tex.w"
619
/*:1744*/
#line 22755 "tex.w"
);print_str("' with `");

print_cmd_chr(cur_cmd,cur_chr);print_char('\'');
help1("I'll pretend you didn't say \\long or \\outer here.");
error();
}

/*:1213*/
#line 22734 "tex.w"
;
/*1214:*/
#line 22769 "tex.w"

if(global_defs!=0)
if(global_defs<0)
{if(global)a= a-4;
}
else{if(!global)a= a+4;
}

/*:1214*/
#line 22735 "tex.w"
;
switch(cur_cmd){
/*1217:*/
#line 22806 "tex.w"

case set_font:define(cur_font_loc,data,cur_chr);break;

/*:1217*//*1218:*/
#line 22813 "tex.w"

case def:{if(odd(cur_chr)&&!global&&(global_defs>=0))a= a+4;
e= (cur_chr>=2);get_r_token();p= cur_cs;
q= scan_toks(true,e);define(p,call+(a%4),def_ref);
}break;

/*:1218*//*1221:*/
#line 22830 "tex.w"

case let:{n= cur_chr;
get_r_token();p= cur_cs;
if(n==normal)
{do{get_token();
}while(!(cur_cmd!=spacer));
if(cur_tok==other_token+'=')
{get_token();
if(cur_cmd==spacer)get_token();
}
}
else{get_token();q= cur_tok;get_token();back_input();
cur_tok= q;back_input();
}
if(cur_cmd>=call)add_token_ref(cur_chr);
define(p,cur_cmd,cur_chr);
}break;

/*:1221*//*1224:*/
#line 22899 "tex.w"

case shorthand_def:{n= cur_chr;get_r_token();p= cur_cs;define(p,relax,256);
scan_optional_equals();
switch(n){
case char_def_code:{scan_char_num();define(p,char_given,cur_val);
}break;
case math_char_def_code:{scan_fifteen_bit_int();define(p,math_given,cur_val);
}break;
default:{scan_eight_bit_int();
switch(n){
case count_def_code:define(p,assign_int,count_base+cur_val);break;
case dimen_def_code:define(p,assign_dimen,scaled_base+cur_val);break;
case skip_def_code:define(p,assign_glue,skip_base+cur_val);break;
case mu_skip_def_code:define(p,assign_mu_glue,mu_skip_base+cur_val);break;
case toks_def_code:define(p,assign_toks,toks_base+cur_val);
}
}
}
}break;

/*:1224*//*1225:*/
#line 22919 "tex.w"

case read_to_cs:{scan_int();n= cur_val;
if(!scan_keyword(/*1642:*/
#line 25822 "tex.w"
517
/*:1642*/
#line 22921 "tex.w"
))

{print_err("Missing `to' inserted");

help2("You should have said `\\read<number> to \\cs'.")
("I'm going to look for the \\cs now.");error();
}
get_r_token();
p= cur_cs;read_toks(n,p);define(p,call,cur_val);
}break;

/*:1225*//*1226:*/
#line 22936 "tex.w"

case toks_register:case assign_toks:{q= cur_cs;
if(cur_cmd==toks_register)
{scan_eight_bit_int();p= toks_base+cur_val;
}
else p= cur_chr;
scan_optional_equals();
/*404:*/
#line 8257 "tex.w"

do{get_x_token();
}while(!((cur_cmd!=spacer)&&(cur_cmd!=relax)))

/*:404*/
#line 22943 "tex.w"
;
if(cur_cmd!=left_brace)/*1227:*/
#line 22960 "tex.w"

{if(cur_cmd==toks_register)
{scan_eight_bit_int();cur_cmd= assign_toks;cur_chr= toks_base+cur_val;
}
if(cur_cmd==assign_toks)
{q= equiv(cur_chr);
if(q==null)define(p,undefined_cs,null);
else{add_token_ref(q);define(p,call,q);
}
goto done;
}
}

/*:1227*/
#line 22945 "tex.w"
;
back_input();cur_cs= q;q= scan_toks(false,false);
if(link(def_ref)==null)
{define(p,undefined_cs,null);free_avail(def_ref);
}
else{if(p==output_routine_loc)
{link(q)= get_avail();q= link(q);
info(q)= right_brace_token+'}';
q= get_avail();info(q)= left_brace_token+'{';
link(q)= link(def_ref);link(def_ref)= q;
}
define(p,call,def_ref);
}
}break;

/*:1226*//*1228:*/
#line 22975 "tex.w"

case assign_int:{p= cur_chr;scan_optional_equals();scan_int();
word_define(p,cur_val);
}break;
case assign_dimen:{p= cur_chr;scan_optional_equals();
scan_normal_dimen;word_define(p,cur_val);
}break;
case assign_glue:case assign_mu_glue:{p= cur_chr;n= cur_cmd;scan_optional_equals();
if(n==assign_mu_glue)scan_glue(mu_val);else scan_glue(glue_val);
trap_zero_glue();
define(p,glue_ref,cur_val);
}break;

/*:1228*//*1232:*/
#line 23035 "tex.w"

case def_code:{/*1233:*/
#line 23053 "tex.w"

if(cur_chr==cat_code_base)n= max_char_code;
else if(cur_chr==math_code_base)n= 0100000;
else if(cur_chr==sf_code_base)n= 077777;
else if(cur_chr==del_code_base)n= 077777777;
else n= 255

/*:1233*/
#line 23036 "tex.w"
;
p= cur_chr;scan_char_num();p= p+cur_val;scan_optional_equals();
scan_int();
if(((cur_val<0)&&(p<del_code_base))||(cur_val> n))
{print_err("Invalid code (");print_int(cur_val);

if(p<del_code_base)print_str("), should be in the range 0..");
else print_str("), should be at most ");
print_int(n);
help1("I'm going to use 0 instead of that illegal code value.");
error();cur_val= 0;
}
if(p<math_code_base)define(p,data,cur_val);
else if(p<del_code_base)define(p,data,hi(cur_val));
else word_define(p,cur_val);
}break;

/*:1232*//*1234:*/
#line 23060 "tex.w"

case def_family:{p= cur_chr;scan_four_bit_int();p= p+cur_val;
scan_optional_equals();scan_font_ident();define(p,data,cur_val);
}break;

/*:1234*//*1235:*/
#line 23067 "tex.w"

case register:case advance:case multiply:case divide:do_register_command(a);break;

/*:1235*//*1241:*/
#line 23176 "tex.w"

case set_box:{scan_eight_bit_int();
if(global)n= 256+cur_val;else n= cur_val;
scan_optional_equals();
if(set_box_allowed)scan_box(box_flag+n);
else{print_err("Improper ");print_esc(/*1558:*/
#line 25570 "tex.w"
433
/*:1558*/
#line 23181 "tex.w"
);

help2("Sorry, \\setbox is not allowed after \\halign in a display,")
("or between \\accent and an accented character.");error();
}
}break;

/*:1241*//*1242:*/
#line 23196 "tex.w"

case set_aux:alter_aux();break;
case set_prev_graf:alter_prev_graf();break;
case set_page_dimen:alter_page_so_far();break;
case set_page_int:alter_integer();break;
case set_box_dimen:alter_box_dimen();break;

/*:1242*//*1248:*/
#line 23265 "tex.w"

case set_shape:{scan_optional_equals();scan_int();n= cur_val;
if(n<=0)p= null;
else{p= get_node(2*n+1);info(p)= n;
for(j= 1;j<=n;j++)
{scan_normal_dimen;
mem[p+2*j-1].sc= cur_val;
scan_normal_dimen;
mem[p+2*j].sc= cur_val;
}
}
define(par_shape_loc,shape_ref,p);
}break;

/*:1248*//*1252:*/
#line 23298 "tex.w"

case hyph_data:if(cur_chr==1)
{
#ifdef INIT
new_patterns();goto done;
#endif
print_err("Patterns can be loaded only by INITEX");

help0;error();
do{get_token();}while(!(cur_cmd==right_brace));
return;
}
else{new_hyph_exceptions();goto done;
}break;

/*:1252*//*1253:*/
#line 23316 "tex.w"

case assign_font_dimen:{find_font_dimen(true);k= cur_val;
scan_optional_equals();scan_normal_dimen;font_info[k].sc= cur_val;
}break;
case assign_font_int:{n= cur_chr;scan_font_ident();f= cur_val;
scan_optional_equals();scan_int();
if(n==0)hyphen_char[f]= cur_val;else skew_char[f]= cur_val;
}break;

/*:1253*//*1256:*/
#line 23337 "tex.w"

case def_font:new_font(a);break;

/*:1256*//*1264:*/
#line 23442 "tex.w"

case set_interaction:new_interaction();break;

/*:1264*/
#line 22737 "tex.w"

default:confusion(/*1750:*/
#line 26146 "tex.w"
625
/*:1750*/
#line 22738 "tex.w"
);

}
done:/*1269:*/
#line 23467 "tex.w"

if(after_token!=0)
{cur_tok= after_token;back_input();after_token= 0;
}

/*:1269*/
#line 22741 "tex.w"
;
}

/*:1211*//*1270:*/
#line 23475 "tex.w"

void do_assignments(void)
{
loop{/*404:*/
#line 8257 "tex.w"

do{get_x_token();
}while(!((cur_cmd!=spacer)&&(cur_cmd!=relax)))

/*:404*/
#line 23478 "tex.w"
;
if(cur_cmd<=max_non_prefixed_command)return;
set_box_allowed= false;prefixed_command();set_box_allowed= true;
}
}

/*:1270*//*1275:*/
#line 23503 "tex.w"

void open_or_close_in(void)
{uint8_t c;
uint8_t n;
c= cur_chr;scan_four_bit_int();n= cur_val;
if(read_open[n]!=closed)
{a_close(&read_file[n]);read_open[n]= closed;
}
if(c!=0)
{scan_optional_equals();scan_file_name();
if(cur_ext==empty_string)cur_ext= /*1637:*/
#line 25807 "tex.w"
512
/*:1637*/
#line 23513 "tex.w"
;
pack_cur_name;
if(a_open_in(&read_file[n]))read_open[n]= just_open;
}
}

/*:1275*//*1279:*/
#line 23535 "tex.w"

void issue_message(void)
{uint8_t old_setting;
uint8_t c;
str_number s;
c= cur_chr;link(garbage)= scan_toks(false,true);
old_setting= selector;selector= new_string;
token_show(def_ref);selector= old_setting;
flush_list(def_ref);
str_room(1);s= make_string();
if(c==0)/*1280:*/
#line 23550 "tex.w"

{if(term_offset+length(s)> max_print_line-2)print_ln();
else if((term_offset> 0)||(file_offset> 0))print_char(' ');
slow_print(s);update_terminal;
}

/*:1280*/
#line 23545 "tex.w"

else/*1283:*/
#line 23565 "tex.w"

{print_err("");slow_print(s);
if(err_help!=null)use_err_help= true;
else if(long_help_seen)help1("(That was another \\errmessage.)")
else{if(interaction<error_stop_mode)long_help_seen= true;
help4("This error message was generated by an \\errmessage")
("command, so I can't give any explicit help.")
("Pretend that you're Hercule Poirot: Examine all clues,")

("and deduce the truth by order and method.");
}
error();use_err_help= false;
}

/*:1283*/
#line 23546 "tex.w"
;
flush_string;
}

/*:1279*//*1288:*/
#line 23602 "tex.w"

void shift_case(void)
{pointer b;
pointer p;
halfword t;
eight_bits c;
b= cur_chr;p= scan_toks(false,false);p= link(def_ref);
while(p!=null)
{/*1289:*/
#line 23621 "tex.w"

t= info(p);
if(t<cs_token_flag+single_base)
{c= t%256;
if(equiv(b+c)!=0)info(p)= t-c+equiv(b+c);
}

/*:1289*/
#line 23610 "tex.w"
;
p= link(p);
}
back_list(link(def_ref));free_avail(def_ref);
}

/*:1288*//*1293:*/
#line 23657 "tex.w"

void show_whatever(void)
{
pointer p;
switch(cur_chr){
case show_lists:{begin_diagnostic();show_activities();
}break;
case show_box_code:/*1296:*/
#line 23707 "tex.w"

{scan_eight_bit_int();begin_diagnostic();
print_nl("> \\box");print_int(cur_val);print_char('=');
if(box(cur_val)==null)print_str("void");
else show_box(box(cur_val));
}

/*:1296*/
#line 23664 "tex.w"
break;
case show_code:/*1294:*/
#line 23688 "tex.w"

{get_token();
if(interaction==error_stop_mode)wake_up_terminal;
print_nl("> ");
if(cur_cs!=0)
{sprint_cs(cur_cs);print_char('=');
}
print_meaning();goto common_ending;
}

/*:1294*/
#line 23665 "tex.w"

default:/*1297:*/
#line 23714 "tex.w"

{p= the_toks();
if(interaction==error_stop_mode)wake_up_terminal;
print_nl("> ");token_show(temp_head);
flush_list(link(temp_head));goto common_ending;
}

/*:1297*/
#line 23666 "tex.w"

}
/*1298:*/
#line 23721 "tex.w"

end_diagnostic(true);print_err("OK");

if(selector==term_and_log)if(tracing_online<=0)
{selector= term_only;print_str(" (see the transcript file)");
selector= term_and_log;
}

/*:1298*/
#line 23668 "tex.w"
;
common_ending:if(interaction<error_stop_mode)
{help0;decr(error_count);
}
else if(tracing_online> 0)
{
help3("This isn't an error message; I'm just \\showing something.")
("Type `I\\show...' to show more (e.g., \\show\\cs,")
("\\showthe\\count10, \\showbox255, \\showlists).");
}
else{
help5("This isn't an error message; I'm just \\showing something.")
("Type `I\\show...' to show more (e.g., \\show\\cs,")
("\\showthe\\count10, \\showbox255, \\showlists).")
("And type `I\\tracingonline=1\\show...' to show boxes and")
("lists on your terminal as well as in the transcript file.");
}
error();
}

/*:1293*//*1302:*/
#line 23755 "tex.w"

#ifdef INIT
void store_fmt_file(void)
{
int j,k,l;
pointer p,q;
int x;
four_quarters w;
/*1304:*/
#line 23812 "tex.w"

if(save_ptr!=0)
{print_err("You can't dump inside a group");

help1("`{...\\dump}' is a no-no.");succumb;
}

/*:1304*/
#line 23763 "tex.w"
;
/*1328:*/
#line 24208 "tex.w"

selector= new_string;
print_str(" (preloaded format=");print(job_name);print_char(' ');
print_int(year);print_char('.');
print_int(month);print_char('.');print_int(day);print_char(')');
if(interaction==batch_mode)selector= log_only;
else selector= term_and_log;
str_room(1);
format_ident= make_string();
pack_job_name(format_extension);
while(!w_open_out(&fmt_file))
prompt_file_name("format file name",format_extension);
print_nl("Beginning to dump on file ");

slow_print(w_make_name_string(&fmt_file));flush_string;
print_nl("");slow_print(format_ident)

/*:1328*/
#line 23765 "tex.w"
;
/*1307:*/
#line 23849 "tex.w"

dump_int(0);
dump_int(mem_bot);
dump_int(mem_top);
dump_int(eqtb_size);
dump_int(hash_prime);
dump_int(hyph_size)

/*:1307*/
#line 23766 "tex.w"
;
/*1309:*/
#line 23882 "tex.w"

dump_int(pool_ptr);
dump_int(str_ptr);
for(k= 0;k<=str_ptr;k++)dump_int(str_start[k]);
k= 0;
while(k+4<pool_ptr)
{dump_four_ASCII;k= k+4;
}
k= pool_ptr-4;dump_four_ASCII;
print_ln();print_int(str_ptr);print_str(" strings of total length ");
print_int(pool_ptr)

/*:1309*/
#line 23767 "tex.w"
;
/*1311:*/
#line 23917 "tex.w"

sort_avail();var_used= 0;
dump_int(lo_mem_max);dump_int(rover);
p= mem_bot;q= rover;x= 0;
do{for(k= p;k<=q+1;k++)dump_wd(mem[k]);
x= x+q+2-p;var_used= var_used+q-p;
p= q+node_size(q);q= rlink(q);
}while(!(q==rover));
var_used= var_used+lo_mem_max-p;dyn_used= mem_end+1-hi_mem_min;
for(k= p;k<=lo_mem_max;k++)dump_wd(mem[k]);
x= x+lo_mem_max+1-p;
dump_int(hi_mem_min);dump_int(avail);
for(k= hi_mem_min;k<=mem_end;k++)dump_wd(mem[k]);
x= x+mem_end+1-hi_mem_min;
p= avail;
while(p!=null)
{decr(dyn_used);p= link(p);
}
dump_int(var_used);dump_int(dyn_used);
print_ln();print_int(x);
print_str(" memory locations dumped; current usage is ");
print_int(var_used);print_char('&');print_int(dyn_used)

/*:1311*/
#line 23768 "tex.w"
;
/*1313:*/
#line 23962 "tex.w"

/*1315:*/
#line 23980 "tex.w"

k= active_base;
do{j= k;
while(j<int_base-1)
{if((equiv(j)==equiv(j+1))&&(eq_type(j)==eq_type(j+1))&&
(eq_level(j)==eq_level(j+1)))goto found1;
incr(j);
}
l= int_base;goto done1;
found1:incr(j);l= j;
while(j<int_base-1)
{if((equiv(j)!=equiv(j+1))||(eq_type(j)!=eq_type(j+1))||
(eq_level(j)!=eq_level(j+1)))goto done1;
incr(j);
}
done1:dump_int(l-k);
while(k<l)
{dump_wd(eqtb[k]);incr(k);
}
k= j+1;dump_int(k-l);
}while(!(k==int_base))

/*:1315*/
#line 23963 "tex.w"
;
/*1316:*/
#line 24002 "tex.w"

do{j= k;
while(j<eqtb_size)
{if(eqtb[j].i==eqtb[j+1].i)goto found2;
incr(j);
}
l= eqtb_size+1;goto done2;
found2:incr(j);l= j;
while(j<eqtb_size)
{if(eqtb[j].i!=eqtb[j+1].i)goto done2;
incr(j);
}
done2:dump_int(l-k);
while(k<l)
{dump_wd(eqtb[k]);incr(k);
}
k= j+1;dump_int(k-l);
}while(!(k> eqtb_size))

/*:1316*/
#line 23964 "tex.w"
;
dump_int(par_loc);dump_int(write_loc);
/*1318:*/
#line 24038 "tex.w"

dump_int(hash_used);cs_count= frozen_control_sequence-1-hash_used;
for(p= hash_base;p<=hash_used;p++)if(text(p)!=0)
{dump_int(p);dump_hh(hash[p]);incr(cs_count);
}
for(p= hash_used+1;p<=undefined_control_sequence-1;p++)dump_hh(hash[p]);
dump_int(cs_count);
print_ln();print_int(cs_count);print_str(" multiletter control sequences")

/*:1318*/
#line 23966 "tex.w"


/*:1313*/
#line 23769 "tex.w"
;
/*1320:*/
#line 24054 "tex.w"

dump_int(fmem_ptr);
for(k= 0;k<=fmem_ptr-1;k++)dump_wd(font_info[k]);
dump_int(font_ptr);
for(k= null_font;k<=font_ptr;k++)
/*1322:*/
#line 24071 "tex.w"

{dump_qqqq(font_check[k]);
dump_int(font_size[k]);
dump_int(font_dsize[k]);
dump_int(font_params[k]);
dump_int(hyphen_char[k]);
dump_int(skew_char[k]);
dump_int(font_name[k]);
dump_int(font_area[k]);
dump_int(font_bc[k]);
dump_int(font_ec[k]);
dump_int(char_base[k]);
dump_int(width_base[k]);
dump_int(height_base[k]);
dump_int(depth_base[k]);
dump_int(italic_base[k]);
dump_int(lig_kern_base[k]);
dump_int(kern_base[k]);
dump_int(exten_base[k]);
dump_int(param_base[k]);
dump_int(font_glue[k]);
dump_int(bchar_label[k]);
dump_int(font_bchar[k]);
dump_int(font_false_bchar[k]);
print_nl("\\font");print_esc(font_id_text(k));print_char('=');
print_file_name(font_name[k],font_area[k],empty_string);
if(font_size[k]!=font_dsize[k])
{print_str(" at ");print_scaled(font_size[k]);print_str("pt");
}
}

/*:1322*/
#line 24059 "tex.w"
;
print_ln();print_int(fmem_ptr-7);print_str(" words of font info for ");
print_int(font_ptr-font_base);print_str(" preloaded font");
if(font_ptr!=font_base+1)print_char('s')

/*:1320*/
#line 23770 "tex.w"
;
/*1324:*/
#line 24128 "tex.w"

dump_int(hyph_count);
for(k= 0;k<=hyph_size;k++)if(hyph_word[k]!=0)
{dump_int(k);dump_int(hyph_word[k]);dump_int(hyph_list[k]);
}
print_ln();print_int(hyph_count);print_str(" hyphenation exception");
if(hyph_count!=1)print_char('s');
if(trie_not_ready)init_trie();
dump_int(trie_max);
for(k= 0;k<=trie_max;k++)dump_hh(trie[k]);
dump_int(trie_op_ptr);
for(k= 1;k<=trie_op_ptr;k++)
{dump_int(hyf_distance[k]);
dump_int(hyf_num[k]);
dump_int(hyf_next[k]);
}
print_nl("Hyphenation trie of length ");print_int(trie_max);

print_str(" has ");print_int(trie_op_ptr);print_str(" op");
if(trie_op_ptr!=1)print_char('s');
print_str(" out of ");print_int(trie_op_size);
for(k= 255;k>=0;k--)if(trie_used[k]> min_quarterword)
{print_nl("  ");print_int(qo(trie_used[k]));
print_str(" for language ");print_int(k);
dump_int(k);dump_int(qo(trie_used[k]));
}

/*:1324*/
#line 23771 "tex.w"
;
/*1326:*/
#line 24198 "tex.w"

dump_int(interaction);dump_int(format_ident);dump_int(69069);
tracing_stats= 0

/*:1326*/
#line 23772 "tex.w"
;
/*1329:*/
#line 24225 "tex.w"

w_close(&fmt_file)

/*:1329*/
#line 23773 "tex.w"
;
}
#endif

/*:1302*//*1348:*/
#line 24663 "tex.w"

/*1349:*/
#line 24684 "tex.w"

void new_whatsit(small_number s,small_number w)
{pointer p;
p= get_node(w);type(p)= whatsit_node;subtype(p)= s;
link(tail)= p;tail= p;
}

/*:1349*//*1350:*/
#line 24694 "tex.w"

void new_write_whatsit(small_number w)
{new_whatsit(cur_chr,w);
if(w!=write_node_size)scan_four_bit_int();
else{scan_int();
if(cur_val<0)cur_val= 17;
else if(cur_val> 15)cur_val= 16;
}
write_stream(tail)= cur_val;
}

/*:1350*/
#line 24664 "tex.w"

void do_extension(void)
{int k;
pointer p;
switch(cur_chr){
case open_node:/*1351:*/
#line 24705 "tex.w"

{new_write_whatsit(open_node_size);
scan_optional_equals();scan_file_name();
open_name(tail)= cur_name;open_area(tail)= cur_area;open_ext(tail)= cur_ext;
}

/*:1351*/
#line 24669 "tex.w"
break;
case write_node:/*1352:*/
#line 24715 "tex.w"

{k= cur_cs;new_write_whatsit(write_node_size);
cur_cs= k;p= scan_toks(false,false);write_tokens(tail)= def_ref;
}

/*:1352*/
#line 24670 "tex.w"
break;
case close_node:/*1353:*/
#line 24720 "tex.w"

{new_write_whatsit(write_node_size);write_tokens(tail)= null;
}

/*:1353*/
#line 24671 "tex.w"
break;
case special_node:/*1354:*/
#line 24727 "tex.w"

{new_whatsit(special_node,write_node_size);write_stream(tail)= null;
p= scan_toks(false,true);write_tokens(tail)= def_ref;
}

/*:1354*/
#line 24672 "tex.w"
break;
case immediate_code:/*1375:*/
#line 24950 "tex.w"

{get_x_token();
if((cur_cmd==extension)&&(cur_chr<=close_node))
{p= tail;do_extension();
out_what(tail);
flush_node_list(tail);tail= p;link(p)= null;
}
else back_input();
}

/*:1375*/
#line 24673 "tex.w"
break;
case set_language_code:/*1377:*/
#line 24978 "tex.w"

if(abs(mode)!=hmode)report_illegal_case();
else{new_whatsit(language_node,small_node_size);
scan_int();
if(cur_val<=0)clang= 0;
else if(cur_val> 255)clang= 0;
else clang= cur_val;
what_lang(tail)= clang;
what_lhm(tail)= norm_min(left_hyphen_min);
what_rhm(tail)= norm_min(right_hyphen_min);
}

/*:1377*/
#line 24674 "tex.w"
break;
default:confusion(/*1788:*/
#line 26260 "tex.w"
663
/*:1788*/
#line 24675 "tex.w"
);

}
}

/*:1348*//*1376:*/
#line 24964 "tex.w"

void fix_language(void)
{ASCII_code l;
if(language<=0)l= 0;
else if(language> 255)l= 0;
else l= language;
if(l!=clang)
{new_whatsit(language_node,small_node_size);
what_lang(tail)= l;clang= l;
what_lhm(tail)= norm_min(left_hyphen_min);
what_rhm(tail)= norm_min(right_hyphen_min);
}
}

/*:1376*/
#line 20035 "tex.w"

/*1068:*/
#line 20717 "tex.w"

void handle_right_brace(void)
{pointer p,q;
scaled d;
int f;
switch(cur_group){
case simple_group:unsave();break;
case bottom_level:{print_err("Too many }'s");

help2("You've closed more groups than you opened.")
("Such booboos are generally harmless, so keep going.");error();
}break;
case semi_simple_group:case math_shift_group:case math_left_group:extra_right_brace();break;
/*1085:*/
#line 21055 "tex.w"

case hbox_group:package(0);break;
case adjusted_hbox_group:{adjust_tail= adjust_head;package(0);
}break;
case vbox_group:{end_graf();package(0);
}break;
case vtop_group:{end_graf();package(vtop_code);
}break;

/*:1085*//*1100:*/
#line 21212 "tex.w"

case insert_group:{end_graf();q= split_top_skip;add_glue_ref(q);
d= split_max_depth;f= floating_penalty;unsave();decr(save_ptr);

p= vpack(link(head),natural);pop_nest();
if(saved(0)<255)
{tail_append(get_node(ins_node_size));
type(tail)= ins_node;subtype(tail)= qi(saved(0));
height(tail)= height(p)+depth(p);ins_ptr(tail)= list_ptr(p);
split_top_ptr(tail)= q;depth(tail)= d;float_cost(tail)= f;
}
else{tail_append(get_node(small_node_size));
type(tail)= adjust_node;
subtype(tail)= 0;
adjust_ptr(tail)= list_ptr(p);delete_glue_ref(q);
}
free_node(p,box_node_size);
if(nest_ptr==0)build_page();
}break;
case output_group:/*1026:*/
#line 19949 "tex.w"

{if((loc!=null)||
((token_type!=output_text)&&(token_type!=backed_up)))
/*1027:*/
#line 19969 "tex.w"

{print_err("Unbalanced output routine");

help2("Your sneaky output routine has problematic {'s and/or }'s.")
("I can't handle that very well; good luck.");error();
do{get_token();
}while(!(loc==null));
}

/*:1027*/
#line 19952 "tex.w"
;
end_token_list();
end_graf();unsave();output_active= false;insert_penalties= 0;
/*1028:*/
#line 19978 "tex.w"

if(box(255)!=null)
{print_err("Output routine didn't use all of ");
print_esc(/*1437:*/
#line 25207 "tex.w"
312
/*:1437*/
#line 19981 "tex.w"
);print_int(255);

help3("Your \\output commands should empty \\box255,")
("e.g., by saying `\\shipout\\box255'.")
("Proceed; I'll discard its present contents.");
box_error(255);
}

/*:1028*/
#line 19955 "tex.w"
;
if(tail!=head)
{link(page_tail)= link(head);
page_tail= tail;
}
if(link(page_head)!=null)
{if(link(contrib_head)==null)contrib_tail= page_tail;
link(page_tail)= link(contrib_head);
link(contrib_head)= link(page_head);
link(page_head)= null;page_tail= page_head;
}
pop_nest();build_page();
}

/*:1026*/
#line 21231 "tex.w"
break;

/*:1100*//*1118:*/
#line 21414 "tex.w"

case disc_group:build_discretionary();break;

/*:1118*//*1132:*/
#line 21650 "tex.w"

case align_group:{back_input();cur_tok= cs_token_flag+frozen_cr;
print_err("Missing ");print_esc(/*1670:*/
#line 25906 "tex.w"
545
/*:1670*/
#line 21652 "tex.w"
);print_str(" inserted");

help1("I'm guessing that you meant to end an alignment here.");
ins_error();
}break;

/*:1132*//*1133:*/
#line 21658 "tex.w"

case no_align_group:{end_graf();unsave();align_peek();
}break;

/*:1133*//*1168:*/
#line 22111 "tex.w"

case vcenter_group:{end_graf();unsave();save_ptr= save_ptr-2;
p= vpack(link(head),saved(1),saved(0));pop_nest();
tail_append(new_noad());type(tail)= vcenter_noad;
math_type(nucleus(tail))= sub_box;info(nucleus(tail))= p;
}break;

/*:1168*//*1173:*/
#line 22149 "tex.w"

case math_choice_group:build_choices();break;

/*:1173*//*1186:*/
#line 22323 "tex.w"

case math_group:{unsave();decr(save_ptr);
math_type(saved(0))= sub_mlist;p= fin_mlist(null);info(saved(0))= p;
if(p!=null)if(link(p)==null)
if(type(p)==ord_noad)
{if(math_type(subscr(p))==empty)
if(math_type(supscr(p))==empty)
{mem[saved(0)].hh= mem[nucleus(p)].hh;
free_node(p,noad_size);
}
}
else if(type(p)==accent_noad)if(saved(0)==nucleus(tail))
if(type(tail)==ord_noad)/*1187:*/
#line 22338 "tex.w"

{q= head;while(link(q)!=tail)q= link(q);
link(q)= p;free_node(tail,noad_size);tail= p;
}

/*:1187*/
#line 22335 "tex.w"
;
}break;

/*:1186*/
#line 20730 "tex.w"

default:confusion(/*1711:*/
#line 26029 "tex.w"
586
/*:1711*/
#line 20731 "tex.w"
);

}
}

/*:1068*/
#line 20036 "tex.w"

void main_control(void)
{




int t;
if(every_job!=null)begin_token_list(every_job,every_job_text);
big_switch:get_x_token();
reswitch:/*1031:*/
#line 20071 "tex.w"

if(interrupt!=0)if(OK_to_interrupt)
{back_input();check_interrupt;goto big_switch;
}
#ifdef DEBUG
if(panicking)check_mem(false);
#endif
if(tracing_commands> 0)show_cur_cmd_chr()

/*:1031*/
#line 20046 "tex.w"
;
switch(abs(mode)+cur_cmd){
case hmode+letter:case hmode+other_char:case hmode+char_given:goto main_loop;
case hmode+char_num:{scan_char_num();cur_chr= cur_val;goto main_loop;}
case hmode+no_boundary:{get_x_token();
if((cur_cmd==letter)||(cur_cmd==other_char)||(cur_cmd==char_given)||
(cur_cmd==char_num))cancel_boundary= true;
goto reswitch;
}
case hmode+spacer:if(space_factor==1000)goto append_normal_space;
else app_space();break;
case hmode+ex_space:case mmode+ex_space:goto append_normal_space;
/*1045:*/
#line 20385 "tex.w"

any_mode(relax):case vmode+spacer:case mmode+spacer:case mmode+no_boundary:do_nothing;
any_mode(ignore_spaces):{/*406:*/
#line 8269 "tex.w"

do{get_x_token();
}while(!(cur_cmd!=spacer))

/*:406*/
#line 20387 "tex.w"
;
goto reswitch;
}
case vmode+stop:if(its_all_over())return;break;
/*1048:*/
#line 20432 "tex.w"

case vmode+vmove:case hmode+hmove:case mmode+hmove:any_mode(last_item):

/*:1048*//*1098:*/
#line 21193 "tex.w"

case vmode+vadjust:

/*:1098*//*1111:*/
#line 21353 "tex.w"
case vmode+ital_corr:

/*:1111*//*1144:*/
#line 21749 "tex.w"
non_math(eq_no):

/*:1144*/
#line 20391 "tex.w"
any_mode(mac_param):
report_illegal_case();break;
/*1046:*/
#line 20403 "tex.w"

non_math(sup_mark):non_math(sub_mark):non_math(math_char_num):
non_math(math_given):non_math(math_comp):non_math(delim_num):
non_math(left_right):non_math(above):non_math(radical):
non_math(math_style):non_math(math_choice):non_math(vcenter):
non_math(non_script):non_math(mkern):non_math(limit_switch):
non_math(mskip):non_math(math_accent):
case mmode+endv:case mmode+par_end:case mmode+stop:case mmode+vskip:case mmode+un_vbox:
case mmode+valign:case mmode+hrule

/*:1046*/
#line 20393 "tex.w"
:insert_dollar_sign();break;
/*1056:*/
#line 20521 "tex.w"

case vmode+hrule:case hmode+vrule:case mmode+vrule:{tail_append(scan_rule_spec());
if(abs(mode)==vmode)prev_depth= ignore_depth;
else if(abs(mode)==hmode)space_factor= 1000;
}break;

/*:1056*//*1057:*/
#line 20532 "tex.w"

case vmode+vskip:case hmode+hskip:case mmode+hskip:case mmode+mskip:append_glue();break;
any_mode(kern):case mmode+mkern:append_kern();break;

/*:1057*//*1063:*/
#line 20645 "tex.w"

non_math(left_brace):new_save_level(simple_group);break;
any_mode(begin_group):new_save_level(semi_simple_group);break;
any_mode(end_group):if(cur_group==semi_simple_group)unsave();
else off_save();break;

/*:1063*//*1067:*/
#line 20714 "tex.w"

any_mode(right_brace):handle_right_brace();break;

/*:1067*//*1073:*/
#line 20858 "tex.w"

case vmode+hmove:case hmode+vmove:case mmode+vmove:{t= cur_chr;
scan_normal_dimen;
if(t==0)scan_box(cur_val);else scan_box(-cur_val);
}break;
any_mode(leader_ship):scan_box(leader_flag-a_leaders+cur_chr);break;
any_mode(make_box):begin_box(0);break;

/*:1073*//*1090:*/
#line 21101 "tex.w"

case vmode+start_par:new_graf(cur_chr> 0);break;
case vmode+letter:case vmode+other_char:case vmode+char_num:case vmode+char_given:
case vmode+math_shift:case vmode+un_hbox:case vmode+vrule:
case vmode+accent:case vmode+discretionary:case vmode+hskip:case vmode+valign:
case vmode+ex_space:case vmode+no_boundary:
{back_input();new_graf(true);
}break;

/*:1090*//*1092:*/
#line 21130 "tex.w"

case hmode+start_par:case mmode+start_par:indent_in_hmode();break;

/*:1092*//*1094:*/
#line 21150 "tex.w"

case vmode+par_end:{normal_paragraph();
if(mode> 0)build_page();
}break;
case hmode+par_end:{if(align_state<0)off_save();

end_graf();
if(mode==vmode)build_page();
}break;
case hmode+stop:case hmode+vskip:case hmode+hrule:case hmode+un_vbox:case hmode+halign:head_for_vmode();break;

/*:1094*//*1097:*/
#line 21189 "tex.w"

any_mode(insert):case hmode+vadjust:case mmode+vadjust:begin_insert_or_adjust();break;
any_mode(mark):make_mark();break;

/*:1097*//*1102:*/
#line 21244 "tex.w"

any_mode(break_penalty):append_penalty();break;

/*:1102*//*1104:*/
#line 21260 "tex.w"

any_mode(remove_item):delete_last();break;

/*:1104*//*1109:*/
#line 21327 "tex.w"

case vmode+un_vbox:case hmode+un_hbox:case mmode+un_hbox:unpackage();break;

/*:1109*//*1112:*/
#line 21359 "tex.w"

case hmode+ital_corr:append_italic_correction();break;
case mmode+ital_corr:tail_append(new_kern(0))break;

/*:1112*//*1116:*/
#line 21391 "tex.w"

case hmode+discretionary:case mmode+discretionary:append_discretionary();break;

/*:1116*//*1122:*/
#line 21482 "tex.w"

case hmode+accent:make_accent();break;

/*:1122*//*1126:*/
#line 21552 "tex.w"

any_mode(car_ret):any_mode(tab_mark):align_error();break;
any_mode(no_align):no_align_error();break;
any_mode(omit):omit_error();break;

/*:1126*//*1130:*/
#line 21619 "tex.w"

case vmode+halign:case hmode+valign:init_align();break;
case mmode+halign:if(privileged())
if(cur_group==math_shift_group)init_align();
else off_save();break;
case vmode+endv:case hmode+endv:do_endv();break;

/*:1130*//*1134:*/
#line 21664 "tex.w"

any_mode(end_cs_name):cs_error();break;

/*:1134*//*1137:*/
#line 21695 "tex.w"

case hmode+math_shift:init_math();break;

/*:1137*//*1140:*/
#line 21725 "tex.w"

case mmode+eq_no:if(privileged())
if(cur_group==math_shift_group)start_eq_no();
else off_save();break;

/*:1140*//*1150:*/
#line 21863 "tex.w"

case mmode+left_brace:{tail_append(new_noad());
back_input();scan_math(nucleus(tail));
}break;

/*:1150*//*1154:*/
#line 21927 "tex.w"

case mmode+letter:case mmode+other_char:case mmode+char_given:
set_math_char(ho(math_code(cur_chr)));break;
case mmode+char_num:{scan_char_num();cur_chr= cur_val;
set_math_char(ho(math_code(cur_chr)));
}break;
case mmode+math_char_num:{scan_fifteen_bit_int();set_math_char(cur_val);
}break;
case mmode+math_given:set_math_char(cur_chr);break;
case mmode+delim_num:{scan_twenty_seven_bit_int();
set_math_char(cur_val/010000);
}break;

/*:1154*//*1158:*/
#line 22011 "tex.w"

case mmode+math_comp:{tail_append(new_noad());
type(tail)= cur_chr;scan_math(nucleus(tail));
}break;
case mmode+limit_switch:math_limit_switch();break;

/*:1158*//*1162:*/
#line 22063 "tex.w"

case mmode+radical:math_radical();break;

/*:1162*//*1164:*/
#line 22076 "tex.w"

case mmode+accent:case mmode+math_accent:math_ac();break;

/*:1164*//*1167:*/
#line 22105 "tex.w"

case mmode+vcenter:{scan_spec(vcenter_group,false);normal_paragraph();
push_nest();mode= -vmode;prev_depth= ignore_depth;
if(every_vbox!=null)begin_token_list(every_vbox,every_vbox_text);
}break;

/*:1167*//*1171:*/
#line 22133 "tex.w"

case mmode+math_style:tail_append(new_style(cur_chr))break;
case mmode+non_script:{tail_append(new_glue(zero_glue));
subtype(tail)= cond_math_glue;
}break;
case mmode+math_choice:append_choices();break;

/*:1171*//*1175:*/
#line 22173 "tex.w"

case mmode+sub_mark:case mmode+sup_mark:sub_sup();break;

/*:1175*//*1180:*/
#line 22243 "tex.w"

case mmode+above:math_fraction();break;

/*:1180*//*1190:*/
#line 22358 "tex.w"

case mmode+left_right:math_left_right();break;

/*:1190*//*1193:*/
#line 22394 "tex.w"

case mmode+math_shift:if(cur_group==math_shift_group)after_math();
else off_save();break;

/*:1193*/
#line 20394 "tex.w"

/*1210:*/
#line 22681 "tex.w"

any_mode(toks_register):
any_mode(assign_toks):
any_mode(assign_int):
any_mode(assign_dimen):
any_mode(assign_glue):
any_mode(assign_mu_glue):
any_mode(assign_font_dimen):
any_mode(assign_font_int):
any_mode(set_aux):
any_mode(set_prev_graf):
any_mode(set_page_dimen):
any_mode(set_page_int):
any_mode(set_box_dimen):
any_mode(set_shape):
any_mode(def_code):
any_mode(def_family):
any_mode(set_font):
any_mode(def_font):
any_mode(register):
any_mode(advance):
any_mode(multiply):
any_mode(divide):
any_mode(prefix):
any_mode(let):
any_mode(shorthand_def):
any_mode(read_to_cs):
any_mode(def):
any_mode(set_box):
any_mode(hyph_data):
any_mode(set_interaction):prefixed_command();break;

/*:1210*//*1268:*/
#line 23463 "tex.w"

any_mode(after_assignment):{get_token();after_token= cur_tok;
}break;

/*:1268*//*1271:*/
#line 23484 "tex.w"

any_mode(after_group):{get_token();save_for_after(cur_tok);
}break;

/*:1271*//*1274:*/
#line 23500 "tex.w"

any_mode(in_stream):open_or_close_in();break;

/*:1274*//*1276:*/
#line 23522 "tex.w"

any_mode(message):issue_message();break;

/*:1276*//*1285:*/
#line 23589 "tex.w"

any_mode(case_shift):shift_case();break;

/*:1285*//*1290:*/
#line 23631 "tex.w"

any_mode(xray):show_whatever();break;

/*:1290*/
#line 20395 "tex.w"

/*1347:*/
#line 24660 "tex.w"

any_mode(extension):do_extension();

/*:1347*/
#line 20396 "tex.w"


/*:1045*/
#line 20058 "tex.w"

}
goto big_switch;
main_loop:/*1034:*/
#line 20136 "tex.w"

adjust_space_factor;
main_f= cur_font;
bchar= font_bchar[main_f];false_bchar= font_false_bchar[main_f];
if(mode> 0)if(language!=clang)fix_language();
fast_get_avail(lig_stack);font(lig_stack)= main_f;cur_l= qi(cur_chr);
character(lig_stack)= cur_l;
cur_q= tail;
if(cancel_boundary)
{cancel_boundary= false;main_k= non_address;
}
else main_k= bchar_label[main_f];
if(main_k==non_address)goto main_loop_move2;
cur_r= cur_l;cur_l= non_char;
goto main_lig_loop1;

main_loop_wrapup:/*1035:*/
#line 20194 "tex.w"

wrapup(rt_hit)

/*:1035*/
#line 20153 "tex.w"
;
main_loop_move:/*1036:*/
#line 20197 "tex.w"


if(lig_stack==null)goto reswitch;
cur_q= tail;cur_l= character(lig_stack);
main_loop_move1:if(!is_char_node(lig_stack))goto main_loop_move_lig;
main_loop_move2:if((cur_chr<font_bc[main_f])||(cur_chr> font_ec[main_f]))
{char_warning(main_f,cur_chr);free_avail(lig_stack);goto big_switch;
}
main_i= char_info(main_f)(cur_l);
if(!char_exists(main_i))
{char_warning(main_f,cur_chr);free_avail(lig_stack);goto big_switch;
}
link(tail)= lig_stack;tail= lig_stack

/*:1036*/
#line 20156 "tex.w"
;
main_loop_lookahead:/*1038:*/
#line 20229 "tex.w"

get_next();
if(cur_cmd==letter)goto main_loop_lookahead1;
if(cur_cmd==other_char)goto main_loop_lookahead1;
if(cur_cmd==char_given)goto main_loop_lookahead1;
x_token();
if(cur_cmd==letter)goto main_loop_lookahead1;
if(cur_cmd==other_char)goto main_loop_lookahead1;
if(cur_cmd==char_given)goto main_loop_lookahead1;
if(cur_cmd==char_num)
{scan_char_num();cur_chr= cur_val;goto main_loop_lookahead1;
}
if(cur_cmd==no_boundary)bchar= non_char;
cur_r= bchar;lig_stack= null;goto main_lig_loop;
main_loop_lookahead1:adjust_space_factor;
fast_get_avail(lig_stack);font(lig_stack)= main_f;
cur_r= qi(cur_chr);character(lig_stack)= cur_r;
if(cur_r==false_bchar)cur_r= non_char

/*:1038*/
#line 20158 "tex.w"
;
main_lig_loop:/*1039:*/
#line 20258 "tex.w"

if(char_tag(main_i)!=lig_tag)goto main_loop_wrapup;
if(cur_r==non_char)goto main_loop_wrapup;
main_k= lig_kern_start(main_f)(main_i);main_j= font_info[main_k].qqqq;
if(skip_byte(main_j)<=stop_flag)goto main_lig_loop2;
main_k= lig_kern_restart(main_f)(main_j);
main_lig_loop1:main_j= font_info[main_k].qqqq;
main_lig_loop2:if(next_char(main_j)==cur_r)
if(skip_byte(main_j)<=stop_flag)
/*1040:*/
#line 20284 "tex.w"

{if(op_byte(main_j)>=kern_flag)
{wrapup(rt_hit);
tail_append(new_kern(char_kern(main_f)(main_j)));goto main_loop_move;
}
if(cur_l==non_char)lft_hit= true;
else if(lig_stack==null)rt_hit= true;
check_interrupt;
switch(op_byte(main_j)){
qi(case 1):qi(case 5):{cur_l= rem_byte(main_j);
main_i= char_info(main_f)(cur_l);ligature_present= true;
}break;
qi(case 2):qi(case 6):{cur_r= rem_byte(main_j);
if(lig_stack==null)
{lig_stack= new_lig_item(cur_r);bchar= non_char;
}
else if(is_char_node(lig_stack))
{main_p= lig_stack;lig_stack= new_lig_item(cur_r);
lig_ptr(lig_stack)= main_p;
}
else character(lig_stack)= cur_r;
}break;
qi(case 3):{cur_r= rem_byte(main_j);
main_p= lig_stack;lig_stack= new_lig_item(cur_r);
link(lig_stack)= main_p;
}break;
qi(case 7):qi(case 11):{wrapup(false);
cur_q= tail;cur_l= rem_byte(main_j);
main_i= char_info(main_f)(cur_l);ligature_present= true;
}break;
default:{cur_l= rem_byte(main_j);ligature_present= true;
if(lig_stack==null)goto main_loop_wrapup;
else goto main_loop_move1;
}
}
if(op_byte(main_j)> qi(4))
if(op_byte(main_j)!=qi(7))goto main_loop_wrapup;
if(cur_l<non_char)goto main_lig_loop;
main_k= bchar_label[main_f];goto main_lig_loop1;
}

/*:1040*/
#line 20268 "tex.w"
;
if(skip_byte(main_j)==qi(0))incr(main_k);
else{if(skip_byte(main_j)>=stop_flag)goto main_loop_wrapup;
main_k= main_k+qo(skip_byte(main_j))+1;
}
goto main_lig_loop1

/*:1039*/
#line 20160 "tex.w"
;
main_loop_move_lig:/*1037:*/
#line 20214 "tex.w"

main_p= lig_ptr(lig_stack);
if(main_p> null)tail_append(main_p);
temp_ptr= lig_stack;lig_stack= link(temp_ptr);
free_node(temp_ptr,small_node_size);
main_i= char_info(main_f)(cur_l);ligature_present= true;
if(lig_stack==null)
if(main_p> null)goto main_loop_lookahead;
else cur_r= bchar;
else cur_r= character(lig_stack);
goto main_lig_loop

/*:1037*/
#line 20162 "tex.w"


/*:1034*/
#line 20062 "tex.w"
;
append_normal_space:/*1041:*/
#line 20336 "tex.w"

if(space_skip==zero_glue)
{/*1042:*/
#line 20350 "tex.w"

{main_p= font_glue[cur_font];
if(main_p==null)
{main_p= new_spec(zero_glue);main_k= param_base[cur_font]+space_code;
width(main_p)= font_info[main_k].sc;
stretch(main_p)= font_info[main_k+1].sc;
shrink(main_p)= font_info[main_k+2].sc;
font_glue[cur_font]= main_p;
}
}

/*:1042*/
#line 20338 "tex.w"
;
temp_ptr= new_glue(main_p);
}
else temp_ptr= new_param_glue(space_skip_code);
link(tail)= temp_ptr;tail= temp_ptr;
goto big_switch

/*:1041*/
#line 20064 "tex.w"
;
}

/*:1030*//*1284:*/
#line 23582 "tex.w"
void give_err_help(void)
{token_show(err_help);
}

/*:1284*//*1303:*/
#line 23787 "tex.w"
/*523:*/
#line 10180 "tex.w"

bool open_fmt_file(void)
{
uint16_t j;
j= loc;
if(buffer[loc]=='&')
{incr(loc);j= loc;buffer[last]= ' ';
while(buffer[j]!=' ')incr(j);
pack_buffered_name(0,loc,j-1);
if(w_open_in(&fmt_file))goto found;
pack_buffered_name(format_area_length,loc,j-1);

if(w_open_in(&fmt_file))goto found;
wake_up_terminal;
wterm_ln("Sorry, I can't find that format; will try PLAIN.");

update_terminal;
}

pack_buffered_name(format_default_length-format_ext_length,1,0);
if(!w_open_in(&fmt_file))
{wake_up_terminal;
wterm_ln("I can't find the PLAIN format file!");


return false;
}
found:loc= j;return true;
}

/*:523*/
#line 23787 "tex.w"

bool load_fmt_file(void)
{
int j,k;
pointer p,q;
int x;
four_quarters w;
/*1308:*/
#line 23863 "tex.w"

x= fmt_file.d.i;
if(x!=0)goto bad_fmt;
undump_int(x);
if(x!=mem_bot)goto bad_fmt;
undump_int(x);
if(x!=mem_top)goto bad_fmt;
undump_int(x);
if(x!=eqtb_size)goto bad_fmt;
undump_int(x);
if(x!=hash_prime)goto bad_fmt;
undump_int(x);
if(x!=hyph_size)goto bad_fmt

/*:1308*/
#line 23794 "tex.w"
;
/*1310:*/
#line 23899 "tex.w"

undump_size(0)(pool_size)("string pool size")(pool_ptr);
undump_size(0)(max_strings)("max strings")(str_ptr);
for(k= 0;k<=str_ptr;k++)undump(0)(pool_ptr)(str_start[k]);
k= 0;
while(k+4<pool_ptr)
{undump_four_ASCII;k= k+4;
}
k= pool_ptr-4;undump_four_ASCII;
init_str_ptr= str_ptr;init_pool_ptr= pool_ptr

/*:1310*/
#line 23795 "tex.w"
;
/*1312:*/
#line 23940 "tex.w"

undump(lo_mem_stat_max+1000)(hi_mem_stat_min-1)(lo_mem_max);
undump(lo_mem_stat_max+1)(lo_mem_max)(rover);
p= mem_bot;q= rover;
do{for(k= p;k<=q+1;k++)undump_wd(mem[k]);
p= q+node_size(q);
if((p> lo_mem_max)||((q>=rlink(q))&&(rlink(q)!=rover)))goto bad_fmt;
q= rlink(q);
}while(!(q==rover));
for(k= p;k<=lo_mem_max;k++)undump_wd(mem[k]);
if(mem_min<mem_bot-2)
{p= llink(rover);q= mem_min+1;
link(mem_min)= null;info(mem_min)= null;
rlink(p)= q;llink(rover)= q;
rlink(q)= rover;llink(q)= p;link(q)= empty_flag;
node_size(q)= mem_bot-q;
}
undump(lo_mem_max+1)(hi_mem_stat_min)(hi_mem_min);
undump(null)(mem_top)(avail);mem_end= mem_top;
for(k= hi_mem_min;k<=mem_end;k++)undump_wd(mem[k]);
undump_int(var_used);undump_int(dyn_used)

/*:1312*/
#line 23796 "tex.w"
;
/*1314:*/
#line 23968 "tex.w"

/*1317:*/
#line 24021 "tex.w"

k= active_base;
do{undump_int(x);
if((x<1)||(k+x> eqtb_size+1))goto bad_fmt;
for(j= k;j<=k+x-1;j++)undump_wd(eqtb[j]);
k= k+x;
undump_int(x);
if((x<0)||(k+x> eqtb_size+1))goto bad_fmt;
for(j= k;j<=k+x-1;j++)eqtb[j]= eqtb[k-1];
k= k+x;
}while(!(k> eqtb_size))

/*:1317*/
#line 23969 "tex.w"
;
undump(hash_base)(frozen_control_sequence)(par_loc);
par_token= cs_token_flag+par_loc;
undump(hash_base)(frozen_control_sequence)(write_loc);
/*1319:*/
#line 24047 "tex.w"

undump(hash_base)(frozen_control_sequence)(hash_used);p= hash_base-1;
do{undump(p+1)(hash_used)(p);undump_hh(hash[p]);
}while(!(p==hash_used));
for(p= hash_used+1;p<=undefined_control_sequence-1;p++)undump_hh(hash[p]);
undump_int(cs_count)

/*:1319*/
#line 23973 "tex.w"


/*:1314*/
#line 23797 "tex.w"
;
/*1321:*/
#line 24064 "tex.w"

undump_size(7)(font_mem_size)("font mem size")(fmem_ptr);
for(k= 0;k<=fmem_ptr-1;k++)undump_wd(font_info[k]);
undump_size(font_base)(font_max)("font max")(font_ptr);
for(k= null_font;k<=font_ptr;k++)
/*1323:*/
#line 24102 "tex.w"

{undump_qqqq(font_check[k]);
undump_int(font_size[k]);
undump_int(font_dsize[k]);
undump(min_halfword)(max_halfword)(font_params[k]);
undump_int(hyphen_char[k]);
undump_int(skew_char[k]);
undump(0)(str_ptr)(font_name[k]);
undump(0)(str_ptr)(font_area[k]);
undump(0)(255)(font_bc[k]);
undump(0)(255)(font_ec[k]);
undump_int(char_base[k]);
undump_int(width_base[k]);
undump_int(height_base[k]);
undump_int(depth_base[k]);
undump_int(italic_base[k]);
undump_int(lig_kern_base[k]);
undump_int(kern_base[k]);
undump_int(exten_base[k]);
undump_int(param_base[k]);
undump(min_halfword)(lo_mem_max)(font_glue[k]);
undump(0)(fmem_ptr-1)(bchar_label[k]);
undump(min_quarterword)(non_char)(font_bchar[k]);
undump(min_quarterword)(non_char)(font_false_bchar[k]);
}

/*:1323*/
#line 24069 "tex.w"


/*:1321*/
#line 23798 "tex.w"
;
/*1325:*/
#line 24157 "tex.w"

undump(0)(hyph_size)(hyph_count);
for(k= 1;k<=hyph_count;k++)
{undump(0)(hyph_size)(j);
undump(0)(str_ptr)(hyph_word[j]);
undump(min_halfword)(max_halfword)(hyph_list[j]);
}
undump_size(0)(trie_size)("trie size")(j);
#ifdef INIT
trie_max= j;
#endif
for(k= 0;k<=j;k++)undump_hh(trie[k]);
undump_size(0)(trie_op_size)("trie op size")(j);
#ifdef INIT
trie_op_ptr= j;
#endif
for(k= 1;k<=j;k++)
{undump(0)(63)(hyf_distance[k]);
undump(0)(63)(hyf_num[k]);
undump(min_quarterword)(max_quarterword)(hyf_next[k]);
}
#ifdef INIT
for(k= 0;k<=255;k++)trie_used[k]= min_quarterword;
#endif

k= 256;
while(j> 0)
{undump(0)(k-1)(k);undump(1)(j)(x);
#ifdef INIT
trie_used[k]= qi(x);
#endif

j= j-x;op_start[k]= qo(j);
}
#ifdef INIT
trie_not_ready= false
#endif

/*:1325*/
#line 23799 "tex.w"
;
/*1327:*/
#line 24202 "tex.w"

undump(batch_mode)(error_stop_mode)(interaction);
undump(0)(str_ptr)(format_ident);
undump_int(x);
if((x!=69069)||eof(fmt_file))goto bad_fmt

/*:1327*/
#line 23800 "tex.w"
;
return true;
bad_fmt:wake_up_terminal;
wterm_ln("(Fatal format file error; I'm stymied)");

return false;
}

/*:1303*//*1330:*/
#line 24235 "tex.w"
/*1333:*/
#line 24329 "tex.w"

void close_files_and_terminate(void)
{int k;
/*1378:*/
#line 24990 "tex.w"

for(k= 0;k<=15;k++)if(write_open[k])a_close(&write_file[k])

/*:1378*/
#line 24332 "tex.w"
;
#ifdef STAT
if(tracing_stats> 0)/*1334:*/
#line 24351 "tex.w"

if(log_opened)
{wlog_ln(" ");
wlog_ln("Here is how much of TeX's memory you used:");

wlog(" %d string",str_ptr-init_str_ptr);
if(str_ptr!=init_str_ptr+1)wlog("s");
wlog_ln(" out of %d",max_strings-init_str_ptr);
wlog_ln(" %d string characters out of %d",pool_ptr-init_pool_ptr,
pool_size-init_pool_ptr);
wlog_ln(" %d words of memory out of %d",lo_mem_max-mem_min+mem_end-hi_mem_min+2,
mem_end+1-mem_min);
wlog_ln(" %d multiletter control sequences out of %d",cs_count,hash_size);
wlog(" %d words of font info for %d font",fmem_ptr,font_ptr-font_base);
if(font_ptr!=font_base+1)wlog("s");
wlog_ln(", out of %d for %d",font_mem_size,font_max-font_base);
wlog(" %d hyphenation exception",hyph_count);
if(hyph_count!=1)wlog("s");
wlog_ln(" out of %d",hyph_size);
wlog_ln(" %di,%dn,%dp,%db,%ds stack positions out of %di,%dn,%dp,%db,%ds",
max_in_stack,max_nest_stack,
max_param_stack,
max_buf_stack+1,
max_save_stack+6,
stack_size,
nest_size,
param_size,
buf_size,
save_size);
}

/*:1334*/
#line 24334 "tex.w"
;
#endif
wake_up_terminal;/*642:*/
#line 12800 "tex.w"

while(cur_s> -1)
{if(cur_s> 0)dvi_out(pop)
else{dvi_out(eop);incr(total_pages);
}
decr(cur_s);
}
if(total_pages==0)print_nl("No pages of output.");

else{dvi_out(post);
dvi_four(last_bop);last_bop= dvi_offset+dvi_ptr-5;
dvi_four(25400000);dvi_four(473628672);
prepare_mag();dvi_four(mag);
dvi_four(max_v);dvi_four(max_h);
dvi_out(max_push/256);dvi_out(max_push%256);
dvi_out((total_pages/256)%256);dvi_out(total_pages%256);
/*643:*/
#line 12831 "tex.w"

while(font_ptr> font_base)
{if(font_used[font_ptr])dvi_font_def(font_ptr);
decr(font_ptr);
}

/*:643*/
#line 12816 "tex.w"
;
dvi_out(post_post);dvi_four(last_bop);dvi_out(id_byte);
k= 4+((dvi_buf_size-dvi_ptr)%4);
while(k> 0)
{dvi_out(223);decr(k);
}
/*599:*/
#line 11982 "tex.w"

if(dvi_limit==half_buf)write_dvi(half_buf,dvi_buf_size-1);
if(dvi_ptr> 0)write_dvi(0,dvi_ptr-1)

/*:599*/
#line 12822 "tex.w"
;
print_nl("Output written on ");slow_print(output_file_name);

print_str(" (");print_int(total_pages);print_str(" page");
if(total_pages!=1)print_char('s');
print_str(", ");print_int(dvi_offset+dvi_ptr);print_str(" bytes).");
b_close(&dvi_file);
}

/*:642*/
#line 24336 "tex.w"
;
if(log_opened)
{wlog_cr;a_close(&log_file);selector= selector-2;
if(selector==term_only)
{print_nl("Transcript written on ");

slow_print(log_name);print_char('.');
}
}
}

/*:1333*//*1335:*/
#line 24385 "tex.w"

void final_cleanup(void)
{
small_number c;
c= cur_chr;
if(job_name==0)open_log_file();
while(input_ptr> 0)
if(state==token_list)end_token_list();else end_file_reading();
while(open_parens> 0)
{print_str(" )");decr(open_parens);
}
if(cur_level> level_one)
{print_nl("(");print_esc(/*1782:*/
#line 26242 "tex.w"
657
/*:1782*/
#line 24397 "tex.w"
);
print_str("inside a group at level ");

print_int(cur_level-level_one);print_char(')');
}
while(cond_ptr!=null)
{print_nl("(");print_esc(/*1782:*/
#line 26242 "tex.w"
657
/*:1782*/
#line 24403 "tex.w"
);
print_str("when ");print_cmd_chr(if_test,cur_if);
if(if_line!=0)
{print_str(" on line ");print_int(if_line);
}
print_str(" was incomplete)");
if_line= if_line_field(cond_ptr);
cur_if= subtype(cond_ptr);temp_ptr= cond_ptr;
cond_ptr= link(cond_ptr);free_node(temp_ptr,if_node_size);
}
if(history!=spotless)
if(((history==warning_issued)||(interaction<error_stop_mode)))
if(selector==term_and_log)
{selector= term_only;
print_nl("(see the transcript file for additional information)");

selector= term_and_log;
}
if(c==1)
{
#ifdef INIT
for(c= top_mark_code;c<=split_bot_mark_code;c++)
if(cur_mark[c]!=null)delete_token_ref(cur_mark[c]);
if(last_glue!=max_halfword)delete_glue_ref(last_glue);
store_fmt_file();return;
#endif
print_nl("(\\dump is performed only by INITEX)");return;

}
}

/*:1335*//*1336:*/
#line 24434 "tex.w"

#ifdef INIT
void init_prim(void)
{no_new_control_sequence= false;
/*226:*/
#line 4700 "tex.w"

primitive(/*1405:*/
#line 25111 "tex.w"
280
/*:1405*/
#line 4701 "tex.w"
,assign_glue,glue_base+line_skip_code);

primitive(/*1406:*/
#line 25114 "tex.w"
281
/*:1406*/
#line 4703 "tex.w"
,assign_glue,glue_base+baseline_skip_code);

primitive(/*1407:*/
#line 25117 "tex.w"
282
/*:1407*/
#line 4705 "tex.w"
,assign_glue,glue_base+par_skip_code);

primitive(/*1408:*/
#line 25120 "tex.w"
283
/*:1408*/
#line 4707 "tex.w"
,assign_glue,glue_base+above_display_skip_code);

primitive(/*1409:*/
#line 25123 "tex.w"
284
/*:1409*/
#line 4709 "tex.w"
,assign_glue,glue_base+below_display_skip_code);

primitive(/*1410:*/
#line 25126 "tex.w"
285
/*:1410*/
#line 4711 "tex.w"
,
assign_glue,glue_base+above_display_short_skip_code);

primitive(/*1411:*/
#line 25129 "tex.w"
286
/*:1411*/
#line 4714 "tex.w"
,
assign_glue,glue_base+below_display_short_skip_code);

primitive(/*1412:*/
#line 25132 "tex.w"
287
/*:1412*/
#line 4717 "tex.w"
,assign_glue,glue_base+left_skip_code);

primitive(/*1413:*/
#line 25135 "tex.w"
288
/*:1413*/
#line 4719 "tex.w"
,assign_glue,glue_base+right_skip_code);

primitive(/*1414:*/
#line 25138 "tex.w"
289
/*:1414*/
#line 4721 "tex.w"
,assign_glue,glue_base+top_skip_code);

primitive(/*1415:*/
#line 25141 "tex.w"
290
/*:1415*/
#line 4723 "tex.w"
,assign_glue,glue_base+split_top_skip_code);

primitive(/*1416:*/
#line 25144 "tex.w"
291
/*:1416*/
#line 4725 "tex.w"
,assign_glue,glue_base+tab_skip_code);

primitive(/*1417:*/
#line 25147 "tex.w"
292
/*:1417*/
#line 4727 "tex.w"
,assign_glue,glue_base+space_skip_code);

primitive(/*1418:*/
#line 25150 "tex.w"
293
/*:1418*/
#line 4729 "tex.w"
,assign_glue,glue_base+xspace_skip_code);

primitive(/*1419:*/
#line 25153 "tex.w"
294
/*:1419*/
#line 4731 "tex.w"
,assign_glue,glue_base+par_fill_skip_code);

primitive(/*1420:*/
#line 25156 "tex.w"
295
/*:1420*/
#line 4733 "tex.w"
,assign_mu_glue,glue_base+thin_mu_skip_code);

primitive(/*1421:*/
#line 25159 "tex.w"
296
/*:1421*/
#line 4735 "tex.w"
,assign_mu_glue,glue_base+med_mu_skip_code);

primitive(/*1422:*/
#line 25162 "tex.w"
297
/*:1422*/
#line 4737 "tex.w"
,assign_mu_glue,glue_base+thick_mu_skip_code);


/*:226*//*230:*/
#line 4821 "tex.w"

primitive(/*1426:*/
#line 25174 "tex.w"
301
/*:1426*/
#line 4822 "tex.w"
,assign_toks,output_routine_loc);

primitive(/*1427:*/
#line 25177 "tex.w"
302
/*:1427*/
#line 4824 "tex.w"
,assign_toks,every_par_loc);

primitive(/*1428:*/
#line 25180 "tex.w"
303
/*:1428*/
#line 4826 "tex.w"
,assign_toks,every_math_loc);

primitive(/*1429:*/
#line 25183 "tex.w"
304
/*:1429*/
#line 4828 "tex.w"
,assign_toks,every_display_loc);

primitive(/*1430:*/
#line 25186 "tex.w"
305
/*:1430*/
#line 4830 "tex.w"
,assign_toks,every_hbox_loc);

primitive(/*1431:*/
#line 25189 "tex.w"
306
/*:1431*/
#line 4832 "tex.w"
,assign_toks,every_vbox_loc);

primitive(/*1432:*/
#line 25192 "tex.w"
307
/*:1432*/
#line 4834 "tex.w"
,assign_toks,every_job_loc);

primitive(/*1433:*/
#line 25195 "tex.w"
308
/*:1433*/
#line 4836 "tex.w"
,assign_toks,every_cr_loc);

primitive(/*1434:*/
#line 25198 "tex.w"
309
/*:1434*/
#line 4838 "tex.w"
,assign_toks,err_help_loc);


/*:230*//*238:*/
#line 5154 "tex.w"

primitive(/*1446:*/
#line 25234 "tex.w"
321
/*:1446*/
#line 5155 "tex.w"
,assign_int,int_base+pretolerance_code);

primitive(/*1447:*/
#line 25237 "tex.w"
322
/*:1447*/
#line 5157 "tex.w"
,assign_int,int_base+tolerance_code);

primitive(/*1448:*/
#line 25240 "tex.w"
323
/*:1448*/
#line 5159 "tex.w"
,assign_int,int_base+line_penalty_code);

primitive(/*1449:*/
#line 25243 "tex.w"
324
/*:1449*/
#line 5161 "tex.w"
,assign_int,int_base+hyphen_penalty_code);

primitive(/*1450:*/
#line 25246 "tex.w"
325
/*:1450*/
#line 5163 "tex.w"
,assign_int,int_base+ex_hyphen_penalty_code);

primitive(/*1451:*/
#line 25249 "tex.w"
326
/*:1451*/
#line 5165 "tex.w"
,assign_int,int_base+club_penalty_code);

primitive(/*1452:*/
#line 25252 "tex.w"
327
/*:1452*/
#line 5167 "tex.w"
,assign_int,int_base+widow_penalty_code);

primitive(/*1453:*/
#line 25255 "tex.w"
328
/*:1453*/
#line 5169 "tex.w"
,
assign_int,int_base+display_widow_penalty_code);

primitive(/*1454:*/
#line 25258 "tex.w"
329
/*:1454*/
#line 5172 "tex.w"
,assign_int,int_base+broken_penalty_code);

primitive(/*1455:*/
#line 25261 "tex.w"
330
/*:1455*/
#line 5174 "tex.w"
,assign_int,int_base+bin_op_penalty_code);

primitive(/*1456:*/
#line 25264 "tex.w"
331
/*:1456*/
#line 5176 "tex.w"
,assign_int,int_base+rel_penalty_code);

primitive(/*1457:*/
#line 25267 "tex.w"
332
/*:1457*/
#line 5178 "tex.w"
,assign_int,int_base+pre_display_penalty_code);

primitive(/*1458:*/
#line 25270 "tex.w"
333
/*:1458*/
#line 5180 "tex.w"
,assign_int,int_base+post_display_penalty_code);

primitive(/*1459:*/
#line 25273 "tex.w"
334
/*:1459*/
#line 5182 "tex.w"
,assign_int,int_base+inter_line_penalty_code);

primitive(/*1460:*/
#line 25276 "tex.w"
335
/*:1460*/
#line 5184 "tex.w"
,
assign_int,int_base+double_hyphen_demerits_code);

primitive(/*1461:*/
#line 25279 "tex.w"
336
/*:1461*/
#line 5187 "tex.w"
,
assign_int,int_base+final_hyphen_demerits_code);

primitive(/*1462:*/
#line 25282 "tex.w"
337
/*:1462*/
#line 5190 "tex.w"
,assign_int,int_base+adj_demerits_code);

primitive(/*1463:*/
#line 25285 "tex.w"
338
/*:1463*/
#line 5192 "tex.w"
,assign_int,int_base+mag_code);

primitive(/*1464:*/
#line 25288 "tex.w"
339
/*:1464*/
#line 5194 "tex.w"
,assign_int,int_base+delimiter_factor_code);

primitive(/*1465:*/
#line 25291 "tex.w"
340
/*:1465*/
#line 5196 "tex.w"
,assign_int,int_base+looseness_code);

primitive(/*1466:*/
#line 25294 "tex.w"
341
/*:1466*/
#line 5198 "tex.w"
,assign_int,int_base+time_code);

primitive(/*1467:*/
#line 25297 "tex.w"
342
/*:1467*/
#line 5200 "tex.w"
,assign_int,int_base+day_code);

primitive(/*1468:*/
#line 25300 "tex.w"
343
/*:1468*/
#line 5202 "tex.w"
,assign_int,int_base+month_code);

primitive(/*1469:*/
#line 25303 "tex.w"
344
/*:1469*/
#line 5204 "tex.w"
,assign_int,int_base+year_code);

primitive(/*1470:*/
#line 25306 "tex.w"
345
/*:1470*/
#line 5206 "tex.w"
,assign_int,int_base+show_box_breadth_code);

primitive(/*1471:*/
#line 25309 "tex.w"
346
/*:1471*/
#line 5208 "tex.w"
,assign_int,int_base+show_box_depth_code);

primitive(/*1472:*/
#line 25312 "tex.w"
347
/*:1472*/
#line 5210 "tex.w"
,assign_int,int_base+hbadness_code);

primitive(/*1473:*/
#line 25315 "tex.w"
348
/*:1473*/
#line 5212 "tex.w"
,assign_int,int_base+vbadness_code);

primitive(/*1474:*/
#line 25318 "tex.w"
349
/*:1474*/
#line 5214 "tex.w"
,assign_int,int_base+pausing_code);

primitive(/*1475:*/
#line 25321 "tex.w"
350
/*:1475*/
#line 5216 "tex.w"
,assign_int,int_base+tracing_online_code);

primitive(/*1476:*/
#line 25324 "tex.w"
351
/*:1476*/
#line 5218 "tex.w"
,assign_int,int_base+tracing_macros_code);

primitive(/*1477:*/
#line 25327 "tex.w"
352
/*:1477*/
#line 5220 "tex.w"
,assign_int,int_base+tracing_stats_code);

primitive(/*1478:*/
#line 25330 "tex.w"
353
/*:1478*/
#line 5222 "tex.w"
,assign_int,int_base+tracing_paragraphs_code);

primitive(/*1479:*/
#line 25333 "tex.w"
354
/*:1479*/
#line 5224 "tex.w"
,assign_int,int_base+tracing_pages_code);

primitive(/*1480:*/
#line 25336 "tex.w"
355
/*:1480*/
#line 5226 "tex.w"
,assign_int,int_base+tracing_output_code);

primitive(/*1481:*/
#line 25339 "tex.w"
356
/*:1481*/
#line 5228 "tex.w"
,assign_int,int_base+tracing_lost_chars_code);

primitive(/*1482:*/
#line 25342 "tex.w"
357
/*:1482*/
#line 5230 "tex.w"
,assign_int,int_base+tracing_commands_code);

primitive(/*1483:*/
#line 25345 "tex.w"
358
/*:1483*/
#line 5232 "tex.w"
,assign_int,int_base+tracing_restores_code);

primitive(/*1484:*/
#line 25348 "tex.w"
359
/*:1484*/
#line 5234 "tex.w"
,assign_int,int_base+uc_hyph_code);

primitive(/*1485:*/
#line 25351 "tex.w"
360
/*:1485*/
#line 5236 "tex.w"
,assign_int,int_base+output_penalty_code);

primitive(/*1486:*/
#line 25354 "tex.w"
361
/*:1486*/
#line 5238 "tex.w"
,assign_int,int_base+max_dead_cycles_code);

primitive(/*1487:*/
#line 25357 "tex.w"
362
/*:1487*/
#line 5240 "tex.w"
,assign_int,int_base+hang_after_code);

primitive(/*1488:*/
#line 25360 "tex.w"
363
/*:1488*/
#line 5242 "tex.w"
,assign_int,int_base+floating_penalty_code);

primitive(/*1489:*/
#line 25363 "tex.w"
364
/*:1489*/
#line 5244 "tex.w"
,assign_int,int_base+global_defs_code);

primitive(/*1490:*/
#line 25366 "tex.w"
365
/*:1490*/
#line 5246 "tex.w"
,assign_int,int_base+cur_fam_code);

primitive(/*1491:*/
#line 25369 "tex.w"
366
/*:1491*/
#line 5248 "tex.w"
,assign_int,int_base+escape_char_code);

primitive(/*1492:*/
#line 25372 "tex.w"
367
/*:1492*/
#line 5250 "tex.w"
,assign_int,int_base+default_hyphen_char_code);

primitive(/*1493:*/
#line 25375 "tex.w"
368
/*:1493*/
#line 5252 "tex.w"
,assign_int,int_base+default_skew_char_code);

primitive(/*1494:*/
#line 25378 "tex.w"
369
/*:1494*/
#line 5254 "tex.w"
,assign_int,int_base+end_line_char_code);

primitive(/*1495:*/
#line 25381 "tex.w"
370
/*:1495*/
#line 5256 "tex.w"
,assign_int,int_base+new_line_char_code);

primitive(/*1496:*/
#line 25384 "tex.w"
371
/*:1496*/
#line 5258 "tex.w"
,assign_int,int_base+language_code);

primitive(/*1497:*/
#line 25387 "tex.w"
372
/*:1497*/
#line 5260 "tex.w"
,assign_int,int_base+left_hyphen_min_code);

primitive(/*1498:*/
#line 25390 "tex.w"
373
/*:1498*/
#line 5262 "tex.w"
,assign_int,int_base+right_hyphen_min_code);

primitive(/*1499:*/
#line 25393 "tex.w"
374
/*:1499*/
#line 5264 "tex.w"
,assign_int,int_base+holding_inserts_code);

primitive(/*1500:*/
#line 25396 "tex.w"
375
/*:1500*/
#line 5266 "tex.w"
,assign_int,int_base+error_context_lines_code);


/*:238*//*248:*/
#line 5419 "tex.w"

primitive(/*1503:*/
#line 25405 "tex.w"
378
/*:1503*/
#line 5420 "tex.w"
,assign_dimen,dimen_base+par_indent_code);

primitive(/*1504:*/
#line 25408 "tex.w"
379
/*:1504*/
#line 5422 "tex.w"
,assign_dimen,dimen_base+math_surround_code);

primitive(/*1505:*/
#line 25411 "tex.w"
380
/*:1505*/
#line 5424 "tex.w"
,assign_dimen,dimen_base+line_skip_limit_code);

primitive(/*1506:*/
#line 25414 "tex.w"
381
/*:1506*/
#line 5426 "tex.w"
,assign_dimen,dimen_base+hsize_code);

primitive(/*1507:*/
#line 25417 "tex.w"
382
/*:1507*/
#line 5428 "tex.w"
,assign_dimen,dimen_base+vsize_code);

primitive(/*1508:*/
#line 25420 "tex.w"
383
/*:1508*/
#line 5430 "tex.w"
,assign_dimen,dimen_base+max_depth_code);

primitive(/*1509:*/
#line 25423 "tex.w"
384
/*:1509*/
#line 5432 "tex.w"
,assign_dimen,dimen_base+split_max_depth_code);

primitive(/*1510:*/
#line 25426 "tex.w"
385
/*:1510*/
#line 5434 "tex.w"
,assign_dimen,dimen_base+box_max_depth_code);

primitive(/*1511:*/
#line 25429 "tex.w"
386
/*:1511*/
#line 5436 "tex.w"
,assign_dimen,dimen_base+hfuzz_code);

primitive(/*1512:*/
#line 25432 "tex.w"
387
/*:1512*/
#line 5438 "tex.w"
,assign_dimen,dimen_base+vfuzz_code);

primitive(/*1513:*/
#line 25435 "tex.w"
388
/*:1513*/
#line 5440 "tex.w"
,
assign_dimen,dimen_base+delimiter_shortfall_code);

primitive(/*1514:*/
#line 25438 "tex.w"
389
/*:1514*/
#line 5443 "tex.w"
,
assign_dimen,dimen_base+null_delimiter_space_code);

primitive(/*1515:*/
#line 25441 "tex.w"
390
/*:1515*/
#line 5446 "tex.w"
,assign_dimen,dimen_base+script_space_code);

primitive(/*1516:*/
#line 25444 "tex.w"
391
/*:1516*/
#line 5448 "tex.w"
,assign_dimen,dimen_base+pre_display_size_code);

primitive(/*1517:*/
#line 25447 "tex.w"
392
/*:1517*/
#line 5450 "tex.w"
,assign_dimen,dimen_base+display_width_code);

primitive(/*1518:*/
#line 25450 "tex.w"
393
/*:1518*/
#line 5452 "tex.w"
,assign_dimen,dimen_base+display_indent_code);

primitive(/*1519:*/
#line 25453 "tex.w"
394
/*:1519*/
#line 5454 "tex.w"
,assign_dimen,dimen_base+overfull_rule_code);

primitive(/*1520:*/
#line 25456 "tex.w"
395
/*:1520*/
#line 5456 "tex.w"
,assign_dimen,dimen_base+hang_indent_code);

primitive(/*1521:*/
#line 25459 "tex.w"
396
/*:1521*/
#line 5458 "tex.w"
,assign_dimen,dimen_base+h_offset_code);

primitive(/*1522:*/
#line 25462 "tex.w"
397
/*:1522*/
#line 5460 "tex.w"
,assign_dimen,dimen_base+v_offset_code);

primitive(/*1523:*/
#line 25465 "tex.w"
398
/*:1523*/
#line 5462 "tex.w"
,assign_dimen,dimen_base+emergency_stretch_code);


/*:248*//*265:*/
#line 5701 "tex.w"

primitive(' ',ex_space,0);

primitive('/',ital_corr,0);

primitive(/*1530:*/
#line 25486 "tex.w"
405
/*:1530*/
#line 5706 "tex.w"
,accent,0);

primitive(/*1531:*/
#line 25489 "tex.w"
406
/*:1531*/
#line 5708 "tex.w"
,advance,0);

primitive(/*1532:*/
#line 25492 "tex.w"
407
/*:1532*/
#line 5710 "tex.w"
,after_assignment,0);

primitive(/*1533:*/
#line 25495 "tex.w"
408
/*:1533*/
#line 5712 "tex.w"
,after_group,0);

primitive(/*1534:*/
#line 25498 "tex.w"
409
/*:1534*/
#line 5714 "tex.w"
,begin_group,0);

primitive(/*1535:*/
#line 25501 "tex.w"
410
/*:1535*/
#line 5716 "tex.w"
,char_num,0);

primitive(/*1526:*/
#line 25474 "tex.w"
401
/*:1526*/
#line 5718 "tex.w"
,cs_name,0);

primitive(/*1536:*/
#line 25504 "tex.w"
411
/*:1536*/
#line 5720 "tex.w"
,delim_num,0);

primitive(/*1537:*/
#line 25507 "tex.w"
412
/*:1537*/
#line 5722 "tex.w"
,divide,0);

primitive(/*1527:*/
#line 25477 "tex.w"
402
/*:1527*/
#line 5724 "tex.w"
,end_cs_name,0);

primitive(/*1538:*/
#line 25510 "tex.w"
413
/*:1538*/
#line 5726 "tex.w"
,end_group,0);

text(frozen_end_group)= /*1538:*/
#line 25510 "tex.w"
413
/*:1538*/
#line 5728 "tex.w"
;eqtb[frozen_end_group]= eqtb[cur_val];
primitive(/*1539:*/
#line 25513 "tex.w"
414
/*:1539*/
#line 5729 "tex.w"
,expand_after,0);

primitive(/*1540:*/
#line 25516 "tex.w"
415
/*:1540*/
#line 5731 "tex.w"
,def_font,0);

primitive(/*1541:*/
#line 25519 "tex.w"
416
/*:1541*/
#line 5733 "tex.w"
,assign_font_dimen,0);

primitive(/*1542:*/
#line 25522 "tex.w"
417
/*:1542*/
#line 5735 "tex.w"
,halign,0);

primitive(/*1543:*/
#line 25525 "tex.w"
418
/*:1543*/
#line 5737 "tex.w"
,hrule,0);

primitive(/*1544:*/
#line 25528 "tex.w"
419
/*:1544*/
#line 5739 "tex.w"
,ignore_spaces,0);

primitive(/*1390:*/
#line 25066 "tex.w"
265
/*:1390*/
#line 5741 "tex.w"
,insert,0);

primitive(/*1401:*/
#line 25099 "tex.w"
276
/*:1401*/
#line 5743 "tex.w"
,mark,0);

primitive(/*1545:*/
#line 25531 "tex.w"
420
/*:1545*/
#line 5745 "tex.w"
,math_accent,0);

primitive(/*1546:*/
#line 25534 "tex.w"
421
/*:1546*/
#line 5747 "tex.w"
,math_char_num,0);

primitive(/*1547:*/
#line 25537 "tex.w"
422
/*:1547*/
#line 5749 "tex.w"
,math_choice,0);

primitive(/*1548:*/
#line 25540 "tex.w"
423
/*:1548*/
#line 5751 "tex.w"
,multiply,0);

primitive(/*1549:*/
#line 25543 "tex.w"
424
/*:1549*/
#line 5753 "tex.w"
,no_align,0);

primitive(/*1550:*/
#line 25546 "tex.w"
425
/*:1550*/
#line 5755 "tex.w"
,no_boundary,0);

primitive(/*1551:*/
#line 25549 "tex.w"
426
/*:1551*/
#line 5757 "tex.w"
,no_expand,0);

primitive(/*1392:*/
#line 25072 "tex.w"
267
/*:1392*/
#line 5759 "tex.w"
,non_script,0);

primitive(/*1552:*/
#line 25552 "tex.w"
427
/*:1552*/
#line 5761 "tex.w"
,omit,0);

primitive(/*1436:*/
#line 25204 "tex.w"
311
/*:1436*/
#line 5763 "tex.w"
,set_shape,0);

primitive(/*1553:*/
#line 25555 "tex.w"
428
/*:1553*/
#line 5765 "tex.w"
,break_penalty,0);

primitive(/*1554:*/
#line 25558 "tex.w"
429
/*:1554*/
#line 5767 "tex.w"
,set_prev_graf,0);

primitive(/*1555:*/
#line 25561 "tex.w"
430
/*:1555*/
#line 5769 "tex.w"
,radical,0);

primitive(/*1556:*/
#line 25564 "tex.w"
431
/*:1556*/
#line 5771 "tex.w"
,read_to_cs,0);

primitive(/*1557:*/
#line 25567 "tex.w"
432
/*:1557*/
#line 5773 "tex.w"
,relax,256);

text(frozen_relax)= /*1557:*/
#line 25567 "tex.w"
432
/*:1557*/
#line 5775 "tex.w"
;eqtb[frozen_relax]= eqtb[cur_val];
primitive(/*1558:*/
#line 25570 "tex.w"
433
/*:1558*/
#line 5776 "tex.w"
,set_box,0);

primitive(/*1559:*/
#line 25573 "tex.w"
434
/*:1559*/
#line 5778 "tex.w"
,the,0);

primitive(/*1435:*/
#line 25201 "tex.w"
310
/*:1435*/
#line 5780 "tex.w"
,toks_register,0);

primitive(/*1402:*/
#line 25102 "tex.w"
277
/*:1402*/
#line 5782 "tex.w"
,vadjust,0);

primitive(/*1560:*/
#line 25576 "tex.w"
435
/*:1560*/
#line 5784 "tex.w"
,valign,0);

primitive(/*1561:*/
#line 25579 "tex.w"
436
/*:1561*/
#line 5786 "tex.w"
,vcenter,0);

primitive(/*1562:*/
#line 25582 "tex.w"
437
/*:1562*/
#line 5788 "tex.w"
,vrule,0);


/*:265*//*334:*/
#line 7198 "tex.w"

primitive(/*1569:*/
#line 25603 "tex.w"
444
/*:1569*/
#line 7199 "tex.w"
,par_end,256);

par_loc= cur_val;par_token= cs_token_flag+par_loc;

/*:334*//*376:*/
#line 7848 "tex.w"

primitive(/*1570:*/
#line 25606 "tex.w"
445
/*:1570*/
#line 7849 "tex.w"
,input,0);

primitive(/*1571:*/
#line 25609 "tex.w"
446
/*:1571*/
#line 7851 "tex.w"
,input,1);


/*:376*//*384:*/
#line 7933 "tex.w"

primitive(/*1572:*/
#line 25612 "tex.w"
447
/*:1572*/
#line 7934 "tex.w"
,top_bot_mark,top_mark_code);

primitive(/*1573:*/
#line 25615 "tex.w"
448
/*:1573*/
#line 7936 "tex.w"
,top_bot_mark,first_mark_code);

primitive(/*1574:*/
#line 25618 "tex.w"
449
/*:1574*/
#line 7938 "tex.w"
,top_bot_mark,bot_mark_code);

primitive(/*1575:*/
#line 25621 "tex.w"
450
/*:1575*/
#line 7940 "tex.w"
,top_bot_mark,split_first_mark_code);

primitive(/*1576:*/
#line 25624 "tex.w"
451
/*:1576*/
#line 7942 "tex.w"
,top_bot_mark,split_bot_mark_code);


/*:384*//*411:*/
#line 8378 "tex.w"

primitive(/*1501:*/
#line 25399 "tex.w"
376
/*:1501*/
#line 8379 "tex.w"
,register,int_val);

primitive(/*1524:*/
#line 25468 "tex.w"
399
/*:1524*/
#line 8381 "tex.w"
,register,dimen_val);

primitive(/*1423:*/
#line 25165 "tex.w"
298
/*:1423*/
#line 8383 "tex.w"
,register,glue_val);

primitive(/*1424:*/
#line 25168 "tex.w"
299
/*:1424*/
#line 8385 "tex.w"
,register,mu_val);


/*:411*//*416:*/
#line 8472 "tex.w"

primitive(/*1577:*/
#line 25627 "tex.w"
452
/*:1577*/
#line 8473 "tex.w"
,set_aux,hmode);

primitive(/*1578:*/
#line 25630 "tex.w"
453
/*:1578*/
#line 8475 "tex.w"
,set_aux,vmode);

primitive(/*1579:*/
#line 25633 "tex.w"
454
/*:1579*/
#line 8477 "tex.w"
,set_page_int,0);

primitive(/*1580:*/
#line 25636 "tex.w"
455
/*:1580*/
#line 8479 "tex.w"
,set_page_int,1);

primitive(/*1581:*/
#line 25639 "tex.w"
456
/*:1581*/
#line 8481 "tex.w"
,set_box_dimen,width_offset);

primitive(/*1582:*/
#line 25642 "tex.w"
457
/*:1582*/
#line 8483 "tex.w"
,set_box_dimen,height_offset);

primitive(/*1583:*/
#line 25645 "tex.w"
458
/*:1583*/
#line 8485 "tex.w"
,set_box_dimen,depth_offset);

primitive(/*1584:*/
#line 25648 "tex.w"
459
/*:1584*/
#line 8487 "tex.w"
,last_item,int_val);

primitive(/*1585:*/
#line 25651 "tex.w"
460
/*:1585*/
#line 8489 "tex.w"
,last_item,dimen_val);

primitive(/*1586:*/
#line 25654 "tex.w"
461
/*:1586*/
#line 8491 "tex.w"
,last_item,glue_val);

primitive(/*1587:*/
#line 25657 "tex.w"
462
/*:1587*/
#line 8493 "tex.w"
,last_item,input_line_no_code);

primitive(/*1588:*/
#line 25660 "tex.w"
463
/*:1588*/
#line 8495 "tex.w"
,last_item,badness_code);


/*:416*//*468:*/
#line 9273 "tex.w"

primitive(/*1605:*/
#line 25711 "tex.w"
480
/*:1605*/
#line 9274 "tex.w"
,convert,number_code);

primitive(/*1606:*/
#line 25714 "tex.w"
481
/*:1606*/
#line 9276 "tex.w"
,convert,roman_numeral_code);

primitive(/*1607:*/
#line 25717 "tex.w"
482
/*:1607*/
#line 9278 "tex.w"
,convert,string_code);

primitive(/*1608:*/
#line 25720 "tex.w"
483
/*:1608*/
#line 9280 "tex.w"
,convert,meaning_code);

primitive(/*1609:*/
#line 25723 "tex.w"
484
/*:1609*/
#line 9282 "tex.w"
,convert,font_name_code);

primitive(/*1610:*/
#line 25726 "tex.w"
485
/*:1610*/
#line 9284 "tex.w"
,convert,job_name_code);


/*:468*//*487:*/
#line 9589 "tex.w"

primitive(/*1611:*/
#line 25729 "tex.w"
486
/*:1611*/
#line 9590 "tex.w"
,if_test,if_char_code);

primitive(/*1612:*/
#line 25732 "tex.w"
487
/*:1612*/
#line 9592 "tex.w"
,if_test,if_cat_code);

primitive(/*1613:*/
#line 25735 "tex.w"
488
/*:1613*/
#line 9594 "tex.w"
,if_test,if_int_code);

primitive(/*1614:*/
#line 25738 "tex.w"
489
/*:1614*/
#line 9596 "tex.w"
,if_test,if_dim_code);

primitive(/*1615:*/
#line 25741 "tex.w"
490
/*:1615*/
#line 9598 "tex.w"
,if_test,if_odd_code);

primitive(/*1616:*/
#line 25744 "tex.w"
491
/*:1616*/
#line 9600 "tex.w"
,if_test,if_vmode_code);

primitive(/*1617:*/
#line 25747 "tex.w"
492
/*:1617*/
#line 9602 "tex.w"
,if_test,if_hmode_code);

primitive(/*1618:*/
#line 25750 "tex.w"
493
/*:1618*/
#line 9604 "tex.w"
,if_test,if_mmode_code);

primitive(/*1619:*/
#line 25753 "tex.w"
494
/*:1619*/
#line 9606 "tex.w"
,if_test,if_inner_code);

primitive(/*1620:*/
#line 25756 "tex.w"
495
/*:1620*/
#line 9608 "tex.w"
,if_test,if_void_code);

primitive(/*1621:*/
#line 25759 "tex.w"
496
/*:1621*/
#line 9610 "tex.w"
,if_test,if_hbox_code);

primitive(/*1622:*/
#line 25762 "tex.w"
497
/*:1622*/
#line 9612 "tex.w"
,if_test,if_vbox_code);

primitive(/*1623:*/
#line 25765 "tex.w"
498
/*:1623*/
#line 9614 "tex.w"
,if_test,ifx_code);

primitive(/*1624:*/
#line 25768 "tex.w"
499
/*:1624*/
#line 9616 "tex.w"
,if_test,if_eof_code);

primitive(/*1625:*/
#line 25771 "tex.w"
500
/*:1625*/
#line 9618 "tex.w"
,if_test,if_true_code);

primitive(/*1626:*/
#line 25774 "tex.w"
501
/*:1626*/
#line 9620 "tex.w"
,if_test,if_false_code);

primitive(/*1627:*/
#line 25777 "tex.w"
502
/*:1627*/
#line 9622 "tex.w"
,if_test,if_case_code);


/*:487*//*491:*/
#line 9678 "tex.w"

primitive(/*1628:*/
#line 25780 "tex.w"
503
/*:1628*/
#line 9679 "tex.w"
,fi_or_else,fi_code);

text(frozen_fi)= /*1628:*/
#line 25780 "tex.w"
503
/*:1628*/
#line 9681 "tex.w"
;eqtb[frozen_fi]= eqtb[cur_val];
primitive(/*1629:*/
#line 25783 "tex.w"
504
/*:1629*/
#line 9682 "tex.w"
,fi_or_else,or_code);

primitive(/*1630:*/
#line 25786 "tex.w"
505
/*:1630*/
#line 9684 "tex.w"
,fi_or_else,else_code);


/*:491*//*553:*/
#line 10835 "tex.w"

primitive(/*1639:*/
#line 25813 "tex.w"
514
/*:1639*/
#line 10836 "tex.w"
,set_font,null_font);

text(frozen_null_font)= /*1639:*/
#line 25813 "tex.w"
514
/*:1639*/
#line 10838 "tex.w"
;eqtb[frozen_null_font]= eqtb[cur_val];

/*:553*//*780:*/
#line 15416 "tex.w"

primitive(/*1669:*/
#line 25903 "tex.w"
544
/*:1669*/
#line 15417 "tex.w"
,tab_mark,span_code);

primitive(/*1670:*/
#line 25906 "tex.w"
545
/*:1670*/
#line 15419 "tex.w"
,car_ret,cr_code);

text(frozen_cr)= /*1670:*/
#line 25906 "tex.w"
545
/*:1670*/
#line 15421 "tex.w"
;eqtb[frozen_cr]= eqtb[cur_val];
primitive(/*1671:*/
#line 25909 "tex.w"
546
/*:1671*/
#line 15422 "tex.w"
,car_ret,cr_cr_code);

text(frozen_end_template)= /*1672:*/
#line 25912 "tex.w"
547
/*:1672*/
#line 15424 "tex.w"
;text(frozen_endv)= /*1672:*/
#line 25912 "tex.w"
547
/*:1672*/
#line 15424 "tex.w"
;
eq_type(frozen_endv)= endv;equiv(frozen_endv)= null_list;
eq_level(frozen_endv)= level_one;
eqtb[frozen_end_template]= eqtb[frozen_endv];
eq_type(frozen_end_template)= end_template;

/*:780*//*983:*/
#line 19251 "tex.w"

primitive(/*1689:*/
#line 25963 "tex.w"
564
/*:1689*/
#line 19252 "tex.w"
,set_page_dimen,0);

primitive(/*1690:*/
#line 25966 "tex.w"
565
/*:1690*/
#line 19254 "tex.w"
,set_page_dimen,1);

primitive(/*1691:*/
#line 25969 "tex.w"
566
/*:1691*/
#line 19256 "tex.w"
,set_page_dimen,2);

primitive(/*1692:*/
#line 25972 "tex.w"
567
/*:1692*/
#line 19258 "tex.w"
,set_page_dimen,3);

primitive(/*1693:*/
#line 25975 "tex.w"
568
/*:1693*/
#line 19260 "tex.w"
,set_page_dimen,4);

primitive(/*1694:*/
#line 25978 "tex.w"
569
/*:1694*/
#line 19262 "tex.w"
,set_page_dimen,5);

primitive(/*1695:*/
#line 25981 "tex.w"
570
/*:1695*/
#line 19264 "tex.w"
,set_page_dimen,6);

primitive(/*1696:*/
#line 25984 "tex.w"
571
/*:1696*/
#line 19266 "tex.w"
,set_page_dimen,7);


/*:983*//*1052:*/
#line 20471 "tex.w"

primitive(/*1698:*/
#line 25990 "tex.w"
573
/*:1698*/
#line 20472 "tex.w"
,stop,0);

primitive(/*1699:*/
#line 25993 "tex.w"
574
/*:1699*/
#line 20474 "tex.w"
,stop,1);


/*:1052*//*1058:*/
#line 20547 "tex.w"

primitive(/*1700:*/
#line 25996 "tex.w"
575
/*:1700*/
#line 20548 "tex.w"
,hskip,skip_code);

primitive(/*1701:*/
#line 25999 "tex.w"
576
/*:1701*/
#line 20550 "tex.w"
,hskip,fil_code);

primitive(/*1702:*/
#line 26002 "tex.w"
577
/*:1702*/
#line 20552 "tex.w"
,hskip,fill_code);

primitive(/*1703:*/
#line 26005 "tex.w"
578
/*:1703*/
#line 20554 "tex.w"
,hskip,ss_code);

primitive(/*1704:*/
#line 26008 "tex.w"
579
/*:1704*/
#line 20556 "tex.w"
,hskip,fil_neg_code);

primitive(/*1705:*/
#line 26011 "tex.w"
580
/*:1705*/
#line 20558 "tex.w"
,vskip,skip_code);

primitive(/*1706:*/
#line 26014 "tex.w"
581
/*:1706*/
#line 20560 "tex.w"
,vskip,fil_code);

primitive(/*1707:*/
#line 26017 "tex.w"
582
/*:1707*/
#line 20562 "tex.w"
,vskip,fill_code);

primitive(/*1708:*/
#line 26020 "tex.w"
583
/*:1708*/
#line 20564 "tex.w"
,vskip,ss_code);

primitive(/*1709:*/
#line 26023 "tex.w"
584
/*:1709*/
#line 20566 "tex.w"
,vskip,fil_neg_code);

primitive(/*1393:*/
#line 25075 "tex.w"
268
/*:1393*/
#line 20568 "tex.w"
,mskip,mskip_code);

primitive(/*1396:*/
#line 25084 "tex.w"
271
/*:1396*/
#line 20570 "tex.w"
,kern,explicit);

primitive(/*1397:*/
#line 25087 "tex.w"
272
/*:1397*/
#line 20572 "tex.w"
,mkern,mu_glue);


/*:1058*//*1071:*/
#line 20804 "tex.w"

primitive(/*1712:*/
#line 26032 "tex.w"
587
/*:1712*/
#line 20805 "tex.w"
,hmove,1);

primitive(/*1713:*/
#line 26035 "tex.w"
588
/*:1713*/
#line 20807 "tex.w"
,hmove,0);

primitive(/*1714:*/
#line 26038 "tex.w"
589
/*:1714*/
#line 20809 "tex.w"
,vmove,1);

primitive(/*1715:*/
#line 26041 "tex.w"
590
/*:1715*/
#line 20811 "tex.w"
,vmove,0);


primitive(/*1437:*/
#line 25207 "tex.w"
312
/*:1437*/
#line 20814 "tex.w"
,make_box,box_code);

primitive(/*1716:*/
#line 26044 "tex.w"
591
/*:1716*/
#line 20816 "tex.w"
,make_box,copy_code);

primitive(/*1717:*/
#line 26047 "tex.w"
592
/*:1717*/
#line 20818 "tex.w"
,make_box,last_box_code);

primitive(/*1687:*/
#line 25957 "tex.w"
562
/*:1687*/
#line 20820 "tex.w"
,make_box,vsplit_code);

primitive(/*1718:*/
#line 26050 "tex.w"
593
/*:1718*/
#line 20822 "tex.w"
,make_box,vtop_code);

primitive(/*1688:*/
#line 25960 "tex.w"
563
/*:1688*/
#line 20824 "tex.w"
,make_box,vtop_code+vmode);

primitive(/*1719:*/
#line 26053 "tex.w"
594
/*:1719*/
#line 20826 "tex.w"
,make_box,vtop_code+hmode);

primitive(/*1720:*/
#line 26056 "tex.w"
595
/*:1720*/
#line 20828 "tex.w"
,leader_ship,a_leaders-1);

primitive(/*1721:*/
#line 26059 "tex.w"
596
/*:1721*/
#line 20830 "tex.w"
,leader_ship,a_leaders);

primitive(/*1722:*/
#line 26062 "tex.w"
597
/*:1722*/
#line 20832 "tex.w"
,leader_ship,c_leaders);

primitive(/*1723:*/
#line 26065 "tex.w"
598
/*:1723*/
#line 20834 "tex.w"
,leader_ship,x_leaders);


/*:1071*//*1088:*/
#line 21092 "tex.w"

primitive(/*1724:*/
#line 26068 "tex.w"
599
/*:1724*/
#line 21093 "tex.w"
,start_par,1);

primitive(/*1725:*/
#line 26071 "tex.w"
600
/*:1725*/
#line 21095 "tex.w"
,start_par,0);


/*:1088*//*1107:*/
#line 21300 "tex.w"

primitive(/*1726:*/
#line 26074 "tex.w"
601
/*:1726*/
#line 21301 "tex.w"
,remove_item,penalty_node);

primitive(/*1727:*/
#line 26077 "tex.w"
602
/*:1727*/
#line 21303 "tex.w"
,remove_item,kern_node);

primitive(/*1728:*/
#line 26080 "tex.w"
603
/*:1728*/
#line 21305 "tex.w"
,remove_item,glue_node);

primitive(/*1729:*/
#line 26083 "tex.w"
604
/*:1729*/
#line 21307 "tex.w"
,un_hbox,box_code);

primitive(/*1730:*/
#line 26086 "tex.w"
605
/*:1730*/
#line 21309 "tex.w"
,un_hbox,copy_code);

primitive(/*1731:*/
#line 26089 "tex.w"
606
/*:1731*/
#line 21311 "tex.w"
,un_vbox,box_code);

primitive(/*1732:*/
#line 26092 "tex.w"
607
/*:1732*/
#line 21313 "tex.w"
,un_vbox,copy_code);


/*:1107*//*1114:*/
#line 21381 "tex.w"

primitive('-',discretionary,1);

primitive(/*1400:*/
#line 25096 "tex.w"
275
/*:1400*/
#line 21384 "tex.w"
,discretionary,0);


/*:1114*//*1141:*/
#line 21730 "tex.w"

primitive(/*1733:*/
#line 26095 "tex.w"
608
/*:1733*/
#line 21731 "tex.w"
,eq_no,0);

primitive(/*1734:*/
#line 26098 "tex.w"
609
/*:1734*/
#line 21733 "tex.w"
,eq_no,1);


/*:1141*//*1156:*/
#line 21966 "tex.w"

primitive(/*1649:*/
#line 25843 "tex.w"
524
/*:1649*/
#line 21967 "tex.w"
,math_comp,ord_noad);

primitive(/*1650:*/
#line 25846 "tex.w"
525
/*:1650*/
#line 21969 "tex.w"
,math_comp,op_noad);

primitive(/*1651:*/
#line 25849 "tex.w"
526
/*:1651*/
#line 21971 "tex.w"
,math_comp,bin_noad);

primitive(/*1652:*/
#line 25852 "tex.w"
527
/*:1652*/
#line 21973 "tex.w"
,math_comp,rel_noad);

primitive(/*1653:*/
#line 25855 "tex.w"
528
/*:1653*/
#line 21975 "tex.w"
,math_comp,open_noad);

primitive(/*1654:*/
#line 25858 "tex.w"
529
/*:1654*/
#line 21977 "tex.w"
,math_comp,close_noad);

primitive(/*1655:*/
#line 25861 "tex.w"
530
/*:1655*/
#line 21979 "tex.w"
,math_comp,punct_noad);

primitive(/*1656:*/
#line 25864 "tex.w"
531
/*:1656*/
#line 21981 "tex.w"
,math_comp,inner_noad);

primitive(/*1658:*/
#line 25870 "tex.w"
533
/*:1658*/
#line 21983 "tex.w"
,math_comp,under_noad);

primitive(/*1657:*/
#line 25867 "tex.w"
532
/*:1657*/
#line 21985 "tex.w"
,math_comp,over_noad);

primitive(/*1735:*/
#line 26101 "tex.w"
610
/*:1735*/
#line 21987 "tex.w"
,limit_switch,normal);

primitive(/*1661:*/
#line 25879 "tex.w"
536
/*:1661*/
#line 21989 "tex.w"
,limit_switch,limits);

primitive(/*1662:*/
#line 25882 "tex.w"
537
/*:1662*/
#line 21991 "tex.w"
,limit_switch,no_limits);


/*:1156*//*1169:*/
#line 22120 "tex.w"

primitive(/*1645:*/
#line 25831 "tex.w"
520
/*:1645*/
#line 22121 "tex.w"
,math_style,display_style);

primitive(/*1646:*/
#line 25834 "tex.w"
521
/*:1646*/
#line 22123 "tex.w"
,math_style,text_style);

primitive(/*1647:*/
#line 25837 "tex.w"
522
/*:1647*/
#line 22125 "tex.w"
,math_style,script_style);

primitive(/*1648:*/
#line 25840 "tex.w"
523
/*:1648*/
#line 22127 "tex.w"
,math_style,script_script_style);


/*:1169*//*1178:*/
#line 22219 "tex.w"

primitive(/*1736:*/
#line 26104 "tex.w"
611
/*:1736*/
#line 22220 "tex.w"
,above,above_code);

primitive(/*1737:*/
#line 26107 "tex.w"
612
/*:1737*/
#line 22222 "tex.w"
,above,over_code);

primitive(/*1738:*/
#line 26110 "tex.w"
613
/*:1738*/
#line 22224 "tex.w"
,above,atop_code);

primitive(/*1739:*/
#line 26113 "tex.w"
614
/*:1739*/
#line 22226 "tex.w"
,above,delimited_code+above_code);

primitive(/*1740:*/
#line 26116 "tex.w"
615
/*:1740*/
#line 22228 "tex.w"
,above,delimited_code+over_code);

primitive(/*1741:*/
#line 26119 "tex.w"
616
/*:1741*/
#line 22230 "tex.w"
,above,delimited_code+atop_code);


/*:1178*//*1188:*/
#line 22347 "tex.w"

primitive(/*1659:*/
#line 25873 "tex.w"
534
/*:1659*/
#line 22348 "tex.w"
,left_right,left_noad);

primitive(/*1660:*/
#line 25876 "tex.w"
535
/*:1660*/
#line 22350 "tex.w"
,left_right,right_noad);

text(frozen_right)= /*1660:*/
#line 25876 "tex.w"
535
/*:1660*/
#line 22352 "tex.w"
;eqtb[frozen_right]= eqtb[cur_val];

/*:1188*//*1208:*/
#line 22651 "tex.w"

primitive(/*1743:*/
#line 26125 "tex.w"
618
/*:1743*/
#line 22652 "tex.w"
,prefix,1);

primitive(/*1744:*/
#line 26128 "tex.w"
619
/*:1744*/
#line 22654 "tex.w"
,prefix,2);

primitive(/*1745:*/
#line 26131 "tex.w"
620
/*:1745*/
#line 22656 "tex.w"
,prefix,4);

primitive(/*1746:*/
#line 26134 "tex.w"
621
/*:1746*/
#line 22658 "tex.w"
,def,0);

primitive(/*1747:*/
#line 26137 "tex.w"
622
/*:1747*/
#line 22660 "tex.w"
,def,1);

primitive(/*1748:*/
#line 26140 "tex.w"
623
/*:1748*/
#line 22662 "tex.w"
,def,2);

primitive(/*1749:*/
#line 26143 "tex.w"
624
/*:1749*/
#line 22664 "tex.w"
,def,3);


/*:1208*//*1219:*/
#line 22821 "tex.w"

primitive(/*1752:*/
#line 26152 "tex.w"
627
/*:1752*/
#line 22822 "tex.w"
,let,normal);

primitive(/*1753:*/
#line 26155 "tex.w"
628
/*:1753*/
#line 22824 "tex.w"
,let,normal+1);


/*:1219*//*1222:*/
#line 22863 "tex.w"

primitive(/*1754:*/
#line 26158 "tex.w"
629
/*:1754*/
#line 22864 "tex.w"
,shorthand_def,char_def_code);

primitive(/*1755:*/
#line 26161 "tex.w"
630
/*:1755*/
#line 22866 "tex.w"
,shorthand_def,math_char_def_code);

primitive(/*1756:*/
#line 26164 "tex.w"
631
/*:1756*/
#line 22868 "tex.w"
,shorthand_def,count_def_code);

primitive(/*1757:*/
#line 26167 "tex.w"
632
/*:1757*/
#line 22870 "tex.w"
,shorthand_def,dimen_def_code);

primitive(/*1758:*/
#line 26170 "tex.w"
633
/*:1758*/
#line 22872 "tex.w"
,shorthand_def,skip_def_code);

primitive(/*1759:*/
#line 26173 "tex.w"
634
/*:1759*/
#line 22874 "tex.w"
,shorthand_def,mu_skip_def_code);

primitive(/*1760:*/
#line 26176 "tex.w"
635
/*:1760*/
#line 22876 "tex.w"
,shorthand_def,toks_def_code);


/*:1222*//*1230:*/
#line 23003 "tex.w"

primitive(/*1441:*/
#line 25219 "tex.w"
316
/*:1441*/
#line 23004 "tex.w"
,def_code,cat_code_base);

primitive(/*1445:*/
#line 25231 "tex.w"
320
/*:1445*/
#line 23006 "tex.w"
,def_code,math_code_base);

primitive(/*1442:*/
#line 25222 "tex.w"
317
/*:1442*/
#line 23008 "tex.w"
,def_code,lc_code_base);

primitive(/*1443:*/
#line 25225 "tex.w"
318
/*:1443*/
#line 23010 "tex.w"
,def_code,uc_code_base);

primitive(/*1444:*/
#line 25228 "tex.w"
319
/*:1444*/
#line 23012 "tex.w"
,def_code,sf_code_base);

primitive(/*1502:*/
#line 25402 "tex.w"
377
/*:1502*/
#line 23014 "tex.w"
,def_code,del_code_base);

primitive(/*1438:*/
#line 25210 "tex.w"
313
/*:1438*/
#line 23016 "tex.w"
,def_family,math_font_base);

primitive(/*1439:*/
#line 25213 "tex.w"
314
/*:1439*/
#line 23018 "tex.w"
,def_family,math_font_base+script_size);

primitive(/*1440:*/
#line 25216 "tex.w"
315
/*:1440*/
#line 23020 "tex.w"
,def_family,math_font_base+script_script_size);


/*:1230*//*1250:*/
#line 23288 "tex.w"

primitive(/*1683:*/
#line 25945 "tex.w"
558
/*:1683*/
#line 23289 "tex.w"
,hyph_data,0);

primitive(/*1684:*/
#line 25948 "tex.w"
559
/*:1684*/
#line 23291 "tex.w"
,hyph_data,1);


/*:1250*//*1254:*/
#line 23325 "tex.w"

primitive(/*1762:*/
#line 26182 "tex.w"
637
/*:1762*/
#line 23326 "tex.w"
,assign_font_int,0);

primitive(/*1763:*/
#line 26185 "tex.w"
638
/*:1763*/
#line 23328 "tex.w"
,assign_font_int,1);


/*:1254*//*1262:*/
#line 23424 "tex.w"

primitive(/*1383:*/
#line 25045 "tex.w"
258
/*:1383*/
#line 23425 "tex.w"
,set_interaction,batch_mode);

primitive(/*1384:*/
#line 25048 "tex.w"
259
/*:1384*/
#line 23427 "tex.w"
,set_interaction,nonstop_mode);

primitive(/*1385:*/
#line 25051 "tex.w"
260
/*:1385*/
#line 23429 "tex.w"
,set_interaction,scroll_mode);

primitive(/*1767:*/
#line 26197 "tex.w"
642
/*:1767*/
#line 23431 "tex.w"
,set_interaction,error_stop_mode);


/*:1262*//*1272:*/
#line 23490 "tex.w"

primitive(/*1768:*/
#line 26200 "tex.w"
643
/*:1768*/
#line 23491 "tex.w"
,in_stream,1);

primitive(/*1769:*/
#line 26203 "tex.w"
644
/*:1769*/
#line 23493 "tex.w"
,in_stream,0);


/*:1272*//*1277:*/
#line 23525 "tex.w"

primitive(/*1770:*/
#line 26206 "tex.w"
645
/*:1770*/
#line 23526 "tex.w"
,message,0);

primitive(/*1771:*/
#line 26209 "tex.w"
646
/*:1771*/
#line 23528 "tex.w"
,message,1);


/*:1277*//*1286:*/
#line 23592 "tex.w"

primitive(/*1772:*/
#line 26212 "tex.w"
647
/*:1772*/
#line 23593 "tex.w"
,case_shift,lc_code_base);

primitive(/*1773:*/
#line 26215 "tex.w"
648
/*:1773*/
#line 23595 "tex.w"
,case_shift,uc_code_base);


/*:1286*//*1291:*/
#line 23639 "tex.w"

primitive(/*1774:*/
#line 26218 "tex.w"
649
/*:1774*/
#line 23640 "tex.w"
,xray,show_code);

primitive(/*1775:*/
#line 26221 "tex.w"
650
/*:1775*/
#line 23642 "tex.w"
,xray,show_box_code);

primitive(/*1776:*/
#line 26224 "tex.w"
651
/*:1776*/
#line 23644 "tex.w"
,xray,show_the_code);

primitive(/*1777:*/
#line 26227 "tex.w"
652
/*:1777*/
#line 23646 "tex.w"
,xray,show_lists);


/*:1291*//*1344:*/
#line 24626 "tex.w"

primitive(/*1783:*/
#line 26245 "tex.w"
658
/*:1783*/
#line 24627 "tex.w"
,extension,open_node);

primitive(/*1568:*/
#line 25600 "tex.w"
443
/*:1568*/
#line 24629 "tex.w"
,extension,write_node);write_loc= cur_val;

primitive(/*1784:*/
#line 26248 "tex.w"
659
/*:1784*/
#line 24631 "tex.w"
,extension,close_node);

primitive(/*1785:*/
#line 26251 "tex.w"
660
/*:1785*/
#line 24633 "tex.w"
,extension,special_node);

primitive(/*1786:*/
#line 26254 "tex.w"
661
/*:1786*/
#line 24635 "tex.w"
,extension,immediate_code);

primitive(/*1787:*/
#line 26257 "tex.w"
662
/*:1787*/
#line 24637 "tex.w"
,extension,set_language_code);


/*:1344*/
#line 24438 "tex.w"
;
no_new_control_sequence= true;
}
#endif

/*:1336*//*1338:*/
#line 24491 "tex.w"

#ifdef DEBUG
void debug_help(void)
{
int k,l,m,n;
loop{wake_up_terminal;
print_nl("debug # (-1 to exit):");update_terminal;

if(fscanf(term_in.f," %d",&m)<1||
m<0)return;
else if(m==0)
{goto breakpoint;
breakpoint:m= 0;
}
else{fscanf(term_in.f," %d",&n);
switch(m){
/*1339:*/
#line 24515 "tex.w"

case 1:print_word(mem[n]);break;
case 2:print_int(info(n));break;
case 3:print_int(link(n));break;
case 4:print_word(eqtb[n]);break;
case 5:print_word(font_info[n]);break;
case 6:print_word(save_stack[n]);break;
case 7:show_box(n);break;

case 8:{breadth_max= 10000;depth_threshold= pool_size-pool_ptr-10;
show_node_list(n);
}break;
case 9:show_token_list(n,null,1000);break;
case 10:slow_print(n);break;
case 11:check_mem(n> 0);break;
case 12:search_mem(n);break;
case 13:{fscanf(term_in.f," %d",&l);print_cmd_chr(n,l);
}break;
case 14:for(k= 0;k<=n;k++)print(buffer[k]);break;
case 15:{font_in_short_display= null_font;short_display(n);
}break;
case 16:panicking= !panicking;break;

/*:1339*/
#line 24507 "tex.w"

default:print_str("?");
}
}
}
}
#endif

/*:1338*/
#line 24235 "tex.w"


/*:1330*//*1332:*/
#line 24289 "tex.w"
int main(void){
history= fatal_error_stop;
t_open_out;
if(ready_already==314159)goto start_of_TEX;
/*14:*/
#line 473 "tex.w"

bad= 0;
if((half_error_line<30)||(half_error_line> error_line-15))bad= 1;
if(max_print_line<60)bad= 2;
if(dvi_buf_size%8!=0)bad= 3;
if(mem_bot+1100> mem_top)bad= 4;
if(hash_prime> hash_size)bad= 5;
if(max_in_open>=128)bad= 6;
if(mem_top<256+11)bad= 7;

/*:14*//*111:*/
#line 2452 "tex.w"

#ifdef INIT
if((mem_min!=mem_bot)||(mem_max!=mem_top))bad= 10;
#endif

if((mem_min> mem_bot)||(mem_max<mem_top))bad= 10;
if((min_quarterword> 0)||(max_quarterword<127))bad= 11;
if((min_halfword> 0)||(max_halfword<32767))bad= 12;
if((min_quarterword<min_halfword)||
(max_quarterword> max_halfword))bad= 13;
if((mem_min<min_halfword)||(mem_max>=max_halfword)||
(mem_bot-mem_min> max_halfword+1))bad= 14;
if((font_base<min_quarterword)||(font_max> max_quarterword))bad= 15;
if(font_max> font_base+256)bad= 16;
if((save_size> max_halfword)||(max_strings> max_halfword))bad= 17;
if(buf_size> max_halfword)bad= 18;
if(max_quarterword-min_quarterword<255)bad= 19;

/*:111*//*290:*/
#line 6246 "tex.w"

if(cs_token_flag+undefined_control_sequence> max_halfword)bad= 21;

/*:290*//*521:*/
#line 10144 "tex.w"

if(format_default_length> file_name_size)bad= 31;

/*:521*//*1249:*/
#line 23283 "tex.w"

if(2*max_halfword<mem_top-mem_min)bad= 41;

/*:1249*/
#line 24293 "tex.w"

if(bad> 0)
{wterm_ln("Ouch---my internal constants have been clobbered!"
"---case %d",bad);

exit(0);
}
initialize();
#ifdef INIT
init_prim();
init_str_ptr= str_ptr;init_pool_ptr= pool_ptr;fix_date_and_time();
#endif
ready_already= 314159;
start_of_TEX:/*55:*/
#line 1438 "tex.w"

selector= term_only;tally= 0;term_offset= 0;file_offset= 0;

/*:55*//*61:*/
#line 1588 "tex.w"

wterm("%s",banner);
if(format_ident==0)wterm_ln(" (no format preloaded)");
else{slow_print(format_ident);print_ln();
}
update_terminal;

/*:61*//*527:*/
#line 10278 "tex.w"

job_name= 0;name_in_progress= false;log_opened= false;

/*:527*//*533:*/
#line 10347 "tex.w"
output_file_name= 0;

/*:533*/
#line 24306 "tex.w"
;
/*1337:*/
#line 24450 "tex.w"

{/*331:*/
#line 7153 "tex.w"

{input_ptr= 0;max_in_stack= 0;
in_open= 0;open_parens= 0;max_buf_stack= 0;
param_ptr= 0;max_param_stack= 0;
first= buf_size;do{buffer[first]= 0;decr(first);}while(!(first==0));
scanner_status= normal;warning_index= null;first= 1;
state= new_line;start= 1;index= 0;line= 0;name= 0;
force_eof= false;
align_state= 1000000;
if(!init_terminal())exit(0);
limit= last;first= last+1;
}

/*:331*/
#line 24451 "tex.w"
;
if((format_ident==0)||(buffer[loc]=='&'))
{if(format_ident!=0)initialize();
if(!open_fmt_file())exit(0);
if(!load_fmt_file())
{w_close(&fmt_file);exit(0);
}
w_close(&fmt_file);
while((loc<limit)&&(buffer[loc]==' '))incr(loc);
}
if(end_line_char_inactive)decr(limit);
else buffer[limit]= end_line_char;
fix_date_and_time();
/*765:*/
#line 15078 "tex.w"

magic_offset= str_start[math_spacing]-9*ord_noad

/*:765*/
#line 24464 "tex.w"
;
/*75:*/
#line 1788 "tex.w"

if(interaction==batch_mode)selector= no_print;else selector= term_only

/*:75*/
#line 24465 "tex.w"
;
if((loc<limit)&&(cat_code(buffer[loc])!=escape))start_input();

}

/*:1337*/
#line 24307 "tex.w"
;
history= spotless;
main_control();
final_cleanup();
close_files_and_terminate();
ready_already= 0;
return 0;}

/*:1332*/