Re: [NTG-context] MKIV and externaligure inside metafun

2009-08-28 Thread Mojca Miklavec
On Fri, Aug 28, 2009 at 16:22, Hans Hagen wrote: > > pdftex and luatex process your file ok OK, so it's again "my computer only" problem :) :) :) Well, never mind then. If it works for you then it probably works on at least a few more machines, or will start working with the next major release at

Re: [NTG-context] MKIV and externaligure inside metafun

2009-08-28 Thread Hans Hagen
Mojca Miklavec wrote: Hello Hans, nothing urgent (I'm still on MKII), but it seems that MKIV (maybe only on my machine?) has problems with externalfigure("filename.png") maybe a library problem? Hans -

[NTG-context] MKIV and externaligure inside metafun

2009-08-28 Thread Mojca Miklavec
Hello Hans, nothing urgent (I'm still on MKII), but it seems that MKIV (maybe only on my machine?) has problems with externalfigure("filename.png") Mojca ___ If your question is of interest to others as well, plea

Re: [NTG-context] missing metafun graphics in mkii

2009-06-08 Thread Hans Hagen
Mojca Miklavec wrote: Mea culpa ... can happen Fatal mem file error; metafun.mem was written by an older version normally texexec --make would show at least something, as it remakes the metafun format Since texexec doesn't intercept this error message gets hidden too well.

Re: [NTG-context] missing metafun graphics in mkii

2009-06-08 Thread Mojca Miklavec
On Mon, Jun 8, 2009 at 13:11, Mojca Miklavec wrote: > Hello, > > Does anyone else experience problems using metafun graphics in mkii? > Did I miss some runwhatevertrue switch somewhere? Are the stubs in > minimals incompatible in some way? At least live.contextgarden.net > seems

Re: [NTG-context] missing metafun graphics in mkii

2009-06-08 Thread Hans Hagen
Mojca Miklavec wrote: Hello, Does anyone else experience problems using metafun graphics in mkii? Did I miss some runwhatevertrue switch somewhere? Are the stubs in minimals incompatible in some way? At least live.contextgarden.net seems to suffer as well. Minimal example: \startMPcode draw

Re: [NTG-context] missing metafun graphics in mkii

2009-06-08 Thread Peter Rolf
Mojca Miklavec schrieb: Hello, Does anyone else experience problems using metafun graphics in mkii? Did I miss some runwhatevertrue switch somewhere? Are the stubs in minimals incompatible in some way? At least live.contextgarden.net seems to suffer as well. Minimal example: \startMPcode draw

Re: [NTG-context] missing metafun graphics in mkii

2009-06-08 Thread Zhichu Chen
t; On Mon, 8 Jun 2009, Mojca Miklavec wrote: > >> Does anyone else experience problems using metafun graphics in mkii? >> Did I miss some runwhatevertrue switch somewhere? Are the stubs in >> minimals incompatible in some way? At least live.contextgarden.net >> seems to s

Re: [NTG-context] missing metafun graphics in mkii

2009-06-08 Thread Peter Münster
On Mon, 8 Jun 2009, Mojca Miklavec wrote: > Does anyone else experience problems using metafun graphics in mkii? > Did I miss some runwhatevertrue switch somewhere? Are the stubs in > minimals incompatible in some way? At least live.contextgarden.net > seems to suffer as well. No

[NTG-context] missing metafun graphics in mkii

2009-06-08 Thread Mojca Miklavec
Hello, Does anyone else experience problems using metafun graphics in mkii? Did I miss some runwhatevertrue switch somewhere? Are the stubs in minimals incompatible in some way? At least live.contextgarden.net seems to suffer as well. Minimal example: \startMPcode draw fullcircle scaled 3cm

Re: [NTG-context] Linebreak in Metapost/Metafun Label

2009-03-27 Thread Aditya Mahajan
On Sat, 28 Mar 2009, Wolfgang Schuster wrote: Am 28.03.2009 um 01:33 schrieb Aditya Mahajan: Of course, certain objects like floats, footnotes, marginpars, will never work inside metapost. (I think you can get floats and footnotes to work, but that will require some hackery) You could use

Re: [NTG-context] Linebreak in Metapost/Metafun Label

2009-03-27 Thread CuriousLearn
Aditya Mahajan umich.edu> writes: > Here is a simplified picture. Basically, anything inside btex ... etex (or > textext(...) or \sometxt{...}) is in what is known as TeX's horizontal > mode. Think of this as what you will get if you put the same argument in a > \hbox (see the TeXbook or TeX

Re: [NTG-context] Linebreak in Metapost/Metafun Label

2009-03-27 Thread Wolfgang Schuster
Am 28.03.2009 um 01:33 schrieb Aditya Mahajan: Of course, certain objects like floats, footnotes, marginpars, will never work inside metapost. (I think you can get floats and footnotes to work, but that will require some hackery) You could use streams and local footnotes. Wolfgang __

Re: [NTG-context] Linebreak in Metapost/Metafun Label

2009-03-27 Thread Aditya Mahajan
lot in metafun manual and on the web but could not find anything. I am not yet clear about the logic. When I saw that I could color labels using the \color[red]{red} command by putting it between btex...etex, it seemed to me that any context command would work if put in there. So I tried \crlf to ge

Re: [NTG-context] Linebreak in Metapost/Metafun Label

2009-03-27 Thread CuriousLearn
Aditya Mahajan umich.edu> writes: > > > > Any ideas why it may not be working for me? > > Because I did not test before posting :) > > Try \framed[align=normal, width=5cm, frame=no]{} > > Aditya Awesome! That works great. Before asking I tried searchi

Re: [NTG-context] Linebreak in Metapost/Metafun Label

2009-03-27 Thread Aditya Mahajan
On Fri, 27 Mar 2009, CuriousLearn wrote: Aditya Mahajan umich.edu> writes: For example, suppose I have label.rt(textext("Do you see this label text. Quite long. Need to break it across lines"),(3,5)); label.rt(textext("\framed[frame=no,width=5cm]{}", (3,5)) ; Aditya Thanks Aditya.

Re: [NTG-context] Linebreak in Metapost/Metafun Label

2009-03-27 Thread CuriousLearn
Aditya Mahajan umich.edu> writes: > > For example, suppose I have > > > > label.rt(textext("Do you see this label text. Quite long. Need to break it > > across lines"),(3,5)); > > label.rt(textext("\framed[frame=no,width=5cm]{}", (3,5)) ; > > Aditya > Thanks Aditya. Sorry but that does n

Re: [NTG-context] Linebreak in Metapost/Metafun Label

2009-03-27 Thread Aditya Mahajan
On Fri, 27 Mar 2009, CuriousLearn wrote: Hi, Is it possible to break labels in two lines if needed? For example, suppose I have label.rt(textext("Do you see this label text. Quite long. Need to break it across lines"),(3,5)); label.rt(textext("\framed[frame=no,width=5cm]{}", (3,5)) ; A

[NTG-context] Linebreak in Metapost/Metafun Label

2009-03-27 Thread CuriousLearn
Hi, Is it possible to break labels in two lines if needed? For example, suppose I have label.rt(textext("Do you see this label text. Quite long. Need to break it across lines"),(3,5)); Can I have it appear in the figure as Do you see this label text. Quite long. Need to break it across line

Re: [NTG-context] Command "show" in Metapost/Metafun

2009-03-12 Thread Aditya Mahajan
On Thu, 12 Mar 2009, Hans Hagen wrote: \ctxlua{metapost.showlog = true} Can you make this default? Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-co

Re: [NTG-context] Command "show" in Metapost/Metafun

2009-03-12 Thread Hans Hagen
Aditya Mahajan wrote: On Thu, 12 Mar 2009, Curious Learn wrote: Hi, I am trying to learn Metapost using Context. I tried a few examples for drawing things and they worked well. But the "show" command does not seem to work. For example, the code \startuseMPgraphic{GridDots} u=1cm; p

Re: [NTG-context] Command "show" in Metapost/Metafun

2009-03-11 Thread Aditya Mahajan
On Thu, 12 Mar 2009, Curious Learn wrote: Hi, I am trying to learn Metapost using Context. I tried a few examples for drawing things and they worked well. But the "show" command does not seem to work. For example, the code \startuseMPgraphic{GridDots} u=1cm; pickup pencircle sc

[NTG-context] Command "show" in Metapost/Metafun

2009-03-11 Thread Curious Learn
Hi, I am trying to learn Metapost using Context. I tried a few examples for drawing things and they worked well. But the "show" command does not seem to work. For example, the code \startuseMPgraphic{GridDots} u=1cm; pickup pencircle scaled 8pt for i = 0 upto 2:

Re: [NTG-context] mplib/metafun broken in latest beta

2008-05-28 Thread Thomas A. Schmitz
On May 28, 2008, at 11:41 PM, Hans Hagen wrote: > hm i wonder why ... maybe you use raggedcenter? > > Hans > Just try the minimal example I sent this afternoon and compile it with mkii and mkiv and you'll see the difference. Thomas __

Re: [NTG-context] mplib/metafun broken in latest beta

2008-05-28 Thread Hans Hagen
Thomas A. Schmitz wrote: > On May 28, 2008, at 4:33 PM, Hans Hagen wrote: > >> indeed, we're experimenting with a couple of nasty bugs and in the >> process mess aroudn with beta's; sorry ... >> >> i'll upload a new one (new bins later) >> >> Hans > > Hi Hans, > > new beta does indeed produce ou

Re: [NTG-context] mplib/metafun broken in latest beta

2008-05-28 Thread Thomas A. Schmitz
On May 28, 2008, at 4:33 PM, Hans Hagen wrote: > indeed, we're experimenting with a couple of nasty bugs and in the > process mess aroudn with beta's; sorry ... > > i'll upload a new one (new bins later) > > Hans Hi Hans, new beta does indeed produce output, but every MP graphic is centered (

Re: [NTG-context] mplib/metafun broken in latest beta

2008-05-28 Thread Hans Hagen
Thomas A. Schmitz wrote: > Hi Hans and Taco, > > it looks like mplib is broken in the latest beta. Simple file: indeed, we're experimenting with a couple of nasty bugs and in the process mess aroudn with beta's; sorry ... i'll upload a new one (new bins later) Hans ---

[NTG-context] mplib/metafun broken in latest beta

2008-05-28 Thread Thomas A. Schmitz
Hi Hans and Taco, it looks like mplib is broken in the latest beta. Simple file: \starttext \startuseMPgraphic{test} draw fullcircle scaled 5cm ; \stopuseMPgraphic \useMPgraphic{test} \stoptext produces no output. I tested on several different computers, so it doesn't look like a misconfigu

Re: [NTG-context] Weird behavior about metafun

2008-01-09 Thread Wolfgang Schuster
On Jan 8, 2008 6:04 PM, Hans Hagen <[EMAIL PROTECTED]> wrote: > Zhichu Chen wrote: > > Hi, > > > > On Jan 7, 2008 11:52 PM, Aditya Mahajan <[EMAIL PROTECTED]> wrote: > > > >> > >> Something like this: > >> http://www.fauskes.net/media/pgftikzexamples/PDF/todo-notes.pdf > >> > >> It will be nice to

Re: [NTG-context] Weird behavior about metafun

2008-01-08 Thread Zhichu Chen
Pretty cool! I knew ConTeXt can do it and thank you Hans for teaching me so much. Hi Arthur, I'm suffering a network problem so sometimes mails may no be delivered correctly. But ignore my test file and get Hans' one. On Jan 9, 2008 1:04 AM, Hans Hagen <[EMAIL PROTECTED]> wrote: > Zhichu Chen wr

Re: [NTG-context] Weird behavior about metafun

2008-01-08 Thread Hans Hagen
Zhichu Chen wrote: > Hi, > > On Jan 7, 2008 11:52 PM, Aditya Mahajan <[EMAIL PROTECTED]> wrote: > >> >> Something like this: >> http://www.fauskes.net/media/pgftikzexamples/PDF/todo-notes.pdf >> >> It will be nice to have a ConTeXt module that can do this. > > > I've made a test file which is s

Re: [NTG-context] Weird behavior about metafun

2008-01-08 Thread Arthur Reutenauer
> I've made a test file which is somewhat like what it shows, but I > still have many problems so it's far from perfect. Could you still make the test file available? Arthur ___ If your question is of intere

Re: [NTG-context] Weird behavior about metafun

2008-01-08 Thread Zhichu Chen
Hi, On Jan 7, 2008 11:52 PM, Aditya Mahajan <[EMAIL PROTECTED]> wrote: > > > Something like this: > http://www.fauskes.net/media/pgftikzexamples/PDF/todo-notes.pdf > > It will be nice to have a ConTeXt module that can do this. I've made a test file which is somewhat like what it shows, but I st

Re: [NTG-context] Weird behavior about metafun

2008-01-07 Thread Zhichu Chen
ay which is described in Chapter 5 of the > metafun > > manual. And I wanna draw a line from the text I wanna comment on to the > > marginal notes which my comments lay on. > > Something like this: > http://www.fauskes.net/media/pgftikzexamples/PDF/todo-notes.pdf Yes! That's

Re: [NTG-context] Weird behavior about metafun

2008-01-07 Thread Aditya Mahajan
On Mon, 7 Jan 2008, Zhichu Chen wrote: > Hi Hans and Wolfgang, > > I'm just trying to make some illustrations about the Chinese typesetting > features. So I choose the way which is described in Chapter 5 of the metafun > manual. And I wanna draw a line from the text I wan

Re: [NTG-context] Weird behavior about metafun

2008-01-07 Thread Zhichu Chen
On Jan 7, 2008 9:41 PM, Hans Hagen <[EMAIL PROTECTED]> wrote: > Zhichu Chen wrote: > > Oh, by the way, if I put \fpos at the beginning of a paragraph, > > it adds an extra blank line. I have to force it to the > > horizontal mode like: > > \leavevmode\fpos{A-1} . . . \tpos{A-1} > > \dontleavehmode

Re: [NTG-context] Weird behavior about metafun

2008-01-07 Thread Hans Hagen
Zhichu Chen wrote: > Oh, by the way, if I put \fpos at the beginning of a paragraph, > it adds an extra blank line. I have to force it to the > horizontal mode like: > \leavevmode\fpos{A-1} . . . \tpos{A-1} \dontleavehmode \fpos ... > So is it safe to change the definition of \fpos to add > \leav

Re: [NTG-context] Weird behavior about metafun

2008-01-07 Thread Zhichu Chen
:45 AM, Zhichu Chen <[EMAIL PROTECTED]> wrote: > Hi Hans and Wolfgang, > > I'm just trying to make some illustrations about the Chinese typesetting > features. So I choose the way which is described in Chapter 5 of the > metafun > manual. And I wanna draw a line from t

[NTG-context] Weird behavior about metafun

2008-01-07 Thread Zhichu Chen
Hi Hans and Wolfgang, I'm just trying to make some illustrations about the Chinese typesetting features. So I choose the way which is described in Chapter 5 of the metafun manual. And I wanna draw a line from the text I wanna comment on to the marginal notes which my comments lay on

[NTG-context] cheatsheet for metafun?

2008-01-03 Thread Maurí­cio
Hi, Does anyone know of a nice 1 or 2 page cheatsheet for metafun or metapost? I've just started learning it and something like that would be usefull. Thanks, Maurício ___ If your question is of interest to o

Re: [NTG-context] MathML in Metafun

2007-11-03 Thread Wolfgang Schuster
2007/11/2, Maurí­cio <[EMAIL PROTECTED]>: > > >> Is it possible to use MathML inside > >> a Metapost or Metafun label? > > > > I'm not 100% sure, but \sometxt{... your ConTeXt stuff with mathml > > here ...} could work. > > It seems a good id

Re: [NTG-context] MathML in Metafun

2007-11-02 Thread Maurí­cio
>> Is it possible to use MathML inside >> a Metapost or Metafun label? > > I'm not 100% sure, but \sometxt{... your ConTeXt stuff with mathml > here ...} could work. It seems a good idea. But, actually, I should have learned how to insert MathML in Context in the first

Re: [NTG-context] MathML in Metafun

2007-11-02 Thread Mojca Miklavec
On 11/1/07, Maurí­cio wrote: > Hi, > > Is it possible to use MathML inside > a Metapost or Metafun label? I'm not 100% sure, but \sometxt{... your ConTeXt stuff with mathml here ...} could work. Or, I could imagine that you should be able to defne some commant, so that \sometxt[m

[NTG-context] MathML in Metafun

2007-11-01 Thread Maurí­cio
Hi, Is it possible to use MathML inside a Metapost or Metafun label? Thanks, Maurício ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http

Re: [NTG-context] MetaFun and different body font size

2007-08-20 Thread Mojca Miklavec
On 8/20/07, Oliver Buerschaper wrote: > Dear folks, > > I'm wondering how to communicate a different default bodyfont size to > MetaFun ... consider this: > > --- > > \setupbodyfont[32pt] > > > \starttext > > \input ward > > \startuseMPgraphic{t

Re: [NTG-context] Mysterious clipping for shaded MetaFun page background

2007-08-20 Thread Hans Hagen
Peter Rolf wrote: > Oliver Buerschaper schrieb: >> Dear folks, >> >> can anyone reproduce this? (Live ConTeXt on the garden seems to run >> into this \faststartcolor thing ... with pdfTeX.) it may help to increase \def\objectoffset{1cm} (by default reused objects clip and this creates a virtua

Re: [NTG-context] Mysterious clipping for shaded MetaFun page background

2007-08-20 Thread Peter Rolf
Oliver Buerschaper schrieb: > Dear folks, > > can anyone reproduce this? (Live ConTeXt on the garden seems to run > into this \faststartcolor thing ... with pdfTeX.) > > Uncomment the page background overlay and the top bit of the frames' > titles will be chipped off ... doesn't happen for the

[NTG-context] Mysterious clipping for shaded MetaFun page background

2007-08-20 Thread Oliver Buerschaper
Dear folks, can anyone reproduce this? (Live ConTeXt on the garden seems to run into this \faststartcolor thing ... with pdfTeX.) Uncomment the page background overlay and the top bit of the frames' titles will be chipped off ... doesn't happen for the plain vanilla color background on my m

Re: [NTG-context] MetaFun and different body font size

2007-08-20 Thread Oliver Buerschaper
Perfectly! Thanks to both of you. Oliver > Did this work for you > > \startMPenvironment > \usetypescript[palatino][texnansi] > \switchtobodyfont[palatino,20pt] > \stopMPenvironment > > \usetypescript[palatino][texnansi] > \setupbodyfont[palatino,20pt] > > \starttext > Text > > \startuseMPgrap

Re: [NTG-context] MetaFun and different body font size

2007-08-20 Thread Peter Rolf
Oliver Buerschaper schrieb: > Dear folks, > > I'm wondering how to communicate a different default bodyfont size to > MetaFun ... consider this: > > --- > > \setupbodyfont[32pt] > > > \starttext > > \input ward > > \startuseMPgraphic

Re: [NTG-context] MetaFun and different body font size

2007-08-20 Thread Wolfgang Schuster
2007/8/20, Oliver Buerschaper <[EMAIL PROTECTED]>: > > Somehow MetaFun doesn't recognize the larger body font size :-( > > By the way, font face changes aren't reflected either ... > > --- > > \usetypescript[palatino][\defaultencoding] > > \setupbodyf

Re: [NTG-context] MetaFun and different body font size

2007-08-20 Thread Oliver Buerschaper
> Somehow MetaFun doesn't recognize the larger body font size :-( By the way, font face changes aren't reflected either ... --- \usetypescript[palatino][\defaultencoding] \setupbodyfont[palatino,32pt] \starttext \input ward \startuseMPgraphic{test} draw unit

[NTG-context] MetaFun and different body font size

2007-08-20 Thread Oliver Buerschaper
Dear folks, I'm wondering how to communicate a different default bodyfont size to MetaFun ... consider this: --- \setupbodyfont[32pt] \starttext \input ward \startuseMPgraphic{test} draw unitsquare scaled BodyFontSize; draw textext.rt("Test"); draw

Re: [NTG-context] frames in ConTeXt and metafun

2007-07-13 Thread Thomas A. Schmitz
On Thu, 12 Jul 2007 > On Thu, 12 Jul 2007, Thomas A. Schmitz wrote: > >> On Jul 12, 2007, at 10:04 AM, Peter Rolf wrote: >> >> > sure (see attachment). >> > >> Thanks so much Peter! THis looks MUCH better. The more I use metafun, >> the more I love

Re: [NTG-context] frames in ConTeXt and metafun

2007-07-12 Thread Peter Münster
On Thu, 12 Jul 2007, Thomas A. Schmitz wrote: > On Jul 12, 2007, at 10:04 AM, Peter Rolf wrote: > > > sure (see attachment). > > > Thanks so much Peter! THis looks MUCH better. The more I use metafun, > the more I love it. Hello, Did you take a look at the result with

Re: [NTG-context] frames in ConTeXt and metafun

2007-07-12 Thread Thomas A. Schmitz
On Jul 12, 2007, at 10:04 AM, Peter Rolf wrote: > Hi Thomas, > sure (see attachment). > > Greetings, Peter Thanks so much Peter! THis looks MUCH better. The more I use metafun, the more I love it. Thomas __

Re: [NTG-context] frames in ConTeXt and metafun

2007-07-12 Thread Peter Rolf
Hi Thomas, Thomas A. Schmitz schrieb: > This is a very small cosmetic problem, but it bugs me: I'm preparing > a background for a presentation, and I want a frame with a > transparent color to appear on every slide, so I define an overlay > and use metapost. I also want to frame some text el

[NTG-context] frames in ConTeXt and metafun

2007-07-11 Thread Thomas A. Schmitz
This is a very small cosmetic problem, but it bugs me: I'm preparing a background for a presentation, and I want a frame with a transparent color to appear on every slide, so I define an overlay and use metapost. I also want to frame some text elements, so I use a \framed. The problem is th

[NTG-context] metafun externalfigure macro with xetex

2007-07-11 Thread Lutz Haseloff
Hi all, if i use the metafun macro "externalfigure" with xetex, there is a printed number (first externafigure prints a "1", the second a "2" right after the "1" and so on) in the lower left corner of the picture; the picture itself is shifted to the uppe

[NTG-context] metafun externalfigure macro with xetex

2007-07-10 Thread Lutz Haseloff
Hi all, if i use the metafun macro "externalfigure" with xetex, there is a printed number (first externafigure prints a "1", the second a "2" right after the "1" and so on) in the lower left corner of the picture; the picture itself is shifted to the uppe

[NTG-context] metafun externalfigure macro with xetex

2007-07-05 Thread Lutz Haseloff
Hi all, if i use the metafun macro "externalfigure" with xetex, there is a printed number (first externafigure prints a "1", the second a "2" right after the "1" and so on) in the lower left corner of the picture; the picture itself is shifted to the upp

Re: [NTG-context] metafun/label: utf8 and spaces

2007-07-02 Thread Patrick Gundlach
Hi Mojca, >> label("foobar baz äöß",(3cm,3cm)); % <-- broken >> draw btex foobar baz äöß etex % <--- OK > > Why not this one? [\sometxt] (Much faster, less problems, etc.) (with the sound of 'wizard of oz') Because, because, because... I didn't know about it. Thanks! Patrick

Re: [NTG-context] metafun/label: utf8 and spaces

2007-06-29 Thread Mojca Miklavec
On 6/28/07, Patrick Gundlach wrote: > Hi, > > is there any way to get utf-8 labels and without the 'strange' space > glyph? > > -- > > \startMPenvironment[+] > \enableregime[utf] > \stopMPenvironment > > > \starttext > foobar baz äöß % <-- OK > > \st

Re: [NTG-context] metafun/label: utf8 and spaces

2007-06-28 Thread Aditya Mahajan
Quoting Patrick Gundlach <[EMAIL PROTECTED]>: > >> is there any way to get utf-8 labels and without the 'strange' space >> glyph? >> > > A follow-up/answer... > (I hate doing this) > > textext is a perfect substitute for label. (see me

Re: [NTG-context] metafun/label: utf8 and spaces

2007-06-28 Thread Patrick Gundlach
> is there any way to get utf-8 labels and without the 'strange' space > glyph? > A follow-up/answer... (I hate doing this) textext is a perfect substitute for label. (see metafun-p.pdf) Patrick

[NTG-context] metafun/label: utf8 and spaces

2007-06-28 Thread Patrick Gundlach
Hi, is there any way to get utf-8 labels and without the 'strange' space glyph? -- \startMPenvironment[+] \enableregime[utf] \stopMPenvironment \starttext foobar baz äöß % <-- OK \startuniqueMPgraphic{bla} label("foobar baz äöß",(3cm,3cm)); %

Re: [NTG-context] loadcurrentMPgraphic from metafun manual

2007-06-10 Thread Wolfgang Schuster
On Fri, 08 Jun 2007 16:25:13 -0400 Aditya Mahajan <[EMAIL PROTECTED]> wrote: > Quoting nicola <[EMAIL PROTECTED]>: > > > Hi, > > I have tried the following example (metafun-p.pdf, p. 112-3): > > > > \startMPgraphic > > draw unitsquare xsca

Re: [NTG-context] loadcurrentMPgraphic from metafun manual

2007-06-08 Thread Aditya Mahajan
Quoting nicola <[EMAIL PROTECTED]>: > Hi, > I have tried the following example (metafun-p.pdf, p. 112-3): > > \startMPgraphic > draw unitsquare xscaled 5cm yscaled 1cm withpen pencircle scaled 2mm > withcolor .625red; > \stopMPgraphic > > \hbox \bgroup > \loadc

[NTG-context] \loadcurrentMPgraphic from metafun manual

2007-06-08 Thread nicola
Hi, I have tried the following example (metafun-p.pdf, p. 112-3): \startMPgraphic draw unitsquare xscaled 5cm yscaled 1cm withpen pencircle scaled 2mm withcolor .625red; \stopMPgraphic \hbox \bgroup \loadcurrentMPgraphic{width=5cm,height=1cm}\placeMPgraphic \quad \loadcurrentMPgraphic

Re: [NTG-context] Back to Metafun Manual

2007-06-07 Thread David Arnold
Taco, After updating my gWTeX, it now works here as well. Thanks., On Jun 7, 2007, at 12:05 AM, Taco Hoekwater wrote: > David Arnold wrote: >> All, >> >> I am wondering what is wrong with the following. On my system it > > It runs fine on my system, somehow your metapost output image is > broke

Re: [NTG-context] Back to Metafun Manual

2007-06-07 Thread Taco Hoekwater
David Arnold wrote: > All, > > I am wondering what is wrong with the following. On my system it It runs fine on my system, somehow your metapost output image is broken: > (./meta-meta.tmp [MP to PDF] (./meta-mpgraph.1 > ! Dimension too large. > \onebasepoint > > \handleMPboundingbox ...expr

[NTG-context] Back to Metafun Manual

2007-06-06 Thread David Arnold
All, I am wondering what is wrong with the following. On my system it produces the error that follows. \setuppapersize[S6][S6] \usetypescriptonce [map] [times,helvetica,palatino] [texnansi] \usetypescriptonce [serif][times][name,texnansi] \usetypescriptonce [sans]

Re: [NTG-context] Acrobat crashes metafun manual

2007-06-05 Thread luigi scarso
On 6/6/07, David Arnold <[EMAIL PROTECTED]> wrote: > All, > > Running Acrobat 7.0.9. In reading the metafun-s.pdf from pragma- > ade.com, Acrobat every so often just shuts down. Anyone else > experience that? Is this a known behavior with metafun manual? > No problem o

[NTG-context] Acrobat crashes metafun manual

2007-06-05 Thread David Arnold
All, Running Acrobat 7.0.9. In reading the metafun-s.pdf from pragma- ade.com, Acrobat every so often just shuts down. Anyone else experience that? Is this a known behavior with metafun manual? ___ If your question

Re: [NTG-context] unicode in metafun?

2007-04-08 Thread Andrea Valle
Hi Nicola, Taco, thanks. So now I discovered \sometxt. As far as I understood what Taco say I this way I can use On 7 Apr 2007, at 09:16, Taco Hoekwater wrote: all characters context knows how to use. This means that, if my chars aren't in \showcharacters they're unavailable (am I righ

Re: [NTG-context] unicode in metafun?

2007-04-07 Thread nicola
In article <[EMAIL PROTECTED]>, Andrea Valle <[EMAIL PROTECTED]> wrote: > Hi to all, > > I'm plotting a phonetic formant chart with metapost inside context. > I know I can't use TIPA, but I would be happy with utf8. I did something similar with XeTeX and ConTeXt using the \sometxt macro, e.g.:

Re: [NTG-context] unicode in metafun?

2007-04-07 Thread Taco Hoekwater
Andrea Valle wrote: > > Is there a way to use unicode symbols with metapost? If you let context typeset the labels by using \textext or, even better, \sometxt, you should be able to use all characters context knows how to use. Unfortunately, in phonetics, that is very few, because of the lacking

[NTG-context] unicode in metafun?

2007-04-06 Thread Andrea Valle
Hi to all, I'm plotting a phonetic formant chart with metapost inside context. I know I can't use TIPA, but I would be happy with utf8. So I'm encoding a utf8 file, and I can see the chars in the source. As an example I see this: ɷ But MP is complaining about not ascii characters. Even outside

Re: [NTG-context] Fonts, nice looking headers, MetaFun and CV module

2007-03-19 Thread Wolfgang Schuster
x\scratchbox} \egroup} \protect \setupcolors[state=start] \setuphead [section] [command=\cvsection, textstyle=\ss\bf] \starttext \section{Work experience} \stoptext Wolfgang > I tried various things here. Using \framed, MetaFun and \setupbackground. > Fo

[NTG-context] Fonts, nice looking headers, MetaFun and CV module

2007-03-18 Thread Gudmundur J. Kristjansson
e any standardized way, for example, to change font in headers or definitions of commands to affect only text in those definitions? 2. Fancy header with half of the text in background color (see headers in my former pdf at http://www.vitum.net/gjk/cv.pdf). I tried various things here. Using \fr

Re: [NTG-context] error with metafun

2007-01-05 Thread Taco Hoekwater
Peter Münster wrote: > On Thu, 4 Jan 2007, Taco Hoekwater wrote: > > >>Peter Münster wrote: >> >>>with the latest ConTeXt on TeX-live 2007 and this input file: >> >>No error here, but my context and metapost are newer and my >>pdftex is older than TL, so that may not mean much. > > Did you us

Re: [NTG-context] error with metafun

2007-01-04 Thread Hans Hagen
raphic > \useMPgraphic{test} > \stoptext > > I get the following error in dvi-mode: > > This is MetaPost, Version 0.993 (Web2C 7.5.6) > (test-mpgraph.mp [1] > metafun 2007-1-4 11:2 > ) > 1 output file written: test-mpgraph.1 > Transcript written on test-mpgraph.log

Re: [NTG-context] error with metafun

2007-01-04 Thread Taco Hoekwater
Peter Münster wrote: > Hello, > > with the latest ConTeXt on TeX-live 2007 and this input file: No error here, but my context and metapost are newer and my pdftex is older than TL, so that may not mean much. Best, Taco ___ ntg-context mailing list ntg

Re: [NTG-context] error with metafun

2007-01-04 Thread Peter Münster
On Thu, 4 Jan 2007, Taco Hoekwater wrote: > Peter Münster wrote: > > > > with the latest ConTeXt on TeX-live 2007 and this input file: > > No error here, but my context and metapost are newer and my > pdftex is older than TL, so that may not mean much. Did you use the "--dvi" switch of texexec

[NTG-context] error with metafun

2007-01-04 Thread Peter Münster
error in dvi-mode: This is MetaPost, Version 0.993 (Web2C 7.5.6) (test-mpgraph.mp [1] metafun 2007-1-4 11:2 ) 1 output file written: test-mpgraph.1 Transcript written on test-mpgraph.log. [MP as EPS ./test-mpgraph.1] [MP color conversion ./test-mpgraph.1 ! Argument of \dodohandleMPcolor has an

[NTG-context] Problems with MetaFun and registers

2006-10-23 Thread Fredrik Sjunnesson
I have problems with the register macro in MetaFun. When I try == \setupcolors[state=start] \starttext \definelayer[test] \startuseMPgraphic{oeps} path p ; p := fullcircle scaled 6cm ; fill p withcolor .8white

[NTG-context] bug: MetaFun doesn't speak French

2006-10-03 Thread Mojca Miklavec
Hello Hans, here's a little MetaFun snippet which fails to work because of special treatment of French characters: \useencoding[ffr] \mainlanguage[fr] \startMPcode fill fullcircle scaled 5cm; \stopMPcode \stoptext >> (0,0,5cm.directdiscretionary,0,0,5cm.directdiscretionary)

Re: [NTG-context] transparent metafun colors turn nearly black

2006-09-29 Thread Patrick Gundlach
Hello Sanjoy, [...] >>> (I wonder if the live context has been having the same problem?) > >> I tried to fix it after Taco reported the exact problem. Plese test >> if it's working now. > > Thanks, the live context works! I tested this file: Thank you and Mojca for testing and fixing things.

Re: [NTG-context] does metafun require texexec --final?

2006-09-27 Thread Patrick Gundlach
Hi, > If I try to edit the top level of a page by clicking the edit tab at > the top, then I get a dialog box from Firefox (on Linux). I just > tried it with and got > "You have chosen to open index.php which is a: PHP script. What > should Firefox do

Re: [NTG-context] does metafun require texexec --final?

2006-09-26 Thread Sanjoy Mahajan
> sure, that's an option, but up to the user (maybe wikify this > suggestion) Patrick: Not sure if it's a firefox-only problem or one that the contextgarden wiki can help with by sending more detailed mime types, but... If I try to edit the top level of a page by clicking the edit tab at the top

Re: [NTG-context] does metafun require texexec --final?

2006-09-26 Thread Hans Hagen
� wrote: > On Sun, 24 Sep 2006, Hans Hagen wrote: > > >>> Oh, that's not a good idea, because the next context update will >>> overwrite cont-sys.rme. So I should copy cont-sys.rme to cont-sys.tex >>> first, then uncomment the lines in cont-sys.tex. But then a context >>> update will overwrite

Re: [NTG-context] does metafun require texexec --final?

2006-09-25 Thread Peter Münster
On Sun, 24 Sep 2006, Hans Hagen wrote: > > Oh, that's not a good idea, because the next context update will > > overwrite cont-sys.rme. So I should copy cont-sys.rme to cont-sys.tex > > first, then uncomment the lines in cont-sys.tex. But then a context > > update will overwrite cont-sys.rme, an

Re: [NTG-context] transparent metafun colors turn nearly black

2006-09-25 Thread Sanjoy Mahajan
>> (I wonder if the live context has been having the same problem?) > I tried to fix it after Taco reported the exact problem. Plese test > if it's working now. Thanks, the live context works! I tested this file: \setupcolors[state=start] \starttext \startreusableMPgraphic{a} fill fullc

Re: [NTG-context] transparent metafun colors turn nearly black

2006-09-25 Thread Mojca Miklavec
memory.mpost = 150 > > I commented out the .mpost line (there was no separate metafun line, > which I guess was getting the main_memory value of 100), > regenerated the texmf.cnf with "update-texmf", then regenerated > metafun with "texexec --make metafun&

Re: [NTG-context] metafun: verbatimtex coming too late?

2006-09-24 Thread Sanjoy Mahajan
I had wondered: > only the label that is directly in the figure ("Inline in the > figure.") comes out in 7pt. The other one, produced by the drawtext > macro, comes out in 12pt. > A possible solution is to put the verbatimtex at the beginning of > the mp file or after the input mp-grph, making it

[NTG-context] metafun: verbatimtex coming too late?

2006-09-24 Thread Sanjoy Mahajan
In this file, I intended that all labels would come out in 7pt: === cut here \starttext \startMPenvironment \setupbodyfont[7pt] \stopMPenvironment \startMPinclusions def drawtext = label(btex In drawtext() macro. etex, origin); enddef; \sto

Re: [NTG-context] does metafun require texexec --final?

2006-09-24 Thread Hans Hagen
Sanjoy Mahajan wrote: > Wolfgang, > > Thanks for the pointer. I don't have a cont-sys.tex, but cont-sys.rme > has these lines > > % \runMPgraphicstrue > % \runMPTEXgraphicstrue > > The .rme extension meant I'd missed it when I ran grep on the .tex > files. I'll uncomment them. > > Oh, that's not

Re: [NTG-context] does metafun require texexec --final?

2006-09-24 Thread Taco Hoekwater
Mojca Miklavec wrote: > On 9/23/06, Sanjoy Mahajan wrote: > >>So maybe the best approach is to edit cont-sys.rme directly, then >>merge changes (using a revision control system like mercurial or git) >>that arrive with the new context distributions. > > > Changes in cont-sys.rme don't happen tha

Re: [NTG-context] does metafun require texexec --final?

2006-09-24 Thread Mojca Miklavec
On 9/23/06, Sanjoy Mahajan wrote: > So maybe the best approach is to edit cont-sys.rme directly, then > merge changes (using a revision control system like mercurial or git) > that arrive with the new context distributions. Changes in cont-sys.rme don't happen that often. You can safely create con

Re: [NTG-context] transparent metafun colors turn nearly black

2006-09-23 Thread Sanjoy Mahajan
was no separate metafun line, which I guess was getting the main_memory value of 100), regenerated the texmf.cnf with "update-texmf", then regenerated metafun with "texexec --make metafun" and transparency worked. So thanks for the magic! Have wikified the above in case

<    4   5   6   7   8   9   10   11   >