Re: [NTG-context] metafun \sometxt: should black be black or textcolor?

2006-08-06 Thread Taco Hoekwater
Hi Mojca, Mojca Miklavec wrote: But the other \sometxt was indeed red - withcolor seems to work, but only conditionally. And I have some weird examples of two texts one after another. In some cases (if something else is drawn inbetween and a color changed twice), then the second text will

Re: [NTG-context] metafun \sometxt: should black be black or textcolor?

2006-08-06 Thread Mojca Miklavec
On 8/6/06, Taco Hoekwater wrote: Hi Mojca, Mojca Miklavec wrote: But the other \sometxt was indeed red - withcolor seems to work, but only conditionally. And I have some weird examples of two texts one after another. In some cases (if something else is drawn inbetween and a color

Re: [NTG-context] metafun \sometxt: should black be black or textcolor?

2006-08-06 Thread Hans Hagen
Taco Hoekwater wrote: Quick fix: You can start your MP code with an explicit color initialization. \startMPcode special 0 setgray; .. \stopMPcode A hack, I know. MetaPost should be able to distinguish between draw p and draw p withcolor (0,0,0) but

Re: [NTG-context] metafun \sometxt: should black be black or textcolor?

2006-08-06 Thread Hans Hagen
Taco Hoekwater wrote: Hi Mojca, Mojca Miklavec wrote: But the other \sometxt was indeed red - withcolor seems to work, but only conditionally. And I have some weird examples of two texts one after another. In some cases (if something else is drawn inbetween and a color changed twice),

[NTG-context] metafun \sometxt: should black be black or textcolor?

2006-08-05 Thread Mojca Miklavec
Hello, Does anyone have any idea about what's going on here? I get blue text, but a black square, although both are supposed to come out black (I wouldn't mind so much, but the problem is that some text is blue and some is black - I have some other testcases where this happens, but I have to

Re: [NTG-context] couple of metafun questions

2006-08-03 Thread Thomas A. Schmitz
On Aug 2, 2006, at 11:56 PM, Mojca Miklavec wrote: So you have to draw the path twice with different color and pattern (you can write a macro for it of course if you need it often). beginfig(1); pickup pencircle scaled 2pt; picture dp[]; dp[1] := dashpattern(on 2 off 6)

[NTG-context] couple of metafun questions

2006-08-02 Thread Thomas A. Schmitz
Hi all, I'm experimenting with some metafun code and positional graphics to produce a nice illustration for an article. There's some basic questions I haven't been able to solve (and I remember that I couldn't solve them before but found workarounds, but this time it looks like I'm stuck

Re: [NTG-context] couple of metafun questions

2006-08-02 Thread Mojca Miklavec
On 8/2/06, Thomas A. Schmitz wrote: 3. Is it possible to get a line/arrow dashed in two different colors, like red and blue? Just out of curiosity I tried the following: picture dp; draw dashpattern(on 2 off 6) scaled 5pt withcolor blue; draw dashpattern(off 4 on 2 off 2) scaled 5pt withcolor

[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

[NTG-context] metafun color broken?

2006-06-15 Thread Hans van der Meer
I used to draw in transparent color in MetaFun with:   newinternal tfill_mode; tfill_mode := 1; % transparency mode for inside   newinternal tfill_fact; tfill_fact := 1; % transparency factor for inside   def withFillColor = withcolor transparent(tfill_mode, tfill_fact, fillcolor_) enddef;   fill

Re: [NTG-context] metafun color broken?

2006-06-15 Thread Hans van der Meer
. And of course I need to run my production and development runs on my own machine, so I have to solve it for that one. http://wiki.contextgarden.net/Test. Mojca On 6/13/06, Hans van der Meer wrote: I used to draw in transparent color in MetaFun with: newinternal tfill_mode; tfill_mode := 1

Re: [NTG-context] metafun color broken?

2006-06-15 Thread Taco Hoekwater
= 300 Now, the metafun format is generated as mpost, but the graphics are created as metafun, and the different memory sizes make the specials go disappear. Strangely, I thought Hans and I had fixed by that a few weeks back by changing the mpost commandlines, but apparently we

Re: [NTG-context] metafun color broken?

2006-06-15 Thread Hans Hagen
of the problem is that when no progname is given, the format should determine the progname (at least that was the case soem tiem ago) but then, mpost is behaving weird with respect to mem vars anyway; the current (context) approach is 'use metafun everywhere a prognam eis needed' [a problem, at least

Re: [NTG-context] metafun color broken?

2006-06-15 Thread Hans Hagen
Hans van der Meer wrote: I expect Hans or Taco to react soon with there usual speed and will await for their comments first. as taco mentioned, it's in the mem values; mpost does not store them with the format (in the past this even could give segfaults and worse); tex does not have this

Re: [NTG-context] \MetaFun

2006-06-09 Thread Hans Hagen
andrea valle wrote: As I made a presentation concerning typesetting I used the magic symbols \TeX, \LaTex, \ConTeXt, \MetaFont, \MetaPost. I also used \MetaFun: no error (so it's a recognized command, I guess), but not special output, \MetaFun = MetaFun. I was hoping to have the nice

Re: [NTG-context] \MetaFun

2006-06-09 Thread andrea valle
-en inputfile : metafun output : pdftex interface : en current mode : none TeX run : 1 This is pdfeTeX, Version 3.141592-1.30.4-2.2 (Web2C 7.5.5) (/usr/local/teTeX/share/texmf.local/web2c/natural.tcx) entering extended mode

Re: [NTG-context] \MetaFun

2006-06-09 Thread Taco Hoekwater
andrea valle wrote: Thanks Hans This is what I obtain. http://www.semiotiche.it/andrea/membrana/metafun.zip I may be missing something, but this is the output I would expect. cont-log.tex contains only this simple definition: \unexpanded\def\MetaFun {MetaFun} Cheers, Taco

Re: [NTG-context] \MetaFun

2006-06-09 Thread andrea valle
Ah, ok, that's exactly what I need to know. I was thinking that maybe there was some kind of special look for the \MetaFun word: I was supposing that calling \MetaFun I would have obtained the (nice) shaken metafun logo of the manuals. Thanks -a- On 9 Jun 2006, at 16:55, Taco Hoekwater

Re: [NTG-context] Metafun - Metapost capacity exceeded

2006-04-05 Thread Taco Hoekwater
Thomas Engel wrote: Hello Hans, this is the message I got after running texexec pro_mcc_a3.tex. As you can see I have increased the memory size for mp. I have attached the two tex-files. Maybe there is a mistake in the mp-code. A pdf-file will be produced, but if you check the output you

Re: [NTG-context] Metafun - Metapost capacity exceeded

2006-04-05 Thread Thomas Engel
is missing! Thanks for your help! Thomas TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 metapost : pro_mcc_a3-mpgraph format : metafun This is MetaPost, Version 0.901 (Web2C 7.5.3) (/home/thomas/texmf/web2c/natural.tcx) (pro_mcc_a3-mpgraph.mp [1] [2] [3] [4] [5

Re: [NTG-context] Metafun - Metapost capacity exceeded

2006-04-05 Thread Hans Hagen
Thomas Engel wrote: Hello Hans, this is the message I got after running texexec pro_mcc_a3.tex. As you can see I have increased the memory size for mp. I have attached the two tex-files. Maybe there is a mistake in the mp-code. A pdf-file will be produced, but if you check the output you

Re: [NTG-context] Metafun - Metapost capacity exceeded

2006-04-05 Thread Hans Hagen
Thomas Engel wrote: Hello Hans, this is the message I got after running texexec pro_mcc_a3.tex. As you can see I have increased the memory size for mp. I have attached the two tex-files. Maybe there is a mistake in the mp-code. A pdf-file will be produced, but if you check the output you

Re: [NTG-context] Metafun - Metapost capacity exceeded

2006-04-05 Thread Taco Hoekwater
Hans Hagen wrote: Thomas Engel wrote: Hello Hans, this is the message I got after running texexec pro_mcc_a3.tex. As you can see I have increased the memory size for mp. I have attached the two tex-files. Maybe there is a mistake in the mp-code. A pdf-file will be produced, but if you check

[NTG-context] Metafun - Metapost capacity exceeded

2006-04-03 Thread Thomas Engel
Hello, I'm doing my first work with metafun to generate a switchgear layout from a cvs file. During the run (texexec ) I get the message - Metapost capacity exceeded and a part of the drawing is missing. I followed the thread -TeX capacity exceeded with metafun- and increased the memory size

Re: [NTG-context] Metafun - Metapost capacity exceeded

2006-04-03 Thread Hans Hagen
Thomas Engel wrote: Hello, I'm doing my first work with metafun to generate a switchgear layout from a cvs file. During the run (texexec ) I get the message - Metapost capacity exceeded and a part of the drawing is missing. I followed the thread -TeX capacity exceeded with metafun

Re: [NTG-context] TeX capacity exceeded with metafun

2006-03-14 Thread Hans Hagen
andrea valle wrote: Console is extremely slow in processing the file including the that is an os issue (maybe choose another font for your console) i have no speed problems on the windows and linux boxes Hans -

Re: [NTG-context] TeX capacity exceeded with metafun

2006-03-13 Thread Hans Hagen
andrea valle wrote: Thanks Hans So: 1. If I understand, I have to edit context.cnf, right? no, texmf.cnf ; context.tmf is an example of what i use here; (you can try copying context.fmf to you texmf-local/web2c path) 2. It may work, but non necessarily. It is thus possible that I

Re: [NTG-context] TeX capacity exceeded with metafun

2006-03-13 Thread andrea valle
Thanks Hans, I made some tweaking with values (quasi-randomly...). Console is extremely slow in processing the file including the MPGraphic (I thought many times it hanged, then letting it run without looking I discovered some minutes after that it was still working). Looking at the the

[NTG-context] TeX capcity excedeed with metafun

2006-03-12 Thread andrea valle
Hi to all, I'm plotting 10,000 little squares thus exceeding TeX capacity. I was going to modify context.cnf (everything works with 5,000 squares). In particular, I'm on macosx 10.3 with Gerben's distro. I am editing this file: /usr/local/teTeX/share/texmf.local/web2c/context.cnf 1. is it

Re: [NTG-context] TeX capacity exceeded with metafun

2006-03-12 Thread andrea valle
Now, as far as I understand it seems that I have to edit texmf.cnf. In any case, I do not know in which way... Thanks! -a- On 12 Mar 2006, at 11:19, andrea valle wrote: Hi to all, I'm plotting 10,000 little squares thus exceeding TeX capacity. I was going to modify context.cnf

Re: [NTG-context] TeX capacity exceeded with metafun

2006-03-12 Thread Hans Hagen
andrea valle wrote: Now, as far as I understand it seems that I have to edit texmf.cnf. In any case, I do not know in which way... Thanks! -a- On 12 Mar 2006, at 11:19, andrea valle wrote: Hi to all, I'm plotting 10,000 little squares thus exceeding TeX capacity. I was

Re: [NTG-context] TeX capacity exceeded with metafun

2006-03-12 Thread andrea valle
Thanks Hans So: 1. If I understand, I have to edit context.cnf, right? 2. It may work, but non necessarily. It is thus possible that I cannot solve definitively the problem. How do I choose a clever number to set? 3. Ehm... No, I haven't regenerated the format. How can I do it? Thanks Best -a-

Re: [NTG-context] TeX capacity exceeded with metafun

2006-03-12 Thread andrea valle
I edited the file doubling the 3 values But in context.cnf I have: main_memory.context = 200 main_memory.mpost= 300 main_memory.metafun = 300 did you regenerate the formats? Then I ran: texexec --make (right?) But nothing changed Best -a-

[NTG-context] metafun boxes

2006-03-02 Thread Renaud AUBIN
Hi all, Yesterday, I have tried to put \input boxes within a MPgraphic. As a result, I obtain errors at compilation. After discussing this issue with Taco on #context, it appears that boxes.mp and metafun interaction is not safe at all. Ok, but since my needs remain the same, solutions are : 1

Re: [NTG-context] metafun boxes

2006-03-02 Thread Aditya Mahajan
--- On Mar 2, Renaud AUBIN wrote --- Hi all, Yesterday, I have tried to put \input boxes within a MPgraphic. As a result, I obtain errors at compilation. After discussing this issue with Taco on #context, it appears that boxes.mp and metafun interaction is not safe at all. Shouldn't

Re: [NTG-context] metafun boxes

2006-03-02 Thread Renaud AUBIN
Hi Adita, I have already seen metaobj in the past... but I have forgotten it... ;-) Thank you very much for the example ! Cheers, Renaud ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] metafun: problems, problems problems again

2006-02-21 Thread Mojca Miklavec
On 2/20/06, Hans Hagen wrote: Mojca Miklavec wrote: But I still get no figures at all under MikTeX and undefined labels with the standalone. that normally means that no tex subruns take place (or wrong ones) (maybe the system command is not executed, in the log you can see what write 18

Re: [NTG-context] metafun: problems, problems problems again

2006-02-21 Thread Hans Hagen
Mojca Miklavec wrote: went away when I removed \setupoutput[pdf] from cont-sys.tex (but I'm stil confused since there are two cont-sys files, one .rme and one .ori. Which one should be used? They are identical, but why would one want to have the same file at two places?) because that way

Re: [NTG-context] metafun: problems, problems problems again

2006-02-20 Thread Hans Hagen
Mojca Miklavec wrote: Hello, This metafun will soon drive me crazy. 1. I can't make textext work Once upon a time I only had problems in MikTeX, now standone is causing me problems as well. I have: - write18 / -shell-escape enabled - \runMPgraphicstrue \runMPTEXgraphicstrue

Re: [NTG-context] metafun: problems, problems problems again

2006-02-20 Thread Taco Hoekwater
Mojca Miklavec wrote: 5. I hoped to be able to use gnuplot with context terminal, but the file I produced crashes pdfetex 1.30.3--2.2 (in stand-alone distro). 1.21a under MikTeX doesn't crash, but since there is no output it might be that the older version never gets to the point where it

Re: [NTG-context] metafun: problems, problems problems again

2006-02-20 Thread Mojca Miklavec
On 2/20/06, Hans Hagen wrote: 4. I have problems with \loadfontfilesoncetrue. I searched through hm, loadfontfilesonce is not there (any more) But it's in all my -mpgraph.mp documents. Anyhow, other ConTeXt commands aren't recognized either. I reinstalled ConTeXt/MikTeX for the second or

Re: [NTG-context] metafun: problems, problems problems again

2006-02-20 Thread Taco Hoekwater
Mojca Miklavec wrote: Is it OK that those mpx314 files end with \end{document}? Yes, that is 'normal': plain TeX (and thereby ConTeXt) only sees the \end command, and LaTeX/SliTeX sees the whole \end{document} (this stuff was written before ConTeXt became popular). Is there any way to explore

[NTG-context] metafun: problems, problems problems again

2006-02-19 Thread Mojca Miklavec
Hello, This metafun will soon drive me crazy. 1. I can't make textext work Once upon a time I only had problems in MikTeX, now standone is causing me problems as well. I have: - write18 / -shell-escape enabled - \runMPgraphicstrue \runMPTEXgraphicstrue \useMETAFUNformattrue

Re: [NTG-context] using symbols in MetaFun

2006-02-15 Thread Mojca Miklavec
) would draw a star in the origin. The problem is that I don't know: - how to use symbol sets inside MetaFun (verbatimtex \usesymbols[jmn] etex doesn't work here) - how to enable label(btex \convertnumber{gnuplot}{5} etex, (x,y)) to work properly in metafun (no luck with verbatimtex

Re: [NTG-context] using symbols in MetaFun

2006-02-13 Thread Hans Hagen
Taco Hoekwater wrote: I could not figure out how to use a 'verbatimtex' preamble either, so this loads the myenv definition file for each label. Ugly, but the best I can manage with my current knowledge. ha, we reached similar solutions -) the solution for the inclusion is in

Re: [NTG-context] using symbols in MetaFun

2006-02-12 Thread Taco Hoekwater
Mojca Miklavec wrote: The problem is that I don't know: - how to use symbol sets inside MetaFun (verbatimtex \usesymbols[jmn] etex doesn't work here) - how to enable label(btex \convertnumber{gnuplot}{5} etex, (x,y)) to work properly in metafun (no luck with verbatimtex ... etex again

Re: [NTG-context] Metafun example doesn't work

2005-12-18 Thread Taco Hoekwater
: All, I've always wondered why this Metafun manual example doesn't work. \startMPgraphic draw unitsquare xscaled 5cm yscaled 1cm withpen pencircle scaled 2mm withcolor .625 red; \stopMPgraphic \hbox\bgroup \loadcurrentMPgraphic{width=5cm,height=1cm}\placeMPgraphic\quad

Re: [NTG-context] Metafun example doesn't work

2005-12-18 Thread David Arnold
It compiles, but the figures should not be identical according to the Metafun manual, page 201. On Dec 18, 2005, at 1:01 AM, Taco Hoekwater wrote: Hi David, To me it looks like it does work, but perhaps I am not looking at it correctly. Here is what I compiled: \setupcolors[state=start

Re: [NTG-context] Metafun example doesn't work

2005-12-18 Thread Taco Hoekwater
David Arnold wrote: It compiles, but the figures should not be identical according to the Metafun manual, page 201. Ah, I see now. The second argument is dropped, because it was assumed that it was never actually used. See the two disjunct definitions of \insertMPfile in supp-mps.tex

Re: [NTG-context] Metafun example doesn't work

2005-12-18 Thread Hans Hagen
Taco Hoekwater wrote: David Arnold wrote: It compiles, but the figures should not be identical according to the Metafun manual, page 201. Ah, I see now. The second argument is dropped, because it was assumed that it was never actually used. See the two disjunct definitions

Re: [NTG-context] Metafun example doesn't work

2005-12-18 Thread Hans Hagen
Taco Hoekwater wrote: Hi David, To me it looks like it does work, but perhaps I am not looking at it correctly. Here is what I compiled: \setupcolors[state=start] \setupoutput[pdftex] \starttext \startMPgraphic draw unitsquare xscaled 5cm yscaled 1cm withpen pencircle scaled

[NTG-context] Metafun example doesn't work

2005-12-17 Thread David Arnold
All, I've always wondered why this Metafun manual example doesn't work. \startMPgraphic draw unitsquare xscaled 5cm yscaled 1cm withpen pencircle scaled 2mm withcolor .625 red; \stopMPgraphic \hbox\bgroup \loadcurrentMPgraphic{width=5cm,height=1cm}\placeMPgraphic\quad

[NTG-context] Drawing oriented paths in MetaFun

2005-11-16 Thread Giuseppe Bilotta
Does MetaFun provide some macro to draw oriented paths? I would like it to basically add a small arrow *in the middle* of the path? Such a macro draworiented somepath somespecs ; would have to act like drawarrow firsthalf(somepath) somespecs ; draw secondhalf(somepath) somespecs

Re: [NTG-context] Drawing oriented paths in MetaFun

2005-11-16 Thread Giuseppe Bilotta
Wednesday, November 16, 2005 Giuseppe Bilotta wrote: Does MetaFun provide some macro to draw oriented paths? I would like it to basically add a small arrow *in the middle* of the path? Such a macro draworiented somepath somespecs ; would have to act like drawarrow firsthalf(somepath

Re[2]: [NTG-context] Drawing oriented paths in MetaFun

2005-11-16 Thread Giuseppe Bilotta
Wednesday, November 16, 2005 Giuseppe Bilotta wrote: Wednesday, November 16, 2005 Giuseppe Bilotta wrote: Does MetaFun provide some macro to draw oriented paths? I would like it to basically add a small arrow *in the middle* of the path? Such a macro draworiented somepath somespecs

Re: [NTG-context] Drawing oriented paths in MetaFun

2005-11-16 Thread Hans Hagen
Giuseppe Bilotta wrote: Does MetaFun provide some macro to draw oriented paths? I would like it to basically add a small arrow *in the middle* of the path? Such a macro draworiented somepath somespecs ; would have to act like drawarrow firsthalf(somepath) somespecs ; draw secondhalf(somepath

Re: [NTG-context] Drawing oriented paths in MetaFun

2005-11-16 Thread Hans Hagen
Giuseppe Bilotta wrote: Wednesday, November 16, 2005 Giuseppe Bilotta wrote: Does MetaFun provide some macro to draw oriented paths? I would like it to basically add a small arrow *in the middle* of the path? Such a macro draworiented somepath somespecs ; would have

function plotting (was: Re: [NTG-context] Q: about \externalfile from metafun-p.pdf)

2005-10-04 Thread Alexander Lazic
On Mon 03.10.2005 19:26, Christopher Creutzig wrote: MetaPost is not really a function plotter. So, yes, you have to use some sort of loop, although there may be some predefined macros hiding them. Is there a better way in ConTeXt/tex for this?! Should i use some external Programms for

Re: function plotting (was: Re: [NTG-context] Q: about \externalfile from metafun-p.pdf)

2005-10-04 Thread Mojca Miklavec
Alexander Lazic wrote: On Mon 03.10.2005 19:26, Christopher Creutzig wrote: MetaPost is not really a function plotter. So, yes, you have to use some sort of loop, although there may be some predefined macros hiding them. Is there a better way in ConTeXt/tex for this?! Should i use some

Re: function plotting (was: Re: [NTG-context] Q: about \externalfile from metafun-p.pdf)

2005-10-04 Thread Alexander Lazic
On Die 04.10.2005 19:48, Mojca Miklavec wrote: I use gnuplot which makes graphs of superb visual quality and has extensive support for many different function manipulations and weird stuff that you want to do with it. I have also think on gnuplot, but wasn't sure that i can use the ps/pdf

Re: [NTG-context] Q: about \externalfile from metafun-p.pdf

2005-10-03 Thread Alexander Lazic
On Son 02.10.2005 22:36, Christopher Creutzig wrote: Alexander Lazic wrote: 2.) i have try \startreusableMPgraphic{sin} sin (1); \stopreusableMPgraphic{sin} This {sin} at the end is wrong; it's interpreted as text. This have i understand ;-) I called it sin, sorry for confusion.

Re: [NTG-context] Q: about \externalfile from metafun-p.pdf

2005-10-03 Thread Christopher Creutzig
Alexander Lazic wrote: \stopreusableMPgraphic{sin} This {sin} at the end is wrong; it's interpreted as text. This have i understand ;-) I called it sin, sorry for confusion. The name is unimportant – my point is that the \stop... commands don't get arguments. Thanx. Have i right

[NTG-context] Q: about \externalfile from metafun-p.pdf

2005-10-02 Thread Alexander Lazic
Hi, i'm starting to learn context and therefore i have copied some examples from metafun-p.pdf and get the following error: --- ! Undefined control sequence. l.42 \externalfile [mprun.21][width=5cm] --- --- texexec --version TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005

Re: [NTG-context] Q: about \externalfile from metafun-p.pdf

2005-10-02 Thread Christopher Creutzig
Alexander Lazic wrote: i'm starting to learn context and therefore i have copied some examples from metafun-p.pdf and get the following error: --- ! Undefined control sequence. l.42 \externalfile [mprun.21][width=5cm] Probably a typo in metafun-p.pdf; try

Re: [NTG-context] Q: about \externalfile from metafun-p.pdf

2005-10-02 Thread Alexander Lazic
On Son 02.10.2005 19:54, Christopher Creutzig wrote: Probably a typo in metafun-p.pdf; try \externalfigure instead. Thanx this works ;-) Oh btw: i have see in the syntax-diagramm sin. 1.) is this the sinus function? 2.) i have try --- \startreusableMPgraphic{sin} sin (1

Re: [NTG-context] Q: about \externalfile from metafun-p.pdf

2005-10-02 Thread Christopher Creutzig
Alexander Lazic wrote: Oh btw: i have see in the syntax-diagramm sin. 1.) is this the sinus function? Sure. (The sine function as used by mathematicians. If you want the sine of an angle expressed in degrees, I believe you want sind.) 2.) i have try --- \startreusableMPgraphic{sin}

Re: [NTG-context] puzzling metafun graphics

2005-09-13 Thread Adam Lindsay
Hans Hagen said this at Mon, 12 Sep 2005 19:38:25 +0200: Thomas A. Schmitz wrote: OK, I'm answering my own post. The plot thickens. It looks like this has something to do with file names. It only happens when I have a name with a period in it. Bug or feature? You decide, Hans! bug; but

Re: [NTG-context] puzzling metafun graphics

2005-09-13 Thread Thomas A. Schmitz
Hmm -- this is getting curioser and curioser... I just verified on my linux partition, and I can confirm that I don't have the problem there; it's only in OS X. (I'm having different problems with my linux install, but that'll be another post...). So Adam's educated guess that it must be some

Re: [NTG-context] puzzling metafun graphics

2005-09-13 Thread Hans Hagen
Thomas A. Schmitz wrote: OK, I'm back on OS X and checked: 1. created file 01_01_01.tex with this content: \starttext \startuseMPgraphic{circle} draw fullcircle scaled 10 cm ; \stopuseMPgraphic \useMPgraphic{circle} \stoptext compiled fine; circle was there. 2. copied file to

[NTG-context] puzzling metafun graphics

2005-09-12 Thread Thomas A. Schmitz
This one hast just cost me two hours, and I'm still baffled. The story (in shorthand): was trying to integrate a positional metafun graphic into a presentation. I got no output. I tried making a minimal example file to reproduce the problem, and sure enough, everything went fine. I

Re: [NTG-context] puzzling metafun graphics

2005-09-12 Thread Thomas A. Schmitz
: This one hast just cost me two hours, and I'm still baffled. The story (in shorthand): was trying to integrate a positional metafun graphic into a presentation. I got no output. I tried making a minimal example file to reproduce the problem, and sure enough, everything went fine. I rebuilt

Re: [NTG-context] puzzling metafun graphics

2005-09-12 Thread Taco Hoekwater
Thomas A. Schmitz wrote: working directory, and -- I got no output again. diff shows that both files are identical. Looking at the logs, there's only one difference I can spot: Perhaps it can be that something decides that your file has the interesting filename extension '11.08-mpgraph.mp'

Re: [NTG-context] puzzling metafun graphics

2005-09-12 Thread Hans Hagen
Thomas A. Schmitz wrote: OK, I'm answering my own post. The plot thickens. It looks like this has something to do with file names. It only happens when I have a name with a period in it. Thusly, file 05.11.08.tex will not run MP to PDF, when I copy the exact same file to 05_11_08.tex,

Re: [NTG-context] puzzling metafun graphics

2005-09-12 Thread Hans Hagen
Thomas A. Schmitz wrote: This one hast just cost me two hours, and I'm still baffled. The story (in shorthand): was trying to integrate a positional metafun graphic into a presentation. I got no output. I tried making a minimal example file to reproduce the problem, and sure enough

Re: [NTG-context] puzzling metafun graphics

2005-09-12 Thread Thomas A. Schmitz
Well, at least the old texexec processes the file. However, the problem with metafun graphics I described occurs in the old texexec (I'm not at all sure if the two problems are related). Thomas On Sep 12, 2005, at 7:38 PM, Hans Hagen wrote: bug; but does this mean that the old texexec

Re: [NTG-context] puzzling metafun graphics

2005-09-12 Thread Hans Hagen
Thomas A. Schmitz wrote: Well, at least the old texexec processes the file. However, the problem with metafun graphics I described occurs in the old texexec (I'm not at all sure if the two problems are related). can you make me a smal test file? Hans

Re: [NTG-context] A question on drawing functions in MetaFun

2005-08-15 Thread Hans Hagen
Jin-Hwan Cho wrote: On Aug 13, 2005, at 1:10 AM, Hans Hagen wrote: \defineframed[Shaped][background=Shape,frame=off,location=low] Thanks. Still I could not get the right figure with \setuplayer[BackLayer][direction=reverse] Even though direction=reverse option was given, I got only the

Re: [NTG-context] A question on drawing functions in MetaFun

2005-08-12 Thread Jin-Hwan Cho
On Aug 11, 2005, at 8:26 AM, Hans Hagen wrote: StartPage .. StopPage will make a graphic as large as the current page; dimensions are passed by context to mp, but this happens before the graphic is drawn; so, the graphic becomes (default) a4. just omit the StartPage .. StopPage (the inner

Re: [NTG-context] A question on drawing functions in MetaFun

2005-08-12 Thread Vit Zyka
Jin-Hwan Cho wrote: On Aug 11, 2005, at 8:26 AM, Hans Hagen wrote: StartPage .. StopPage will make a graphic as large as the current page; dimensions are passed by context to mp, but this happens before the graphic is drawn; so, the graphic becomes (default) a4. just omit the StartPage ..

Re: [NTG-context] A question on drawing functions in MetaFun

2005-08-12 Thread Jin-Hwan Cho
On Aug 12, 2005, at 7:15 PM, Vit Zyka wrote: \defineframed[Shaped][...=...] Thanks. However what I wanted to know was the definition of \Shaped which generates the second figure in p.145 of metafun-p.pdf (the oval shape in the second line went to under the first oval). Best, ChoF

Re: [NTG-context] A question on drawing functions in MetaFun

2005-08-12 Thread Hans Hagen
Jin-Hwan Cho wrote: On Aug 12, 2005, at 7:15 PM, Vit Zyka wrote: \defineframed[Shaped][...=...] Thanks. However what I wanted to know was the definition of \Shaped which generates the second figure in p.145 of metafun-p.pdf (the oval shape in the second line went to under the first oval

Re: [NTG-context] A question on drawing functions in MetaFun

2005-08-12 Thread Jin-Hwan Cho
On Aug 13, 2005, at 1:10 AM, Hans Hagen wrote: \defineframed[Shaped][background=Shape,frame=off,location=low] Thanks. Still I could not get the right figure with \setuplayer[BackLayer][direction=reverse] Even though direction=reverse option was given, I got only the first figure. Means that

Re: [NTG-context] A question on drawing functions in MetaFun

2005-08-12 Thread Vit Zyka
Jin-Hwan Cho wrote: On Aug 13, 2005, at 1:10 AM, Hans Hagen wrote: \defineframed[Shaped][background=Shape,frame=off,location=low] Thanks. Still I could not get the right figure with \setuplayer[BackLayer][direction=reverse] Even though direction=reverse option was given, I got only the

Re: [NTG-context] A question on drawing functions in MetaFun

2005-08-12 Thread Hans Hagen
Vit Zyka wrote: Jin-Hwan Cho wrote: On Aug 13, 2005, at 1:10 AM, Hans Hagen wrote: \defineframed[Shaped][background=Shape,frame=off,location=low] Thanks. Still I could not get the right figure with \setuplayer[BackLayer][direction=reverse] Even though direction=reverse option was

[NTG-context] \Shaped macro in MetaFun manual

2005-08-10 Thread Jin-Hwan Cho
The third line in the page 145 in the MetaFun manual (metafun-p.pdf) says The \Shaped macro was defined as: some \inframed[background=Shape]{text} with a frame ... some \Shaped{text} with a frame ... It seems to be a typo. Let me know the exact definition of \Shaped macro

Re: [NTG-context] Draw a line with Metafun

2005-08-08 Thread Hans Hagen
Jessica Holle wrote: Hi, I want to draw a line myself with Metafun. This line should looks like in the module pre-05. I've copied a few lines and try to understand what there happend. But it failed. I've also read in the metafun.pdf, but it ist very hard to understand. I don't see

Re: [NTG-context] metafun not working

2005-07-07 Thread Hans Hagen
Mojca Miklavec wrote: pstoedit now doesn't crash any more, but 'P' or 'O' for example don't have holes any more. I'll try to reinstall my cygwin or to compile the source of pstoedit on Linux later. If I understood correctly than this patch should solve the problem and -ssp should work again.

[NTG-context] metafun not working

2005-06-30 Thread piskala upendran
- MetaFun / PRAGMA ADE 2000-2004 processing file : MP-mpgraph.mpo tex format : context requested texts : 1 generating : pdf file processing aborted : invalid `texexec --batch --once --interface=en --pdf' run second MP run needed : text graphics found

Re: [NTG-context] metafun not working

2005-06-29 Thread luigi.scarso
format : metafun This is MetaPost, Version 0.641 (Web2C 7.4.5) (/usr/share/texmf/web2c/natural.tcx) (MP-mpgraph.mp [1] metafun 2005-3-7 13:31 ) 1 output file written: MP-mpgraph.1 Transcript written on MP-mpgraph.log. MakeMPY 1.1 - MetaFun / PRAGMA ADE 2000-2004 processing file : MP

Re: [NTG-context] metafun not working

2005-06-29 Thread Taco Hoekwater
luigi.scarso wrote: MP.tex does not work for me. [...] (141.789,0.23877)..(144.658,-0.000244141) --(144.658,2.99976)--(142.267,2.99976)..controls (133.659,2.99976) and (133.3,4.29492)..(133.3,9.08569) --cycle; --cycle; well, one of my bad day ? Looks like it. The last

Re: [NTG-context] metafun not working

2005-06-29 Thread Hans Hagen
luigi.scarso wrote: MP.tex does not work for me. it works ok here MP.tex: \starttext \startMPcode graphictext MP scaled 8 outlinefill withdrawcolor .7blue withfillcolor .7white dashed evenly withpen pencircle scaled 2pt ; \stopMPcode \stoptext (133.659,2.99976) and

Re: [NTG-context] metafun not working

2005-06-29 Thread luigi.scarso
Taco Hoekwater wrote: makempy --force --noclean MP-mpgraph.mpo The last lines in the (now kept) mpy-MP-mpgraph.tmp should be --cycle; endfig; end no, again --(144.658,2.99976)--(142.267,2.99976)..controls (133.659,2.99976) and (133.3,4.29492)..(133.3,9.08569)

Re: [NTG-context] metafun not working

2005-06-29 Thread luigi.scarso
MP.tex works after downgrading to pstoedit 3.33 luigi ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] metafun not working

2005-06-29 Thread Wolfgang Zillig
Hello, I have problems with this graphic too. First I noticed that I don't have pstoedit installed on my computer. I downloaded version 3.40 from http://www.pstoedit.net/pstoedit. When I now run this MP code I get a Windows (xp) errormessage: Unhandled exception in pstoedit.exe

Re: [NTG-context] metafun not working

2005-06-29 Thread luigi.scarso
Wolfgang Zillig wrote: Hello, I have problems with this graphic too. First I noticed that I don't have pstoedit installed on my computer. I downloaded version 3.40 from http://www.pstoedit.net/pstoedit. When I now run this MP code I get a Windows (xp) errormessage: Unhandled exception in

[NTG-context] Re: metafun not working

2005-06-29 Thread Mojca Miklavec
luigi.scarso wrote: hmm, try on ctan: ctan/support/pstoedit/windows It should be an older (3.31) but good version . cited from the webpage: New or changed in 3.32: ... workaround to cope with a change introduced since ghostscript 7.04. Some new operators were added to ghostscript's

<    5   6   7   8   9   10   11   >