On 16. Mar 2007, at 13:47, Robin Houston wrote:
[...] As well as recognising multiple tags per line, I've also left in the debug option (-d) that I added to help me investigate the problem. It may be useful in the future.
I have now applied the patch, thanks.
Note that it still doesn't support tags that span *multiple* lines. Although it's legal in Latex to split an environment opener, e.g.
\begin {equation}
nobody ever does. Or at least *I* never do, so it's not a problem for me!
I guess if we really wanted, we could convert newlines to spaces, that would solve it, right!?!
(On the other hand, when I'm writing HTML I sometimes split a tag over more than one line, if it has a lot of attributes. Perhaps that's part of the reason the HTML bundle doesn't use checknest.rb for its "Insert Close Tag" command?)
I actually forgot about checknest.rb when I did the close tag command, so the feasibility was never really evaluated ;)