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
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:
Sun, 7 Sep 2008 21:32:02 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (34 lines)
Frank Mittelbach wrote:
> Will Robertson writes:
> > This is weird:
> >
> > \err_warn:nn{\temp~stuff~stuff}{}
> >
> > Only the second tilde causes a space.
>
> why would that be weird?
>
> in plain TeX
>
> \errwarn{\temp stuff stuff}
>
> and only
>
> \errwarn{\temp\space stuff stuff}
>
> in expl3 ~ is a space token and not an active char expanding to \space.

It took me a little while to realise this, but of course you are right.
 So that was not what confused me.

> It is a bitof a pity that space tokens are so deep down within the TeX engine
> behavior and that sometimes they get gobbled if explicit.
>
> Interesting question if it would be possible to do ~ -> \space instead but my
> guess is that this would break a lot of the current code

I was rather expecting \c_space_token to save the day, but it didn't.
Hence my confusion: \space isn't a LaTeX3 name.
--
Joseph Wright

ATOM RSS1 RSS2