Not just the latest beta ... and indeed according to the TeXbook this should be a vertical double bar (\Vert), in math mode.
I wish to point out that | in text font (text mode) is different from | in math font (math mode). I noticed that Preview (on the mac) *fails* to render the math font $|$ whereas \| in text mode does get rendered in Preview or printed from Preview (my document used dejavu fonts). Other pdf renderers on the mac (acroread, mupdf, evince, ...) are OK. This is clearly a bug in Preview.
How, other then \|, should one produce | in *text* mode?
Alan
On Wed, 13 Feb 2019 18:52:26 +0100
Otared Kavian
Hi Hans,
With the latest beta there seems a bug has been intoduced with « \| » which should give a vertical double bar and not a simple bar.
This is a minimal example:
\starttext With 2019.02.10 17:43, the command \type{\|x\|} gives an incorrect result:
$\|x\| = 1$
$|x| = 1$ \stoptext
Best regards: OK ___________________________________________________________________________________ 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 ___________________________________________________________________________________