[l2h] Can no longer have newlines in \author address

Phil Lanch phil at subtle.clara.co.uk
Wed Oct 1 02:34:18 CEST 2003


On Tue, Sep 30, 2003 at 11:55:17AM -0700, Julius Smith wrote:
> The replacement below for do_cmd_author seems to fix this problem.
> In two places,
> 
>             ($t_author,$t_affil,$t_address) = split (/\s*<BR>s*/, 
>             $t_author);
> 
> is replaced by
> 
>             @authspec = split (/\s*<BR>s*/, $t_author);
>             $t_author = shift $authspec;
>             $t_affil = shift $authspec;
>             $t_address = join("<BR>", at authspec);

though it'd be quicker to pass a 3rd argument to split:

    ($t_author,$t_affil,$t_address) = split (/\s*<BR>s*/, $t_author, 3);

-- 
Phil Lanch                    0xD78D598DA6635CF32AB24593C98994B7D95B33E3
      (passphrase recovered with http://www.subtle.clara.net/rephrase/ )

"There are two major products that come out of Berkeley: LSD and UNIX.
We don't believe this to be a coincidence."  -- Jeremy S. Anderson


More information about the latex2html mailing list