diff options
author | Karl Berry <karl@freefriends.org> | 2010-03-01 18:42:45 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-03-01 18:42:45 +0000 |
commit | 3dfed15293bcc13fe005211af237271d15e33670 (patch) | |
tree | 9cdb2a26bde6a8f70857d6918a9f339755321b73 /Build/source/texk/web2c/bibtex.ch | |
parent | f437f873abf5f480b2fa40298e1423082409b6e7 (diff) |
bibtex 0.99d-test1 from Oren, breaking .bbl lines only at whitespace
git-svn-id: svn://tug.org/texlive/trunk@17253 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/bibtex.ch')
-rw-r--r-- | Build/source/texk/web2c/bibtex.ch | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/Build/source/texk/web2c/bibtex.ch b/Build/source/texk/web2c/bibtex.ch index 9a3376af6be..a9d02437095 100644 --- a/Build/source/texk/web2c/bibtex.ch +++ b/Build/source/texk/web2c/bibtex.ch @@ -1101,24 +1101,24 @@ end; % ignored. This is a special case of the general problem that we shouldn't % split macro invocations either -- however, the best way to avoid that is % not to split lines at all. -@x [324] Check whether we're trying to break a \% combo. -out_buf[end_ptr] := out_buf[max_print_line-1]; {save this character} -out_buf[max_print_line-1] := comment; {so \TeX\ does the thing right} -out_buf_length := max_print_line; -break_ptr := out_buf_length - 1; {the `|-1|' allows for the restoration} -output_bbl_line; {output what we can,} -out_buf[max_print_line-1] := out_buf[end_ptr]; {restore this character} -@y -if out_buf[max_print_line-1] = comment then {assume \% combo here} - out_buf_length := max_print_line - 1 -else - out_buf_length := max_print_line; -break_ptr := out_buf_length - 1; {the `|-1|' allows for the restoration} -out_buf[end_ptr] := out_buf[break_ptr]; {save this character} -out_buf[break_ptr] := comment; {so \TeX\ does the thing right} -output_bbl_line; {output what we can,} -out_buf[break_ptr] := out_buf[end_ptr]; {restore this character} -@z +% @x [324] Check whether we're trying to break a \% combo. +% out_buf[end_ptr] := out_buf[max_print_line-1]; {save this character} +% out_buf[max_print_line-1] := comment; {so \TeX\ does the thing right} +% out_buf_length := max_print_line; +% break_ptr := out_buf_length - 1; {the `|-1|' allows for the restoration} +% output_bbl_line; {output what we can,} +% out_buf[max_print_line-1] := out_buf[end_ptr]; {restore this character} +% @y +% if out_buf[max_print_line-1] = comment then {assume \% combo here} +% out_buf_length := max_print_line - 1 +% else +% out_buf_length := max_print_line; +% break_ptr := out_buf_length - 1; {the `|-1|' allows for the restoration} +% out_buf[end_ptr] := out_buf[break_ptr]; {save this character} +% out_buf[break_ptr] := comment; {so \TeX\ does the thing right} +% output_bbl_line; {output what we can,} +% out_buf[break_ptr] := out_buf[end_ptr]; {restore this character} +% @z @x [327] Add check for fieldinfo[] overflow. field_ptr := cite_ptr*num_fields + fn_info[ex_fn_loc]; |