ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* inline MP refresh problem
@ 2005-07-25 14:39 Eckhart Guthöhrlein
  2005-07-25 15:21 ` Hans Hagen
  0 siblings, 1 reply; 6+ messages in thread
From: Eckhart Guthöhrlein @ 2005-07-25 14:39 UTC (permalink / raw)


Hi all,

when I change inline MP graphics, these are not recreated during the
subsequent texexec run. I need to call texexec once again to have them
refreshed.
I have just installed a new box, but I think I have thought of the usual
stuff in texmf.cnf and cont-sys.tex, and I am a little clueless at the
moment. So thanks for any hints what might be the problem.
My versions:
pdfeTeX 3.141592-1.21a-2.2 (Web2C 7.5.4) from tetex 3.0
ConTeXt  ver: 2005.07.21  fmt: 2005.7.25  int: english  mes: english

Greetings,
Eckhart

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

* Re: inline MP refresh problem
  2005-07-25 14:39 inline MP refresh problem Eckhart Guthöhrlein
@ 2005-07-25 15:21 ` Hans Hagen
  2005-07-25 16:20   ` Eckhart Guthöhrlein
  0 siblings, 1 reply; 6+ messages in thread
From: Hans Hagen @ 2005-07-25 15:21 UTC (permalink / raw)


Eckhart Guthöhrlein wrote:

>Hi all,
>
>when I change inline MP graphics, these are not recreated during the
>subsequent texexec run. I need to call texexec once again to have them
>refreshed.
>I have just installed a new box, but I think I have thought of the usual
>stuff in texmf.cnf and cont-sys.tex, and I am a little clueless at the
>moment. So thanks for any hints what might be the problem.
>My versions:
>pdfeTeX 3.141592-1.21a-2.2 (Web2C 7.5.4) from tetex 3.0
>ConTeXt  ver: 2005.07.21  fmt: 2005.7.25  int: english  mes: english
>  
>
how do you define the graphic? 

Hans 

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------

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

* Re: inline MP refresh problem
  2005-07-25 15:21 ` Hans Hagen
@ 2005-07-25 16:20   ` Eckhart Guthöhrlein
  2005-07-25 21:56     ` Hans Hagen
  0 siblings, 1 reply; 6+ messages in thread
From: Eckhart Guthöhrlein @ 2005-07-25 16:20 UTC (permalink / raw)


On Mon, 25 Jul 2005 at 17:21:56+0200, Hans Hagen wrote:
> >when I change inline MP graphics, these are not recreated during the
> >subsequent texexec run. I need to call texexec once again to have them
> >refreshed.
> >I have just installed a new box, but I think I have thought of the usual
> >stuff in texmf.cnf and cont-sys.tex, and I am a little clueless at the
> >moment. So thanks for any hints what might be the problem.
> >My versions:
> >pdfeTeX 3.141592-1.21a-2.2 (Web2C 7.5.4) from tetex 3.0
> >ConTeXt  ver: 2005.07.21  fmt: 2005.7.25  int: english  mes: english
> >
> how do you define the graphic? 

\startreusableMPgraphic{kreis}
	fill fullcircle scaled 1cm withcolor red;
\stopreusableMPgraphic
\starttext
	\reuseMPgraphic{kreis}
\stoptext

When I remove 'withcolor red', nothing changes until the second texexec
invocation.

-- 
Eckhart

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

* Re: inline MP refresh problem
  2005-07-25 16:20   ` Eckhart Guthöhrlein
@ 2005-07-25 21:56     ` Hans Hagen
  2005-07-26  9:37       ` Eckhart Guthöhrlein
  0 siblings, 1 reply; 6+ messages in thread
From: Hans Hagen @ 2005-07-25 21:56 UTC (permalink / raw)


Eckhart Guthöhrlein wrote:

>On Mon, 25 Jul 2005 at 17:21:56+0200, Hans Hagen wrote:
>  
>
>>>when I change inline MP graphics, these are not recreated during the
>>>subsequent texexec run. I need to call texexec once again to have them
>>>refreshed.
>>>I have just installed a new box, but I think I have thought of the usual
>>>stuff in texmf.cnf and cont-sys.tex, and I am a little clueless at the
>>>moment. So thanks for any hints what might be the problem.
>>>My versions:
>>>pdfeTeX 3.141592-1.21a-2.2 (Web2C 7.5.4) from tetex 3.0
>>>ConTeXt  ver: 2005.07.21  fmt: 2005.7.25  int: english  mes: english
>>>
>>>      
>>>
>>how do you define the graphic? 
>>    
>>
>
>\startreusableMPgraphic{kreis}
>	fill fullcircle scaled 1cm withcolor red;
>\stopreusableMPgraphic
>\starttext
>	\reuseMPgraphic{kreis}
>\stoptext
>
>When I remove 'withcolor red', nothing changes until the second texexec
>invocation.
>  
>
it runs ok in newtexexec -) 

it has to do with the rather weak checksum calculation (i took that code from an example which - in retrospect- was crap, i.e. it does not really calculate a checksum -) 

i rewrote that part of texexec (assuming that nowadays the md5 library is part of perl distributions) 

i'll send you a file to test 

Hans 


-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------

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

* Re: inline MP refresh problem
  2005-07-25 21:56     ` Hans Hagen
@ 2005-07-26  9:37       ` Eckhart Guthöhrlein
  2005-07-26  9:45         ` Taco Hoekwater
  0 siblings, 1 reply; 6+ messages in thread
From: Eckhart Guthöhrlein @ 2005-07-26  9:37 UTC (permalink / raw)


On Mon, 25 Jul 2005 at 23:56:53+0200, Hans Hagen wrote:
> >>how do you define the graphic? 
> >
> >\startreusableMPgraphic{kreis}
> >	fill fullcircle scaled 1cm withcolor red;
> >\stopreusableMPgraphic
> >\starttext
> >	\reuseMPgraphic{kreis}
> >\stoptext
> >
> >When I remove 'withcolor red', nothing changes until the second texexec
> >invocation.
> > 
> it runs ok in newtexexec -) 
> 
> it has to do with the rather weak checksum calculation (i took that code 
> from an example which - in retrospect- was crap, i.e. it does not really 
> calculate a checksum -) 
> i rewrote that part of texexec (assuming that nowadays the md5 library is 
> part of perl distributions) 
> i'll send you a file to test 

It still doesn't work here. There have been complaints about arguments
not numeric on line 1889, but changing == to eq had no influence on the
final result. Still need an additional run.
As you said, the problem does not occur when you use runtime MP
processing, and would have gone unnoticed if I had not forgotten to
switch it on..

-- 
Eckhart

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

* Re: inline MP refresh problem
  2005-07-26  9:37       ` Eckhart Guthöhrlein
@ 2005-07-26  9:45         ` Taco Hoekwater
  0 siblings, 0 replies; 6+ messages in thread
From: Taco Hoekwater @ 2005-07-26  9:45 UTC (permalink / raw)



> It still doesn't work here. There have been complaints about arguments
> not numeric on line 1889, but changing == to eq had no influence on the
> final result. Still need an additional run.
> As you said, the problem does not occur when you use runtime MP
> processing, and would have gone unnoticed if I had not forgotten to
> switch it on..

I remember that the old checksumming code checked every other line,
not all lines. Is that the problem perhaps?

Taco

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

end of thread, other threads:[~2005-07-26  9:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-25 14:39 inline MP refresh problem Eckhart Guthöhrlein
2005-07-25 15:21 ` Hans Hagen
2005-07-25 16:20   ` Eckhart Guthöhrlein
2005-07-25 21:56     ` Hans Hagen
2005-07-26  9:37       ` Eckhart Guthöhrlein
2005-07-26  9:45         ` Taco Hoekwater

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