X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil] ["1772" "Tue" "23" "June" "1998" "11:55:37" "+0200" "Hans Aberg" "haberg@MATEMATIK.SU.SE" nil "37" "Re: Modules" "^Date:" nil nil "6" nil nil nil nil nil] nil) 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 MAA17944; Tue, 23 Jun 1998 12:48:10 +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 <5.A3A1A839@listserv.gmd.de>; Tue, 23 Jun 1998 12:48:09 +0200 Received: from RELAY.URZ.UNI-HEIDELBERG.DE by RELAY.URZ.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 1.8b) with spool id 368416 for LATEX-L@RELAY.URZ.UNI-HEIDELBERG.DE; Tue, 23 Jun 1998 12:48:02 +0200 Received: from mail.nada.kth.se (root@mail.nada.kth.se [130.237.222.92]) by relay.urz.uni-heidelberg.de (8.8.8/8.8.8) with ESMTP id MAA06753 for ; Tue, 23 Jun 1998 12:47:51 +0200 (MET DST) Received: from [130.237.37.54] (sl34.modempool.kth.se [130.237.37.54]) by mail.nada.kth.se (8.8.7/8.8.7) with ESMTP id MAA14181 for ; Tue, 23 Jun 1998 12:47:35 +0200 (MET DST) X-Sender: su95-hab@mail.nada.kth.se References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Message-ID: Reply-To: Mailing list for the LaTeX3 project In-Reply-To: <199806230134.LAA12465@ricetub.anu.edu.au> Date: Tue, 23 Jun 1998 11:55:37 +0200 From: Hans Aberg Sender: Mailing list for the LaTeX3 project To: Multiple recipients of list LATEX-L Subject: Re: Modules Status: R X-Status: X-Keywords: X-UID: 2592 At 11:34 +1000 98/06/23, Richard Walker wrote: >Hans Aberg writes: > > One idea one might explore is a TeX environment: It has all the old TeX > > names defined locally within that environment, but those definitions expand > > to the global \tex/ definitions. > >This is akin to 2.09 compatibility mode. With smart editors you don't >need it. I am happy to have a keystroke in my editor insert \tex/ for >me (and perhaps display it in a different colour?) If you don't want >the clutter, you might (in a smart editor like Emacs) hide the long >prefixes (either altogether - displaying the result in a different >colour, or hide the prefix as `...' - as is done with outlining). This is a good point (which I already mentioned): It is in fact not very difficult to insert those extensions \tex/ by hand with a good editor. But this concerns new code. My idea is though different from a compatibility mode, because the idea is that one should be able to write {say) \module{code}{tex} ... % TeX definitions \module{endcode}{tex} and then the TeX definitions expand to names \tex/. So this TeX code can then be used as module code, used together with other modules without code clashing. In a compatibility mode, one is stuck with TeX for the rest of the compile. Here the idea is that after \module{endcode}{tex}, the TeX names \hbox etc do not any longer exist; all definitions are of the form \tex/hbox, etc. I am not sure if it can be done like this and work correctly, but that is what the idea is. Hans Aberg * Email: Hans Aberg * Home Page: * AMS member listing: