From: Hans Hagen via ntg-context <ntg-context@ntg.nl>
To: ntg-context@ntg.nl
Cc: Hans Hagen <j.hagen@freedom.nl>
Subject: [NTG-context] Re: Typing with text wrapping
Date: Mon, 7 Aug 2023 09:00:54 +0200 [thread overview]
Message-ID: <b14dc7f7-6eff-a69a-6501-a53de139c762@freedom.nl> (raw)
In-Reply-To: <95e1fb00-abf3-1678-f660-56a377302b5b@stdin.fr>
On 8/5/2023 5:36 PM, Alex Leray wrote:
> Hi all,
>
> I'm having another issue with my project. I'm trying to typeset
> fragments of HTML, including tabs and (repeating) spaces. I'd like to
> have my snippet with some words in bold.
>
> So I used `typing` together with the `escape` option.
>
> But now, I'd like my snippets to wrap when the lines are too long. The
> snippets can un over several pages so that recipe[^1] doesn't work for me.
>
> [^1]: https://www.contextgarden.net/Verbatim_with_line_breaks>
>
> Is there a way to do that?
it will wrap but there is nothing to break here, i'd use s smaller font
\setuptyping[CUSTOM][escape={[[,]]},style=\small\small\tt]
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
prev parent reply other threads:[~2023-08-07 7:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-05 15:36 [NTG-context] " Alex Leray
2023-08-07 7:00 ` Hans Hagen via ntg-context [this message]
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=b14dc7f7-6eff-a69a-6501-a53de139c762@freedom.nl \
--to=ntg-context@ntg.nl \
--cc=j.hagen@freedom.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).