An alternative solution is to isolate the setting of the
autopunctuation btx option:
```
% Because some common punctuation characters are escaped in publ-ini.mkiv,
% we have to set this option separately
\pushcatcodetable
\setcatcodetable\ctxcatcodes
\setupbtx[sbl][autopunctuation={!,.:;?}]%
Thanks for these replies! Adding \unexpanded or \protected before \def
didn't fix the problem, and surrounding the definition with \unprotect ...
\protect didn't work either. But surrounding it with \pushcatcodetable
\setcatcodetable\ctxcatcodes ... \popcatcodetable worked.
I've never seen these
Joey McCollum via ntg-context schrieb am 10.10.2021 um 05:42:
The test using \removepunctuation that you provided does what it
should be doing (it produces 6 instances of "test-test" with the
intervening punctuation mark in each case removed), but it doesn't do
what I'm trying to do in the MWE
On 10/10/2021 5:42 AM, Joey McCollum wrote:
The test using \removepunctuation that you provided does what it should
be doing (it produces 6 instances of "test-test" with the intervening
punctuation mark in each case removed), but it doesn't do what I'm
trying to do in the MWE above. I'm trying
The test using \removepunctuation that you provided does what it should be
doing (it produces 6 instances of "test-test" with the intervening
punctuation mark in each case removed), but it doesn't do what I'm trying
to do in the MWE above. I'm trying to take certain punctuation marks that
follow
On 10/9/2021 5:40 PM, Joey McCollum via ntg-context wrote:
Hi,
I'm trying to define concise biblatex-style citation macros for a custom
bibliographic style specification with support for intelligent placement
of trailing punctuation, and I've encountered an unusual error. If I try
to define
Hi,
I'm trying to define concise biblatex-style citation macros for a custom
bibliographic style specification with support for intelligent placement of
trailing punctuation, and I've encountered an unusual error. If I try to
define the macros within the btxrenderingdefinitions environment, then