ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* metapost textext?
@ 2005-12-21 16:13 Hans van der Meer
  2005-12-21 16:35 ` Hans Hagen
  2005-12-21 19:26 ` David Arnold
  0 siblings, 2 replies; 7+ messages in thread
From: Hans van der Meer @ 2005-12-21 16:13 UTC (permalink / raw)


Panic using metapost in context.
This used to work. I did a file that previously (\thisisutilityversion 
{1998.12.20}) had good output but now has "unknown" everywhere for  
textext calls!

\starttext
\startuseMPgraphic{one}
	draw (0,0)--(100,0)--(100,50)--(50,50)--(50,100)--(0,100)--(0,0);
	label (textext("label"), (10,25));
\stopuseMPgraphic
\useMPgraphic{one}
\stoptext

But now I see "unknown" as the text typeset instead of "label"!
What happened. This is disastrous.

yours sincerely,
dr. H. van der Meer

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

* Re: metapost textext?
  2005-12-21 16:13 metapost textext? Hans van der Meer
@ 2005-12-21 16:35 ` Hans Hagen
  2005-12-21 16:58   ` Peter Rolf
  2005-12-21 20:53   ` Willi Egger
  2005-12-21 19:26 ` David Arnold
  1 sibling, 2 replies; 7+ messages in thread
From: Hans Hagen @ 2005-12-21 16:35 UTC (permalink / raw)


Hans van der Meer wrote:

> Panic using metapost in context.
> This used to work. I did a file that previously (\thisisutilityversion 
> {1998.12.20}) had good output but now has "unknown" everywhere for  
> textext calls!
>
> \starttext
> \startuseMPgraphic{one}
>     draw (0,0)--(100,0)--(100,50)--(50,50)--(50,100)--(0,100)--(0,0);
>     label (textext("label"), (10,25));
> \stopuseMPgraphic
> \useMPgraphic{one}
> \stoptext
>
> But now I see "unknown" as the text typeset instead of "label"!
> What happened. This is disastrous.

this normally points to an error in mp processing (unknown is the fall 
back text), not so much to something wrong with context (i hope)

it runs ok here; how does it runs at other machines?

(this intermediate mp runnig tex is a kind of messy mp feature and 
errors are hard to trace)

Hans

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

* Re: metapost textext?
  2005-12-21 16:35 ` Hans Hagen
@ 2005-12-21 16:58   ` Peter Rolf
  2005-12-21 17:24     ` Taco Hoekwater
  2005-12-21 20:53   ` Willi Egger
  1 sibling, 1 reply; 7+ messages in thread
From: Peter Rolf @ 2005-12-21 16:58 UTC (permalink / raw)


Hans Hagen wrote:
> Hans van der Meer wrote:
> 
>> Panic using metapost in context.
>> This used to work. I did a file that previously (\thisisutilityversion
>> {1998.12.20}) had good output but now has "unknown" everywhere for 
>> textext calls!
>>
>> \starttext
>> \startuseMPgraphic{one}
>>     draw (0,0)--(100,0)--(100,50)--(50,50)--(50,100)--(0,100)--(0,0);
>>     label (textext("label"), (10,25));
>> \stopuseMPgraphic
>> \useMPgraphic{one}
>> \stoptext
>>
>> But now I see "unknown" as the text typeset instead of "label"!
>> What happened. This is disastrous.
> 
> this normally points to an error in mp processing (unknown is the fall
> back text), not so much to something wrong with context (i hope)
> 
> it runs ok here; how does it runs at other machines?
>
no problem here (using latest version)

Peter

> (this intermediate mp runnig tex is a kind of messy mp feature and
> errors are hard to trace)
> 
> Hans
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
> 
> 

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

* Re: metapost textext?
  2005-12-21 16:58   ` Peter Rolf
@ 2005-12-21 17:24     ` Taco Hoekwater
  2005-12-22 22:44       ` Hans van der Meer
  0 siblings, 1 reply; 7+ messages in thread
From: Taco Hoekwater @ 2005-12-21 17:24 UTC (permalink / raw)


Peter Rolf wrote:
> Hans Hagen wrote:
> 
>>Hans van der Meer wrote:
>>
>>
>>>Panic using metapost in context.
>>>This used to work. I did a file that previously (\thisisutilityversion
>>>{1998.12.20}) had good output but now has "unknown" everywhere for 
>>>textext calls!
>>>
>>>\starttext
>>>\startuseMPgraphic{one}
>>>    draw (0,0)--(100,0)--(100,50)--(50,50)--(50,100)--(0,100)--(0,0);
>>>    label (textext("label"), (10,25));
>>>\stopuseMPgraphic
>>>\useMPgraphic{one}
>>>\stoptext
>>>
>>>But now I see "unknown" as the text typeset instead of "label"!
>>>What happened. This is disastrous.
>>
>>this normally points to an error in mp processing (unknown is the fall
>>back text), not so much to something wrong with context (i hope)
>>
>>it runs ok here; how does it runs at other machines?
>>
> 
> no problem here (using latest version)
> 

Runs without problems here as well. The most likely cause of problems
in this subsystem nowadays is a
   "format was written by (pdf)(e)tex"
error message from a (pdf)(e)tex executable. Unfortunately, I also
find it hard to trace this stuff. It may help to run the example
in an isolated directory and zip&mail everything in the directory
afterwards. I can at least have a look, but cannot give guarantees.

Taco

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

* Re: metapost textext?
  2005-12-21 16:13 metapost textext? Hans van der Meer
  2005-12-21 16:35 ` Hans Hagen
@ 2005-12-21 19:26 ` David Arnold
  1 sibling, 0 replies; 7+ messages in thread
From: David Arnold @ 2005-12-21 19:26 UTC (permalink / raw)


Runs OK here as well.

Got a little graphic with the word "label" in it.

chapter3 $ texexec --version

TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005

                texexec : TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005
                texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004
                    tex : pdfeTeX, 3.141592-1.30.4-2.2 (Web2C 7.5.5)
                context : ver: 2005.12.01
                cont-en : ver: 2005.12.01  fmt: 2005.12.2  mes: english
                cont-nl : ver: 2005.12.01  fmt: 2005.12.2  mes: dutch

         total run time : 2 seconds


On Dec 21, 2005, at 8:13 AM, Hans van der Meer wrote:

> Panic using metapost in context.
> This used to work. I did a file that previously  
> (\thisisutilityversion{1998.12.20}) had good output but now has  
> "unknown" everywhere for textext calls!
>
> \starttext
> \startuseMPgraphic{one}
> 	draw (0,0)--(100,0)--(100,50)--(50,50)--(50,100)--(0,100)--(0,0);
> 	label (textext("label"), (10,25));
> \stopuseMPgraphic
> \useMPgraphic{one}
> \stoptext
>
> But now I see "unknown" as the text typeset instead of "label"!
> What happened. This is disastrous.
>
> yours sincerely,
> dr. H. van der Meer
>
>
>
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

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

* Re: metapost textext?
  2005-12-21 16:35 ` Hans Hagen
  2005-12-21 16:58   ` Peter Rolf
@ 2005-12-21 20:53   ` Willi Egger
  1 sibling, 0 replies; 7+ messages in thread
From: Willi Egger @ 2005-12-21 20:53 UTC (permalink / raw)


Hi,

this code compiles without problems on a Windows-XP machine with:
This is pdfeTeX, Version 3.141592-1.30.3-2.2 (Web2c 7.5.5)
ConTeXt  ver: 2005.11.30  fmt: 2005.12.19  int: english  mes: english

Willi

Hans Hagen wrote:

> Hans van der Meer wrote:
>
>> Panic using metapost in context.
>> This used to work. I did a file that previously 
>> (\thisisutilityversion {1998.12.20}) had good output but now has 
>> "unknown" everywhere for  textext calls!
>>
>> \starttext
>> \startuseMPgraphic{one}
>>     draw (0,0)--(100,0)--(100,50)--(50,50)--(50,100)--(0,100)--(0,0);
>>     label (textext("label"), (10,25));
>> \stopuseMPgraphic
>> \useMPgraphic{one}
>> \stoptext
>>
>> But now I see "unknown" as the text typeset instead of "label"!
>> What happened. This is disastrous.
>
>
> this normally points to an error in mp processing (unknown is the fall 
> back text), not so much to something wrong with context (i hope)
>
> it runs ok here; how does it runs at other machines?
>
> (this intermediate mp runnig tex is a kind of messy mp feature and 
> errors are hard to trace)
>
> Hans
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

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

* Re: metapost textext?
  2005-12-21 17:24     ` Taco Hoekwater
@ 2005-12-22 22:44       ` Hans van der Meer
  0 siblings, 0 replies; 7+ messages in thread
From: Hans van der Meer @ 2005-12-22 22:44 UTC (permalink / raw)


I have another piece of information on my previous posting.
When I take the mpgraph mp-input for metapost produced by the ConTeXt  
run I see:

(1) running "system(mpost  -progname=mpost -mem=metafun standalone2- 
mpgraph)...executed." as the log shows gives the wrong metafont  
output. I also ran mpost with those parameters standalone on that mp- 
file and got the same bad result.

(2) running texexec --mptex on the file gives the correct result.

Would this help locating the problem?
My mpost is according to mpout.log "This is MetaPost, Version 0.901  
(Web2C 7.5.3) (mem=mpost 2005.11.12)".

yours sincerely,
dr. H. van der Meer



On Dec 21, 2005, at 18:24, Taco Hoekwater wrote:

> Peter Rolf wrote:
>> Hans Hagen wrote:
>>> Hans van der Meer wrote:
>>>
>>>
>>>> Panic using metapost in context.
>>>> This used to work. I did a file that previously  
>>>> (\thisisutilityversion
>>>> {1998.12.20}) had good output but now has "unknown" everywhere  
>>>> for textext calls!
>>>>
>>>> \starttext
>>>> \startuseMPgraphic{one}
>>>>    draw (0,0)--(100,0)--(100,50)--(50,50)--(50,100)--(0,100)-- 
>>>> (0,0);
>>>>    label (textext("label"), (10,25));
>>>> \stopuseMPgraphic
>>>> \useMPgraphic{one}
>>>> \stoptext
>>>>
>>>> But now I see "unknown" as the text typeset instead of "label"!
>>>> What happened. This is disastrous.
>>>
>>> this normally points to an error in mp processing (unknown is the  
>>> fall
>>> back text), not so much to something wrong with context (i hope)
>>>
>>> it runs ok here; how does it runs at other machines?
>>>
>> no problem here (using latest version)
>
> Runs without problems here as well. The most likely cause of problems
> in this subsystem nowadays is a
>   "format was written by (pdf)(e)tex"
> error message from a (pdf)(e)tex executable. Unfortunately, I also
> find it hard to trace this stuff. It may help to run the example
> in an isolated directory and zip&mail everything in the directory
> afterwards. I can at least have a look, but cannot give guarantees.
>
> Taco
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

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

end of thread, other threads:[~2005-12-22 22:44 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-21 16:13 metapost textext? Hans van der Meer
2005-12-21 16:35 ` Hans Hagen
2005-12-21 16:58   ` Peter Rolf
2005-12-21 17:24     ` Taco Hoekwater
2005-12-22 22:44       ` Hans van der Meer
2005-12-21 20:53   ` Willi Egger
2005-12-21 19:26 ` David Arnold

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