* ghosts in mpost?
@ 2008-02-15 15:34 Olivier
2008-02-15 16:25 ` Taco Hoekwater
0 siblings, 1 reply; 3+ messages in thread
From: Olivier @ 2008-02-15 15:34 UTC (permalink / raw)
To: ConTeXt users
Hi everyone,
I ran into trouble while trying to compile
\startreusableMPgraphic{try}
label(textext{$x\vphantom{y}z$}, origin);
\stopreusableMPgraphic
\reuseMPgraphic{try}
Is this a bug?
Olivier
___________________________________________________________________________________
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] 3+ messages in thread
* Re: ghosts in mpost?
2008-02-15 15:34 ghosts in mpost? Olivier
@ 2008-02-15 16:25 ` Taco Hoekwater
2008-02-15 17:36 ` Olivier
0 siblings, 1 reply; 3+ messages in thread
From: Taco Hoekwater @ 2008-02-15 16:25 UTC (permalink / raw)
To: ConTeXt users
Olivier wrote:
> Hi everyone,
>
> I ran into trouble while trying to compile
>
> \startreusableMPgraphic{try}
> label(textext{$x\vphantom{y}z$}, origin);
> \stopreusableMPgraphic
>
> \reuseMPgraphic{try}
>
> Is this a bug?
Well, the error message is not nice, and maybe
an \unexpanded in front of the definition of
\vphantom would be nice, but your example is
missing the \ in front of textext.
Best wishes,
Taco
___________________________________________________________________________________
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] 3+ messages in thread
* Re: ghosts in mpost?
2008-02-15 16:25 ` Taco Hoekwater
@ 2008-02-15 17:36 ` Olivier
0 siblings, 0 replies; 3+ messages in thread
From: Olivier @ 2008-02-15 17:36 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi Taco,
Quoting "Taco Hoekwater" :
> -- was taco@elvenkind.com on Feb 15, 2008 at 05:25:16PM --
> > \startreusableMPgraphic{try}
> > label(textext{$x\vphantom{y}z$}, origin);
> > \stopreusableMPgraphic
> >
> > \reuseMPgraphic{try}
> Well, the error message is not nice, and maybe
> an \unexpanded in front of the definition of
> \vphantom would be nice, but your example is
> missing the \ in front of textext.
You're right, it works much better :D
However, my original concern was that the following
does not seem to work either:
\startreusableMPgraphic{try}
label(btex {$x\vphantom{y}z$} etex, origin);
\stopreusableMPgraphic
\reuseMPgraphic{try}
Anyway, since -> \textext is the way to go...
Many thanks for the quick solution!
Olivier
___________________________________________________________________________________
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] 3+ messages in thread
end of thread, other threads:[~2008-02-15 17:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-15 15:34 ghosts in mpost? Olivier
2008-02-15 16:25 ` Taco Hoekwater
2008-02-15 17:36 ` Olivier
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).