
Probably this: \penalty-10000
Or is there a better command?
Von: denismaier@mailbox.org

Probably not. It does give me linebreak, but I'm also loosing justification
in the relevant line. So how should I go about it?
Best,
Denis
Von: Denis Maier via ntg-context
https://wiki.contextgarden.net/Text_blocks/Typography/Delimiters_and_breaks But the relevant paragraph just says: "If you would like to tell ConTeXt that this might be a good place for a line break, you can use" (Text stops here.) What should I add there?` Best, Denis

Ok, I found the issue. My xml setups were introducing spurios whitespace
here.
Both \penalty-10000 and \break seem to do the job.
Is there a difference between the two? Which one should I add to the wiki?
Best,
Denis
Von: denismaier@mailbox.org
https://wiki.contextgarden.net/Text_blocks/Typography/Delimiters_and_breaks But the relevant paragraph just says: "If you would like to tell ConTeXt that this might be a good place for a line break, you can use" (Text stops here.) What should I add there?` Best, Denis

Am 26.05.2025 um 11:11 schrieb Denis Maier via ntg-context:
Ok, I found the issue. My xml setups were introducing spurios whitespace here.
Both \penalty-10000 and \break seem to do the job.
Is there a difference between the two? Which one should I add to the wiki?
There is no difference between \break and \penalty-10000 because the \break command inserts a negative penalty of 10000. Other penalty command are \nobreak (for \penalty 10000) and \allowbreak (for \penalty 0). Wolfgang

On May 26, 2025 1:34:50 PM EDT, Wolfgang Schuster
Am 26.05.2025 um 11:11 schrieb Denis Maier via ntg-context:
Ok, I found the issue. My xml setups were introducing spurios whitespace here.
Both \penalty-10000 and \break seem to do the job.
Is there a difference between the two? Which one should I add to the wiki?
There is no difference between \break and \penalty-10000 because the \break command inserts a negative penalty of 10000.
Other penalty command are \nobreak (for \penalty 10000) and \allowbreak (for \penalty 0).
Wolfgang
___________________________________________________________________________________ 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 ___________________________________________________________________________________
participants (3)
-
denismaier@mailbox.org
-
Rik Kabel
-
Wolfgang Schuster