LATEX-L Archives

Mailing list for the LaTeX3 project

LATEX-L@LISTSERV.UNI-HEIDELBERG.DE

Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

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

Print Reply
Subject:
From:
Joseph Wright <[log in to unmask]>
Reply To:
Mailing list for the LaTeX3 project <[log in to unmask]>
Date:
Thu, 12 Feb 2009 07:06:09 +0000
Content-Type:
text/plain
Parts/Attachments:
text/plain (18 lines)
Will Robertson wrote:
> Ideally, I'd like to be able to write  \def\foo{bar}  and know whether
> or not \foo is expandable; until reading about this test I didn't think
> such a thing was even possible.
> 
> Any comments?

This won't work, will it?  A more complex example:

\def\foo{\edef\bar{stuff}}

is not fully expandable, but if you get the test working should give
\c_true.  So I think this might not be a good idea.  (I assume that this
test is supposed to see if something is a macro.  I do that in siunitx,
but using \meaning and looking for "macro".)

Joseph

ATOM RSS1 RSS2