Re: [NTG-context] trouble with math arrows

2008-07-31 Thread Aditya Mahajan
On Wed, 30 Jul 2008, Jesse Alama wrote:

> Something goes wrong with this simple example:

\definematharrow needs three arguments, the second is bunch 
of digits representing distance corrections. See the My Way on arrows and 
math-ext.tex.

> \definemathoverarrow  [overrightarrow]  [\rightarrowfill]

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
___


[NTG-context] trouble with math arrows

2008-07-30 Thread Jesse Alama
Something goes wrong with this simple example:

<--- snip --->
\definemathoverarrow  [overrightarrow]  [\rightarrowfill]
\def\Ray#1{\overrightarrow{#1}}
\starttext
Hello world! $\Ray{ABC}$.
\stoptext
<--- snip --->

It leads to:

! Missing $ inserted.
 
$
 
   \displaystyle 
\dodohandlemathoverarrow ...{\ialign {##\crcr #2#3
  \crcr \noalign {\kern #1\n...

\mathpalette ...>\mathchoice {#1\displaystyle {#2}
  }{#1\textstyle {#2}}{#1\sc...
l.6 Hello world! $\Ray{ABC}
   $.
? 
! Emergency stop.
 
$
 
   \displaystyle 
\dodohandlemathoverarrow ...{\ialign {##\crcr #2#3
  \crcr \noalign {\kern #1\n...

\mathpalette ...>\mathchoice {#1\displaystyle {#2}
  }{#1\textstyle {#2}}{#1\sc...
l.6 Hello world! $\Ray{ABC}
   $.

(This is done with a live pdftex on the garden.)  Any ideas?

Thanks,

Jesse

-- 
Jesse Alama ([EMAIL PROTECTED])

___
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
___