On 16-5-2012 01:45, Mojca Miklavec wrote:
Hello,
last year Taco added many patches to make sure that ConTeXt works even
when installed to "C:\Documents and Settings\ ..." and other weird
paths with spaces. However metapost in mkiv still fails. I figured out
that the following patch (which *won't* handle paths with quotation
marks properly) in mlib-run.lua fixes the problem:
local preamble = [[
boolean mplib ; mplib := true ;
let dump = endinput ;
- input %s ;
+ input "%s" ;
]]
I'm always a it puzzled by mp's file name handling as the name is not
really a string. MP oracle Taco has to speak up ...
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________