X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil] ["1315" "Sun" "2" "March" "1997" "19:01:25" "+0100" "Frank Mittelbach" "Frank.Mittelbach@UNI-MAINZ.DE" nil "27" "Re: Shortref mechanism" "^Date:" nil nil "3" nil nil nil nil] nil) Received: from listserv.gmd.de (listserv.gmd.de [192.88.97.1]) by mail.Uni-Mainz.DE (8.8.5/8.8.4) with ESMTP id TAA01140 for ; Sun, 2 Mar 1997 19:39:22 +0100 (MET) Received: from listserv.gmd.de by listserv.gmd.de (LSMTP for OpenVMS v1.1a) with SMTP id <4.E3B20363@listserv.gmd.de>; Sun, 2 Mar 1997 19:39:21 +0100 Received: from RELAY.URZ.UNI-HEIDELBERG.DE by RELAY.URZ.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 1.8b) with spool id 107819 for LATEX-L@RELAY.URZ.UNI-HEIDELBERG.DE; Sun, 2 Mar 1997 19:39:16 +0100 Received: from kralle.zdv.Uni-Mainz.DE (kralle.zdv.Uni-Mainz.DE [134.93.8.158]) by relay.urz.uni-heidelberg.de (8.7.6/8.7.4) with ESMTP id TAA17490 for ; Sun, 2 Mar 1997 19:39:12 +0100 (MET) Received: from frank.zdv.uni-mainz.de (Ufrank@localhost) by kralle.zdv.Uni-Mainz.DE (8.8.5/8.8.5) with UUCP id TAA32692 for LATEX-L@RELAY.URZ.UNI-HEIDELBERG.DE; Sun, 2 Mar 1997 19:37:58 +0100 (MET) X-Authentication-Warning: kralle.zdv.Uni-Mainz.DE: Ufrank set sender to frank.zdv.uni-mainz.de!latex3 using -f Received: (from latex3@localhost) by frank.zdv.uni-mainz.de (8.6.9/8.6.9) id TAA04010; Sun, 2 Mar 1997 19:01:25 +0100 References: Message-ID: <199703021801.TAA04010@frank.zdv.uni-mainz.de> Reply-To: Mailing list for the LaTeX3 project In-Reply-To: Date: Sun, 2 Mar 1997 19:01:25 +0100 From: Frank Mittelbach Sender: Mailing list for the LaTeX3 project To: Multiple recipients of list LATEX-L Subject: Re: Shortref mechanism Status: R X-Status: X-Keywords: X-UID: 1849 Werner Lemberg writes: > On Sun, 2 Mar 1997, Hans Aberg wrote: > > > Actually, what is needed, is a simple extension of the TeX \def command: > > \def\name{definition text}[exception text] > > If a command somehow is unable to process the parameter text, then the > > original input text (before the parsing of the parameter text began) is > > left unaffected, and the execution passes to the exception text. > > Then stuff like optional commands could be implemented most easily, and > > perhaps the stuff you are asking for, too. > > This sounds for me like an OTP (Omega Translation Process) input filter. > With Omega you can do a lot of manipulation (notably character encoding > conversion and various more or less complicated character cluster->glyph > transformations e.g. for Hebrew or Arabic) of text before TeX sees the > text. You can avoid any active characters. i think you are mistaken. The comments by Hans are targeted towards general features or misfeatures (or missing features :-) of TeX's parsing machinery. OTPs in omega are filters which means they offer a preprocessing step but not a generally enhanced parsing functionality of the macro language itself. however as i said before this is not the right list to dicuss extensions to TeX itself frank