ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	Denis Maier via ntg-context <ntg-context@ntg.nl>
Subject: [NTG-context] Re: \par and \startlines
Date: Fri, 26 Apr 2024 18:24:38 +0200	[thread overview]
Message-ID: <eb59faa8-efd6-54df-a049-a3a617b6b7a1@gmail.com> (raw)
In-Reply-To: <1451407626.61216.1714147831677@office.mailbox.org>


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

Denis Maier via ntg-context schrieb am 26.04.2024 um 18:10:
>> Pablo Rodriguez via ntg-context <ntg-context@ntg.nl 
>> <mailto:ntg-context@ntg.nl>> hat am 26.04.2024 17:25 CEST geschrieben:
>> On 4/26/24 15:33, denis.maier@unibe.ch <mailto:denis.maier@unibe.ch> 
>> wrote:
>>> Hi, 
>>> I’m trying to typeset a poem from XML, but I can’t figure out how to
>>> make the inbetween key working here. 
>>> As the source is XML, I cannot just add an empty line to start a new
>>> group of lines inside \startlines…\stoplines. I guess, there must be a
>>> command to do that, but \par seems to have no effect here. 
>>> How can this be done? 
>> Hi Denis,
>> I must confess I don’t get which is your actual question.
>> \blank works here and you know that (since you included it in your 
>> code).
>> MkIV with \par works in your sample and LMTX with \par doesn’t.
>> I wonder whether this might be a bug in LMTX.
>> Just in case it might help, 
> Thanks for your answer and sorry for not being clearer. I was just 
> wondering why the \par seems to have no effect. (I first guessed that 
> it might be related to XML, to but then realized it happens with 
> context markup as well. Usually, you won't run into this because an 
> empty line works, but with XML that's not am option.) As you've said, 
> it looks like a bug then.
>

The lines environment treats each line of the input as paragraph by 
adding \par at the end of it and adding another \par makes no difference 
here.

BTW: ConTeXt has a module for poems which can be loaded with 
\usemodule[format].

Wolfgang


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

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

___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2024-04-26 16:27 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-26 13:33 [NTG-context] " denis.maier
2024-04-26 15:25 ` [NTG-context] " Pablo Rodriguez via ntg-context
2024-04-26 16:10   ` Denis Maier via ntg-context
2024-04-26 16:24     ` Wolfgang Schuster [this message]
2024-04-26 17:18       ` Denis Maier via ntg-context
2024-04-26 17:29         ` Wolfgang Schuster
2024-04-26 17:52           ` Denis Maier via ntg-context
2024-04-26 19:09             ` Pablo Rodriguez via ntg-context
2024-04-26 20:29             ` Henning Hraban Ramm
2024-04-27  5:39             ` Wolfgang Schuster
2024-04-30 12:28               ` Denis Maier via ntg-context
2024-05-01  7:44                 ` Wolfgang Schuster
2024-05-01  8:08                   ` Henning Hraban Ramm
2024-04-27  7:24       ` Henning Hraban Ramm

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=eb59faa8-efd6-54df-a049-a3a617b6b7a1@gmail.com \
    --to=wolfgang.schuster.lists@gmail.com \
    --cc=ntg-context@ntg.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).