[NTG-context] fixing mpiv on installation path with spaces
Hans Hagen
pragma at wxs.nl
Wed May 16 09:15:19 CEST 2012
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
-----------------------------------------------------------------
More information about the ntg-context
mailing list