Re: [NTG-context] mplib logging

2009-05-14 Thread Peter Rolf

Peter Rolf schrieb:

Hi,

how do I enable (verbose) logging of mplib? I have problems with a 
corrupt pdf (the last paint form xobject is empty: .../Fm6 Do Q 
endstream endobj). No errors or warnings in the ConTeXt log (actual? 
beta). The same code works with mkii. No minimal example yet.



found the culprit. i reuse (hashing) /FunctionType3 definitions and this 
is the cause of the trouble. there seems to be some runtime problems 
(time when object number is written) in my lua/tex code. in the breaking 
example the function definition was defined as obj 6 instead of the 
xobject form. without hashing ('old code kept for readability') there 
are no problems.


sorry for the noise.

Peter


Peter


___ 

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___ 





___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] mplib logging

2009-05-13 Thread Hans Hagen

Peter Rolf wrote:

Hi,

how do I enable (verbose) logging of mplib? I have problems with a 
corrupt pdf (the last paint form xobject is empty: .../Fm6 Do Q 
endstream endobj). No errors or warnings in the ConTeXt log (actual? 
beta). The same code works with mkii. No minimal example yet.


\nopdfcompression

and then look in the pdf file to see if there's something weird in XForm  6


-
  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
-
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] mplib logging

2009-05-13 Thread Peter Rolf

Hans Hagen schrieb:

Peter Rolf wrote:

Hi,

how do I enable (verbose) logging of mplib? I have problems with a 
corrupt pdf (the last paint form xobject is empty: .../Fm6 Do Q 
endstream endobj). No errors or warnings in the ConTeXt log (actual? 
beta). The same code works with mkii. No minimal example yet.


\nopdfcompression

and then look in the pdf file to see if there's something weird in 
XForm  6


ah, looks like my pdf/ps code understanding is not good enough. do you 
mean the xobject declaring 'mps graphic 6'?
i haven't found much information for the \Fm pattern, so i don't know 
how to connect the resources...





-
  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
-
___ 

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___ 





___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___