Both problems are now fixed.
Thanks a lot, Aditya and Hans.

shenchen

On Sun, Mar 15, 2009 at 2:34 AM, Aditya Mahajan <adityam@umich.edu> wrote:
On Sun, 15 Mar 2009, Chen Shen wrote:

Hi Aditya,

minimal example:
\starttext
$\Vert x \Vert$

$\left\Vert x \right\Vert$
\stoptext

When I run context, the first line passes, but no vertical bar is displayed.
The second line triggers the following error message:

! Missing delimiter (. inserted).
<to be read again>
                 \Umathchar
\Vert ->\Umathchar
                 "0 "0 "2225
l.4 $\left\Vert
              x \right\Vert$

thanks a lot.

Make the following change in char-def.lua and regenerate formats.

@@ -52729,8 +52729,7 @@ characters.data={
  linebreak="ai",
  mathspec={
   { class="relation", name="parallel" },
-   { class="nothing", name="Vert" },
+   { class="delimiter", name="Vert" },
   { class="nothing", name="Arrowvert" },
   { class="open", name="lVert" },
   { class="close", name="rVert" },



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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________