On Apr 16, 11:42am, Ross Moore wrote:
> OK, one could define something like:
>
> sub get_next_argument {
> my ($param,$br_id,$pat);
> $param = &missing_braces unless (
> (s/$next_pair_pr_rx/$br_id=$1;$param=$2;$pat=$&;''/eo)
> ||(s/$next_pair_rx/$br_id=$1;$param=$2;$pat=$&;''/eo));
> ($param,$br_id,$pat)
> }
This is basically the current definition but it recognizes `processed' args
as well as unprocessed ones. Is this distinction important for the places
get_next_argument is used? As a test, I redefined it essentially this way once
and it didn't cause any apparent problems in my docs.
> ...to make life a bit easier for writing packages.
> Note that each instance would have to dispose of the unwanted info.
All you've got to do is
my ($arg)=get_next_argument();
> It would probably shorten the latex2html scripts by several hundred lines.
> ;-)
At least :>
If one were to volunteer to do this, are there any standard test suites to
check the results?
--
--
[EMAIL PROTECTED]
http://math.nist.gov/~BMiller/