[NTG-context] escape in verbatim text eats line breaks

Stefan Müller warrence.stm at gmx.de
Mon Jan 10 21:07:58 CET 2011



On 10.01.2011 15:38, Hans Hagen wrote:
>> Is this a bug or am I missing something here?
>
> I get newlines here.

I'm using minimals: ConTeXt version 2011.01.06 17:08

Just to clarify: My first line in the PDF result is
"sometexsometex \after"

>> Also "\setuptyping[TEX][escape=//]" seems to have no effect at all, "//"
>> is printed just like normal chars.
>
> Actually in mkii it's
>
> \setuptyping[TEX][escape=/]
>
> \startTEX
> /em sometex
> \before /em sometex
> \stopTEX

Does that mean the example on the wiki page is not correct?

> and indeed in mkiv it does not work. I will provide a bit of backward
> compatibility but keep in mind that in mkiv the \em change will cross
> lines, so in this case the first sometex as well as \before will be
> slanted.

Thanks and best regards,
Stefan


More information about the ntg-context mailing list