Hi all, with latest ConTeXt MKIV Metapost Labels doesn't work for me anymore. My Code: \starttext \startMPcode label(textext("Test"),origin); \stopMPcode \stoptext The Output only shows the word "mpout" as the Label. There seems to be a Problem with externalfigure too. With: \starttext \startMPcode externalfigure "blblogogr.pdf" xscaled 35mm yscaled 19mm shifted (13mm,15mm); \stopMPcode \stoptext I get the error message: metapost > loading 'metafun.mp' (experimental metapost version two) ! Emergency stop. <inserted text> ...re.mp ; fi ; ;;;;]===], false)} \processMPgraphic ...e ;\!!es , \MPaskedfigure )}} \egroup \placeMPgraphic \d... l.5 \stopMPcode ! ==> Fatal error occurred, no output PDF file produced! mtx-context | fatal error: return code: 1>Exit code: 1 With: \starttext \startMPcode externalfigure "blblogogr.pdf"; \stopMPcode \stoptext There is no errormessage and no picture in the output. I hope, these are not all my ignorant faults, like always :-) Greetings Lutz
On Tue, Mar 1, 2011 at 11:17 AM, Lutz Haseloff
Hi all,
with latest ConTeXt MKIV Metapost Labels doesn't work for me anymore. My Code:
\starttext \startMPcode label(textext("Test"),origin); \stopMPcode \stoptext
The Output only shows the word "mpout" as the Label. not here with current version: 2011.02.25 22:03 %%test \starttext \startTEXpage \startMPcode draw origin-(20,0) .. origin+(0,20) .. origin+(20,0) .. origin+(0,-20) .. cycle; label(textext("Test"),origin); \stopMPcode \stopTEXpage \stoptext
There seems to be a Problem with externalfigure too.
With:
\starttext \startMPcode externalfigure "blblogogr.pdf" xscaled 35mm yscaled 19mm shifted (13mm,15mm); \stopMPcode \stoptext
I get the error message:
metapost > loading 'metafun.mp' (experimental metapost version two) ! Emergency stop. <inserted text> ...re.mp ; fi ; ;;;;]===], false)}
\processMPgraphic ...e ;\!!es , \MPaskedfigure )}} \egroup \placeMPgraphic \d... l.5 \stopMPcode
! ==> Fatal error occurred, no output PDF file produced! mtx-context | fatal error: return code: 1>Exit code: 1
With:
\starttext \startMPcode externalfigure "blblogogr.pdf"; \stopMPcode \stoptext
There is no errormessage and no picture in the output.
not here, but I must admit that xscaled and yscaled are a bit strange. -- luigi
not here with current version: 2011.02.25 22:03 %%test \starttext \startTEXpage \startMPcode draw origin-(20,0) .. origin+(0,20) .. origin+(20,0) .. origin+(0,-20) .. cycle; label(textext("Test"),origin); \stopMPcode \stopTEXpage \stoptext
The problem occures with luatex rev 4088, no problem with 4050 or 4060
On Tue, Mar 1, 2011 at 12:23 PM, Lutz Haseloff
not here with current version: 2011.02.25 22:03 %%test \starttext \startTEXpage \startMPcode draw origin-(20,0) .. origin+(0,20) .. origin+(20,0) .. origin+(0,-20) .. cycle; label(textext("Test"),origin); \stopMPcode \stopTEXpage \stoptext
ah ok. -- luigi
On 1-3-2011 11:17, Lutz Haseloff wrote:
Hi all,
with latest ConTeXt MKIV Metapost Labels doesn't work for me anymore. My Code:
\starttext \startMPcode label(textext("Test"),origin); \stopMPcode \stoptext
The Output only shows the word "mpout" as the Label.
works ok here
There seems to be a Problem with externalfigure too.
With:
\starttext \startMPcode externalfigure "blblogogr.pdf" xscaled 35mm yscaled 19mm shifted (13mm,15mm); \stopMPcode \stoptext
I get the error message:
metapost> loading 'metafun.mp' (experimental metapost version two)
beware: 35cm is a scale factor so the natural size gets scaled by 35 * cm (a constant) use xsized and ysized instead (or just one to stay in proportion) ----------------------------------------------------------------- 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 -----------------------------------------------------------------
I just tested luatex rev 4090:
--------------
\starttext
\startMPpage
externalfigure "blblogo.pdf" scaled .4 ;
%label(textext("Test"),origin);
\stopMPpage
\stoptext
--------------
gives no error message and an empty pdf 1mmx5mm
--------------
\starttext
\startMPpage
%externalfigure "blblogo.pdf" scaled .4 ;
label(textext("Test"),origin);
\stopMPpage
\stoptext
--------------
results in "mpout"
--------------
\starttext
\startMPpage
externalfigure "blblogo.pdf" scaled .4 ;
label(textext("Test"),origin);
\stopMPpage
\stoptext
--------------
gives:
metapost > initializing instance 'metafun' using format 'metafun'
metapost > loading 'metafun.mp' (experimental metapost version two)
! String contains an invalid utf-8 sequence.
l.6
_number=2
<inserted text> ...re.mp ; fi ; ;;;;]===], false)}
\processMPgraphic ...e ;\!!es , \MPaskedfigure )}}
\egroup \placeMPgraphic \d...
\dostartMPpage ...??mg ][#1]\processMPgraphic {#2}
\dostopfittingpage
l.5 \stopMPpage
?
All three files compile as expected with luatex rev 4086
Greetings Lutz
2011/3/1 Hans Hagen
On 1-3-2011 11:17, Lutz Haseloff wrote:
Hi all,
with latest ConTeXt MKIV Metapost Labels doesn't work for me anymore. My Code:
\starttext \startMPcode label(textext("Test"),origin); \stopMPcode \stoptext
The Output only shows the word "mpout" as the Label.
works ok here
There seems to be a Problem with externalfigure too.
With:
\starttext \startMPcode externalfigure "blblogogr.pdf" xscaled 35mm yscaled 19mm shifted (13mm,15mm); \stopMPcode \stoptext
I get the error message:
metapost> loading 'metafun.mp' (experimental metapost version two)
beware: 35cm is a scale factor so the natural size gets scaled by 35 * cm (a constant)
use xsized and ysized instead (or just one to stay in proportion)
----------------------------------------------------------------- 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 -----------------------------------------------------------------
Hi, Not having blblogo.pdf, I used cow.pdf for the tests below. I use luatex 0.66.0 (rev 4090) hand-built on linux32, and Context 2011.02.25 22:03 MKIV (received privately from Hans) With that configuration, all three tests function exactly as they should, so it is almost certainly not luatex that is causing trouble. It could be a bug in one of the previous beta's, or a local/minimals misconfiguration. Best wishes, Taco
2011/3/2 Taco Hoekwater
Hi,
Not having blblogo.pdf, I used cow.pdf for the tests below. I use luatex 0.66.0 (rev 4090) hand-built on linux32, and Context 2011.02.25 22:03 MKIV (received privately from Hans)
With that configuration, all three tests function exactly as they should, so it is almost certainly not luatex that is causing trouble. It could be a bug in one of the previous beta's, or a local/minimals misconfiguration.
The same errors occure with cow.pdf. I update my minimals by deleting the content of texmf-context and unpacking cont-tmf.zip from pragma. If I change only the luatex.dll to prior of 4088 all works fine. Perhaps a bug in Akira Kakutos binary? I use context minimals on Windows 7 64bit.
Best wishes, Taco
Akiras luatex rev 4090 updated on 20110303 work again as expected.
Greetings Lutz
2011/3/3 Lutz Haseloff
2011/3/2 Taco Hoekwater
: Hi,
Not having blblogo.pdf, I used cow.pdf for the tests below. I use luatex 0.66.0 (rev 4090) hand-built on linux32, and Context 2011.02.25 22:03 MKIV (received privately from Hans)
With that configuration, all three tests function exactly as they should, so it is almost certainly not luatex that is causing trouble. It could be a bug in one of the previous beta's, or a local/minimals misconfiguration.
The same errors occure with cow.pdf. I update my minimals by deleting the content of texmf-context and unpacking cont-tmf.zip from pragma.
If I change only the luatex.dll to prior of 4088 all works fine.
Perhaps a bug in Akira Kakutos binary?
I use context minimals on Windows 7 64bit.
Best wishes, Taco
Akiras luatex.dll rev 4090 updated on 20110303 works again as expected.
2011/3/3 Lutz Haseloff
2011/3/2 Taco Hoekwater
: Hi,
Not having blblogo.pdf, I used cow.pdf for the tests below. I use luatex 0.66.0 (rev 4090) hand-built on linux32, and Context 2011.02.25 22:03 MKIV (received privately from Hans)
With that configuration, all three tests function exactly as they should, so it is almost certainly not luatex that is causing trouble. It could be a bug in one of the previous beta's, or a local/minimals misconfiguration.
The same errors occure with cow.pdf. I update my minimals by deleting the content of texmf-context and unpacking cont-tmf.zip from pragma.
If I change only the luatex.dll to prior of 4088 all works fine.
Perhaps a bug in Akira Kakutos binary?
I use context minimals on Windows 7 64bit.
Best wishes, Taco
participants (4)
-
Hans Hagen
-
luigi scarso
-
Lutz Haseloff
-
Taco Hoekwater