| 1 |
% This is `tex.ech' in text format as of Aug 3, 2005, |
| 2 |
% for web2c-7.5 and e-TeX Version 2.1 as of Jul 19, 2004, |
| 3 |
% made by B. Raichle and P. Breitenlohner. |
| 4 |
% Public domain. |
| 5 |
|
| 6 |
% Note: This file, etexdir/tex.ech, contains the web2c changes for the |
| 7 |
% e-TeX specific part of etex.web (defined in etexdir/etex.ch) and is |
| 8 |
% used as follows to construct the web2c change file for e-TeX: |
| 9 |
% |
| 10 |
% etexdir/tex.ch0 ) |
| 11 |
% + ) |
| 12 |
% tex.ch ) |
| 13 |
% + ) => tie -c ... => etex.ch |
| 14 |
% etexdir/tex.ch1 ) |
| 15 |
% + ) |
| 16 |
% etexdir/tex.ech ) |
| 17 |
% |
| 18 |
% In addition, this file is used to construct the web2c change file |
| 19 |
% for pdfeTeX: |
| 20 |
% |
| 21 |
% pdfetexdir/tex.ch0 ) |
| 22 |
% + ) |
| 23 |
% tex.ch ) |
| 24 |
% + ) |
| 25 |
% etexdir/tex.ch1 ) |
| 26 |
% + ) => tie -c ... => pdfetex.ch |
| 27 |
% etexdir/tex.ech ) |
| 28 |
% + ) |
| 29 |
% pdfetexdir/tex.ch1 ) |
| 30 |
% + ) |
| 31 |
% pdftexdir/tex.pch ) |
| 32 |
% |
| 33 |
% where the four (small) files {,pdf}etexdir/tex.ch[01] take care |
| 34 |
% of interferences between web2c, e-Tex, pdfTeX changes. |
| 35 |
% Consequently, changes in all these files have to be coordinated. |
| 36 |
|
| 37 |
@x [1] m.2 l.188 - Web2C: extensions imply we're not e-TeX |
| 38 |
@d eTeX_banner=='This is e-TeX, Version 3.141592653',eTeX_version_string |
| 39 |
@y |
| 40 |
@d eTeX_banner_k=='This is e-TeXk, Version 3.141592653',eTeX_version_string |
| 41 |
@d eTeX_banner=='This is e-TeX, Version 3.141592653',eTeX_version_string |
| 42 |
@z |
| 43 |
|
| 44 |
@x [16.215] - e-TeX last_node_type |
| 45 |
last_glue:=max_halfword; last_penalty:=0; last_kern:=0; |
| 46 |
@y |
| 47 |
last_glue:=max_halfword; last_penalty:=0; last_kern:=0; |
| 48 |
last_node_type:=-1; |
| 49 |
@z |
| 50 |
|
| 51 |
@x [51.1332] l.24203 (ca.) texarray |
| 52 |
line_stack:=xmalloc_array (integer, max_in_open); |
| 53 |
@y |
| 54 |
line_stack:=xmalloc_array (integer, max_in_open); |
| 55 |
eof_seen:=xmalloc_array (boolean, max_in_open); |
| 56 |
grp_stack:=xmalloc_array (save_pointer, max_in_open); |
| 57 |
if_stack:=xmalloc_array (pointer, max_in_open); |
| 58 |
@z |
| 59 |
|
| 60 |
@x [51.1337] l.24371 (ca.) texarray |
| 61 |
trie_root:=0; trie_c[0]:=si(0); trie_ptr:=0; |
| 62 |
@y |
| 63 |
trie_root:=0; trie_c[0]:=si(0); trie_ptr:=0; |
| 64 |
hyph_root:=0; hyph_start:=0; |
| 65 |
@z |
| 66 |
|
| 67 |
@x [53a.1379] l.??? -etex command line switch |
| 68 |
@!init if (buffer[loc]="*")and(format_ident=" (INITEX)") then |
| 69 |
@y |
| 70 |
@!init if (etex_p or(buffer[loc]="*"))and(format_ident=" (INITEX)") then |
| 71 |
@z |
| 72 |
|
| 73 |
@x [53a.1379] l.??? -etex command line switch |
| 74 |
incr(loc); eTeX_mode:=1; {enter extended mode} |
| 75 |
@y |
| 76 |
if (buffer[loc]="*") then incr(loc); |
| 77 |
eTeX_mode:=1; {enter extended mode} |
| 78 |
@z |
| 79 |
|
| 80 |
@x [53a.1383] l.??? -etex command line switch |
| 81 |
@!eTeX_mode: 0..1; {identifies compatibility and extended mode} |
| 82 |
@y |
| 83 |
@!eTeX_mode: 0..1; {identifies compatibility and extended mode} |
| 84 |
@!etex_p: boolean; {was the -etex option specified} |
| 85 |
@z |
| 86 |
|
| 87 |
@x [53a.1391] l.??? texarray |
| 88 |
@!eof_seen : array[1..max_in_open] of boolean; {has eof been seen?} |
| 89 |
@y |
| 90 |
@!eof_seen : ^boolean; {has eof been seen?} |
| 91 |
@z |
| 92 |
|
| 93 |
@x [53a.1506] l.??? texarray |
| 94 |
@!grp_stack : array[0..max_in_open] of save_pointer; {initial |cur_boundary|} |
| 95 |
@!if_stack : array[0..max_in_open] of pointer; {initial |cond_ptr|} |
| 96 |
@y |
| 97 |
@!grp_stack : ^save_pointer; {initial |cur_boundary|} |
| 98 |
@!if_stack : ^pointer; {initial |cond_ptr|} |
| 99 |
@z |
| 100 |
|
| 101 |
@x [53a.1587] l.??? texarray |
| 102 |
hyph_root:=0; hyph_start:=0; |
| 103 |
@y |
| 104 |
@z |
| 105 |
|
| 106 |
@x [54/web2c.???] l.??? needed earlier |
| 107 |
replacement, but always existing character |font_bc[f]|. |
| 108 |
@^inner loop@> |
| 109 |
|
| 110 |
@<Declare additional functions for ML\TeX@>= |
| 111 |
function effective_char(@!err_p:boolean; |
| 112 |
@y |
| 113 |
replacement, but always existing character |font_bc[f]|. |
| 114 |
@^inner loop@> |
| 115 |
|
| 116 |
@<Declare \eTeX\ procedures for sc...@>= |
| 117 |
function effective_char(@!err_p:boolean; |
| 118 |
@z |