[l2h] amstex.perl bug
Bruce R Miller
Bruce R Miller <bruce.miller@nist.gov>
Fri, 03 Nov 2000 13:43:23 -0500
Hi all;
There seems to be a small cut-n-pastO in amstex.perl for
sub do_cmd_address ; it's clobbering the author! [In 99 beta 8]
Replacing all $t_author by $t_address fixes the problem:
sub do_cmd_address {
local($_) = @_;
if (/\\endaddress/) {
$t_address = &translate_commands($`);
$t_address =~ s/(^\s*|\s*$)//g;
return($');
}
&get_next_optional_argument;
local($rest) = $_;
$t_address = &missing_braces unless (
($rest =~ s/$next_pair_pr_rx/$t_address=$&;''/eo)
||($rest =~ s/$next_pair_rx/$t_address=$&;''/eo));
($t_address) = &translate_commands($t_address);
$rest;
}
Oh, and let me just say the (pseudo)configure stuff is Great!
Thanks.
--
bruce.miller@nist.gov
http://math.nist.gov/~BMiller/