Re: [NTG-context] Statistical module for Metapost

2013-12-24 Thread 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
___


Re: [NTG-context] Statistical module for Metapost

2013-12-24 Thread DesdeChaves
Thanks a lot.

Merry Christmas

Jorge


2013/12/24 Hans Hagen pra...@wxs.nl

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