From: Pablo Rodriguez via ntg-context <ntg-context@ntg.nl>
To: ntg-context@ntg.nl
Cc: Pablo Rodriguez <oinos@gmx.es>
Subject: [NTG-context] Re: weird \inlinetypebuffer interaction
Date: Thu, 9 May 2024 15:18:17 +0200 [thread overview]
Message-ID: <41e3c6b6-1580-92e9-9d26-5bcb7038cafe@gmx.es> (raw)
In-Reply-To: <8b43f5ff-5558-2fe7-9880-3e96b5cbb9b4@gmail.com>
On 5/9/24 12:57, Wolfgang Schuster wrote:
> Pablo Rodriguez via ntg-context schrieb am 08.05.2024 um 18:05:
>> [...]
>> Since \type doesn’t collapse hyphens, wouldn’t it be possible to add
>> \nohyphencollapsing to \typeinlinebuffer just for the sake of output
>> consistency?
>
> You can make \typeinlinebuffer behave like \type by adding a second
> initializer which besides other things prevents hyphen collapsing.
>
> buff-ver.mkxl:
>
> \protected\def\buff_verbatim_type_buffer_indeed_inline#1#2%
> {\cdef\currenttype{#1}%
> \buff_verbatim_initialize_type_one
> + \buff_verbatim_initialize_type_two
Many thanks for your improvement, Wolfgang.
It would be great to have it included in standard ConTeXt.
Many thanks for your help,
Pablo
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2024-05-09 13:19 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-06 18:06 [NTG-context] " Pablo Rodriguez via ntg-context
2024-05-06 20:45 ` [NTG-context] " Wolfgang Schuster
2024-05-07 17:40 ` Pablo Rodriguez via ntg-context
2024-05-07 20:37 ` Wolfgang Schuster
2024-05-08 16:05 ` Pablo Rodriguez via ntg-context
2024-05-09 10:57 ` Wolfgang Schuster
2024-05-09 13:18 ` Pablo Rodriguez via ntg-context [this message]
2024-05-14 14:07 ` Pablo Rodriguez via ntg-context
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=41e3c6b6-1580-92e9-9d26-5bcb7038cafe@gmx.es \
--to=ntg-context@ntg.nl \
--cc=oinos@gmx.es \
/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).