LATEX-L Archives

Mailing list for the LaTeX3 project


Options: Use Classic View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

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

Print Reply
Morten Høgholm <[log in to unmask]>
Wed, 10 Sep 2008 14:09:34 +0200
text/plain (36 lines)
On Mon, Sep 8, 2008 at 9:06 PM, Joseph Wright
<[log in to unmask]> wrote:
> Morten Høgholm wrote:
>> On Sun, Sep 7, 2008 at 10:32 PM, Joseph Wright
>> <[log in to unmask]> wrote:
>>> I was rather expecting \c_space_token to save the day, but it didn't.
>>> Hence my confusion: \space isn't a LaTeX3 name.
>> Correct. \c_space_token is an implicit space token (because it is
>> assigned with \let:NN) and a explicit space char is needed.
> Okay, but \space is a user macro, not a programmer one.  So is there a
> LaTeX3 explicit space?  For example, trying \~ leads to disaster (at
> least in \iow_expanded:Nn).

It needs to be defined, no doubt. Wait a second... From l3messages:

% \begin{macro}{\text_put_sp:}
% \begin{macro}{\text_put_four_sp:}
%    We need these functions for certain error and warning messages
%    right away. They put one and four spaces into the message stream.
%    \begin{macrocode}
\def_new:Npn \text_put_sp: {~}
\def_new:Npn \text_put_four_sp: {\text_put_sp: \text_put_sp:
                                 \text_put_sp: \text_put_sp: }
%    \end{macrocode}
% \end{macro}
% \end{macro}