[l2h] amstex.perl bug
Ross Moore
Ross Moore <ross@ics.mq.edu.au>
Sat, 4 Nov 2000 14:33:44 +1100 (EST)
> 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;
> }
Oops; thanks for noticing this.
It's fixed via CVS now.
Cheers,
Ross
>
> Oh, and let me just say the (pseudo)configure stuff is Great!
> Thanks.
> --
> bruce.miller@nist.gov
> http://math.nist.gov/~BMiller/