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