ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* mplib messages
@ 2012-11-12  9:43 Alan BRASLAU
  2012-11-12  9:56 ` Hans Hagen
  2012-11-12  9:59 ` Hans Hagen
  0 siblings, 2 replies; 8+ messages in thread
From: Alan BRASLAU @ 2012-11-12  9:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hello,

Were do MetaPost messages go using mplib? (>/dev/null?)
I see nothing on the console nor in the log file.

Alan

\starttext
\startMPpage
    message "a circle" ;
    draw fullcircle scaled 2 cm ;
\stopMPpage
\stoptext
___________________________________________________________________________________
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] 8+ messages in thread

* Re: mplib messages
  2012-11-12  9:43 mplib messages Alan BRASLAU
@ 2012-11-12  9:56 ` Hans Hagen
  2012-11-12  9:59 ` Hans Hagen
  1 sibling, 0 replies; 8+ messages in thread
From: Hans Hagen @ 2012-11-12  9:56 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 11/12/2012 10:43 AM, Alan BRASLAU wrote:
> Hello,
>
> Were do MetaPost messages go using mplib? (>/dev/null?)
> I see nothing on the console nor in the log file.
>
> Alan
>
> \starttext
> \startMPpage
>      message "a circle" ;
>      draw fullcircle scaled 2 cm ;
> \stopMPpage
> \stoptext


\starttext

\ctxlua{metapost.showlog = true}

\startMPpage
     message("message: a circle") ;
     show("show: a circle") ;
     draw fullcircle scaled 2 cm ;
\stopMPpage

\stoptext

-----------------------------------------------------------------
                                           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] 8+ messages in thread

* Re: mplib messages
  2012-11-12  9:43 mplib messages Alan BRASLAU
  2012-11-12  9:56 ` Hans Hagen
@ 2012-11-12  9:59 ` Hans Hagen
  2012-11-12 11:24   ` Alan BRASLAU
  2012-11-12 17:12   ` Alan BRASLAU
  1 sibling, 2 replies; 8+ messages in thread
From: Hans Hagen @ 2012-11-12  9:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 11/12/2012 10:43 AM, Alan BRASLAU wrote:
> Hello,
>
> Were do MetaPost messages go using mplib? (>/dev/null?)
> I see nothing on the console nor in the log file.
>
> Alan
>
> \starttext
> \startMPpage
>      message "a circle" ;
>      draw fullcircle scaled 2 cm ;
> \stopMPpage
> \stoptext

the next beta has:

\enabletrackers[metapost.showlog]

-----------------------------------------------------------------
                                           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] 8+ messages in thread

* Re: mplib messages
  2012-11-12  9:59 ` Hans Hagen
@ 2012-11-12 11:24   ` Alan BRASLAU
  2012-11-12 11:29     ` luigi scarso
  2012-11-12 17:12   ` Alan BRASLAU
  1 sibling, 1 reply; 8+ messages in thread
From: Alan BRASLAU @ 2012-11-12 11:24 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users

On Mon, 12 Nov 2012 10:59:04 +0100
Hans Hagen <pragma@wxs.nl> wrote:

> On 11/12/2012 10:43 AM, Alan BRASLAU wrote:
> > Hello,
> >
> > Were do MetaPost messages go using mplib? (>/dev/null?)
> > I see nothing on the console nor in the log file.
> >
> > Alan
> >
> > \starttext
> > \startMPpage
> >      message "a circle" ;
> >      draw fullcircle scaled 2 cm ;
> > \stopMPpage
> > \stoptext
> 
> the next beta has:
> 
> \enabletrackers[metapost.showlog]
> 

Thanks

(Should this be enabled by default?)

Alan
___________________________________________________________________________________
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] 8+ messages in thread

* Re: mplib messages
  2012-11-12 11:24   ` Alan BRASLAU
@ 2012-11-12 11:29     ` luigi scarso
  2012-11-12 11:46       ` Alan BRASLAU
  2012-11-12 16:42       ` Aditya Mahajan
  0 siblings, 2 replies; 8+ messages in thread
From: luigi scarso @ 2012-11-12 11:29 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 310 bytes --]

On Mon, Nov 12, 2012 at 12:24 PM, Alan BRASLAU <alan.braslau@cea.fr> wrote:

> On Mon, 12 Nov 2012 10:59:04 +0100
> Hans Hagen <pragma@wxs.nl> wrote:
>
> > \enabletrackers[metapost.showlog]
> >
>
> Thanks
>
> (Should this be enabled by default?)
>
>
hm, write on std{err,out} slows down the process

-- 
luigi

[-- Attachment #1.2: Type: text/html, Size: 770 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] 8+ messages in thread

* Re: mplib messages
  2012-11-12 11:29     ` luigi scarso
@ 2012-11-12 11:46       ` Alan BRASLAU
  2012-11-12 16:42       ` Aditya Mahajan
  1 sibling, 0 replies; 8+ messages in thread
From: Alan BRASLAU @ 2012-11-12 11:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Mon, 12 Nov 2012 12:29:41 +0100
luigi scarso <luigi.scarso@gmail.com> wrote:

> hm, write on std{err,out} slows down the process

But normally there should be very few messages,
as message and show should be used with parsimony...
(Indeed there are very few in the standard metapost and metafun macros)

Maybe in ConTeXt we should have a distinction in allowing
the turning on of one or the other (show, message and errmessage).

Alan
___________________________________________________________________________________
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] 8+ messages in thread

* Re: mplib messages
  2012-11-12 11:29     ` luigi scarso
  2012-11-12 11:46       ` Alan BRASLAU
@ 2012-11-12 16:42       ` Aditya Mahajan
  1 sibling, 0 replies; 8+ messages in thread
From: Aditya Mahajan @ 2012-11-12 16:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Mon, 12 Nov 2012, luigi scarso wrote:

> On Mon, Nov 12, 2012 at 12:24 PM, Alan BRASLAU <alan.braslau@cea.fr> wrote:
>
>> On Mon, 12 Nov 2012 10:59:04 +0100
>> Hans Hagen <pragma@wxs.nl> wrote:
>>
>>> \enabletrackers[metapost.showlog]
>>>
>>
>> Thanks
>>
>> (Should this be enabled by default?)
>>
>>
> hm, write on std{err,out} slows down the process

There is always `context --noconsole` if you want to omit the messages. I 
think that it is a good idea to display messages by default, or better 
still, the logging and tracing macros of metapost and tex be enabled by a 
common interface.

Aditya

___________________________________________________________________________________
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] 8+ messages in thread

* Re: mplib messages
  2012-11-12  9:59 ` Hans Hagen
  2012-11-12 11:24   ` Alan BRASLAU
@ 2012-11-12 17:12   ` Alan BRASLAU
  1 sibling, 0 replies; 8+ messages in thread
From: Alan BRASLAU @ 2012-11-12 17:12 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users

On Mon, 12 Nov 2012 10:59:04 +0100
Hans Hagen <pragma@wxs.nl> wrote:

> the next beta has:
> 
> \enabletrackers[metapost.showlog]

produces:

metapost        > log: [1]

metapost        > log: (Please type a command or say `end')

Clearly we do not want to see this prompt...

Alan
___________________________________________________________________________________
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] 8+ messages in thread

end of thread, other threads:[~2012-11-12 17:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-12  9:43 mplib messages Alan BRASLAU
2012-11-12  9:56 ` Hans Hagen
2012-11-12  9:59 ` Hans Hagen
2012-11-12 11:24   ` Alan BRASLAU
2012-11-12 11:29     ` luigi scarso
2012-11-12 11:46       ` Alan BRASLAU
2012-11-12 16:42       ` Aditya Mahajan
2012-11-12 17:12   ` Alan BRASLAU

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