Okay. So using this example as a template, I'd like to do the following: 
\begingroup
\def\loc\loctextloc
\currentbtxloctext
\btxcomma
\endgroup

Is this a ConTeXt-friendly way to do this? I'm attempted this now, but I have some errors to debug, and I'd like to know if this is even a feasible direction before I continue.

Joey

On Sun, Nov 28, 2021 at 5:39 AM Hans Hagen <j.hagen@xs4all.nl> wrote:
On 11/28/2021 2:39 AM, Joey McCollum wrote:
> I was afraid that might be the problem. I've described some of the
> intended purpose of this code near the end of the "Checking for a macro  > ...

Maybe play with:

\starttext

\def\WhateverA{\removeunwantedspaces\removepunctuation\space ¶ 1.23}
\def\WhateverB{¶ 1.23}

foo bar, \WhateverA\ test
foo bar, \WhateverB\ test

\stoptext

so, wrap ¶ into a macro

\def\MyParSymbol{\removeunwantedspaces\removepunctuation\space ¶}

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------