>... depending on the context, the
>punctuation might be . , ; ! : or whatever.  I don't see how LaTeX could
>guess this from the context.
>Easier would be to define yourself (or in the appropriate journal class;
>perhaps that discussion will rear its ugly head again soon) things like
>\period, \comma and so on which you could stick in before the
>\end{equation}.  You could define them to correspond to their names or
>just to do nothing as the style required.

  What I had my mind is that the author just concentrates on writing out
the text logically (just as in the case of the quotes); this then provides
the context which a style can process. Thus, one would simply write
  \begin{equation} 2+2=4 \end{equation}.
                    % Note period here ^

The \end{equation} makes an one character lookahead, and processes it
according to the style definition. (I think this would be possible with the
"environments with hooks" I wrote some code for a long time ago.)

  Hans Aberg
                  * Email: Hans Aberg <mailto:[log in to unmask]>
                  * Home Page: <http://www.matematik.su.se/~haberg/>
                  * AMS member listing: <http://www.ams.org/cml/>