ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] breakpoints in verbatim text
@ 2023-08-17 12:41 Alex Leray
  2023-08-17 14:32 ` [NTG-context] " Hans Hagen
  2023-08-17 15:22 ` Wolfgang Schuster
  0 siblings, 2 replies; 7+ messages in thread
From: Alex Leray @ 2023-08-17 12:41 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

I'd like to break lines in verbatim on certain characters like "/".

I can do it for normal texte, but not inside typing environment.

Is there a way to achieve this?

Below is my test code.

Thanks,

Alex

* * *

\setuppapersize[A7]
\setbreakpoints[compound]

\starttext
1. This is the truth: waste-not-want-not \par
2. This is the truth: waste/not/want/not \par
3. This is the truth: waste+not+want+not \par
4. This is the truth: waste(not(want(not)) \par
5. This is the truth: ((waste)not)want)not

\starttyping[lines=yes]
1. Thisisthetruth:waste-not-want-not \par
2. Thisisthetruth:waste/not/want/not \par
3. Thisisthetruth:waste+not+want+not \par
4. Thisisthetruth:waste(not(want(not)) \par
5. Thisisthetruth:((waste)not)want)not
\stoptyping
\stoptext
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-08-18 11:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-17 12:41 [NTG-context] breakpoints in verbatim text Alex Leray
2023-08-17 14:32 ` [NTG-context] " Hans Hagen
2023-08-17 14:47   ` Alex Leray
2023-08-17 15:22 ` Wolfgang Schuster
2023-08-17 15:59   ` Alex Leray
2023-08-17 16:23     ` Wolfgang Schuster
     [not found]       ` <7f05a67b-2e44-a590-0768-3c6dc23f5349@stdin.fr>
     [not found]         ` <58e3cc9b-9614-79e0-4a5f-6f72a4cf7fcf@gmail.com>
     [not found]           ` <aa70b518-c14f-ab41-681c-0fe4de737a81@stdin.fr>
     [not found]             ` <54f222a3-fbf7-e5dc-4dc7-71c4ddfc7d1d@gmail.com>
2023-08-18 11:19               ` Hans Hagen

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).