LATEX-L Archives

Mailing list for the LaTeX3 project

LATEX-L@LISTSERV.UNI-HEIDELBERG.DE

Options: Use Forum View

Use Monospaced Font
Show HTML Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Sender:
Mailing list for the LaTeX3 project <[log in to unmask]>
Date:
Mon, 10 Dec 2007 17:33:14 +0100
Reply-To:
Mailing list for the LaTeX3 project <[log in to unmask]>
Subject:
MIME-Version:
1.0
Content-Transfer-Encoding:
8bit
In-Reply-To:
<[log in to unmask]> ("Morten Høgholm"'s message of "Mon, 10 Dec 2007 13:07:56 +0100")
Content-Type:
text/plain; charset=iso-8859-1
From:
David Kastrup <[log in to unmask]>
Parts/Attachments:
text/plain (15 lines)
Morten Høgholm <[log in to unmask]> writes:

> I would assume the following should be equivalent except for the
> latter being expandable.
>
> \def\cmd#1{\edef\tempa{#1}\expandafter\cmd\expandafter{\tempa}}
>
> \def\cmd#1{\expandafter\cmd\expandafter{\expanded{#1}}}

No.  The former would complain about isolated # tokens in #1 (and
collapse double ones).

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

ATOM RSS1 RSS2