ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Does Makempy still work?
@ 2010-08-17  7:49 Cedric Mauclair
  2010-08-17  8:45 ` Hans Hagen
  0 siblings, 1 reply; 16+ messages in thread
From: Cedric Mauclair @ 2010-08-17  7:49 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Does Makempy still work?
  2010-08-17  7:49 Does Makempy still work? Cedric Mauclair
@ 2010-08-17  8:45 ` Hans Hagen
  2010-08-17  8:53   ` Cedric Mauclair
  0 siblings, 1 reply; 16+ messages in thread
From: Hans Hagen @ 2010-08-17  8:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Does Makempy still work?
  2010-08-17  8:45 ` Hans Hagen
@ 2010-08-17  8:53   ` Cedric Mauclair
  2010-08-17  8:55     ` Cedric Mauclair
                       ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Cedric Mauclair @ 2010-08-17  8:53 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users

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 <pragma@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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Does Makempy still work?
  2010-08-17  8:53   ` Cedric Mauclair
@ 2010-08-17  8:55     ` Cedric Mauclair
  2010-08-17 12:10       ` Cedric Mauclair
  2010-08-17 16:08     ` Hans Hagen
  2010-08-17 16:12     ` Hans Hagen
  2 siblings, 1 reply; 16+ messages in thread
From: Cedric Mauclair @ 2010-08-17  8:55 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 2678 bytes --]

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.mauclair@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 <pragma@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
>> -----------------------------------------------------------------
>>
>

[-- Attachment #2: makempy.pdf --]
[-- Type: application/pdf, Size: 6507 bytes --]

[-- Attachment #3: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Does Makempy still work?
  2010-08-17  8:55     ` Cedric Mauclair
@ 2010-08-17 12:10       ` Cedric Mauclair
  0 siblings, 0 replies; 16+ messages in thread
From: Cedric Mauclair @ 2010-08-17 12:10 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users

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.mauclair@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.mauclair@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 <pragma@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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Does Makempy still work?
  2010-08-17  8:53   ` Cedric Mauclair
  2010-08-17  8:55     ` Cedric Mauclair
@ 2010-08-17 16:08     ` Hans Hagen
  2010-08-17 16:14       ` Cedric Mauclair
  2010-08-17 16:12     ` Hans Hagen
  2 siblings, 1 reply; 16+ messages in thread
From: Hans Hagen @ 2010-08-17 16:08 UTC (permalink / raw)
  To: Cedric Mauclair; +Cc: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Does Makempy still work?
  2010-08-17  8:53   ` Cedric Mauclair
  2010-08-17  8:55     ` Cedric Mauclair
  2010-08-17 16:08     ` Hans Hagen
@ 2010-08-17 16:12     ` Hans Hagen
  2010-08-17 16:15       ` Cedric Mauclair
  2 siblings, 1 reply; 16+ messages in thread
From: Hans Hagen @ 2010-08-17 16:12 UTC (permalink / raw)
  To: Cedric Mauclair; +Cc: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Does Makempy still work?
  2010-08-17 16:08     ` Hans Hagen
@ 2010-08-17 16:14       ` Cedric Mauclair
  0 siblings, 0 replies; 16+ messages in thread
From: Cedric Mauclair @ 2010-08-17 16:14 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users

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 <pragma@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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Does Makempy still work?
  2010-08-17 16:12     ` Hans Hagen
@ 2010-08-17 16:15       ` Cedric Mauclair
  2010-08-17 16:18         ` Hans Hagen
  0 siblings, 1 reply; 16+ messages in thread
From: Cedric Mauclair @ 2010-08-17 16:15 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users

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 <pragma@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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Does Makempy still work?
  2010-08-17 16:15       ` Cedric Mauclair
@ 2010-08-17 16:18         ` Hans Hagen
  2010-08-18  7:04           ` Cedric Mauclair
  0 siblings, 1 reply; 16+ messages in thread
From: Hans Hagen @ 2010-08-17 16:18 UTC (permalink / raw)
  To: Cedric Mauclair; +Cc: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Does Makempy still work?
  2010-08-17 16:18         ` Hans Hagen
@ 2010-08-18  7:04           ` Cedric Mauclair
  2010-08-19 15:46             ` luigi scarso
  0 siblings, 1 reply; 16+ messages in thread
From: Cedric Mauclair @ 2010-08-18  7:04 UTC (permalink / raw)
  Cc: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 1316 bytes --]

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 <pragma@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
> -----------------------------------------------------------------
>

[-- Attachment #2: makempy-test.tbz --]
[-- Type: application/x-bzip-compressed-tar, Size: 19808 bytes --]

[-- Attachment #3: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Does Makempy still work?
  2010-08-18  7:04           ` Cedric Mauclair
@ 2010-08-19 15:46             ` luigi scarso
  2010-08-19 15:53               ` Cedric Mauclair
  0 siblings, 1 reply; 16+ messages in thread
From: luigi scarso @ 2010-08-19 15:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Wed, Aug 18, 2010 at 9:04 AM, Cedric Mauclair
<cedric.mauclair@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Does Makempy still work?
  2010-08-19 15:46             ` luigi scarso
@ 2010-08-19 15:53               ` Cedric Mauclair
  2010-08-19 16:25                 ` luigi scarso
  0 siblings, 1 reply; 16+ messages in thread
From: Cedric Mauclair @ 2010-08-19 15:53 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Thu, Aug 19, 2010 at 17:46, luigi scarso <luigi.scarso@gmail.com> wrote:
> On Wed, Aug 18, 2010 at 9:04 AM, Cedric Mauclair
> <cedric.mauclair@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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Does Makempy still work?
  2010-08-19 15:53               ` Cedric Mauclair
@ 2010-08-19 16:25                 ` luigi scarso
  2010-08-19 17:10                   ` Hans Hagen
  0 siblings, 1 reply; 16+ messages in thread
From: luigi scarso @ 2010-08-19 16:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Thu, Aug 19, 2010 at 5:53 PM, Cedric Mauclair
<cedric.mauclair@gmail.com> wrote:
> On Thu, Aug 19, 2010 at 17:46, luigi scarso <luigi.scarso@gmail.com> wrote:
>> On Wed, Aug 18, 2010 at 9:04 AM, Cedric Mauclair
>> <cedric.mauclair@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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Does Makempy still work?
  2010-08-19 16:25                 ` luigi scarso
@ 2010-08-19 17:10                   ` Hans Hagen
  2010-08-20  7:08                     ` Cedric Mauclair
  0 siblings, 1 reply; 16+ messages in thread
From: Hans Hagen @ 2010-08-19 17:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Does Makempy still work?
  2010-08-19 17:10                   ` Hans Hagen
@ 2010-08-20  7:08                     ` Cedric Mauclair
  0 siblings, 0 replies; 16+ messages in thread
From: Cedric Mauclair @ 2010-08-20  7:08 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Thu, Aug 19, 2010 at 19:10, Hans Hagen <pragma@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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2010-08-20  7:08 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-17  7:49 Does Makempy still work? Cedric Mauclair
2010-08-17  8:45 ` Hans Hagen
2010-08-17  8:53   ` Cedric Mauclair
2010-08-17  8:55     ` Cedric Mauclair
2010-08-17 12:10       ` Cedric Mauclair
2010-08-17 16:08     ` Hans Hagen
2010-08-17 16:14       ` Cedric Mauclair
2010-08-17 16:12     ` Hans Hagen
2010-08-17 16:15       ` Cedric Mauclair
2010-08-17 16:18         ` Hans Hagen
2010-08-18  7:04           ` Cedric Mauclair
2010-08-19 15:46             ` luigi scarso
2010-08-19 15:53               ` Cedric Mauclair
2010-08-19 16:25                 ` luigi scarso
2010-08-19 17:10                   ` Hans Hagen
2010-08-20  7:08                     ` Cedric Mauclair

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).