From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HTML_MESSAGE,MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: from cgl.ntg.nl (Cgl.ntg.nl [5.39.185.202]) by inbox.vuxu.org (Postfix) with ESMTP id B9D56249BF for ; Fri, 26 Apr 2024 19:58:31 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 78D5A48476E for ; Fri, 26 Apr 2024 19:56:05 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Authentication-Results: cgl.ntg.nl (amavisd-new); dkim=fail (2048-bit key) reason="fail (message has been altered)" header.d=mailbox.org Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wa2ieH7FYj9i for ; Fri, 26 Apr 2024 19:56:03 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 3A2EC4848BF for ; Fri, 26 Apr 2024 19:54:36 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 7FDAD48447D for ; Fri, 26 Apr 2024 19:53:49 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vunKeSWtZO9O for ; Fri, 26 Apr 2024 19:53:49 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=80.241.56.171; helo=mout-p-201.mailbox.org; envelope-from=denismaier@mailbox.org; receiver= Received: from mout-p-201.mailbox.org (mout-p-201.mailbox.org [80.241.56.171]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by cgl.ntg.nl (Postfix) with ESMTPS id CD3E04844A8 for ; Fri, 26 Apr 2024 19:52:36 +0200 (CEST) Received: from smtp202.mailbox.org (smtp202.mailbox.org [10.196.197.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4VR0g65cRNz9sxR; Fri, 26 Apr 2024 19:52:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1714153954; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=cWwLj4PInZ8XLlLOts/RV160J/xZ4bOwspswq4CsWEw=; b=NNuGjkF6eoMOeK+LUEW2cwyGq0N+4DqFl3m/bICKQWbwlM83RLuJaNQwOadt+F8MlXZn1m 3YskPZIsNYHBPyJy2N/7qIeWe023s9B26kzKoCy830KL7ri+YHobXmc192dG7c0/YXMg7e vB1ZiS/nj2R2i/ml2GK9Z+whXGaERvi67YHxCZwZ7XvrsPcQwNI0xCBlFeHvbkDs2Tjx1n IRLG9VRJjpYKtxkNqfjnh4/j5dfuTreyW9EuB5ZuzrAOEE6/NU/4NjvCh8ueEwWgsAI3z2 VUnyBfoDVppNDwDQO9fFkpvAQ37ni/CBub6JwAXZCy3c4PzfHZSC6WSzWMX7VQ== Date: Fri, 26 Apr 2024 19:52:34 +0200 (CEST) To: Wolfgang Schuster Message-ID: <1271780126.66061.1714153954395@office.mailbox.org> In-Reply-To: <5fb17e1a-8d3b-1c51-bdae-c4695548ff51@gmail.com> References: <20cc60cc-3bd6-b7ea-ae66-0bd1f0bbff6c@gmx.es> <1451407626.61216.1714147831677@office.mailbox.org> <162595028.64485.1714151930562@office.mailbox.org> <5fb17e1a-8d3b-1c51-bdae-c4695548ff51@gmail.com> MIME-Version: 1.0 X-Priority: 3 Importance: Normal X-MBO-RS-META: uxogs8wun18opkezd8d36yhzkec4htdb X-MBO-RS-ID: 8f1c51a129b40feb3ce Message-ID-Hash: CUPUSCKPEYHHEASYGB5GPRGNC3PUZYMI X-Message-ID-Hash: CUPUSCKPEYHHEASYGB5GPRGNC3PUZYMI X-MailFrom: denismaier@mailbox.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: \par and \startlines List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Denis Maier via ntg-context Cc: mailing list for ConTeXt users , Denis Maier Content-Type: multipart/mixed; boundary="===============1299005687426442039==" --===============1299005687426442039== Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable =20 =20
 
=20
=20
Wolfgang Schuster <wolfgang.schuster.lists@gmail.com> hat am 26.0= 4.2024 19:29 CEST geschrieben:
=20
 
=20
 
Denis Maier schrieb am 26.04.2024 um 19:18:
=20
=20
 
=20
=20
Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>= hat am 26.04.2024 18:24 CEST geschrieben:
=20
 
=20
 
Denis Maier via ntg-context schrieb am 26.04.2024 um 18:10:=20
=20
=20
=20
Pablo Rodriguez via ntg-context <ntg-context@ntg.nl> hat am 26.04.2024 17:25 CEST geschrieben:
=20
 
=20
 
=20
On 4/26/24 15:33, denis.mai= er@unibe.ch wrote:
=20
=20
Hi,
=20
=20
=20
I=E2=80=99m trying to typeset a poem from XML, but I can=E2=80=99t= figure out how to
=20
make the inbetween key working here.
=20
=20
=20
As the source is XML, I cannot just add an empty line to start a n= ew
=20
group of lines inside \startlines=E2=80=A6\stoplines. I guess, the= re must be a
=20
command to do that, but \par seems to have no effect here.
=20
=20
=20
How can this be done?
=20
=20
Hi Denis,
=20
 
=20
I must confess I don=E2=80=99t get which is your actual question.
=20
 
=20
\blank works here and you know that (since you included it in your = code).
=20
 
=20
MkIV with \par works in your sample and LMTX with \par doesn=E2=80= =99t.
=20
 
=20
I wonder whether this might be a bug in LMTX.
=20
 
=20
Just in case it might help,
=20
=20
 
=20
Thanks for your answer and sorry for not being clearer. I was just w= ondering why the \par seems to have no effect. (I first guessed that it mig= ht be related to XML, to but then realized it happens with context markup a= s well. Usually, you won't run into this because an empty line works, but w= ith XML that's not am option.) As you've said, it looks like a bug then.
=20
=20
The lines environment treats each line of the input as paragraph b= y adding \par at the end of it and adding another \par makes no difference = here.=20

BTW: ConTeXt has a module for poems which can be loaded with \usem= odule[format].=20

Wolfgang=20

=20
Ok. I'll have a look at this module. Just two questions:
=20
1. so did this behavior change? 
=20
2. What is inbetween referring to then? If each line is a paragraph, w= hat's this group of paragraphs then? Can you manually switch to the next on= e?
=20
=20
The inbetween setting works because ConTeXt checks at the start of e= ach line whether it's empty (in this case the value is used) or not.

When you add a \par you just end the current line/paragraph and it d= oesn't matter how many \par's you use because TeX just ignores them.

Wolfgang
=20
 
=20
I see. But there's no command that could be used to simulate an empty li= ne?
=20
If not, me should I perhaps try to replicate the wrapper structure from = the XML source in context? (I'll also look into the format module of course= .) What do you think?
=20
 
=20
Thank you so much for your help.
=20
Best,
=20
Denis 
--===============1299005687426442039== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________ --===============1299005687426442039==--