[XeTeX]   in XeTeX

Chris Travers chris.travers at gmail.com
Mon Nov 14 13:05:58 CET 2011


On Mon, Nov 14, 2011 at 3:26 AM, Philip TAYLOR <P.Taylor at rhul.ac.uk> wrote:
>
>
> Chris Travers wrote:
>
>> Ok, so why don't we have a similar macro here?  Something like:
>> \obeynbsps
>
> See above : there are /some/ things that TeX does that
> transcend category codes (which are the basis for \obeylines);
> in particular [1] :
>
> "$$ TeX deletes any <space> characters (number 32)" that occur
>  at the right end of an input line"
>
> These are ASCII 32s, not \catcode 10s, and XeTeX itself would
> require modification if you also wanted XeTeX to delete any
> U+2009s, U+202fs, ... in the same way that it deletes normal
> spaces.  This is without the aegis of \obeynbsp, which would
> kick in long after this action has been irrevocably completed.
>
But what's the point of putting non-breaking spaces between a word and
the end of a line?  or for that matter what if I alternate spaces and
special unicode spaces? Do I get a word space for each of them?

I think one of the key strengths of TeX is that it can be edited
gracefully by ANY basic text editor.  I would hate for that to be
lost.

Best Wishes,
Chris Travers



More information about the XeTeX mailing list