LATEX-L Archives

Mailing list for the LaTeX3 project

LATEX-L@LISTSERV.UNI-HEIDELBERG.DE

Options: Use Classic View

Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

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

Print Reply
Sender: Mailing list for the LaTeX3 project <[log in to unmask]>
Date: Fri, 19 Sep 2008 08:11:22 +0100
Reply-To: Mailing list for the LaTeX3 project <[log in to unmask]>
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
In-Reply-To: <[log in to unmask]>
Content-Type: text/plain; charset=UTF-8
From: Joseph Wright <[log in to unmask]>
Parts/Attachments: text/plain (28 lines)
Will Robertson wrote:
> On Fri, Sep 19, 2008 at 1:32 AM, Joseph Wright
> <[log in to unmask]> wrote:
>> I should point out that this was, implicitly, a two-part questions.  Part
>> one was about the primitives, part two is how to execute:
>>
>> \tlp_gset:Nx \g_siunitx_tmpa_tlp {\etex_scantokens:D {#1}}
>>
>> while _ is active (and I guess ideally : is "other").  In my current setup,
>> I only have to worry about @, which I just accept will be a letter.  But I
>> have to have _  active.
> 
> Ah :) Bit of a pickle.
> 
> I guess I'd do something like
> 
> \def:Npn \siunitxtmp {
>   \tlp_gset:Nx \g_siunitx_tmpa_tlp {\etex_scantokens:D {#1}}}
> \char_make_active:N \_
> \siunitxtmp
> 
> (unless my brain hasn't woken up yet...I think that will work)
> 
Seems to agree with what I'd thought.  I just wondered if I was missing
some kind of trick to avoid needing a user-space named macro.
-- 
Joseph Wright

ATOM RSS1 RSS2