ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] Metapost and write to file...
@ 2024-10-01 14:58 Willi Egger
  2024-10-01 17:00 ` [NTG-context] " Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Willi Egger @ 2024-10-01 14:58 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hello!


I think that I am missing something here. I should use an older file of mine, where some data calculated by METAPOST should be written to a file. However in the latest version of CONTEXT luametatex exits with error code 1 when running this minimal example.

What has changed?

Kind regards
Willi

\startuniqueMPgraphic{Test}

  draw fullcircle scaled 3cm;

  write "Hello World!" to "data.txt";
  write EOF to "data.txt";

\stopuniqueMPgraphic


\starttext

\useMPgraphic{Test}


Import data from \quotation{data.txt}:

\blank

\input data.txt

\stoptext
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [NTG-context] Re: Metapost and write to file...
  2024-10-01 14:58 [NTG-context] Metapost and write to file Willi Egger
@ 2024-10-01 17:00 ` Hans Hagen
  2024-10-01 20:28   ` Willi Egger
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2024-10-01 17:00 UTC (permalink / raw)
  To: ntg-context

On 10/1/2024 4:58 PM, Willi Egger wrote:
> Hello!
> 
> 
> I think that I am missing something here. I should use an older file of mine, where some data calculated by METAPOST should be written to a file. However in the latest version of CONTEXT luametatex exits with error code 1 when running this minimal example.
> 
> What has changed?

fixed in next upload

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | 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 / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [NTG-context] Re: Metapost and write to file...
  2024-10-01 17:00 ` [NTG-context] " Hans Hagen
@ 2024-10-01 20:28   ` Willi Egger
  0 siblings, 0 replies; 3+ messages in thread
From: Willi Egger @ 2024-10-01 20:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Thank you for checking and fixing Hans!

Willi

> On 1 Oct 2024, at 19:03, Hans Hagen <j.hagen@xs4all.nl> wrote:
> 
> On 10/1/2024 4:58 PM, Willi Egger wrote:
>> Hello!
>> I think that I am missing something here. I should use an older file of mine, where some data calculated by METAPOST should be written to a file. However in the latest version of CONTEXT luametatex exits with error code 1 when running this minimal example.
>> What has changed?
> 
> fixed in next upload
> 
> -----------------------------------------------------------------
>                                          Hans Hagen | PRAGMA ADE
>              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>       tel: 038 477 53 69 | www.pragma-ade.nl | 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 / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
> webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
> archive  : https://github.com/contextgarden/context
> wiki     : https://wiki.contextgarden.net
> ___________________________________________________________________________________
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-10-01 20:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-01 14:58 [NTG-context] Metapost and write to file Willi Egger
2024-10-01 17:00 ` [NTG-context] " Hans Hagen
2024-10-01 20:28   ` Willi Egger

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