ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <j.hagen@xs4all.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	Pablo Rodriguez <oinos@gmx.es>
Subject: Re: another error message in LMTX
Date: Sat, 7 Nov 2020 15:51:50 +0100	[thread overview]
Message-ID: <9024dfa0-1e97-1b5c-ec92-88cb5621e9f5@xs4all.nl> (raw)
In-Reply-To: <4d1f874e-5ff9-cd28-4a1f-10bf5f1cd20b@gmx.es>

On 11/7/2020 3:31 PM, Pablo Rodriguez wrote:
> On 11/7/20 1:29 PM, Hans Hagen wrote:
>> [...]
> 
> Many thanks for your in-depth explanation, Hans.
> 
> This sample triggers the error:
> 
>      \appendtoks
>         \unexpanded\def\doverbatimspace{\char32\hskip\zeropoint}%
>      \to \everyenableelements
> 
>      \setuptagging[state=start]
> 
>      \starttext
>      \starttyping
>      mtxrunjit --generate
>      \stoptyping
> 
>      \startitemize[n]
>      \startitem a\stopitem
>      \stopitemize
>      \stoptext
> 
> I have no idea why.

because \doverbatimspace is defined in a way that will look ahead

    \unexpanded\def\doverbatimspace{\char32\hskip\zeropoint\relax}

so

\starttyping
     plus 10pt  --generate
\stoptyping

probably makes the "plus 10pt" disappear


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________

      reply	other threads:[~2020-11-07 14:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-07 11:41 Pablo Rodriguez
2020-11-07 12:29 ` Hans Hagen
2020-11-07 14:31   ` Pablo Rodriguez
2020-11-07 14:51     ` Hans Hagen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9024dfa0-1e97-1b5c-ec92-88cb5621e9f5@xs4all.nl \
    --to=j.hagen@xs4all.nl \
    --cc=ntg-context@ntg.nl \
    --cc=oinos@gmx.es \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).