View Issue Details

IDProjectCategoryView StatusLast Update
0000731contextbug reportpublic2017-01-19 19:32
Reportermojca Assigned ToTaco  
PrioritylowSeverityminorReproducibilityalways
Status closedResolutionfixed 
Platformunix 
Summary0000731: installation with spaces doesn't work for metapost
DescriptionA simple script like the following:

\starttext
\startMPcode
draw externalfigure "a.png" scaled 5cm;
\stopMPcode
\stoptext

doesn't work when ConTeXt is installed in path with spaces.
Additional Informationmetapost > loading 'metafun': /Users/mojca/ConTeXt/ConTeXt
 Minimals/tex/texmf-context/metapost/context/base/metafun.mpiv
 ! terminal: This is MetaPost, Version 1.504



 (/Users/mojca/ConTeXt/ConTeXt Minimals/tex/texmf-context/scripts/context/stubs/
 unix/context
 >> #!
 >> bin
 ! Not implemented: (unknown numeric)/(unknown numeric).
 <to be read again>
                   /
 l.1 #!/bin/
           sh
 >> bin
 >> sh.mtxrun--script.context
 ! Not implemented: (unknown numeric)/(unknown numeric).
 <to be read again>
                   "$@"
 l.2 mtxrun --script context "$@"

 >> sh.mtxrun--script.context
 ! Isolated expression.
 <to be read again>
                   "$@"
 l.2 mtxrun --script context "$@"

 ! Extra tokens will be flushed.
 <to be read again>
                   "$@"
 l.2 mtxrun --script context "$@"

 )
 ! File ended while scanning to the end of the statement.
 <inserted text>
                ;
 <*> input /Users/mojca/ConTeXt/ConTeXt
                                               Minimals/tex/texmf-context/me...

 >> Minimals
 >> tex
 ! Not implemented: (unknown numeric)/(unknown numeric).
 <to be read again>
                   /
 <*> ... /Users/mojca/ConTeXt/ConTeXt Minimals/tex/
                                                  texmf-context/metapost/con...

 >> tex
 >> texmf
 ! Not implemented: (unknown numeric)/(unknown numeric).
 <to be read again>
                   -
 <*> ...s/mojca/ConTeXt/ConTeXt Minimals/tex/texmf-
                                                  context/metapost/context/b...

 >> context
 >> metapost
 ! Not implemented: (unknown numeric)/(unknown numeric).
 <to be read again>
                   /
 <*> ...onTeXt Minimals/tex/texmf-context/metapost/
                                                  context/base/metafun.mpiv ;
 >> metapost
 >> context
 ! Not implemented: (unknown numeric)/(unknown numeric).
 <to be read again>
                   /
 <*> ...inimals/tex/texmf-context/metapost/context/
                                                  base/metafun.mpiv ;
 >> context
 >> base
 ! Not implemented: (unknown numeric)/(unknown numeric).
 <to be read again>
                   /
 <*> ...ls/tex/texmf-context/metapost/context/base/
                                                  metafun.mpiv ;
 >> base
 >> metafun.mpiv
 ! Not implemented: (unknown numeric)/(unknown numeric).
 <to be read again>
                   ;
 <*> ...ontext/metapost/context/base/metafun.mpiv ;

 >> -metafun.mpiv+texmf
 ! Isolated expression.
 <to be read again>
                   ;
 <*> ...ontext/metapost/context/base/metafun.mpiv ;



 .

 system > tex > error on line 5 in file a.tex: terminal: This
 is MetaPost, Version 1.504



 (/Users/mojca/ConTeXt/ConTeXt Minimals/tex/texmf-context/scripts/context/stubs/
 unix/context
 >> #!
 >> bin
 ! Not implemented: (unknown numeric)/(unknown numeric).
 <to be read again>
                   /
 l.1 #!/bin/
           sh
 >> bin
 >> sh.mtxrun--script.context
 ! Not implemented: (unknown numeric)/(unknown numeric).
 <to be read again>
                   "$@"
 l.2 mtxrun --script context "$@"

 >> sh.mtxrun--script.context
 ! Isolated expression.
 <to be read again>
                   "$@"
 l.2 mtxrun --script context "$@"

 ! Extra tokens will be flushed.
 <to be read again>
                   "$@"
 l.2 mtxrun --script context "$@"

 )
 ! File ended while scanning to the end of the statement.
 <inserted text>
                ;
 <*> input /Users/mojca/ConTeXt/ConTeXt
                                               Minimals/tex/texmf-context/me...

 >> Minimals
 >> tex
 ! Not implemented: (unknown numeric)/(unknown numeric).
 <to be read again>
                   /
 <*> ... /Users/mojca/ConTeXt/ConTeXt Minimals/tex/
                                                  texmf-context/metapost/con...

 >> tex
 >> texmf
 ! Not implemented: (unknown numeric)/(unknown numeric).
 <to be read again>
                   -
 <*> ...s/mojca/ConTeXt/ConTeXt Minimals/tex/texmf-
                                                  context/metapost/context/b...

 >> context
 >> metapost
 ! Not implemented: (unknown numeric)/(unknown numeric).
 <to be read again>
                   /
 <*> ...onTeXt Minimals/tex/texmf-context/metapost/
                                                  context/base/metafun.mpiv ;
 >> metapost
 >> context
 ! Not implemented: (unknown numeric)/(unknown numeric).
 <to be read again>
                   /
 <*> ...inimals/tex/texmf-context/metapost/context/
                                                  base/metafun.mpiv ;
 >> context
 >> base
 ! Not implemented: (unknown numeric)/(unknown numeric).
 <to be read again>
                   /
 <*> ...ls/tex/texmf-context/metapost/context/base/
                                                  metafun.mpiv ;
 >> base
 >> metafun.mpiv
 ! Not implemented: (unknown numeric)/(unknown numeric).
 <to be read again>
                   ;
 <*> ...ontext/metapost/context/base/metafun.mpiv ;

 >> -metafun.mpiv+texmf
 ! Isolated expression.
 <to be read again>
                   ;
 <*> ...ontext/metapost/context/base/metafun.mpiv ;



  ...

 1 \starttext
 2 a
 3 \startMPcode
 4 draw externalfigure "a.png" scaled 5cm;
 5 >> \stopMPcode
 6 \stoptext
 7
 8

 <inserted text> ...ainTextArea; ;;;;]===], false)}

 \processMPgraphic ...e ;\!!es , \MPaskedfigure )}}
                                                  \egroup \placeMPgraphic \d...
 l.5 \stopMPcode

 ?
TagsNo tags attached.

Activities

Hans Hagen

2017-01-19 19:32

manager   ~0001666

looks ok in mkiv

Issue History

Date Modified Username Field Change
2011-11-03 18:04 mojca New Issue
2011-11-03 18:04 mojca Status new => assigned
2011-11-03 18:04 mojca Assigned To => Taco
2017-01-19 19:32 Hans Hagen Note Added: 0001666
2017-01-19 19:32 Hans Hagen Status assigned => closed
2017-01-19 19:32 Hans Hagen Resolution open => fixed