* Statistical module for Metapost
@ 2013-12-23 18:55 DesdeChaves
2013-12-24 9:35 ` Hans Hagen
0 siblings, 1 reply; 3+ messages in thread
From: DesdeChaves @ 2013-12-23 18:55 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 608 bytes --]
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/) .
[-- Attachment #1.2: Type: text/html, Size: 1619 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Statistical module for Metapost
2013-12-23 18:55 Statistical module for Metapost DesdeChaves
@ 2013-12-24 9:35 ` Hans Hagen
2013-12-24 15:47 ` DesdeChaves
0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2013-12-24 9:35 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Statistical module for Metapost
2013-12-24 9:35 ` Hans Hagen
@ 2013-12-24 15:47 ` DesdeChaves
0 siblings, 0 replies; 3+ messages in thread
From: DesdeChaves @ 2013-12-24 15:47 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 2061 bytes --]
Thanks a lot.
Merry Christmas
Jorge
2013/12/24 Hans Hagen <pragma@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
[-- Attachment #1.2: Type: text/html, Size: 3684 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-12-24 15:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-23 18:55 Statistical module for Metapost DesdeChaves
2013-12-24 9:35 ` Hans Hagen
2013-12-24 15:47 ` DesdeChaves
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).