Re: [NTG-context] MetaPost 1.002 announcement

2007-11-27 Thread Peter Münster
On Mon, Nov 26, 2007 at 06:44:54PM +0100, Taco Hoekwater wrote: The MetaPost team is happy to announce a new release of MetaPost: -- MetaPost 1.002 --

[NTG-context] MetaPost 1.002 announcement

2007-11-26 Thread Taco Hoekwater
The MetaPost team is happy to announce a new release of MetaPost: -- MetaPost 1.002 -- The sources and a win32 package can be downloaded immediately from

[NTG-context] MetaPost 1.001 announcement

2007-11-14 Thread Taco Hoekwater
The MetaPost team is happy to announce a new release of MetaPost: -- MetaPost 1.001 -- The sources and a win32 package can be downloaded immediately from

Re: [NTG-context] [metapost] MetaPost 1.001 announcement

2007-11-14 Thread Taco Hoekwater
Taco Hoekwater wrote: The MetaPost team is happy to announce a new release of MetaPost: -- MetaPost 1.001 -- The sources and a win32 package can be

Re: [NTG-context] MetaPost 1.001 announcement

2007-11-14 Thread Andrea Valle
https://foudnry.supelec.fr/projects/metapost/ (little typo) Sorry Taco, but it is a step on the way to MegaPost, or are they two separate project? Best -a- The source package should compile normally on all systems that are capable of compiling a modern web2c-based TeX

Re: [NTG-context] MetaPost 1.001 announcement

2007-11-14 Thread Hans Hagen
Andrea Valle wrote: https://foudnry.supelec.fr/projects/metapost/ (little typo) Sorry Taco, but it is a step on the way to MegaPost, or are they two separate project? megapost is now mplib, development starts soon, first betas early next year Hans

Re: [NTG-context] metapost question

2007-10-23 Thread Thomas A. Schmitz
Just wanted to renew my thanks. I used the code from these pages to produce the slides for my lecture, and I really liked the way the polyhedra came out. I always got an error about a redundant equation when compiling, but the pdf looks fine. So here's the link (the image with the Platonic

Re: [NTG-context] metapost question

2007-10-23 Thread Hans Hagen
Thomas A. Schmitz wrote: Just wanted to renew my thanks. I used the code from these pages to produce the slides for my lecture, and I really liked the way the polyhedra came out. I always got an error about a redundant equation when compiling, but the pdf looks fine. So here's the link (the

Re: [NTG-context] metapost question

2007-10-23 Thread Thomas A. Schmitz
On Oct 23, 2007, at 2:26 PM, Hans Hagen wrote: use := instead of = then Well yes, but this was a pretty intricate package with lots of included files, so I found it difficult to trace down which equation was causing the trouble. However, I found the resilt very nice. Best Thomas

[NTG-context] metapost question

2007-10-08 Thread Thomas A. Schmitz
Just because I hope that someone may have done this already: does anyone have metapost code to draw the Platonic solids (I hope the attachment comes through). All best Thomas inline: platonic.png___ If your

Re: [NTG-context] metapost question

2007-10-08 Thread Otared Kavian
Hi Thomas, I think you can find what you are looking for at: http://melusine.eu.org/syracuse/poulecl/albums/espace3/ Best regards: OK On 8 oct. 2007, at 15:47, Thomas A. Schmitz wrote: Just because I hope that someone may have done this already: does anyone have metapost code to draw the

Re: [NTG-context] metapost question

2007-10-08 Thread Thomas A. Schmitz
On Oct 8, 2007, at 6:49 PM, Otared Kavian wrote: Hi Thomas, I think you can find what you are looking for at: http://melusine.eu.org/syracuse/poulecl/albums/espace3/ Best regards: OK Thanks, Otared! It took me a while to find out how to navigate the site, but this really looks like it

Re: [NTG-context] metapost question

2007-10-08 Thread Jesse Alama
And here's a page dedicated to the MetaPost package that's used for those polyhedra: http://melusine.eu.org/syracuse/poulecl/geometriesyr16/ Download: http://melusine.eu.org/syracuse/poulecl/geometriesyr16/distrib/geometriesyr16.tgz Jesse Otared Kavian [EMAIL PROTECTED] writes: Hi

[NTG-context] MetaPost question

2007-06-28 Thread Tobias Burnus
Hello, I try to print a periodic table in MP+TeX, but I get the following error if I uncomment the % lines; I fail to see my error. Is there any trick to debug this? The error is: ! mpx file ended unexpectedly. l.3186 - line number depends on which line is outcommented Thanks, Tobias

Re: [NTG-context] MetaPost question

2007-06-28 Thread Taco Hoekwater
Tobias Burnus wrote: Hello, I try to print a periodic table in MP+TeX, but I get the following error if I uncomment the % lines; I fail to see my error. Is there any trick to debug this? It is not easy do debug that (in general), but it normally helps to run a standalone label in TeX if you

Re: [NTG-context] MetaPost memory was: metafun.mem on texlive

2007-05-16 Thread Taco Hoekwater
Andrea Valle wrote: Ok, sorry for the confusion in the previous email. Searching in the list and on my hd, I found texmf.cnf I made some tweakings to memory. I was able to escape TeX memory exceedings. But not this one This is MetaPost, Version 0.993 (Web2C 7.5.6)

Re: [NTG-context] MetaPost memory was: metafun.mem on texlive

2007-05-16 Thread Andrea Valle
Ok, I saw I have asked the same thing before on the list, and I'm having the same problems, but cannot reconstruct the whole process. (As soon as I end up, I'll wikify the infos) Now, I'm always runnin texexec --make --all Doesn't it make also metafun? I also ran texexec --make metafun but

Re: [NTG-context] MetaPost memory was: metafun.mem on texlive

2007-05-16 Thread Taco Hoekwater
Andrea Valle wrote: Ok, I saw I have asked the same thing before on the list, and I'm having the same problems, but cannot reconstruct the whole process. (As soon as I end up, I'll wikify the infos) Now, I'm always runnin texexec --make --all Doesn't it make also metafun? It should,

Re: [NTG-context] MetaPost memory was: metafun.mem on texlive

2007-05-16 Thread Andrea Valle
Thanks Taco here you have it: andrea-valles-computer:/ andreavalle$ texexec --make --verbose metafun TeXExec | using search method 'kpsewhich' TeXExec | updating file database mktexlsr: Updating /usr/local/texlive/2007/../texmf-local/ls-R... mktexlsr: Updating

Re: [NTG-context] MetaPost memory was: metafun.mem on texlive

2007-05-15 Thread Andrea Valle
Ok, sorry for the confusion in the previous email. Searching in the list and on my hd, I found texmf.cnf I made some tweakings to memory. I was able to escape TeX memory exceedings. But not this one This is MetaPost, Version 0.993 (Web2C 7.5.6)

Re: [NTG-context] [metapost] shading text

2007-05-08 Thread Peter Rolf
Stephan Hennig wrote: Peter Rolf schrieb: I have tested this some years ago and it worked without problems. A fast run with the old code ended in the nirvana for pstoedit (3.44) :( When I manually run the following commands pdftops mpy-outline1.pdf pstoedit -v -ssp -dt -f mpost

Re: [NTG-context] [metapost] shading text

2007-05-08 Thread Stephan Hennig
[CC'ed back to the metapost list, since this is not only related to ConTeXt.] Peter Rolf schrieb: Stephan Hennig wrote: [makempy/pstoedit/Ghostscript hang] That is, it seems as if pstoedit calls Ghostscript and that hangs. I've updated to v8.56, recently, and didn't observe any problems

Re: [NTG-context] [metapost] shading text

2007-05-08 Thread Tobias Burnus
Hi Stephan, Stephan Hennig wrote: Could someone with an older version of Ghostscript please check if pstoedit/Ghostscript hang with the attached example? That would make it easier for me deciding where to send the bug report to. mpost outline perl makempy.pl outline $ mpost

Re: [NTG-context] [metapost] shading text

2007-05-08 Thread Taco Hoekwater
Stephan Hennig wrote: [CC'ed back to the metapost list, since this is not only related to ConTeXt.] Peter Rolf schrieb: Stephan Hennig wrote: [makempy/pstoedit/Ghostscript hang] That is, it seems as if pstoedit calls Ghostscript and that hangs. I've updated to v8.56, recently, and

Re: [NTG-context] [metapost] shading text

2007-05-07 Thread Stephan Hennig
Peter Rolf schrieb: http://www.pragma-ade.com/general/manuals/mmakempy.pdf (this should answer some of your questions). You find the needed tools at Thank you for the pointer! I have tested this some years ago and it worked without problems. A fast run with the old code ended in the

Re: [NTG-context] [metapost] shading text

2007-05-07 Thread Stephan Hennig
Peter Rolf schrieb: I have tested this some years ago and it worked without problems. A fast run with the old code ended in the nirvana for pstoedit (3.44) :( When I manually run the following commands pdftops mpy-outline1.pdf pstoedit -v -ssp -dt -f mpost mpy-outline1.ps mpy-outline1.mp the

Re: [NTG-context] [metapost] shading text

2007-05-06 Thread Mojca Miklavec
The ConTeXt mailing list is probably more suitable for this discussion, so I'm redirecting your question there (if anyone responds to it). On 5/2/07, Stephan Hennig wrote: Hi, my attempt to shade a piece of text with MetaFun fails (see below). Is this a restriction of MetFun/MetaPost or of

Re: [NTG-context] MetaPost question

2007-05-04 Thread Aditya Mahajan
On Wed, 2 May 2007, Aditya Mahajan wrote: On Wed, 2 May 2007, Tobias Burnus wrote: Hi, I want to define a macro in MetaPost which does: def myfunc (expr x,y)(text t) = draw thelabel.rt (btex You passed \quotation{t} etex, (x,y)); where t in btex ... text is replaced by the argument.

[NTG-context] MetaPost question

2007-05-02 Thread Tobias Burnus
Hi, I want to define a macro in MetaPost which does: def myfunc (expr x,y)(text t) = draw thelabel.rt (btex You passed \quotation{t} etex, (x,y)); where t in btex ... text is replaced by the argument. How to do so? Tobias

Re: [NTG-context] MetaPost question

2007-05-02 Thread Aditya Mahajan
On Wed, 2 May 2007, Tobias Burnus wrote: Hi, I want to define a macro in MetaPost which does: def myfunc (expr x,y)(text t) = draw thelabel.rt (btex You passed \quotation{t} etex, (x,y)); where t in btex ... text is replaced by the argument. How to do so? You can do that using TEX.mp. I

Re: [NTG-context] [metapost] MetaPost 1.000 announcement

2007-04-27 Thread Taco Hoekwater
Stephan Hennig wrote: Taco Hoekwater schrieb: -- What is new in version 1.000: -- * The output file naming scheme is configurable. Right. I overlooked

[NTG-context] MetaPost 1.000 announcement

2007-04-26 Thread Taco Hoekwater
The MetaPost team is happy to announce a new release of MetaPost: -- MetaPost 1.000 -- The sources and a win32 package can be downloaded immediately from

Re: [NTG-context] Metapost and CMYK

2007-02-05 Thread Peter Rolf
Mojca Miklavec wrote: On 2/4/07, Hans Hagen [EMAIL PROTECTED] wrote: Mojca Miklavec wrote: On 2/4/07, Hans Hagen [EMAIL PROTECTED] wrote: Peter Rolf wrote: But to my surprise ConTeXt automatically converts my RGB colors (even the MP defined ones), except that the final colors are in the

Re: [NTG-context] Metapost and CMYK

2007-02-05 Thread Mojca Miklavec
On 2/5/07, Peter Rolf [EMAIL PROTECTED] wrote: Mojca Miklavec wrote: On 2/4/07, Hans Hagen [EMAIL PROTECTED] wrote: Mojca Miklavec wrote: On 2/4/07, Hans Hagen [EMAIL PROTECTED] wrote: Peter Rolf wrote: But to my surprise ConTeXt automatically converts my RGB colors (even the MP

Re: [NTG-context] Metapost and CMYK

2007-02-04 Thread Peter Rolf
Hans Hagen wrote: Peter Rolf wrote: luigi scarso wrote: On 2/2/07, Peter Rolf [EMAIL PROTECTED] wrote: Hi all, I have some questions about cmyk in combination with Metapost. Just by using \setupcolors[state=start, cmyk=yes, mpcmyk=yes, rgb=no, ] I get cmy(k=0)

Re: [NTG-context] Metapost and CMYK

2007-02-04 Thread Hans Hagen
Peter Rolf wrote: But to my surprise ConTeXt automatically converts my RGB colors (even the MP defined ones), except that the final colors are in the CMY instead of CMYK color space. All I want is a true RGBtoCMYK conversion. I know about the calculating limitations in TeX, so I can wait for

Re: [NTG-context] Metapost and CMYK

2007-02-04 Thread Mojca Miklavec
On 2/4/07, Hans Hagen [EMAIL PROTECTED] wrote: Peter Rolf wrote: But to my surprise ConTeXt automatically converts my RGB colors (even the MP defined ones), except that the final colors are in the CMY instead of CMYK color space. All I want is a true RGBtoCMYK conversion. I know about

Re: [NTG-context] Metapost and CMYK

2007-02-04 Thread Hans Hagen
Mojca Miklavec wrote: On 2/4/07, Hans Hagen [EMAIL PROTECTED] wrote: Peter Rolf wrote: But to my surprise ConTeXt automatically converts my RGB colors (even the MP defined ones), except that the final colors are in the CMY instead of CMYK color space. All I want is a true RGBtoCMYK

Re: [NTG-context] Metapost and CMYK

2007-02-04 Thread Mojca Miklavec
On 2/4/07, Hans Hagen [EMAIL PROTECTED] wrote: Mojca Miklavec wrote: On 2/4/07, Hans Hagen [EMAIL PROTECTED] wrote: Peter Rolf wrote: But to my surprise ConTeXt automatically converts my RGB colors (even the MP defined ones), except that the final colors are in the CMY instead of

Re: [NTG-context] Metapost and CMYK

2007-02-03 Thread Peter Rolf
luigi scarso wrote: On 2/2/07, Peter Rolf [EMAIL PROTECTED] wrote: Hi all, I have some questions about cmyk in combination with Metapost. Just by using \setupcolors[state=start, cmyk=yes, mpcmyk=yes, rgb=no, ] I get cmy(k=0) graphics, although all used colors are still defined in

Re: [NTG-context] Metapost and CMYK

2007-02-03 Thread Hans Hagen
Peter Rolf wrote: luigi scarso wrote: On 2/2/07, Peter Rolf [EMAIL PROTECTED] wrote: Hi all, I have some questions about cmyk in combination with Metapost. Just by using \setupcolors[state=start, cmyk=yes, mpcmyk=yes, rgb=no, ] I get cmy(k=0) graphics, although all

[NTG-context] Metapost and CMYK

2007-02-02 Thread Peter Rolf
Hi all, I have some questions about cmyk in combination with Metapost. Just by using \setupcolors[state=start, cmyk=yes, mpcmyk=yes, rgb=no, ] I get cmy(k=0) graphics, although all used colors are still defined in the rgb color space. This is really a nice feature and the automatic color

Re: [NTG-context] Metapost and CMYK

2007-02-02 Thread luigi scarso
On 2/2/07, Peter Rolf [EMAIL PROTECTED] wrote: Hi all, I have some questions about cmyk in combination with Metapost. Just by using \setupcolors[state=start, cmyk=yes, mpcmyk=yes, rgb=no, ] I get cmy(k=0) graphics, although all used colors are still defined in the rgb color

[NTG-context] Metapost/Metafun/Tex/Context question

2006-07-19 Thread WN
Hi all, I am trying to do the following in Metapost but my new math symbol is not recognized. Context knows about it but Tex does not. How can I make this work ? Kind regards Wim Neimeijer % = Test code \loadmapfile[original-youngryu-tx.map]

Re: [NTG-context] Metapost/Metafun/Tex/Context question

2006-07-19 Thread Hans Hagen
WN wrote: Hi all, I am trying to do the following in Metapost but my new math symbol is not recognized. Context knows about it but Tex does not. How can I make this work ? Kind regards Wim Neimeijer % = Test code

Re: [NTG-context] Metapost/Metafun/Tex/Context question

2006-07-19 Thread Aditya Mahajan
On Wed, 19 Jul 2006, WN wrote: Hi all, I am trying to do the following in Metapost but my new math symbol is not recognized. Context knows about it but Tex does not. How can I make this work ? Hans and Taco have already explained the correct way to do this, so I will not go into that.

Re: [NTG-context] Metapost/Metafun/Tex/Context question

2006-07-19 Thread WN
[EMAIL PROTECTED] wrote: Hans Hagen wrote: make sure that mp knows about the definitions: - first extend the math collection (use decimen, since there is a linesplit bug with " here) - then load the times font Math family mc has to be txexa or something similar

Re: [NTG-context] Metapost/Metafun/Tex/Context question

2006-07-19 Thread WN
[EMAIL PROTECTED] wrote: On Wed, 19 Jul 2006, WN wrote: Hi all, I am trying to do the following in Metapost but my new math symbol is not recognized. Context knows about it but Tex does not. How can I make this work ? Hans and Taco have already explained the correct way to do

Re: [NTG-context] Metapost label alignment etc.

2006-07-06 Thread Aditya Mahajan
On Wed, 5 Jul 2006, Aditya Mahajan wrote: p := textext(\AXIS{z}{3}{Optical Size}); p := p rotatedaround (z[13], angle(z[5]-z[1])) ; % inv tan(1.5/2) % Let metapost calculate it for you % Ugly kludge label(p,z[13]+(0,2labeloffset)); This can be done neatly if one remembers that label

Re: [NTG-context] Metapost label alignment etc.

2006-07-06 Thread Mojca Miklavec
On 7/6/06, Idris Samawi Hamid wrote: Hi, Aditya, (I must admit I'm still struggling with mastering Mojca's approach ;-). I guess that I should read this as please comment your code better next time pair diag[]; diag1 = (2,1.25); diag2=(10,-2.5); I used diag1 to define the translation

Re: [NTG-context] Metapost label alignment etc.

2006-07-06 Thread Idris Samawi Hamid
On Thu, 06 Jul 2006 08:39:04 -0600, Mojca Miklavec [EMAIL PROTECTED] wrote: On 7/6/06, Idris Samawi Hamid wrote: Hi, Aditya, (I must admit I'm still struggling with mastering Mojca's approach ;-). I guess that I should read this as please comment your code better next time Thank you

Re: [NTG-context] Metapost label alignment etc.

2006-07-05 Thread Aditya Mahajan
On Fri, 30 Jun 2006, Idris Samawi Hamid wrote: Hi, Mojca, Aditya, Hans, and all the MP gurus, Thank you for all the help and advice. On Fri, 30 Jun 2006 18:17:23 -0600, Mojca Miklavec [EMAIL PROTECTED] wrote: Wow... Ok, following is my present, still naive code. What I would like to be

Re: [NTG-context] Metapost label alignment etc.

2006-07-05 Thread Idris Samawi Hamid
Hi, Aditya, Wow, Thanks for your suggestions; I will most certainly study both yours and Mojca's approaches (I must admit I'm still struggling with mastering Mojca's approach ;-). This is a real contribtion: once I'm done studying yours and Mojca's examples and am sure I understand them I

Re: [NTG-context] Metapost label alignment etc.

2006-07-01 Thread Idris Samawi Hamid
Hi Mojca, On Fri, 30 Jun 2006 22:33:41 -0600, Mojca Miklavec [EMAIL PROTECTED] wrote: Here's the second square as an example without calculating the coordinates. =meta-test2.tex=== Thank you very much; I will study this example very carefully. Thnx again for the

Re: [NTG-context] Metapost label alignment etc.

2006-06-30 Thread Idris Samawi Hamid
On Thu, 29 Jun 2006 23:42:16 -0600, Aditya Mahajan [EMAIL PROTECTED] wrote: draw ((2,6) -- (2,5)) scaled 1cm withcolor .625red ; you can use drawoptions(scaled 1cm withcolor .625red) ; draw(...) ; draw(...) ; draw(...) ; drawoptions(scaled 1cm withcolor .625red) does not apply the

Re: [NTG-context] Metapost label alignment etc.

2006-06-30 Thread Hans Hagen
Idris Samawi Hamid wrote: On Thu, 29 Jun 2006 23:42:16 -0600, Aditya Mahajan [EMAIL PROTECTED] wrote: draw ((2,6) -- (2,5)) scaled 1cm withcolor .625red ; you can use drawoptions(scaled 1cm withcolor .625red) ; draw(...) ; draw(...) ; draw(...) ;

Re: [NTG-context] Metapost label alignment etc.

2006-06-30 Thread Idris Samawi Hamid
On Thu, 29 Jun 2006 23:42:16 -0600, Aditya Mahajan [EMAIL PROTECTED] wrote: I would also probably number the points, so that they are easier to refer to pair z[]; z[1] := (0,0) ; z[2] := (0,5) ; z[3] := (5,0) ; z[4] := (5,5) ; etc. and then draw (z[1]--z[2]--z[3]--z[4]--cycle) ;

Re: [NTG-context] Metapost label alignment etc.

2006-06-30 Thread Idris Samawi Hamid
On Fri, 30 Jun 2006 15:41:15 -0600, Hans Hagen [EMAIL PROTECTED] wrote: Idris Samawi Hamid wrote: On Thu, 29 Jun 2006 23:42:16 -0600, Aditya Mahajan [EMAIL PROTECTED] wrote: draw ((2,6) -- (2,5)) scaled 1cm withcolor .625red ; you can use drawoptions(scaled 1cm withcolor .625red) ;

Re: [NTG-context] Metapost label alignment etc.

2006-06-30 Thread Mojca Miklavec
On 7/1/06, Idris Samawi Hamid wrote: draw ((2,6) -- (2,5)) scaled 1cm withcolor .625red ; is not the same as draw ((2,6) -- (2,5)) withcolor .625red ; currentpicture := currentpicture scaled 1 cm ; I did find the u := 1cm; z[1] = (2u,6u) ; method; is there another way, a macro

Re: [NTG-context] Metapost label alignment etc.

2006-06-30 Thread Idris Samawi Hamid
Hi, Mojca, Aditya, Hans, and all the MP gurus, Thank you for all the help and advice. On Fri, 30 Jun 2006 18:17:23 -0600, Mojca Miklavec [EMAIL PROTECTED] wrote: I did find the u := 1cm; z[1] = (2u,6u) ; method; is there another way, a macro perhaps? What about this one? save

Re: [NTG-context] Metapost label alignment etc.

2006-06-30 Thread Mojca Miklavec
On 7/1/06, Idris Samawi Hamid wrote: A question for Hans first: how can something similar be used for \sometxt? \startMPenvironment \ssxx\setupinterlinespace \stopMPenvironment (\setupsometxt[before=,after=] ?) Wow... Ok, following is my present, still naive code. What I would like to be

[NTG-context] Metapost label alignment etc.

2006-06-29 Thread Idris Samawi Hamid
Dear knights, I spent a few hours today with MetaPost and MetaFun, my first serious stab at Meta in many years, so I'm a virtual newbie (used PSTricks back in the LaTeX days). I am trying to basically duplicate the attached pdf graphic and need help with the following: 1. This code is

Re: [NTG-context] Metapost label alignment etc.

2006-06-29 Thread Aditya Mahajan
On Thu, 29 Jun 2006, Idris Samawi Hamid wrote: Dear knights, I spent a few hours today with MetaPost and MetaFun, my first serious stab at Meta in many years, so I'm a virtual newbie (used PSTricks back in the LaTeX days). I am trying to basically duplicate the attached pdf graphic and

Re: [NTG-context] Metapost: point along path and metaobj

2006-06-19 Thread Taco Hoekwater
Aditya Mahajan wrote: Hi, Something goes wrong while using metaobj and point something along somepath. I do not know if point ... along... is a mp core command or something introduced by metafun. Is this metafun's fault, metaobj's fault or simply a metapost issue (and thus I should ask

Re: [NTG-context] metapost background

2006-04-10 Thread Taco Hoekwater
Hans Hagen wrote: works ok here both Hi Johan, Have you changed any of the memory values in texmf.cnf recently? (I suddenly remember I have) Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl

Re: [NTG-context] metapost background (fix)

2006-04-10 Thread Taco Hoekwater
Taco Hoekwater wrote: Hans Hagen wrote: works ok here both Have you changed any of the memory values in texmf.cnf recently? (I suddenly remember I have) I regenerated the formats with texmfstart newtexexec --make --all and after that, the problem was gone. Probably because texexec

Re: [NTG-context] metapost background

2006-04-10 Thread Johan Sandblom
Yes, I have increased the save size from 5000 to 15000 for a document with random backgrounds. Johan 2006/4/10, Taco Hoekwater [EMAIL PROTECTED]: Hans Hagen wrote: works ok here both Hi Johan, Have you changed any of the memory values in texmf.cnf recently? (I suddenly remember I

[NTG-context] metapost background

2006-04-09 Thread Johan Sandblom
If the following is run with newtexexec, the text background on the first page is black. On live.contextgarden.net it works ok. Another candidate for the test suite? \setupcolors[state=start] \definecolor[red][r=1] \definecolor[trwhite][s=1, t=.5, a=1] \setupbackgrounds[state=repeat]

Re: [NTG-context] metapost background

2006-04-09 Thread Taco Hoekwater
Johan Sandblom wrote: If the following is run with newtexexec, the text background on the first page is black. I _do_ get a nice pinkish background on both pages when I don't use runtime graphics. Diagnosis: It looks like the specials get lost somehow in the runtime version. This file is

Re: [NTG-context] metapost background

2006-04-09 Thread Johan Sandblom
How does one use the old texexec in the standalone windows version? I tried with texmfstart texexec.pl and that looks like the old texexec output but the resulting pdf is equally defective. Regards, Johan 2006/4/9, Taco Hoekwater [EMAIL PROTECTED]: Johan Sandblom wrote: Is there a

Re: [NTG-context] metapost background

2006-04-09 Thread Hans Hagen
Johan Sandblom wrote: If the following is run with newtexexec, the text background on the first page is black. On live.contextgarden.net it works ok. Another candidate for the test suite? sure \setupcolors[state=start] \definecolor[red][r=1] \definecolor[trwhite][s=1, t=.5, a=1]

[NTG-context] Metapost -- What am I doing wrong

2005-12-25 Thread David Arnold
All, Can someone tell me what I am doing wrong here? %Ouput=pdf \setupcolors[state=start] \definecolor[gridlines][s=0.7] \startMPinclusions color gridlines; gridlines=\MPcolor{gridlines} \stopMPinclusions \startMPgraphic{create function path f 5-by-5} %define clipping path path

Re: [NTG-context] Metapost -- What am I doing wrong

2005-12-25 Thread Mojca Miklavec
David Arnold wrote: All, Can someone tell me what I am doing wrong here? \useMPgraphic is meant to include whole figures inside text, not for including portions of other metapost code inside metapost. What you can do is to define new functions inside \startMPinclusions ... \stopMPinclusions

Re: [NTG-context] Metapost -- What am I doing wrong

2005-12-25 Thread David Arnold
Good stuff! :-) % I don't know how to give the function as an argument, % so I cheated and copied it here once more vardef create_function_path_f = See metafun-s.pdf page 370 and mp-func.mp. ___ ntg-context mailing list

Re: [NTG-context] metapost textext?

2005-12-22 Thread Hans van der Meer
I have another piece of information on my previous posting. When I take the mpgraph mp-input for metapost produced by the ConTeXt run I see: (1) running system(mpost -progname=mpost -mem=metafun standalone2- mpgraph)...executed. as the log shows gives the wrong metafont output. I also ran

[NTG-context] metapost textext?

2005-12-21 Thread Hans van der Meer
Panic using metapost in context. This used to work. I did a file that previously (\thisisutilityversion {1998.12.20}) had good output but now has unknown everywhere for textext calls! \starttext \startuseMPgraphic{one} draw (0,0)--(100,0)--(100,50)--(50,50)--(50,100)--(0,100)--(0,0);

Re: [NTG-context] metapost textext?

2005-12-21 Thread Hans Hagen
Hans van der Meer wrote: Panic using metapost in context. This used to work. I did a file that previously (\thisisutilityversion {1998.12.20}) had good output but now has unknown everywhere for textext calls! \starttext \startuseMPgraphic{one} draw

Re: [NTG-context] metapost textext?

2005-12-21 Thread Peter Rolf
Hans Hagen wrote: Hans van der Meer wrote: Panic using metapost in context. This used to work. I did a file that previously (\thisisutilityversion {1998.12.20}) had good output but now has unknown everywhere for textext calls! \starttext \startuseMPgraphic{one} draw

Re: [NTG-context] metapost textext?

2005-12-21 Thread Taco Hoekwater
Peter Rolf wrote: Hans Hagen wrote: Hans van der Meer wrote: Panic using metapost in context. This used to work. I did a file that previously (\thisisutilityversion {1998.12.20}) had good output but now has unknown everywhere for textext calls! \starttext \startuseMPgraphic{one} draw

Re: [NTG-context] metapost textext?

2005-12-21 Thread David Arnold
Runs OK here as well. Got a little graphic with the word label in it. chapter3 $ texexec --version TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 texexec : TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004

Re: [NTG-context] metapost textext?

2005-12-21 Thread Willi Egger
Hi, this code compiles without problems on a Windows-XP machine with: This is pdfeTeX, Version 3.141592-1.30.3-2.2 (Web2c 7.5.5) ConTeXt ver: 2005.11.30 fmt: 2005.12.19 int: english mes: english Willi Hans Hagen wrote: Hans van der Meer wrote: Panic using metapost in context. This used

[NTG-context] Metapost Problem

2005-10-03 Thread Wolfgang Zillig
Hello, wat to convert a metapost file to pdf by mptopdf: my command: mptopdf.pl grid.mp then grid.1 is created but no pdf. The output on the command line is: C:\Documents and Settings\s0167070\Desktop\gridmptopdf.pl grid.mp TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005

[NTG-context] Metapost question

2005-06-14 Thread Tobias Burnus
Hello, does someone know how, if at all, one can printout some variable? Like Emean:=(2*Eone+Ezero+2*Etwo)/5.; label.urt(btex $A = x$ where x is the value of Emean? I frequently create some diagrams, modify them and then forget to change the label. (If one could set the number of

Re: [NTG-context] Metapost animation

2005-05-19 Thread Mojca Miklavec
Hans Hagen wrote: Michal Kvasnicka wrote: Hm. Do you quote the Metafun manual, section 13.6? I know this technique. But my question was different: Is it possible to `animate' the fieldstack? In other words, to make it change one figure to another automatically, without clicking anywhere,

Re: [NTG-context] Metapost animation

2005-05-19 Thread luigi.scarso
Mojca Miklavec wrote: Can someone please post any example of JavaScript code to toggle the states like in either http://www.math.muni.cz/~plch/nkpm/nradanm6.pdf or https://www.pragma-pod.com/present/talks/fifteen.pdf? I hope this can help you: http://www.fi.muni.cz/~xholecek/animations/ luigi

Re: [NTG-context] MetaPost 0.9 announcement

2005-04-29 Thread Taco Hoekwater
Vit Zyka wrote: Just a note. On the sarovar site, documentation page is empty (http://sarovar.org/docman/?group_id=230). The same situation was with pdftex project. Martin Sch. and Hartmut corrected this last week. I've added mpman.pdf to this page. Taco

[NTG-context] MetaPost 0.9 announcement

2005-04-28 Thread Taco Hoekwater
The MetaPost team is happy to announce a new release of MetaPost: -- MetaPost 0.9 -- The sources and a win32 package can be downloaded immediately from

Re: [NTG-context] MetaPost 0.9 announcement

2005-04-28 Thread Vit Zyka
Taco Hoekwater wrote: The MetaPost team is happy to announce a new release of MetaPost: -- MetaPost 0.9 -- Thank you Taco for maintaining such good, old an very

[NTG-context] MetaPost 0.893 announcement

2005-04-13 Thread Taco Hoekwater
The MetaPost team is happy to announce the release of a new beta: -- MetaPost 0.893 (beta for 0.9) -- This is a public beta release for the upcoming version 0.9.

Re: [NTG-context][metapost] shading in meta[post/play] PDF

2005-01-20 Thread Laurence Finston
On Wed, 19 Jan 2005, Mojca Miklavec wrote: How can I make shading inside metapost(play) to produce exactly what's in the attached picture (smooth shades). Or more generally: how can I hardcode some PS/PDF code in .mp, not (yet) supported by metapost(play)? This is a very difficult question.

Re: [NTG-context][metapost] shading in meta[post/play] PDF

2005-01-19 Thread Mojca Miklavec
The answer to the mail follows, but to reformulate my question slightly: How can I make shading inside metapost(play) to produce exactly what's in the attached picture (smooth shades). Or more generally: how can I hardcode some PS/PDF code in .mp, not (yet) supported by metapost(play)? (PDF

[NTG-context] Metapost produces unknown

2004-11-25 Thread Aditya Mahajan
Hi, I tried an example for generating linear text placement. % File text.mp input mp-tool ; % some initializations and auxiliary macros input mp-spec ; % macros that support special features prologues := 2; beginfig(1) draw hlintext.lft(0, 20, 5, 20cm, @3e) ; draw vlogtext.bot(0, 10, 9, 10cm,

Re: [NTG-context] Metapost + metaObjet connector label on arcs

2004-10-27 Thread Hans Hagen
Maurice Diamantini wrote: \setupcolors[state=start] \starttext \startMPpage your mp code \stopMPpage \stoptext That gives you a stand alone pdf graphic that you can embed later The problem is probably due to my installation (texlive 2003 installed in a non standard directory) Everything works

Re: [NTG-context] Metapost installation

2004-10-27 Thread Maurice Diamantini
Le 27 oct. 04, à 09:23, Hans Hagen a écrit : Maurice Diamantini wrote: If I do the magic (from http://contextgarden.net/Linux_Installation) texexec --make --alone --all en nl uk metafun mptopdf After some time it give me: `texexec.pl' not found. In fact, I've never been able to make the

Re: [NTG-context] Metapost + metaObjet connector label on arcs

2004-10-26 Thread Maurice Diamantini
Le 24 oct. 04, à 20:30, Denis Roegel a écrit : A new problem is that the label sep is to big from thes arcs, and I'm not able to ajust it. The labshift option doesn't seem to work with ncarc, althought it works for the nodes. ... this was possibly corrected in an unreleased version of metaobj:

Re: [NTG-context] Metapost + metaObjet connector label on arcs

2004-10-26 Thread Hans Hagen
Maurice Diamantini wrote: 4 - about ConTeXt and Metapost: What should I put in the verbatimtex ... etex header to be able to use ConTexT in btex..etex instead of LaTex? (I don't want use (for now ) the inside ConTeXt document method for the sake of environnement robustness, and

Re: [NTG-context] Metapost + metaObjet connector label on arcs

2004-10-26 Thread Maurice Diamantini
Le 26 oct. 04, à 13:53, Hans Hagen a écrit : Maurice Diamantini wrote: 4 - about ConTeXt and Metapost: What should I put in the verbatimtex ... etex header to be able to use ConTexT in btex..etex instead of LaTex? (I don't want use (for now ) the inside ConTeXt document method for

Re: [NTG-context] Metapost + metaObjet connector label on arcs

2004-10-24 Thread Maurice Diamantini
Le 22 oct. 04, à 14:24, Eckhart Guthöhrlein a écrit : You can attach named paths to objects and then labels these. Here is my first try, seems to work: Thank very much Eckhart, I read the metaObj manual, but I didn't realised showing that one can attached a labelObj to arbitrary objects (just for

Re: [NTG-context] Metapost + metaObjet connector label on arcs

2004-10-24 Thread Denis Roegel
On Fri, Oct 22, 2004 at 06:35:54PM +0200, Maurice Diamantini wrote: A new problem is that the label sep is to big from thes arcs, and I'm not able to ajust it. The labshift option doesn't seem to work with ncarc, althought it works for the nodes. Hi, this was possibly corrected in an

[NTG-context] Metapost + metaObjet connector label on arcs

2004-10-22 Thread Maurice Diamantini
Bonjour à tous, I hope I'm not too much out of topic, but I'm trying to put a metapost figure in a context file. I use a separate file for the figure to keep it independant, (and to avoid cumul of problems :-) The objectif is to build a graph by positionning some node (for now, it is just a

<    1   2   3   4   5   6   7   >