Hi,

I tested with the latest beta and everything works well.

Can you also add a virtual character for --. Then I can add the mappings for

-->, <--.

Others that can be mapped are

::, ::=, -:

for which I am attaching a patch file.

Aditya
--- char-def.lua	2017-08-06 17:36:02.000000000 -0400
+++ /opt/context-minimals/tex/texmf-context/tex/context/base/mkiv/char-def.lua	2017-08-06 17:44:52.000000000 -0400
@@ -64474,6 +64474,7 @@
   description="PROPORTION",
   direction="on",
   linebreak="ai",
+  mathpair={ 0x3A, 0x3A },
   mathclass="relation",
   mathname="squaredots",
   unicodeslot=0x2237,
@@ -64494,6 +64495,7 @@
   direction="on",
   linebreak="al",
   mathclass="relation",
+  mathpair={ 0x2212, 0x3A },
   mathname="minuscolon",
   unicodeslot=0x2239,
  },
@@ -81323,6 +81325,7 @@
   direction="on",
   linebreak="al",
   mathclass="relation",
+  mathpair={ 0x2237, 0x2D },
   mathname="coloncolonequals",
   specials={ "compat", 0x3A, 0x3A, 0x3D },
   unicodeslot=0x2A74,

Attachment: test.pdf
Description: Adobe PDF document

Attachment: test.tex
Description: TeX document

_______________________________________________
dev-context mailing list
dev-context@ntg.nl
https://mailman.ntg.nl/mailman/listinfo/dev-context

Reply via email to