[XeTeX] ^^J in the plain XeTeX format
Joseph Wright
joseph.wright at morningstar2.co.uk
Mon May 5 11:55:44 CEST 2014
On 05/05/2014 08:05, Joseph Wright wrote:
> Hello all,
>
> Doing some experiments on writing to the log, I find that the XeTeX
> format shows different behaviour from other formats with respect to ^^J.
> Trying
>
> \immediate\write-1{Hello^^Jworld}
> \bye
>
> with pdfTeX or LuaTeX gives two lines in the log
>
> Hello
> world
>
> but with XeTeX gives
>
> Hello^^Jworld
>
> LaTeX and ConTeXt (MkII) show identical behaviour for XeTeX and pdfTeX
> (and LuaTeX in the LaTeX case).
>
> Anyone know why this is, and if it's deliberate?
Further to this, I note that the plain format doesn't set \newlinechar
^^J, so Knuth's TeX gives the same behaviour as XeTeX. Arguably
therefore an issue with pdfTeX/LuaTeX: will raise in appropriate place(s).
--
Joseph Wright
More information about the XeTeX
mailing list