BUG(?): asciimath does not support ||
![](https://secure.gravatar.com/avatar/60f3cc97f94fa3690ba406f8c1a7fc4f.jpg?s=120&d=mm&r=g)
Dear devs, In mathematics the norm of something is usually denoted by the double vertical bars, e.g. ||v||. This is not available in asciimath. \usemodule[asciimath] \starttext $\asciimath{ x^* = min { x | sum_{kk} ||f(x_{kk}^{20})|| } }$ \stoptext Could you please add this to the parser? Cheers, Henri
![](https://secure.gravatar.com/avatar/c5ae4f9aa0d3a9bd5376e92b322c3e50.jpg?s=120&d=mm&r=g)
On Fri, 20 Jan 2017, Henri Menke wrote:
Dear devs,
In mathematics the norm of something is usually denoted by the double vertical bars, e.g. ||v||. This is not available in asciimath.
\usemodule[asciimath] \starttext $\asciimath{ x^* = min { x | sum_{kk} ||f(x_{kk}^{20})|| } }$ \stoptext
Could you please add this to the parser?
IIRC, x-asciimath implements (part of?) the asciimath markup: http://asciimath.org https://en.wikipedia.org/wiki/AsciiMath Typing the above formula on the asciimath website does not render it correctly. Aditya
![](https://secure.gravatar.com/avatar/60f3cc97f94fa3690ba406f8c1a7fc4f.jpg?s=120&d=mm&r=g)
Thanks Aditya! Seems like there is no double vertical bar in the ASCIIMATH specs. I don’t use it anyway. Sorry for making noise. On 01/23/2017 09:05 AM, Aditya Mahajan wrote:
On Fri, 20 Jan 2017, Henri Menke wrote:
Dear devs,
In mathematics the norm of something is usually denoted by the double vertical bars, e.g. ||v||. This is not available in asciimath.
\usemodule[asciimath] \starttext $\asciimath{ x^* = min { x | sum_{kk} ||f(x_{kk}^{20})|| } }$ \stoptext
Could you please add this to the parser?
IIRC, x-asciimath implements (part of?) the asciimath markup: http://asciimath.org https://en.wikipedia.org/wiki/AsciiMath
Typing the above formula on the asciimath website does not render it correctly.
Aditya ___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________
participants (2)
-
Aditya Mahajan
-
Henri Menke