[NTG-context] MKIV - LMTX difference: stripping of leading white space in verbatim text

Christoph Reller christoph.reller at gmail.com
Thu Sep 3 14:13:50 CEST 2020


On Thu, Sep 3, 2020 at 5:53 AM Wolfgang Schuster <
wolfgang.schuster.lists at gmail.com> wrote:

> Christoph Reller schrieb am 03.09.2020 um 05:29:
> > Dear List,
> >
> > I am using ConTeXt LMTX 2018.05.19 21:46. Consider the following MWE:
> >
> > \starttext
> > \startLUA
> >      whatever
> > \stopLUA
> > \stoptext
> >
> > In contrast to ConTeXt MKIV, the leading four spaces in front of
> > "whatever" are not removed when processing the verbatim text:
> >
> > MKIV output:
> > whatever
> >
> > LMTX output:
> >      whatever
> >
> > Is there a way to get the old MKIV behavior back?
>
> \setuptyping[LUA][strip=yes]


Thank you, Wolfgang!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20200903/9cb31931/attachment.htm>


More information about the ntg-context mailing list