ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Hans Hagen <j.hagen@xs4all.nl>, Taco Hoekwater <taco@bittext.nl>
Subject: Re: Problem with \head inside \itemize
Date: Mon, 22 Nov 2021 15:59:41 +0100	[thread overview]
Message-ID: <9c996b98-c7b5-73a2-5922-051c8cbfa9c8@xs4all.nl> (raw)
In-Reply-To: <BFBA5539-824C-4FC6-9C9B-34FD097B89CF@bittext.nl>

On 11/22/2021 2:30 PM, Taco Hoekwater via ntg-context wrote:
> 
> 
>> On 22 Nov 2021, at 14:15, Jean-Philippe Rey via ntg-context <ntg-context@ntg.nl> wrote:
>>
>> Dear list,
>>
>> The following code worked perfectly well with ConTeXt  ver: 2021.01.05 10:45 LMTX
>> but produces an error with the current LMTX version (at least since ConTeXt  ver: 2021.09.26 17:00 LMTX).
>> Adding an explicit \par at the end of the \head line allows the example to work.
> 
> It seems like the newest LMTX versions don’t handle implicit \par (empty lines) as argument
> delimiter any more, the argument has to be terminated by the explicit string “\par", just
> like any other argument delimiter.
> 
> This is definitely a change, but I would vote for that change to stay. ;)
there is some experimental stuff involved

\starttext

     default: \the\autoparagraphmode \blank

     % 0x1 text | 0x2 macro | 0x4 go-on

     \autoparagraphmode0 \def\foo#1\par{[#1]} 0: \foo test\par test\par
     \autoparagraphmode1 \def\foo#1\par{[#1]} 1: \foo test\par test\par
     \autoparagraphmode2 \def\foo#1\par{[#1]} 2: \foo test\par test\par
     \autoparagraphmode4 \def\foo#1\par{[#1]} 4: \foo test\par test\par

\starttext

but inceed i'd like to get rid of par delimited commands (afaiks we have 
only two left) and \starthead .. \stophead is the way to go

-----------------------------------------------------------------
                                           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:[~2021-11-22 14:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-22 13:15 Jean-Philippe Rey via ntg-context
2021-11-22 13:30 ` Taco Hoekwater via ntg-context
2021-11-22 14:59   ` Hans Hagen via ntg-context [this message]
2021-12-21 13:04 Benjamin Buchmuller via ntg-context
2021-12-21 17:03 ` Wolfgang Schuster via ntg-context
2021-12-23  8:06   ` Benjamin Buchmuller via ntg-context

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=9c996b98-c7b5-73a2-5922-051c8cbfa9c8@xs4all.nl \
    --to=ntg-context@ntg.nl \
    --cc=j.hagen@xs4all.nl \
    --cc=taco@bittext.nl \
    /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).