Received: from webgate.proteosys.de (mail.proteosys-ag.com [62.225.9.49]) by lucy.proteosys (8.11.0/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id fBADVaG10988 for ; Mon, 10 Dec 2001 14:31:36 +0100 Received: by webgate.proteosys.de (8.11.6/8.11.0) with ESMTP id fBADVaU29043 . for ; Mon, 10 Dec 2001 14:31:36 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C1817E.FD61EC00" Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [129.206.100.27]) by relay.uni-heidelberg.de (8.10.2+Sun/8.10.2) with ESMTP id fBADQ0a03248; Mon, 10 Dec 2001 14:26:00 +0100 (MET) X-MimeOLE: Produced By Microsoft Exchange V6.5 Received: from listserv (listserv.uni-heidelberg.de [129.206.100.27]) by listserv.uni-heidelberg.de (8.11.3/8.11.3/SuSE Linux 8.11.1-0.5) with ESMTP id fBADQoX26044; Mon, 10 Dec 2001 14:26:50 +0100 Received: from LISTSERV.UNI-HEIDELBERG.DE by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 1.8d) with spool id 1262 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Mon, 10 Dec 2001 14:25:25 +0100 Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by listserv.uni-heidelberg.de (8.11.3/8.11.3/SuSE Linux 8.11.1-0.5) with ESMTP id fBADPPB26038 for ; Mon, 10 Dec 2001 14:25:25 +0100 Received: from wisbech.cl.cam.ac.uk (mta1.cl.cam.ac.uk [128.232.0.15]) by relay.uni-heidelberg.de (8.10.2+Sun/8.10.2) with ESMTP id fBADOYa02649 for ; Mon, 10 Dec 2001 14:24:34 +0100 (MET) Received: from pallas.cl.cam.ac.uk ([128.232.8.88] helo=cl.cam.ac.uk ident=rf) by wisbech.cl.cam.ac.uk with esmtp (Exim 3.092 #1) id 16DQQ6-00061V-00 for LATEX-L@listserv.uni-heidelberg.de; Mon, 10 Dec 2001 13:24:34 +0000 In-Reply-To: Your message of "Sat, 01 Dec 2001 06:32:35 -0200." <3C0895A3.384D2CD4@ct.ufsm.br> Return-Path: Content-class: urn:content-classes:message Subject: Re: \verb in \footnote and \section Date: Mon, 10 Dec 2001 14:24:34 +0100 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Robin Fairbairns" Sender: "Mailing list for the LaTeX3 project" To: Reply-To: "Mailing list for the LaTeX3 project" Status: R X-Status: X-Keywords: X-UID: 4175 This is a multi-part message in MIME format. ------_=_NextPart_001_01C1817E.FD61EC00 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable > I never tested anything like this, but I think it works if you = \protect > the inner declaration like > > \footnote{foo \protect{\foo{foo}} foo} it's bad enough using the latex list for non-latex-research issues, but to post clueless rubbish to it is worse still. for the record: 1. \protect protects the next token (in your case "{"); to protect \foo, say \protect\foo, with no braces around it. 2. \protect has no effect on the working/non-working state of \verb. when lamport says in his manual that you can't use \verb in the argument of a command, he actually means what he says. ------_=_NextPart_001_01C1817E.FD61EC00 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Re: \verb in \footnote and \section

> I never tested anything like this, but I think it = works if you \protect
> the inner declaration like
>
> \footnote{foo  \protect{\foo{foo}} = foo}

it's bad enough using the latex list for = non-latex-research issues,
but to post clueless rubbish to it is worse = still.

for the record:
1. \protect protects the next token (in your case = "{"); to protect
\foo, say \protect\foo, with no braces around = it.

2. \protect has no effect on the working/non-working = state of \verb.
when lamport says in his manual that you can't use = \verb in the
argument of a command, he actually means what he = says.

------_=_NextPart_001_01C1817E.FD61EC00--