Re: [NTG-context] Does Makempy still work?
On Thu, Aug 19, 2010 at 19:10, Hans Hagen pra...@wxs.nl wrote: On 19-8-2010 6:25, luigi scarso wrote: Well, actually I tried pstoedit 3.45 on Fedora and it works like a charm. and it also works under windows7 with mkii and mkiv Can you put 3.45 someplace so that I can downgrade? I downloaded the sources from sourceforge.net/projects/pstoedit. I had to patch them though. A don't really know how to issue a patch file so here is what I modified from what I found on the Internet: * file dynload.cpp, line 141: #elif -- #else * file cppcomp.h, line after the first comments, top of the file : I added #include cstring #include cstdlib It then buit successfully I it works. I send a bug report for the 3.50 version. Thanks for your help in sourting this out. -- Cédric 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 ___ ___ 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] Does Makempy still work?
On Wed, Aug 18, 2010 at 9:04 AM, Cedric Mauclair cedric.maucl...@gmail.com wrote: Hi, As suggested by Hans, here is an archive with the tex file I used for the tests and the resulting -mpgraph PDF file (plus all the logs and stuff). It looks OK, but when I use pstoedit -f mpost (v3.50 with gs v8.70), only e, m and c from the formula are in the resulting metapost code. I will try with pstoedit v3.45 later today. I use ConTeXt (MkIV) from TeXlive 2010 pretest. If anyone has enough knowledge in gs and PDF files (Luigi?) and especially enough time, could you give it a look please? Thanks in advance. I will send the PDF to the author of pstoedit too. #texexec makempy.tex works ok under windows 7 and pstoedit 3.50 I've changed scaled 10 with scaled 5 \starttext \startMPcode input mp-grph ; graphictext MP $e=mc^2$ MP scaled 5 withdrawcolor .7blue withfillcolor .7white withpen pencircle scaled 2pt ; \stopMPcode \stoptext For mkiv, I suspect that gs has some problems with pdfs made by context -- luigi ___ 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] Does Makempy still work?
On Thu, Aug 19, 2010 at 17:46, luigi scarso luigi.sca...@gmail.com wrote: On Wed, Aug 18, 2010 at 9:04 AM, Cedric Mauclair cedric.maucl...@gmail.com wrote: Hi, As suggested by Hans, here is an archive with the tex file I used for the tests and the resulting -mpgraph PDF file (plus all the logs and stuff). It looks OK, but when I use pstoedit -f mpost (v3.50 with gs v8.70), only e, m and c from the formula are in the resulting metapost code. I will try with pstoedit v3.45 later today. I use ConTeXt (MkIV) from TeXlive 2010 pretest. If anyone has enough knowledge in gs and PDF files (Luigi?) and especially enough time, could you give it a look please? Thanks in advance. I will send the PDF to the author of pstoedit too. #texexec makempy.tex works ok under windows 7 and pstoedit 3.50 I've changed scaled 10 with scaled 5 \starttext \startMPcode input mp-grph ; graphictext MP $e=mc^2$ MP scaled 5 withdrawcolor .7blue withfillcolor .7white withpen pencircle scaled 2pt ; \stopMPcode \stoptext Well, actually I tried pstoedit 3.45 on Fedora and it works like a charm. So it do come from pstoedit v3.50. I still have to send the file to the autro though, but I don't have much time these days. I'll try to do it this week-end. Thanks for the answer. -- Cédric For mkiv, I suspect that gs has some problems with pdfs made by context -- luigi ___ 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 ___ ___ 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] Does Makempy still work?
On Thu, Aug 19, 2010 at 5:53 PM, Cedric Mauclair cedric.maucl...@gmail.com wrote: On Thu, Aug 19, 2010 at 17:46, luigi scarso luigi.sca...@gmail.com wrote: On Wed, Aug 18, 2010 at 9:04 AM, Cedric Mauclair cedric.maucl...@gmail.com wrote: Hi, As suggested by Hans, here is an archive with the tex file I used for the tests and the resulting -mpgraph PDF file (plus all the logs and stuff). It looks OK, but when I use pstoedit -f mpost (v3.50 with gs v8.70), only e, m and c from the formula are in the resulting metapost code. I will try with pstoedit v3.45 later today. I use ConTeXt (MkIV) from TeXlive 2010 pretest. If anyone has enough knowledge in gs and PDF files (Luigi?) and especially enough time, could you give it a look please? Thanks in advance. I will send the PDF to the author of pstoedit too. #texexec makempy.tex works ok under windows 7 and pstoedit 3.50 I've changed scaled 10 with scaled 5 \starttext \startMPcode input mp-grph ; graphictext MP $e=mc^2$ MP scaled 5 withdrawcolor .7blue withfillcolor .7white withpen pencircle scaled 2pt ; \stopMPcode \stoptext Well, actually I tried pstoedit 3.45 on Fedora and it works like a charm. and it also works under windows7 with mkii and mkiv -- luigi ___ 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] Does Makempy still work?
On 19-8-2010 6:25, luigi scarso wrote: Well, actually I tried pstoedit 3.45 on Fedora and it works like a charm. and it also works under windows7 with mkii and mkiv Can you put 3.45 someplace so that I can downgrade? 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 ___
Re: [NTG-context] Does Makempy still work?
Hi, As suggested by Hans, here is an archive with the tex file I used for the tests and the resulting -mpgraph PDF file (plus all the logs and stuff). It looks OK, but when I use pstoedit -f mpost (v3.50 with gs v8.70), only e, m and c from the formula are in the resulting metapost code. I will try with pstoedit v3.45 later today. I use ConTeXt (MkIV) from TeXlive 2010 pretest. If anyone has enough knowledge in gs and PDF files (Luigi?) and especially enough time, could you give it a look please? Thanks in advance. I will send the PDF to the author of pstoedit too. Thanks. -- Cédric On Tue, Aug 17, 2010 at 18:18, Hans Hagen pra...@wxs.nl wrote: On 17-8-2010 6:15, Cedric Mauclair wrote: I think I will do that or investigate the dynload problem to get pstoedit 3.44 to work. or both -) - 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 - makempy-test.tbz Description: application/bzip-compressed-tar ___ 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] Does Makempy still work?
Hi everybody, I tried to make a Metapost outline by following the mmakempy manual but it didn't work. As I saw that makempy and makempy.bat files were removed in 2010 (I don't remember the date), my question is: is it still usable/valid feature? I processed the example from the manual, both from a standalone mp file and a tex file (which follows): \starttext \startMPcode input mp-grph ; beginfig(1) ; graphictext $e=mc^2$ scaled 10 dashed evenly withdrawcolor .7blue withfillcolor .7white withpen pencircle scaled 2pt ; endfig ; \stopMPcode \stoptext It sucessfully created the test-mpgraph.pdf with the text processed by TeX but the result page is blank, though it seems the graphic is on a line by itself (seen from another document where all the lines go down). When the mp file is processed with mtxrun --script mptopdf, it warns of a width and height of less than 1in when it tries to convert from ps to pdf. When the tex file is processed with mtxrun --script context, it complains that metapost had a problem flushing a literal and that it couldn't find pstoedit. Of course, this could be the problem, but I have no idea of how I could get around this. By the way, I use the TeXlive 2010 pretest. Thanks. -- Cédric ___ 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] Does Makempy still work?
On 17-8-2010 9:49, Cedric Mauclair wrote: Hi everybody, I tried to make a Metapost outline by following the mmakempy manual but it didn't work. As I saw that makempy and makempy.bat files were removed in 2010 (I don't remember the date), my question is: is it still usable/valid feature? I processed the example from the manual, both from a standalone mp file and a tex file (which follows): \starttext \startMPcode input mp-grph ; beginfig(1) ; graphictext $e=mc^2$ scaled 10 dashed evenly withdrawcolor .7blue withfillcolor .7white withpen pencircle scaled 2pt ; endfig ; \stopMPcode \stoptext It sucessfully created the test-mpgraph.pdf with the text processed by TeX but the result page is blank, though it seems the graphic is on a line by itself (seen from another document where all the lines go down). When the mp file is processed with mtxrun --script mptopdf, it warns of a width and height of less than 1in when it tries to convert from ps to pdf. When the tex file is processed with mtxrun --script context, it complains that metapost had a problem flushing a literal and that it couldn't find pstoedit. Of course, this could be the problem, but I have no idea of how I could get around this. By the way, I use the TeXlive 2010 pretest. do you have pstoedit installed? - 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 ___
Re: [NTG-context] Does Makempy still work?
I thought this would come with TeXlive or ConTeXt. It solved the problem obviously, sorry for not trying it before calling for help. Also, I removed beginfig...endfig; from the tex file. However, now I can only see e mc. No = nor 2. Is there a special version of pstoedit to install? I got mine from http://www.helga-glunz.homepage.t-online.de/pstoedit/. -- Cédric On Tue, Aug 17, 2010 at 10:45, Hans Hagen pra...@wxs.nl wrote: On 17-8-2010 9:49, Cedric Mauclair wrote: Hi everybody, I tried to make a Metapost outline by following the mmakempy manual but it didn't work. As I saw that makempy and makempy.bat files were removed in 2010 (I don't remember the date), my question is: is it still usable/valid feature? I processed the example from the manual, both from a standalone mp file and a tex file (which follows): \starttext \startMPcode input mp-grph ; beginfig(1) ; graphictext $e=mc^2$ scaled 10 dashed evenly withdrawcolor .7blue withfillcolor .7white withpen pencircle scaled 2pt ; endfig ; \stopMPcode \stoptext It sucessfully created the test-mpgraph.pdf with the text processed by TeX but the result page is blank, though it seems the graphic is on a line by itself (seen from another document where all the lines go down). When the mp file is processed with mtxrun --script mptopdf, it warns of a width and height of less than 1in when it tries to convert from ps to pdf. When the tex file is processed with mtxrun --script context, it complains that metapost had a problem flushing a literal and that it couldn't find pstoedit. Of course, this could be the problem, but I have no idea of how I could get around this. By the way, I use the TeXlive 2010 pretest. do you have pstoedit installed? - 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 ___
Re: [NTG-context] Does Makempy still work?
I forgot to mention that the spacing is correct though nothing appears (file included). -- Cédric On Tue, Aug 17, 2010 at 10:53, Cedric Mauclair cedric.maucl...@gmail.com wrote: I thought this would come with TeXlive or ConTeXt. It solved the problem obviously, sorry for not trying it before calling for help. Also, I removed beginfig...endfig; from the tex file. However, now I can only see e mc. No = nor 2. Is there a special version of pstoedit to install? I got mine from http://www.helga-glunz.homepage.t-online.de/pstoedit/. -- Cédric On Tue, Aug 17, 2010 at 10:45, Hans Hagen pra...@wxs.nl wrote: On 17-8-2010 9:49, Cedric Mauclair wrote: Hi everybody, I tried to make a Metapost outline by following the mmakempy manual but it didn't work. As I saw that makempy and makempy.bat files were removed in 2010 (I don't remember the date), my question is: is it still usable/valid feature? I processed the example from the manual, both from a standalone mp file and a tex file (which follows): \starttext \startMPcode input mp-grph ; beginfig(1) ; graphictext $e=mc^2$ scaled 10 dashed evenly withdrawcolor .7blue withfillcolor .7white withpen pencircle scaled 2pt ; endfig ; \stopMPcode \stoptext It sucessfully created the test-mpgraph.pdf with the text processed by TeX but the result page is blank, though it seems the graphic is on a line by itself (seen from another document where all the lines go down). When the mp file is processed with mtxrun --script mptopdf, it warns of a width and height of less than 1in when it tries to convert from ps to pdf. When the tex file is processed with mtxrun --script context, it complains that metapost had a problem flushing a literal and that it couldn't find pstoedit. Of course, this could be the problem, but I have no idea of how I could get around this. By the way, I use the TeXlive 2010 pretest. do you have pstoedit installed? - 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 - makempy.pdf Description: Adobe PDF document ___ 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] Does Makempy still work?
I tried some other text and it appears that it can display (some) maths, but no text. graphictext something scaled 10 withdrawcolor red withfillcolor green withpen pencircle scaled 2pt ; doesn't work either. P.S. : I am sorry, I just noticed the object of the message does not start like the others. -- Cédric On Tue, Aug 17, 2010 at 10:55, Cedric Mauclair cedric.maucl...@gmail.com wrote: I forgot to mention that the spacing is correct though nothing appears (file included). -- Cédric On Tue, Aug 17, 2010 at 10:53, Cedric Mauclair cedric.maucl...@gmail.com wrote: I thought this would come with TeXlive or ConTeXt. It solved the problem obviously, sorry for not trying it before calling for help. Also, I removed beginfig...endfig; from the tex file. However, now I can only see e mc. No = nor 2. Is there a special version of pstoedit to install? I got mine from http://www.helga-glunz.homepage.t-online.de/pstoedit/. -- Cédric On Tue, Aug 17, 2010 at 10:45, Hans Hagen pra...@wxs.nl wrote: On 17-8-2010 9:49, Cedric Mauclair wrote: Hi everybody, I tried to make a Metapost outline by following the mmakempy manual but it didn't work. As I saw that makempy and makempy.bat files were removed in 2010 (I don't remember the date), my question is: is it still usable/valid feature? I processed the example from the manual, both from a standalone mp file and a tex file (which follows): \starttext \startMPcode input mp-grph ; beginfig(1) ; graphictext $e=mc^2$ scaled 10 dashed evenly withdrawcolor .7blue withfillcolor .7white withpen pencircle scaled 2pt ; endfig ; \stopMPcode \stoptext It sucessfully created the test-mpgraph.pdf with the text processed by TeX but the result page is blank, though it seems the graphic is on a line by itself (seen from another document where all the lines go down). When the mp file is processed with mtxrun --script mptopdf, it warns of a width and height of less than 1in when it tries to convert from ps to pdf. When the tex file is processed with mtxrun --script context, it complains that metapost had a problem flushing a literal and that it couldn't find pstoedit. Of course, this could be the problem, but I have no idea of how I could get around this. By the way, I use the TeXlive 2010 pretest. do you have pstoedit installed? - 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 ___
Re: [NTG-context] Does Makempy still work?
On 17-8-2010 10:53, Cedric Mauclair wrote: \starttext \startMPcode input mp-grph ; beginfig(1) ; graphictext $e=mc^2$ scaled 10 dashed evenly withdrawcolor .7blue withfillcolor .7white withpen pencircle scaled 2pt ; endfig ; \stopMPcode \stoptext looks like a bug in pstoedit as indeed the = and ^ are gone 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 ___
Re: [NTG-context] Does Makempy still work?
Thats what I figured out. I have the 3.50 version as it is the only I can build on my machine. All prior versions configure well but do not compile due to some dynload problem. (dynload.cpp:141:6: error: #elif with no expression). When I launch pstoedit -f mpost, it only outputs the e, m and c. -- Cédric On Tue, Aug 17, 2010 at 18:08, Hans Hagen pra...@wxs.nl wrote: On 17-8-2010 10:53, Cedric Mauclair wrote: \starttext \startMPcode input mp-grph ; beginfig(1) ; graphictext $e=mc^2$ scaled 10 dashed evenly withdrawcolor .7blue withfillcolor .7white withpen pencircle scaled 2pt ; endfig ; \stopMPcode \stoptext looks like a bug in pstoedit as indeed the = and ^ are gone 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 ___
Re: [NTG-context] Does Makempy still work?
I think I will do that or investigate the dynload problem to get pstoedit 3.44 to work. Thanks a lot. -- Cédric On Tue, Aug 17, 2010 at 18:12, Hans Hagen pra...@wxs.nl wrote: Hi, \starttext \startMPcode graphictext $e=mc^2$ scaled 10 dashed evenly withdrawcolor .7blue withfillcolor .7white withpen pencircle scaled 2pt ; \stopMPcode \stoptext there is a file *-mpgraph.pdf afterwards and that looks ok, but the mpy file has only three paths so it must be something in pstoedit (or gs) you can consider sending the pdf file to the maintainer (or convince luigi to look into it as he knows gs well) 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 ___
Re: [NTG-context] Does Makempy still work?
On 17-8-2010 6:15, Cedric Mauclair wrote: I think I will do that or investigate the dynload problem to get pstoedit 3.44 to work. or both -) - 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 ___