ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* MKIV - LMTX difference: stripping of leading white space in verbatim text
@ 2020-09-03  3:29 Christoph Reller
  2020-09-03  3:53 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Christoph Reller @ 2020-09-03  3:29 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 385 bytes --]

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?

Cheers,

Christoph

[-- Attachment #1.2: Type: text/html, Size: 663 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: MKIV - LMTX difference: stripping of leading white space in verbatim text
  2020-09-03  3:29 MKIV - LMTX difference: stripping of leading white space in verbatim text Christoph Reller
@ 2020-09-03  3:53 ` Wolfgang Schuster
  2020-09-03 12:13   ` Christoph Reller
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2020-09-03  3:53 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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]

Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: MKIV - LMTX difference: stripping of leading white space in verbatim text
  2020-09-03  3:53 ` Wolfgang Schuster
@ 2020-09-03 12:13   ` Christoph Reller
  0 siblings, 0 replies; 3+ messages in thread
From: Christoph Reller @ 2020-09-03 12:13 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 642 bytes --]

On Thu, Sep 3, 2020 at 5:53 AM Wolfgang Schuster <
wolfgang.schuster.lists@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!

[-- Attachment #1.2: Type: text/html, Size: 1081 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-09-03 12:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-03  3:29 MKIV - LMTX difference: stripping of leading white space in verbatim text Christoph Reller
2020-09-03  3:53 ` Wolfgang Schuster
2020-09-03 12:13   ` Christoph Reller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).