Re: [NTG-context] mptopdf problem: he is broken and asking for fix
On 03/26/2013 11:13 PM, Hans Hagen wrote: On 3/26/2013 10:07 PM, Martin Bruchanov wrote: Hi, I'm using: MPtoPDF 1.4.1 : running 'mpost --mem=mpost linejoin.mp' This is MetaPost, version 1.800 (kpathsea version 6.1.1dev) Attached sources give following error: This is MetaPost, version 1.800 (kpathsea version 6.1.1dev) 26 MAR 2013 22:04 **linejoin.mp (mpost.mp (/mnt/data/tex/texmf/metapost/base/plain.mp Preloading the plain mem file, version 1.004) ) (./linejoin.mp (./line_makro.mp) [1 ! This can't happen (degenerate spec). endfig-scantokens.extra_endfig;shipit; endgroup l.24 endfig ; I'm broken. Please show this to someone who can fix can fix So I hope, there is someone who can fix :) Next time, try to make a small example (i lack the time to zoom in to the smallest problem). Taco, Can this be a bug in mplib? Looks that way, yes. Investigating right now. Best wishes, Taco ___ 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 ___
Re: [NTG-context] mptopdf problem: he is broken and asking for fix
On 03/27/2013 09:17 AM, Taco Hoekwater wrote: On 03/26/2013 11:13 PM, Hans Hagen wrote: On 3/26/2013 10:07 PM, Martin Bruchanov wrote: Hi, ! This can't happen (degenerate spec). So I hope, there is someone who can fix :) Can this be a bug in mplib? Looks that way, yes. Investigating right now. Found, should be fixed in the next release. Best wishes, Taco ___ 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 ___
[NTG-context] mptopdf problem: he is broken and asking for fix
Hi, I'm using: MPtoPDF 1.4.1 : running 'mpost --mem=mpost linejoin.mp' This is MetaPost, version 1.800 (kpathsea version 6.1.1dev) Attached sources give following error: This is MetaPost, version 1.800 (kpathsea version 6.1.1dev) 26 MAR 2013 22:04 **linejoin.mp (mpost.mp (/mnt/data/tex/texmf/metapost/base/plain.mp Preloading the plain mem file, version 1.004) ) (./linejoin.mp (./line_makro.mp) [1 ! This can't happen (degenerate spec). endfig-scantokens.extra_endfig;shipit; endgroup l.24 endfig ; I'm broken. Please show this to someone who can fix can fix So I hope, there is someone who can fix :) Best regards, BruXy -- Martin Bruchanov Skype : bruxytronics WWW : http://bruxy.regnet.cz/ GPG-Key : http://bruxy.regnet.cz/bruxy-gpg.key (0x8107ED53) Linked-In : http://www.linkedin.com/in/bruxy Google+ : http://gplus.to/BruXy input line_makro.mp def drawjoin(text cap)(text move)(expr xsour)(text desc) = x0 := xsour; linejoin := cap; label.top(desc, z0+(0, 1u)); line(move)(tl, tlline); line(move)(.4bp, black); put_points(shifted (xsour, 0)); enddef; % Rohy navazujicich car beginfig(1); %% path p; z0 = (0,0); z1 = (1u,1u); z2 = (2u,0); p := z0--z1--z2; drawjoin(rounded)()(0)(rounded); drawjoin(beveled)(shifted z0)(3u)(beveled); drawjoin(mitered)(shifted z0)(6u)(mitered); endfig; end; def line(text t)(expr size,col) = draw p t withpen pencircle scaled size withcolor col; enddef; def bod(text t) = draw p t withpen pencircle scaled .4bp; enddef; def put_points(text t) = for i = z0,z1,z2: if i = z0: drawdot i withpen bodik; else: drawdot i t withpen bodik; fi; endfor; enddef; defaultfont := cmtt10; u := cm; % uzka carka nl := .4bp; pen bodik; bodik := pensquare scaled 2nl; color tlline; tlline := 0.7white; tl := 3mm; %drawdot (0,0) shifted (-1cm, 0) withpen bodik; pgp0gSdrUwMMq.pgp Description: PGP signature ___ 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 ___
Re: [NTG-context] mptopdf problem: he is broken and asking for fix
On 3/26/2013 10:07 PM, Martin Bruchanov wrote: Hi, I'm using: MPtoPDF 1.4.1 : running 'mpost --mem=mpost linejoin.mp' This is MetaPost, version 1.800 (kpathsea version 6.1.1dev) Attached sources give following error: This is MetaPost, version 1.800 (kpathsea version 6.1.1dev) 26 MAR 2013 22:04 **linejoin.mp (mpost.mp (/mnt/data/tex/texmf/metapost/base/plain.mp Preloading the plain mem file, version 1.004) ) (./linejoin.mp (./line_makro.mp) [1 ! This can't happen (degenerate spec). endfig-scantokens.extra_endfig;shipit; endgroup l.24 endfig ; I'm broken. Please show this to someone who can fix can fix So I hope, there is someone who can fix :) Next time, try to make a small example (i lack the time to zoom in to the smallest problem). Taco, Can this be a bug in mplib? \startMPpage def drawdot = addto currentpicture contour makepath currentpen enddef ; linejoin := mitered; drawdot withpen pensquare ; \stopMPpage It looks like mitered and pensquare pen building don't go along. 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 ___
[NTG-context] MPtoPDF problem
Hallo. Few days ago I migrated to Ubuntu 10.10 (Linux) and last stable ConTeXt minimals (2010.07.30 11:35 MKII) (from very old ConTeXt version). Now I found I can't run mptopdf: Command mptopdf chart.1 just prints chart.1 and an empty line Command mtxrun --script mptopdf chart.1 fails with these complaints: This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010) \write18 enabled. entering extended mode [MP to PDF] (./charts08.1{/home/qasar/programy/context_stable/tex/texmf/fonts/m ap/pdftex/plain/pdftex.map}) [1] !pdfTeX error: pdftex (file lmmi9): Font lmmi9 at 600 not found == Fatal error occurred, no output PDF file produced! MPtoPDF 1.4.0 : error while processing tex file And command mtxrun --script mptopdf chart.mp starts to compile something, than reports that it cannot write the log file and asks for another file name, and eventually fails with the same complaints as above. Can you possibly tell me what to do? Many thanks. Best wishes, Michal Kvasnicka ___ 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 ___
Re: [NTG-context] MPtoPDF problem
On 01/06/2011 03:59 PM, Michal Kvasnička wrote: Hallo. Few days ago I migrated to Ubuntu 10.10 (Linux) and last stable ConTeXt minimals (2010.07.30 11:35 MKII) (from very old ConTeXt version). Now I found I can't run mptopdf: Command mptopdf chart.1 just prints chart.1 and an empty line Not sure what goes wrong here. Command mtxrun --script mptopdf chart.1 fails with these complaints: This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010) \write18 enabled. entering extended mode [MP to PDF] (./charts08.1{/home/qasar/programy/context_stable/tex/texmf/fonts/m ap/pdftex/plain/pdftex.map}) [1] !pdfTeX error: pdftex (file lmmi9): Font lmmi9 at 600 not found == Fatal error occurred, no output PDF file produced! This probably means that you do not have the latin modern fonts installed. Check to make sure that you have all the texlive packages in ubuntu installed, the dependencies are not always perfect. Best wishes, Taco ___ 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 ___
[NTG-context] mptopdf problem
Hello, I have a miktex installed on xp. Not too long ago I made a update. Yesterday I noticed that mptopdf won't do its job anymore. As I made a copy before upgrading so I could check the behaviour with the old version. The old version (which runs) is mptopdf 1.21 The new version is 1.3 The errormessage is: This is pdfeTeX, Version 3.141592-1.21a-2.2 (MiKTeX 2.4) (preloaded format=mptopdf 2005.7.5) 6 JUL 2005 08:53 entering extended mode **fuenf.mp (fuenf.mp [MP to PDF] ! I can't find file `beginfig(1).tex'. to be read again When I replace the new file by the old one everything works again. Any suggestions? Wolfgang ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] mptopdf problem
Wolfgang Zillig wrote: Hello, I have a miktex installed on xp. Not too long ago I made a update. Yesterday I noticed that mptopdf won't do its job anymore. As I made a copy before upgrading so I could check the behaviour with the old version. The old version (which runs) is mptopdf 1.21 The new version is 1.3 The errormessage is: This is pdfeTeX, Version 3.141592-1.21a-2.2 (MiKTeX 2.4) (preloaded format=mptopdf 2005.7.5) 6 JUL 2005 08:53 entering extended mode **fuenf.mp (fuenf.mp [MP to PDF] ! I can't find file `beginfig(1).tex'. to be read again When I replace the new file by the old one everything works again. Hm, strange. Can you print $command ? { if ($miktex) { if ($dosish) { $command = pdfetex mptopdf } else { $command = pdfetex \\mptopdf } } else { if ($dosish) { $command = pdfetex -progname=context mptopdf } else { $command = pdfetex -progname=context \\mptopdf } } maybe changing the mptopdf into -fmt=mptopdf works better? (we needed the because of changes in the (e)fmt switch last year in pdftex, maybe we can drop that now, assuming that everyoen has a recent version) Hans - 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context