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
Condense Mail Headers

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

Print Reply
Content-Transfer-Encoding: 7bit
Sender: Mailing list for the LaTeX3 project <[log in to unmask]>
From: Joseph Wright <[log in to unmask]>
Date: Fri, 12 Sep 2008 08:49:59 +0100
Content-Type: text/plain; charset=ISO-8859-1
MIME-Version: 1.0
Reply-To: Mailing list for the LaTeX3 project <[log in to unmask]>
Parts/Attachments: text/plain (21 lines)
Hello all,

I'm having a slight issue with the \tlp_put macros.  I'd like to store
something containing a literal `#1'.  Using the current definition:

\def_long_new:Npn \tlp_put_right:Nn #1#2{
  \tlp_set:Nn \l_exp_tlp{#2}
  \tlp_set:Nx #1{\exp_not:o{#1}\exp_not:o{\l_exp_tlp}}
}

I get an error at the \tlp_set:Nn \l_exp_tlp stage.  I wonder if there
is a reason not to do:

\def_long_new:Npn \tlp_put_right:Nn #1#2{
  \tlp_set:Nx #1{\exp_not:o{#1}\exp_not:n{#2}}
}

which does not suffer from the same issue.
-- 
Joseph Wright

ATOM RSS1 RSS2