Bug in treatment of spaces in mathmode mkiv
Sorry for reposting this message sent this morning: I thought it didn't go through… Hi Hans, I noticed that in math mode the spacement of some symbols are incorrect while using mkiv (they are correct in mkii). Here is an example %%%%% begin example \starttext Set $a := bc^{-1}$. \stoptext %%%%% end example In this example, there should be a space before and after ":=" as one may see it readily in mkii (and indeed in plain TeX…). Best regards: OK
Otared Kavian wrote:
%%%%% begin example
\starttext Set $a := bc^{-1}$. \stoptext
%%%%% end example
In this example, there should be a space before and after ":=" as one may see it readily in mkii (and indeed in plain TeX…).
in char-def.lua both colon and equal should be 'relation' note for aditya: we need to check more of them (more colons) ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On 4 juin 09, at 22:18, Hans Hagen wrote:
Otared Kavian wrote:
%%%%% begin example \starttext Set $a := bc^{-1}$. \stoptext %%%%% end example In this example, there should be a space before and after ":=" as one may see it readily in mkii (and indeed in plain TeX…).
in char-def.lua both colon and equal should be 'relation'
Thanks Hans: it is fixed now with the latest beta mkiv.
note for aditya: we need to check more of them (more colons)
Do you mean other instances of colons used in math mode?
On Thu, 4 Jun 2009, Hans Hagen wrote:
Otared Kavian wrote:
%%%%% begin example
\starttext Set $a := bc^{-1}$. \stoptext
%%%%% end example
In this example, there should be a space before and after ":=" as one may see it readily in mkii (and indeed in plain TeX…).
in char-def.lua both colon and equal should be 'relation'
note for aditya: we need to check more of them (more colons)
colon needs a bit more care. The literal : should be a mathrel, while \colon should be a punctuation. I do not know how to set this using mathspec. equal in the current char-def is wrong. The mathclass should be relation (rather than binary). Aditya
Aditya Mahajan wrote:
colon needs a bit more care. The literal : should be a mathrel, while \colon should be a punctuation. I do not know how to set this using mathspec.
hm, we had two mathname=colon's, so i removed the 0x003A ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Aditya Mahajan
-
Hans Hagen
-
Otared Kavian