ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Alex Leray <alexandre@stdin.fr>
To: ntg-context@ntg.nl
Subject: [NTG-context] Re: breakpoints in verbatim text
Date: Thu, 17 Aug 2023 17:59:24 +0200	[thread overview]
Message-ID: <0206b775-0c68-7a1b-e56f-b15e88e4fa4e@stdin.fr> (raw)
In-Reply-To: <1e751722-f19b-d555-9859-862983f6413c@gmail.com>

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

  reply	other threads:[~2023-08-17 16:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-17 12:41 [NTG-context] " 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 [this message]
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

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=0206b775-0c68-7a1b-e56f-b15e88e4fa4e@stdin.fr \
    --to=alexandre@stdin.fr \
    --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).