LATEX-L Archives

Mailing list for the LaTeX3 project


Options: Use Classic View

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

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

Print Reply
Joseph Wright <[log in to unmask]>
Fri, 12 Sep 2008 08:49:59 +0100
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