Hi Hans,

Thanks a lot for the example. It works great in most cases, however what I stumbled upon is with the interval notation, in particular the following cases arise:
- closed interval: easy, since the delimiters are [... ; ... ]
- open interval: not easy, since the delimiters are ]... ; ... [ (or with a parenthesis as in the US, but there it works)
- semi open interval: not easy, since the delimiters are either [... ; ... [ or ]... ; ...] (or in the US [...; ...) or (... ; ...])

I guess there is a need for a special definition for these. Maybe they're already in the works...

By the way, if I define in the preamble \autofences, is there a command to disable it locally? Would be very helpful to deal with the above situations.

Best regards,
Alex

Le dim. 11 sept. 2022 à 20:42, Hans Hagen via ntg-context <ntg-context@ntg.nl> a écrit :
On 9/10/2022 9:45 AM, Alexandre Christe via ntg-context wrote:
> Hi Hans,
>
> Will |\mvert|and|\midalso be included in the \autofencelogic? It would
> be quite useful.|
we don't have \mvert so i'll add that ... in a next upload you can do
the attached (kind of experimental as Mikael and I need to review this
which we will do next week)

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