I'm trying play with the statistical package** for metapost from Anthony Phan. I found this strange problem: This code runs fine: \startMPcode label.bot(btex Metapost and Statistics etex,(5mm,0)) ; \stopMPcode Also, this code run fine: \startMPcode input mps-core.mp; draw fullcircle scaled 1cm ; \stopMPcode But this don't run!! \startMPcode input mps-core.mp label.bot(btex Metapost and Statistics etex,(5mm,0)) ; \stopMPcode What can coming from the module "mps-core.mp" that interfere with Metapost labels? Thanks in advance Jorge **(www-math.univ-poitiers.fr/~*phan*/downloads/metapost/) .
On 12/23/2013 7:55 PM, DesdeChaves wrote:
I'm trying play with the statistical package** for metapost from Anthony Phan. I found this strange problem:
This code runs fine:
\startMPcode label.bot(btex Metapost and Statistics etex,(5mm,0)) ; \stopMPcode
Also, this code run fine:
\startMPcode input mps-core.mp; draw fullcircle scaled 1cm ; \stopMPcode
But this don't run!!
\startMPcode input mps-core.mp label.bot(btex Metapost and Statistics etex,(5mm,0)) ; \stopMPcode
You're missing a ; on the input line so it could be some read-ahead issue.
What can coming from the module "mps-core.mp" that interfere with Metapost labels?
If it's a big subsystem there might be conflicts; anyway, better load like this: \startMPinclusions input mps-core.mp ; \stopMPinclusions \startMPcode label.bot(btex Metapost and Statistics etex,(5mm,0)) ; \stopMPcode because you only want to load once Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Thanks a lot.
Merry Christmas
Jorge
2013/12/24 Hans Hagen
On 12/23/2013 7:55 PM, DesdeChaves wrote:
I'm trying play with the statistical package** for metapost from Anthony Phan. I found this strange problem:
This code runs fine:
\startMPcode label.bot(btex Metapost and Statistics etex,(5mm,0)) ; \stopMPcode
Also, this code run fine:
\startMPcode input mps-core.mp; draw fullcircle scaled 1cm ; \stopMPcode
But this don't run!!
\startMPcode input mps-core.mp label.bot(btex Metapost and Statistics etex,(5mm,0)) ; \stopMPcode
You're missing a ; on the input line so it could be some read-ahead issue.
What can coming from the module "mps-core.mp" that
interfere with Metapost labels?
If it's a big subsystem there might be conflicts; anyway, better load like this:
\startMPinclusions input mps-core.mp ; \stopMPinclusions
\startMPcode label.bot(btex Metapost and Statistics etex,(5mm,0)) ; \stopMPcode
because you only want to load once
Hans
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ____________________________________________________________ _______________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ____________________________________________________________ _______________________
-- Atentamente DesdeChaves
participants (2)
-
DesdeChaves
-
Hans Hagen