Re: [NTG-context] positiongraphics

2006-07-12 Thread Taco Hoekwater


Hans van der Meer wrote:
 I send the offending mpgraph.mp file. It has ;'s all over. There are  so 
 many ;;'s and even some ;;;'s that I am tempted to think that one  of 
 the translation scripts is the culprit, adding a ; per newline  maybe? I 
 am sorry not having taken a look into the ruby scripts, but  my ruby 
 knowledge is nihil.

The tex input file would be more useful. The mpgraph file is
autogenerated from that, after all.

Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] positiongraphics

2006-07-12 Thread Hans van der Meer

On Jul 12, 2006, at 10:21, Taco Hoekwater wrote:



 Hans van der Meer wrote:
 I send the offending mpgraph.mp file. It has ;'s all over. There  
 are  so
 many ;;'s and even some ;;;'s that I am tempted to think that one  of
 the translation scripts is the culprit, adding a ; per newline   
 maybe? I
 am sorry not having taken a look into the ruby scripts, but  my ruby
 knowledge is nihil.

 The tex input file would be more useful. The mpgraph file is
 autogenerated from that, after all.

I am afraid that isn't possible just now. The problem seems very  
specific in the placing of the footnote (narrow margin of error) and  
after editing my current text it has vanished. It looks like one of  
those erratic problems that tend to occur mostly when one is in a hurry.

Seeing the value of the shift:
 PlainTextArea:=boundingbox((95.23926pt,72.9016pt)--(95.23926pt, 
 72.9016pt);
 shifted (609.52148pt,476.59792pt));;
and considering I am using pages with a reduced height, I suspect  
this is just about equivalent to 1 \textheight. But the point is that  
inside a metapost statement boundingbox ... shifted ... a ; has  
appeared and that cannot be good.

Sorry not having a minimal example at hand at the moment. When less  
pressed for time I will do some experiments with changing pagefill (I  
guess best done by placing rules of varying height). Surely I will  
contact again if I found such an example.


 Taco
 ___
 ntg-context mailing list
 ntg-context@ntg.nl
 http://www.ntg.nl/mailman/listinfo/ntg-context

Hans van der Meer



___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] positiongraphics

2006-07-11 Thread Taco Hoekwater


Hans van der Meer wrote:
 I have some further information on the problem below.
 It turns out not something with position graphics.
 Instead it is a rogue footnote (that is being colored).
 It seems that this happens only when the footnote is at a particular  
 point on the page;
 it is therefore next to impossible to give a minimal example.

How large is it? Iff below 5MB, just email me directly.

Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] positiongraphics

2006-07-11 Thread Hans Hagen
Hans van der Meer wrote:
 First everything is OK and then suddenly I start getting errors in  
 (metafun) position graphics:

 ! Missing `)' has been inserted.
 to be read again
 ;
 l.118 ...926pt,72.9016pt)--(95.23926pt,72.9016pt);

 The  mpgraph.mp file says at this point:

 PlainTextArea:=boundingbox((95.23926pt,72.9016pt)--(95.23926pt, 
 72.9016pt);
 shifted (609.52148pt,476.59792pt));;

 What is happening?
   
can you make a minimal failing example? looks like an ; too much 

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
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] positiongraphics

2006-07-11 Thread Hans van der Meer
I send the offending mpgraph.mp file. It has ;'s all over. There are  
so many ;;'s and even some ;;;'s that I am tempted to think that one  
of the translation scripts is the culprit, adding a ; per newline  
maybe? I am sorry not having taken a look into the ruby scripts, but  
my ruby knowledge is nihil.




syllabus-s-mpgraph.mp
Description: Binary data


Hans van der Meer

On Jul 11, 2006, at 17:08, Hans Hagen wrote:


Hans van der Meer wrote:

First everything is OK and then suddenly I start getting errors in
(metafun) position graphics:

! Missing `)' has been inserted.
to be read again
;
l.118 ...926pt,72.9016pt)--(95.23926pt,72.9016pt);

The  mpgraph.mp file says at this point:

PlainTextArea:=boundingbox((95.23926pt,72.9016pt)--(95.23926pt,
72.9016pt);
shifted (609.52148pt,476.59792pt));;

What is happening?


can you make a minimal failing example? looks like an ; too much

Hans




___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] positiongraphics

2006-07-08 Thread Hans van der Meer
I have some further information on the problem below.
It turns out not something with position graphics.
Instead it is a rogue footnote (that is being colored).
It seems that this happens only when the footnote is at a particular  
point on the page;
it is therefore next to impossible to give a minimal example.

With some extra thought what happens seems to be this.

 PlainTextArea:=boundingbox((95.23926pt,72.9016pt)--(95.23926pt,  
 72.9016pt);

The area above is made and somehow finished with a semicolon.
Then the next part, the shift is put out:

 shifted (609.52148pt,476.59792pt));;

Together making a statement which is correct except for the  
intervening semicolon.
As it occurs only at specificly placed footnotes, it looks like a  
subtle flaw in the footnote background generation.

I would be happy for a solution, because otherwise typesetting text  
with footnotes could become a nightmare.

Hans van der Meer


On Jul 8, 2006, at 20:49, Hans van der Meer wrote:

 First everything is OK and then suddenly I start getting errors in
 (metafun) position graphics:

 ! Missing `)' has been inserted.
 to be read again
 ;
 l.118 ...926pt,72.9016pt)--(95.23926pt,72.9016pt);

 The  mpgraph.mp file says at this point:

 PlainTextArea:=boundingbox((95.23926pt,72.9016pt)--(95.23926pt,
 72.9016pt);
 shifted (609.52148pt,476.59792pt));;

 What is happening?



___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context