X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil] ["1517" "Fri" "11" "February" "1994" "16:10:47" "CST" "Alex Stark" "jas1@eng.cam.ac.uk" "<199402111737.AA00619@mail.cs.tu-berlin.de>" "38" "Re: Keeping old optional argument formats." "^Date:" nil nil "2" "1994021122:10:47" "Keeping old optional argument formats." nil nil]) Return-Path: Received: from sc.ZIB-Berlin.DE (mailserv) by dagobert.ZIB-Berlin.DE (4.1/SMI-4.0/24.6.93) id AA22395; Fri, 11 Feb 94 18:38:11 +0100 Received: from mail.cs.tu-berlin.de by sc.ZIB-Berlin.DE (4.1/SMI-4.0-sc/03.06.93) id AA09605; Fri, 11 Feb 94 18:37:09 +0100 Received: from tubvm.cs.tu-berlin.de by mail.cs.tu-berlin.de with SMTP id AA00619 (5.65c8/IDA-1.4.4(mail.m4[1.12]) for <@MAIL.CS.TU-BERLIN.DE:Schoepf@SC.ZIB-BERLIN.DE>); Fri, 11 Feb 1994 18:37:06 +0100 Message-Id: <199402111737.AA00619@mail.cs.tu-berlin.de> Received: from TUBVM.CS.TU-BERLIN.DE by tubvm.cs.tu-berlin.de (IBM VM SMTP V2R2) with BSMTP id 4619; Fri, 11 Feb 94 18:36:50 +0200 Received: from VM.URZ.UNI-HEIDELBERG.DE (NJE origin MAILER@DHDURZ1) by TUBVM.CS.TU-BERLIN.DE (LMail V1.2a/1.8a) with BSMTP id 4615; Fri, 11 Feb 1994 18:36:50 +0200 Received: from VM.URZ.UNI-HEIDELBERG.DE (NJE origin LISTSERV@DHDURZ1) by VM.URZ.UNI-HEIDELBERG.DE (LMail V1.2a/1.8a) with BSMTP id 4579; Fri, 11 Feb 1994 17:13:01 +0000 Reply-To: Mailing list for the LaTeX3 project Date: Fri, 11 Feb 1994 16:10:47 CST From: Alex Stark Sender: Mailing list for the LaTeX3 project To: Multiple recipients of list LATEX-L Subject: Re: Keeping old optional argument formats. Status: R X-Status: X-Keywords: X-UID: 1551 In Message Fri, 11 Feb 1994 16:33:00 +0100, Frank Poppe writes: >How is LaTeXxyz to know that this isn't a user who wants to use the old >syntax to get the text "toc={=--?12gobblegobblegook}" in his t-o-c? >My point is that, if possible, the syntax \section[short]{long} should >remain valid, also if `short' contains an equal sign. > I do feel that this is a case of forcing a change. I think that we can forget about this kind of compatability problem using the following strategy. %%%%%%%%%%%% Document Conversion Utility. Author: someone who can program these things in portable C. Purpose: Take a .tex file and perform a search-and-replace of patterns defined in a syntax file. Example: change all occurences of `\section[' to `\section[toc=' %%%%%%%%%%%%% I don't think that an expert programmer would take long over that. If a more complex version could be produced, rather like regular expressions in emacs, then we could have a Latex2.09 to Latex2e. Then my colleagues might not complain about changing all those \bf commands in math mode. Alex. ---------------------------------------------------------------------- J. Alex Stark Signal Processing and Communications Laboratory Department of Engineering email: jas1@uk.ac.cam.eng University of Cambridge Tel: [+44]223 3 32767 Trumpington Street Fax: [+44]223 3 32662 Cambridge, CB2 1PZ, UK