X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil] ["1197" "Thu" "22" "October" "1998" "15:36:10" "+0200" "Hans Aberg" "haberg@MATEMATIK.SU.SE" nil "25" "Re: Math environments and punctuation" "^Date:" nil nil "10" nil "Math environments and punctuation" nil nil nil] nil) X-POP3-Rcpt: schoepf@polly.zdv.Uni-Mainz.DE Received: from listserv.gmd.de (listserv.gmd.de [192.88.97.1]) by mail.Uni-Mainz.DE (8.8.8/8.8.8) with ESMTP id QAA13525; Thu, 22 Oct 1998 16:21:08 +0200 (MET DST) Received: from lsv1.listserv.gmd.de (192.88.97.2) by listserv.gmd.de (LSMTP for OpenVMS v1.1a) with SMTP id <12.F974984C@listserv.gmd.de>; Thu, 22 Oct 1998 16:10:39 +0200 Received: from RELAY.URZ.UNI-HEIDELBERG.DE by RELAY.URZ.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 1.8b) with spool id 403683 for LATEX-L@RELAY.URZ.UNI-HEIDELBERG.DE; Thu, 22 Oct 1998 16:10:31 +0200 Received: from mail0.nada.kth.se (mail0.nada.kth.se [130.237.222.70]) by relay.urz.uni-heidelberg.de (8.8.8/8.8.8) with ESMTP id QAA11001 for ; Thu, 22 Oct 1998 16:09:27 +0200 (MET DST) Received: from [130.237.37.111] (sl85.modempool.kth.se [130.237.37.111]) by mail0.nada.kth.se (8.8.7/8.8.7) with ESMTP id QAA02210 for ; Thu, 22 Oct 1998 16:09:02 +0200 (MET DST) X-Sender: su95-hab@mail.nada.kth.se Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Message-ID: Reply-To: Mailing list for the LaTeX3 project In-Reply-To: <98102213130376@man.ac.uk> Date: Thu, 22 Oct 1998 15:36:10 +0200 From: Hans Aberg Sender: Mailing list for the LaTeX3 project To: Multiple recipients of list LATEX-L Subject: Re: Math environments and punctuation Status: R X-Status: X-Keywords: X-UID: 2703 >... 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 * Home Page: * AMS member listing: