ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* trouble with math arrows
@ 2008-07-31  1:12 Jesse Alama
  2008-07-31 16:04 ` Aditya Mahajan
  0 siblings, 1 reply; 2+ messages in thread
From: Jesse Alama @ 2008-07-31  1:12 UTC (permalink / raw)
  To: ntg-context

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.
<inserted text> 
                $
<to be read again> 
                   \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.
<inserted text> 
                $
<to be read again> 
                   \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 (alama@stanford.edu)

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: trouble with math arrows
  2008-07-31  1:12 trouble with math arrows Jesse Alama
@ 2008-07-31 16:04 ` Aditya Mahajan
  0 siblings, 0 replies; 2+ messages in thread
From: Aditya Mahajan @ 2008-07-31 16:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-07-31 16:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-31  1:12 trouble with math arrows Jesse Alama
2008-07-31 16:04 ` Aditya Mahajan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).