LATEX-L Archives

Mailing list for the LaTeX3 project

LATEX-L@LISTSERV.UNI-HEIDELBERG.DE

Options: Use Forum View

Use Monospaced Font
Show HTML 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:
Fri, 12 Sep 2008 08:49:59 +0100
Content-Type:
text/plain
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