[NTG-context] \overrightarrow not working in mathmode in Metapost?

2009-09-18 Thread Matthijs Kooijman
Hi, I've been trying to use the \overrightarrow command within a metapost graphic, but it doesn't work. Math mode does work, for example \vec works like expected. Outside of metapost, \overrightarrow works as expected. To illustrate the problem, I've created the following simple testcase: \sta

Re: [NTG-context] \overrightarrow not working in mathmode in Metapost?

2009-09-18 Thread Aditya Mahajan
On Fri, 18 Sep 2009, Matthijs Kooijman wrote: Hi, I've been trying to use the \overrightarrow command within a metapost graphic, but it doesn't work. Math mode does work, for example \vec works like expected. Outside of metapost, \overrightarrow works as expected. To illustrate the problem, I'

Re: [NTG-context] \overrightarrow not working in mathmode in Metapost?

2009-09-18 Thread Matthijs Kooijman
Hi Aditya, > \let\normaloverrightarrow\overrightarrow > \unexpanded\def\overrightarrow{\normaloverrightarrow} I haven't got a clue what this means, but it worked! Thanks! Gr. Matthijs signature.asc Description: Digital signature _

Re: [NTG-context] \overrightarrow not working in mathmode in Metapost?

2009-09-18 Thread Hans Hagen
Aditya Mahajan wrote: \let\normaloverrightarrow\overrightarrow \unexpanded\def\overrightarrow{\normaloverrightarrow} ok, i made them all unexpandable - Hans Hagen | PRAGMA ADE

Re: [NTG-context] \overrightarrow not working in mathmode in Metapost?

2009-10-30 Thread Matthijs Kooijman
Hi all, > >I've been trying to use the \overrightarrow command within a metapost > >graphic, > >but it doesn't work. Math mode does work, for example \vec works like > >expected. Outside of metapost, \overrightarrow works as expected. This seems to broken for extensible math arrows like \xrightar

Re: [NTG-context] \overrightarrow not working in mathmode in Metapost?

2009-10-30 Thread Taco Hoekwater
Matthijs Kooijman wrote: Hi all, I've been trying to use the \overrightarrow command within a metapost graphic, but it doesn't work. Math mode does work, for example \vec works like expected. Outside of metapost, \overrightarrow works as expected. This seems to broken for extensible math arrow

Re: [NTG-context] \overrightarrow not working in mathmode in Metapost?

2009-10-30 Thread Matthijs Kooijman
Hi Taco, > Have you tried the new current yet? There was a whole bunch of extra > \unexpanded-s in it already. You're right, thanks! I had built the new context but forgot to install it on this particular machine :-) Sorry for the noise, Matthijs signature.asc Description: Digital signature _