blob: af75344b1f5c6f6b316745d6dd9842c743cec5d9 (
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
|
% Compensate recent changes in ../tex.ch
@x [5.71] encTeX - native buffer printing
if last<>first then for k:=first to last-1 do print(buffer[k]);
@y
k:=first; while k < last do begin print_buffer(k) end;
@z
@x [29.518] l.10042 - print_file_name: quote if spaces in names.
some operating systems put the file area last instead of first.)
@^system dependencies@>
@d check_quoted(#) == {check if string |#| needs quoting}
if #<>0 then begin
j:=str_start[#];
while (not must_quote) and (j<str_start[#+1]) do begin
must_quote:=str_pool[j]=" "; incr(j);
end;
end
@#
@d print_quoted(#) == {print string |#|, omitting quotes}
if #<>0 then
for j:=str_start[#] to str_start[#+1]-1 do
if so(str_pool[j])<>"""" then
print(so(str_pool[j]))
@y
some operating systems put the file area last instead of first.)
@^system dependencies@>
@z
@x [29.518] l.10042 - print_file_name: quote if spaces in names.
check_quoted(a); check_quoted(n); check_quoted(e);
@y
if a<>0 then begin
j:=str_start[a];
while (not must_quote) and (j<str_start[a+1]) do begin
must_quote:=str_pool[j]=" "; incr(j);
end;
end;
if n<>0 then begin
j:=str_start[n];
while (not must_quote) and (j<str_start[n+1]) do begin
must_quote:=str_pool[j]=" "; incr(j);
end;
end;
if e<>0 then begin
j:=str_start[e];
while (not must_quote) and (j<str_start[e+1]) do begin
must_quote:=str_pool[j]=" "; incr(j);
end;
end;
@z
@x [29.518] l.10042 - print_file_name: quote if spaces in names.
print_quoted(a); print_quoted(n); print_quoted(e);
@y
if a<>0 then
for j:=str_start[a] to str_start[a+1]-1 do
if so(str_pool[j])<>"""" then
print(so(str_pool[j]));
if n<>0 then
for j:=str_start[n] to str_start[n+1]-1 do
if so(str_pool[j])<>"""" then
print(so(str_pool[j]));
if e<>0 then
for j:=str_start[e] to str_start[e+1]-1 do
if so(str_pool[j])<>"""" then
print(so(str_pool[j]));
@z
@x [48.1138] l.21648 - encTeX: \endmubyte primitive
begin print_err("Extra "); print_esc("endcsname");
@.Extra \\endcsname@>
help1("I'm ignoring this, since I wasn't doing a \csname.");
@y
begin
if cur_chr = 10 then
begin
print_err("Extra "); print_esc("endmubyte");
@.Extra \\endmubyte@>
help1("I'm ignoring this, since I wasn't doing a \mubyte.");
end else begin
print_err("Extra "); print_esc("endcsname");
@.Extra \\endcsname@>
help1("I'm ignoring this, since I wasn't doing a \csname.");
end;
@z
|