X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil] ["1042" "Tue" "15" "March" "1994" "11:07:00" "GMT" "Alan Jeffrey" "alanje@cogs.sussex.ac.uk" nil "32" "Re: nag nag nag" "^Date:" nil nil "3" nil nil nil 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 AA15743; Tue, 15 Mar 94 13:21:06 +0100 Received: from mail.cs.tu-berlin.de by sc.ZIB-Berlin.DE (4.1/SMI-4.0-sc/03.06.93) id AA16130; Tue, 15 Mar 94 13:19:34 +0100 Received: from tubvm.cs.tu-berlin.de by mail.cs.tu-berlin.de with SMTP id AA08601 (5.65c8/IDA-1.4.4(mail.m4[1.12]) for <@MAIL.CS.TU-BERLIN.DE:Schoepf@SC.ZIB-BERLIN.DE>); Tue, 15 Mar 1994 13:19:31 +0100 Message-Id: <199403151219.AA08601@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 2952; Tue, 15 Mar 94 13:18:53 +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 2951; Tue, 15 Mar 1994 13:18:54 +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 0782; Tue, 15 Mar 1994 13:17:59 +0000 Reply-To: Mailing list for the LaTeX3 project In-Reply-To: (message from Laurent SIEBENMANN on Tue, 15 Mar 1994 03:49:38 +0000) Date: Tue, 15 Mar 1994 11:07:00 GMT From: Alan Jeffrey Sender: Mailing list for the LaTeX3 project To: Multiple recipients of list LATEX-L Subject: Re: nag nag nag Status: R X-Status: X-Keywords: X-UID: 1600 >That intolerance was entirely caused by LaTeX's (unnecessary!?) >fragilities Well, LaTeX is trying to do a bit more with B. L. User's tokens than your average TeX macro package. I usually test macros to make sure they work in two settings: * \let\protect=\string \message{STUFF} * \let\protect=\noexpand \edef\temp{STUFF} If it survives those two, it'll probably survive most LaTeX commands. If you think these are unnecessary, consider: a) how to write a token stream (which may include the contents of counters, marks, etc.) to a toc file. b) how to upper-case a token stream. If you can do either of these without introducing fragility (or all-caps fonts :-), congratulations! It's not too difficult to define robust macros, with appropriate uses of \protect in the macro definition. >Is that too much to ask of 2e? It's not too much to ask of LaTeX3... Alan. Alan Jeffrey Tel: +44 273 606755 x 3238 alanje@cogs.susx.ac.uk School of Cognitive and Computing Sciences, Sussex Univ., Brighton BN1 9QH, UK