LATEX-L Archives

Mailing list for the LaTeX3 project

LATEX-L@LISTSERV.UNI-HEIDELBERG.DE

Options: Use Classic View

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

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

Print Reply
Joseph Wright <[log in to unmask]>
Thu, 11 Sep 2008 08:42:55 +0100
text/plain (25 lines)
Morten Høgholm wrote:

>>
>> \toks_set:No \l_tmpa_toks {stuff including "#1"}
> 
> \toks_set:Nn I think you mean.

Yes, of course.

>> \tlp_set:Nx \l_my_tlp {\toks_use:N\l_tmpa_toks}
>>
>> Is there a pre-coded function for this (I may have misunderstood somewhere).
> 
> Not exactly precoded but what you usually do is
>   \tlp_set:Nx \l_my_tlp {\exp_not:n{unexpanded #1}}

Ah yes, that works nicely.

> The at first sight weird looking \exp_not:o and \exp_not:f start
> becoming more useful in this context.

I'll take your word for it!
-- 
Joseph Wright

ATOM RSS1 RSS2