Hi, I think I need to use verbatim because I'm typesetting source code and I need it to be as verbatim as possible. For the moment, I'm manually inserting zero-width spaces... seems to do the trick, although it's becoming unreadable :P Thanks, Alex Le 17/08/23 à 17:22, Wolfgang Schuster a écrit :
Alex Leray schrieb am 17.08.2023 um 14:41:
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.
Do you need the verbatim environment or is the lines-environment sufficient.
\setuppapersize[A7] \setbreakpoints[compound]
\starttext
\startlines[style=mono] 1. Thisisthetruth:waste-not-want-not 2. Thisisthetruth:waste/not/want/not 3. Thisisthetruth:waste+not+want+not 4. Thisisthetruth:waste(not(want(not)) 5. Thisisthetruth(waste)not)want)not \stoplines
\stoptext
Wolfgang
___________________________________________________________________________________ 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 ___________________________________________________________________________________
-- Alexandre Leray +32 487 947 030 Avez-vous pensé à (vous) offrir Médor ? https://medor.coop/ideescadeau