1414% (more recent changes in the ChangeLog)
1515
1616@ x [0 ]
17- \def\(# 1 ){} % this is used to make section names sort themselves better
17+ \font\sc=cmcsc10
1818@ y
19- \def\({} % this is used to make section names sort themselves better
20- @ z
19+ \font\sc=cmcsc10
2120
22- % [0 ] Let bibtex.tex work with latest webmac (which defines \ET, hence
23- % making E active loses).
24- @ x [0 ]
25- % Note: WEAVE will typeset an upper-case `E' in a PASCAL identifier a
26- % bit strangely so that the `TeX' in the name of this program is typeset
27- % correctly; if this becomes a problem remove these three lines to get
28- % normal upper-case `E's in PASCAL identifiers
29- \def\drop{\kern-.1667em\lower.5ex\hbox{E}\kern-.125em} % middle of TeX
30- \catcode`E=13 \uppercase{\def E{e}}
31- \def\\#1 {\hbox{\let E=\drop\it#1 \/\kern.05em}} % italic type for identifiers
32- @ y
3321\let\maybe = \iffalse % process only changed sections
3422@ z
3523
3624@ x [1 ] Define my_name
37- @ d banner== 'This is BibTeX, Version 0 .99d ' {printed when the program starts}
25+ @ d banner== 'This is BibTeX, Version 0 .99e ' {printed when the program starts}
3826@ y
3927@ d my_name== 'bibtex'
40- @ d banner== 'This is BibTeX, Version 0 .99d ' {printed when the program starts}
28+ @ d banner== 'This is BibTeX, Version 0 .99e ' {printed when the program starts}
4129@ z
4230
4331% [2 ] `term_in' and `term_out' are standard input and output. But
@@ -106,11 +94,13 @@ label close_up_shop @<Labels in the outer block@>;
10694@ z
10795
10896@ x [10 ] Don't print the banner unless verbose, and initialize dynamic arrays.
97+ @ #
10998begin
11099initialize;
111100print_ln (banner);@ /
112101@ y
113- @ < Define \(|parse_arguments|@ >
102+ @ ;@ < Define \(p)|parse_arguments|@ >
103+ @ #
114104begin
115105standard_input := stdin;
116106standard_output := stdout;
@@ -124,7 +114,7 @@ max_cites := MAX_CITES;
124114wiz_fn_space := WIZ_FN_SPACE;
125115lit_stk_size := LIT_STK_SIZE;
126116@ #
127- @ < Process a possible command line@ >
117+ @ < Process a \(o) possible command line@ > @ ;
128118setup_params;
129119@ #
130120{Add one to the sizes because that's what bibtex uses.}
@@ -632,6 +622,7 @@ while (p_ptr < str_start[area+1]) do
632622name_length := name_length + length (area);
633623end;
634624@ y
625+ {procedure |add_area| not used}
635626@ z
636627
637628@ x [64 ] now Pascal consts or vars, instead of web macros.
@@ -733,7 +724,7 @@ check_cmnd_line := false; {many systems will change this}
733724loop
734725 begin
735726 if (check_cmnd_line) then
736- @ < Process a possible command line@ >
727+ @ < Process a \(o) possible command line@ >
737728 else
738729 begin
739730 write (term_out,'Please type input file name (no extension)--');
@@ -788,12 +779,12 @@ end;
788779@ z
789780
790781@ x [102 ] Get the aux file name from the command line.
791- @ < Process a possible command line@ >=
782+ @ < Process a \(o) possible command line@ >=
792783begin
793784do_nothing; {the ``default system'' doesn't use the command line}
794785end
795786@ y
796- @ < Process a possible command line@ >=
787+ @ < Process a \(o) possible command line@ >=
797788parse_arguments;
798789@ z
799790
937928begin
938929 {Keep old value of |max_bib_files| for the last array.}
939930 BIB_XRETALLOC_NOSET ('bib_list', bib_list, str_number, max_bib_files,
940- max_bib_files + MAX_BIB_FILES);
931+ max_bib_files + MAX_BIB_FILES);@ /
941932 BIB_XRETALLOC_NOSET ('bib_file', bib_file, alpha_file, max_bib_files,
942- max_bib_files + MAX_BIB_FILES);
933+ max_bib_files + MAX_BIB_FILES);@ /
943934 BIB_XRETALLOC ('s_preamble', s_preamble, str_number, max_bib_files,
944935 max_bib_files + MAX_BIB_FILES);
945936end;
@@ -1269,11 +1260,11 @@ while (single_ptr + wiz_def_ptr > wiz_fn_space) do
12691260@ y
12701261 begin
12711262 BIB_XRETALLOC_NOSET ('glb_str_ptr', glb_str_ptr, str_number,
1272- max_glob_strs, max_glob_strs + MAX_GLOB_STRS);
1263+ max_glob_strs, max_glob_strs + MAX_GLOB_STRS);@ /
12731264 BIB_XRETALLOC_STRING ('global_strs', global_strs, glob_str_size,
1274- max_glob_strs, max_glob_strs + MAX_GLOB_STRS);
1265+ max_glob_strs, max_glob_strs + MAX_GLOB_STRS);@ /
12751266 BIB_XRETALLOC ('glb_str_end', glb_str_end, integer,
1276- max_glob_strs, max_glob_strs + MAX_GLOB_STRS);
1267+ max_glob_strs, max_glob_strs + MAX_GLOB_STRS);@ /
12771268 str_glb_ptr := num_glb_strs;
12781269 while (str_glb_ptr < max_glob_strs) do {make new |str_global_var|s empty}
12791270 begin
@@ -1348,11 +1339,11 @@ if (total_fields > max_fields) then
13481339begin
13491340 {Keep old value of |max_bib_files| for the last array.}
13501341 BIB_XRETALLOC_NOSET ('bib_list', bib_list, str_number, max_bib_files,
1351- max_bib_files + MAX_BIB_FILES);
1342+ max_bib_files + MAX_BIB_FILES);@ /
13521343 BIB_XRETALLOC_NOSET ('bib_file', bib_file, alpha_file, max_bib_files,
1353- max_bib_files + MAX_BIB_FILES);
1344+ max_bib_files + MAX_BIB_FILES);@ /
13541345 BIB_XRETALLOC ('s_preamble', s_preamble, str_number, max_bib_files,
1355- max_bib_files + MAX_BIB_FILES);
1346+ max_bib_files + MAX_BIB_FILES);@ /
13561347end;
13571348@ z
13581349
@@ -1639,7 +1630,7 @@ itself will get a new section number.
16391630@ y
16401631@ d argument_is (#) == (strcmp (long_options[option_index].name, #) = 0 )
16411632
1642- @ < Define \(|parse_arguments|@ > =
1633+ @ < Define \(p) |parse_arguments|@ > =
16431634procedure parse_arguments;
16441635const n_options = 4 ; {Pascal won't count array lengths for us.}
16451636var @ ! long_options: array[0 ..n_options] of getopt_struct;
0 commit comments