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
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:
Fri, 19 Sep 2008 11:17:43 +0930
Content-Disposition:
inline
Reply-To:
Mailing list for the LaTeX3 project <[log in to unmask]>
Subject:
MIME-Version:
1.0
Content-Transfer-Encoding:
7bit
In-Reply-To:
Content-Type:
text/plain; charset=UTF-8
From:
Will Robertson <[log in to unmask]>
Parts/Attachments:
text/plain (24 lines)
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)

Will

ATOM RSS1 RSS2