LATEX-L Archives

Mailing list for the LaTeX3 project

LATEX-L@LISTSERV.UNI-HEIDELBERG.DE

Options: Use Classic View

Use Proportional Font
Show Text Part by Default
Condense Mail Headers

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

Print Reply
Sender: Mailing list for the LaTeX3 project <[log in to unmask]>
Date: Sun, 7 Sep 2008 20:27:56 +0200
Reply-To: Mailing list for the LaTeX3 project <[log in to unmask]>
Subject: Re: Spaces
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
In-Reply-To: <[log in to unmask]>
Content-Type: text/plain; charset=us-ascii
From: Frank Mittelbach <[log in to unmask]>
Parts/Attachments: text/plain (33 lines)
Will Robertson writes:
 > On 07/09/2008, at 5:50 PM, Joseph Wright wrote:
 > 
 > > Only the last one works as intended (by me).  Is there a LaTeX3 way to
 > > do this?
 > 
 > Interesting.
 > 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 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

frank

ATOM RSS1 RSS2