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 fBAHq6G18625 for ; Mon, 10 Dec 2001 18:52:06 +0100 Received: by webgate.proteosys.de (8.11.6/8.11.0) with ESMTP id fBAHq5U30385 . for ; Mon, 10 Dec 2001 18:52:05 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C181A3.6196A700" 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 fBAHgma13934; Mon, 10 Dec 2001 18:42:48 +0100 (MET) 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 fBAHhbX28978; Mon, 10 Dec 2001 18:43:37 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Received: from LISTSERV.UNI-HEIDELBERG.DE by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 1.8d) with spool id 1692 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Mon, 10 Dec 2001 18:42:16 +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 fBAHgGB28972 for ; Mon, 10 Dec 2001 18:42:16 +0100 Received: from mail.umu.se (custer.umdac.umu.se [130.239.8.14]) by relay.uni-heidelberg.de (8.10.2+Sun/8.10.2) with ESMTP id fBAHfPa13654 for ; Mon, 10 Dec 2001 18:41:25 +0100 (MET) Received: from [130.239.20.144] (mac144.math.umu.se [130.239.20.144]) by mail.umu.se (8.8.8/8.8.8) with ESMTP id SAA08885 for ; Mon, 10 Dec 2001 18:41:24 +0100 (MET) In-Reply-To: <20011210170301.A51310@boole.maths.tcd.ie> References: ; from Robin.Fairbairns@CL.CAM.AC.UK on Mon, Dec 10, 2001 at 01:24:34PM +0000 <3C0895A3.384D2CD4@ct.ufsm.br> Return-Path: X-Sender: lars@abel.math.umu.se x-mime-autoconverted: from quoted-printable to 8bit by listserv.uni-heidelberg.de id fBAHgGB28973 Content-class: urn:content-classes:message Subject: Re: \verb in \footnote and \section Date: Mon, 10 Dec 2001 18:41:29 +0100 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: From: =?iso-8859-1?Q?Lars_Hellstr=F6m?= Sender: "Mailing list for the LaTeX3 project" To: Reply-To: "Mailing list for the LaTeX3 project" Status: R X-Status: X-Keywords: X-UID: 4179 This is a multi-part message in MIME format. ------_=_NextPart_001_01C181A3.6196A700 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable At 18.03 +0100 2001-12-10, Timothy Murphy wrote: >At the rist of incurring the Wrath of Robin, >what about \usepackage{doc} and \MakeShortVerb{\"} ? >Is this more or less equivalent to \usepackage{alltt} ? All variants of \verb (short or not, command and environment alike) rely = on their ability to change the \catcode of certain characters for the = duration of the tokenization of their arguments (or body). When any of these constructions appear in the argument of another macro then TeX will tokenize the entire argument using the same \catcodes throughout and = never stopping to bother about what any of the commands in the argument might expand to. Thus it will all be long since over by the time TeX expands = the \verb-like command, and hence it will, in general, not work. (In the few cases where it will work you didn't need it to begin with!) Lars Hellstr=F6m ------_=_NextPart_001_01C181A3.6196A700 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Re: \verb in \footnote and \section

At 18.03 +0100 2001-12-10, Timothy Murphy = wrote:
>At the rist of incurring the Wrath of = Robin,
>what about \usepackage{doc} and = \MakeShortVerb{\"} ?
>Is this more or less equivalent to = \usepackage{alltt} ?

All variants of \verb (short or not, command and = environment alike) rely on
their ability to change the \catcode of certain = characters for the duration
of the tokenization of their arguments (or body). = When any of these
constructions appear in the argument of another macro = then TeX will
tokenize the entire argument using the same \catcodes = throughout and never
stopping to bother about what any of the commands in = the argument might
expand to. Thus it will all be long since over by the = time TeX expands the
\verb-like command, and hence it will, in general, = not work. (In the few
cases where it will work you didn't need it to begin = with!)

Lars Hellstr=F6m

------_=_NextPart_001_01C181A3.6196A700--