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 ___
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 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: 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
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
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
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'. 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
[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'. 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: metafun.mem error
Andreas Steiger <[EMAIL PROTECTED]> writes: Hello, > Well, after about a minute of tons of lines i get another error > message :(. could you please run texexec --make --alone mptopdf and post the resulting logfile? [...] > I can't find neither cont-en.efmt nor metafun.mem on my harddisk, > might it be there went something wrong during the installation? cont-en.efmt and metafun.mem are not shipped with ConTeXt. These should be generated during installation. How did you install ConTeXt? Patrick -- Silent is the goldfish in its bowl ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re[2]: [NTG-context] MPtoPDF problem: metafun.mem error
Hello David, Tuesday, August 19, 2003, 5:34:07 PM, you wrote: DA> Andreas, DA> First, type: DA> texexec --make --alone DA> and see what happens. Well, after about a minute of tons of lines i get another error message :(. loading : Context Support Macros / PDF ) ( \localtexmf\tex\context\base\supp-mpe.tex loading : Metapost Special Extensions ! Undefined control sequence. 1.537 \appendtoks These are the lines 530 to 546, I tried already do mark the specific lines as comment, but then other error messages appear. \def\stopMPshading {\global\advance\currentPDFshade \plusone \setxvalue{obj:Sh:\currentMPspecial}% {/Sh\the\currentPDFshade\space\the\pdflastobj\space0 R }% \setxvalue{mps:Sh:\currentMPspecial}% {\the\currentPDFshade}} \appendtoks \global\let\currentMPshades\empty \to \MPstartresources \appendtoks \ifx\currentMPshades\empty \else \xdef\currentPDFresources{\currentPDFresources /Shading <<\currentMPshades>>}% \fi \to \MPstopresources DA> Look in \localtexmf\miktex\fmt and check the dates of DA> cont-en.efmt. Look for a newly updated metafun.mem file. If there is one DA> there, move it to \localtexmf\miktex\mem. I can't find neither cont-en.efmt nor metafun.mem on my harddisk, might it be there went something wrong during the installation? -- Best regards, Andreas Steiger mailto:[EMAIL PROTECTED] ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] MPtoPDF problem: metafun.mem error
Andreas, First, type: texexec --make --alone and see what happens. Look in \localtexmf\miktex\fmt and check the dates of cont-en.efmt. Look for a newly updated metafun.mem file. If there is one there, move it to \localtexmf\miktex\mem. On some systems texexec --make --alone will dumpt the format files into the current directory. You must move them manually to the correct place: \localtexmf\miktex\fmt for format files, \localtexmf\miktex\mem for the metapost format files. Don't forget to refresh the filename database and make sure Yap is closed when you do so. At 05:28 PM 8/19/03 +0200, you wrote: >Hi, > > I'm trying to setup Metapost on my computer using Miktex (version > 2.2.6) but when I try to execute mptopdf.pl I get the following > error message: > > > TeXExec 3.2 - ConTeXt / PRAGME ADE 1997-2003 > > metapost : G:\metapost\height >format : metafun >initexmf: don't know how to dump metafun >cannot make metafun.mem >I can't found the feault mem file! > >total run time : 0 seconds > >MPtoPDF 1.2 : error while processing mp file > > > I tried already different things (like changing paths) but nothing > worked :(. How could I solve my problem? >-- >Best regards, > Andreas mailto:[EMAIL PROTECTED] > >___ >ntg-context mailing list >[EMAIL PROTECTED] >http://www.ntg.nl/mailman/listinfo/ntg-context > > ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] MPtoPDF problem: metafun.mem error
Hi, I'm trying to setup Metapost on my computer using Miktex (version 2.2.6) but when I try to execute mptopdf.pl I get the following error message: TeXExec 3.2 - ConTeXt / PRAGME ADE 1997-2003 metapost : G:\metapost\height format : metafun initexmf: don't know how to dump metafun cannot make metafun.mem I can't found the feault mem file! total run time : 0 seconds MPtoPDF 1.2 : error while processing mp file I tried already different things (like changing paths) but nothing worked :(. How could I solve my problem? -- Best regards, Andreas mailto:[EMAIL PROTECTED] ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context