Re: [NTG-context] Metafun Label and externalfigure Problem

2011-03-08 Thread Lutz Haseloff
Akiras luatex.dll rev 4090 updated on 20110303 works again as expected. 2011/3/3 Lutz Haseloff : > 2011/3/2 Taco Hoekwater : >> >> Hi, >> >> Not having blblogo.pdf, I used cow.pdf for the tests below. >> I use luatex 0.66.0 (rev 4090) hand-built on linux32, and >> Context 2011.02.25 22:03 MKIV (re

Re: [NTG-context] Metafun Label and externalfigure Problem

2011-03-07 Thread Lutz Haseloff
Akiras luatex rev 4090 updated on 20110303 work again as expected. Greetings Lutz 2011/3/3 Lutz Haseloff : > 2011/3/2 Taco Hoekwater : >> >> Hi, >> >> Not having blblogo.pdf, I used cow.pdf for the tests below. >> I use luatex 0.66.0 (rev 4090) hand-built on linux32, and >> Context 2011.02.25 22:

Re: [NTG-context] Metafun Label and externalfigure Problem

2011-03-02 Thread Lutz Haseloff
2011/3/2 Taco Hoekwater : > > Hi, > > Not having blblogo.pdf, I used cow.pdf for the tests below. > I use luatex 0.66.0 (rev 4090) hand-built on linux32, and > Context 2011.02.25 22:03 MKIV (received privately from Hans) > > With that configuration, all three tests function exactly > as they should

Re: [NTG-context] Metafun Label and externalfigure Problem

2011-03-02 Thread Taco Hoekwater
Hi, Not having blblogo.pdf, I used cow.pdf for the tests below. I use luatex 0.66.0 (rev 4090) hand-built on linux32, and Context 2011.02.25 22:03 MKIV (received privately from Hans) With that configuration, all three tests function exactly as they should, so it is almost certainly not luatex th

Re: [NTG-context] Metafun Label and externalfigure Problem

2011-03-02 Thread Jeong Dalyoung
Dear Lutz, After replacing "blblogo.pdf" with a figure file in my system and tested it. Otherwise, it shows a gray rectangle. I got no error and the output is fine.( "Test" and the figure are well shown) I don't know "rev 4090" but here is the version of ConTeXt minimal in my system. ... Th

Re: [NTG-context] Metafun Label and externalfigure Problem

2011-03-01 Thread Lutz Haseloff
toptext -- gives: metapost> initializing instance 'metafun' using format 'metafun' metapost> loading 'metafun.mp' (experimental metapost version two) ! String contains an invalid utf-8 sequen

Re: [NTG-context] Metafun Label and externalfigure Problem

2011-03-01 Thread Hans Hagen
On 1-3-2011 11:17, Lutz Haseloff wrote: Hi all, with latest ConTeXt MKIV Metapost Labels doesn't work for me anymore. My Code: \starttext \startMPcode label(textext("Test"),origin); \stopMPcode \stoptext The Output only shows the word "mpout" as the Label. works ok here There seems to be a

Re: [NTG-context] Metafun Label and externalfigure Problem

2011-03-01 Thread luigi scarso
On Tue, Mar 1, 2011 at 12:23 PM, Lutz Haseloff wrote: >> not here with current version: 2011.02.25 22:03 >> %%test >> \starttext >> \startTEXpage >> \startMPcode >> draw origin-(20,0) .. origin+(0,20) .. origin+(20,0) .. origin+(0,-20) .. >> cycle; >> label(textext("Test"),origin); >> \stopMPcode

Re: [NTG-context] Metafun Label and externalfigure Problem

2011-03-01 Thread Lutz Haseloff
> not here with current version: 2011.02.25 22:03 > %%test > \starttext > \startTEXpage > \startMPcode > draw origin-(20,0) .. origin+(0,20) .. origin+(20,0) .. origin+(0,-20) .. > cycle; > label(textext("Test"),origin); > \stopMPcode > \stopTEXpage > \stoptext > The problem occures with luatex r

Re: [NTG-context] Metafun Label and externalfigure Problem

2011-03-01 Thread luigi scarso
On Tue, Mar 1, 2011 at 11:17 AM, Lutz Haseloff wrote: > Hi all, > > with latest ConTeXt MKIV > Metapost Labels doesn't work for me anymore. > My Code: > > \starttext > \startMPcode > label(textext("Test"),origin); > \stopMPcode > \stoptext > > The Output only shows the word "mpout" as the Label. n

[NTG-context] Metafun Label and externalfigure Problem

2011-03-01 Thread Lutz Haseloff
Hi all, with latest ConTeXt MKIV Metapost Labels doesn't work for me anymore. My Code: \starttext \startMPcode label(textext("Test"),origin); \stopMPcode \stoptext The Output only shows the word "mpout" as the Label. There seems to be a Problem with externalfigure too. With: \starttext \start

Re: [NTG-context] how to remove unwanted coordinate numbers(metafun)

2011-02-11 Thread Hans Hagen
); k:= k+1; endfor; It draws a circle, points, label, but unwanted coordinate numbers like (60.43535, 36.97691), too. I didn't see such numbers in any example in metafun document. If I use z[k] like z[k] = point i of P; draw z[k] Then such a long numbers disappeared. Is it the onl

[NTG-context] how to remove unwanted coordinate numbers(metafun)

2011-02-11 Thread Jeong Dalyoung
circle, points, label, but unwanted coordinate numbers like (60.43535, 36.97691), too. I didn't see such numbers in any example in metafun document. If I use z[k] like z[k] = point i of P; draw z[k] Then such a long numbers disappeared. Is it the only way to surpress those numbers not us

Re: [NTG-context] metafun- how to pass array as an argument

2011-01-24 Thread dalyoung
Dear Peter, Thank you for your help. By changing (expr s) to (text s), it works! I am using ConTeXt Minimal and the luatex version is "This is LuaTeX, Version beta-0.61.0-2010072816" Thank you again. Dalyoung

Re: [NTG-context] metafun- how to pass array as an argument

2011-01-24 Thread Peter Rolf
Am 24.01.2011 13:50, schrieb Peter Rolf: > Am 24.01.2011 13:18, schrieb dalyoung: >> \startbuffer[a] >> path p; >> numeric bwidth, u, lastpoint; >> u :=1cm; >> p := fullcircle scaled .3u; >> lastpoint := 0; >> >> def draw_balls = %(expr s) > def draw_balls(text s) = > >> draw (0,0) -- (0, u);

Re: [NTG-context] metafun- how to pass array as an argument

2011-01-24 Thread Peter Rolf
Am 24.01.2011 13:18, schrieb dalyoung: > \startbuffer[a] > path p; > numeric bwidth, u, lastpoint; > u :=1cm; > p := fullcircle scaled .3u; > lastpoint := 0; > > def draw_balls = %(expr s) def draw_balls(text s) = > draw (0,0) -- (0, u); > for i=3,5,0,2,1,7: for i=s: > for j = 1

[NTG-context] metafun- how to pass array as an argument

2011-01-24 Thread dalyoung
Dear all, I draw a simple figure using the code as below. In the code, I use "for i = 3,5,0,2,1,7:" in def draw_balls. However, if I can pass the array "3,5,0,2,1,7" as an argument for def draw_balls (expr n) and call draw_balls (3,5,0,2,1,7), then it can be used for different number of balls an

Re: [NTG-context] How to run Typesetting in MetaPost example (MetaFun)?

2011-01-20 Thread luigi scarso
You can also use mkii as command line drawing tool: #> mtxrun texexec test.tex \starttext \startTEXpage \resetMPdrawing \startMPdrawing picture pic[] ; numeric wid[], len[], pos[], n ; wid[0] := len[0] := pos[0] := n := 0 ; \stopMPdrawing \def\whatever#1% {\appendtoks#1\to\MPtoks \setbox\MPbox=\

Re: [NTG-context] How to run Typesetting in MetaPost example (MetaFun)?

2011-01-20 Thread Verhaag, G.C.H.M.
Aditya Mahajan wrote: On Tue, 18 Jan 2011, Verhaag, G.C.H.M. wrote: Hi, I wanted to try (using ConTeXt minimals MkIV) the example on page 228 of the MetaFun manual, dealing with typesetting in MetaPost. I haven't look at the metapost manual ... but The code is giv

Re: [NTG-context] How to run Typesetting in MetaPost example (MetaFun)?

2011-01-19 Thread Aditya Mahajan
On Tue, 18 Jan 2011, Verhaag, G.C.H.M. wrote: Hi, I wanted to try (using ConTeXt minimals MkIV) the example on page 228 of the MetaFun manual, dealing with typesetting in MetaPost. I haven't look at the metapost manual ... but The code is given as: \resetMPdrawing \startMPdrawing pi

Re: [NTG-context] How to run Typesetting in MetaPost example (MetaFun)?

2011-01-19 Thread Peter Rolf
Am 19.01.2011 14:35, schrieb Verhaag, G.C.H.M.: > Verhaag, G.C.H.M. wrote: > >> Hi, >> >> I wanted to try (using ConTeXt minimals MkIV) the example on page 228 >> of the MetaFun manual, dealing with typesetting in MetaPost. >> >> The code is given as

Re: [NTG-context] How to run Typesetting in MetaPost example (MetaFun)?

2011-01-19 Thread Verhaag, G.C.H.M.
Verhaag, G.C.H.M. wrote: Hi, I wanted to try (using ConTeXt minimals MkIV) the example on page 228 of the MetaFun manual, dealing with typesetting in MetaPost. The code is given as: \resetMPdrawing \startMPdrawing picture pic[] ; numeric wid[], len[], pos[], n ; wid[0] := len[0] := pos[0

[NTG-context] How to run Typesetting in MetaPost example (MetaFun)?

2011-01-18 Thread Verhaag, G.C.H.M.
Hi, I wanted to try (using ConTeXt minimals MkIV) the example on page 228 of the MetaFun manual, dealing with typesetting in MetaPost. The code is given as: \resetMPdrawing \startMPdrawing picture pic[] ; numeric wid[], len[], pos[], n ; wid[0] := len[0] := pos[0] := n := 0 ; \stopMPdrawing

Re: [NTG-context] metafun: formatting numbers

2010-12-12 Thread Hans Hagen
, 1, 20cm, "@3e") ; \stopMPcode \stoptext See also page 381 of latest metafun-s.pdf. in mp-grid you can change: def do_initialize_numbers = if not numbers_initialized : init_numbers ( textext.raw("$-$") ,

[NTG-context] metafun: formatting numbers

2010-12-11 Thread Peter Münster
ptext See also page 381 of latest metafun-s.pdf. Peter -- Contact information: http://pmrb.free.fr/contact/ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : n

Re: [NTG-context] Metafun and MetaObj in MKIV

2010-11-29 Thread Hans Hagen
On 27-11-2010 9:12, Martin Scholz wrote: Dear Mr. Hagen, is there a problem in MKIV, I try to use the included MetaObj in ConTeXt-Minimals, what I get is that a sample script under MKII builds but not under MKIV, there it is not produced and the MetaFun objects after it are also not produced

Re: [NTG-context] metafun

2010-10-23 Thread Aditya Mahajan
On Sat, 23 Oct 2010, Herbert Voss wrote: It is a hard job to understand how all works ... I agree. That chapter is confusing if you do not know already how the mechanism works. I tried to create the first example of the documentation "Page 257 Anchors and layers", but failed with mkii and iv

[NTG-context] metafun

2010-10-23 Thread Herbert Voss
It is a hard job to understand how all works ... I tried to create the first example of the documentation "Page 257 Anchors and layers", but failed with mkii and iv. The page is created, but without the graphical elements. Not using \startbuffer--\stopbuffer makes no difference. MTXrun | current v

Re: [NTG-context] metafun

2010-10-23 Thread Alan BRASLAU
On Friday 22 October 2010 16:06:06 Taco Hoekwater wrote: > On 10/21/2010 12:42 AM, Kevin D. Robbins wrote: > > Hi Hans, > > > > Is the new MetaFun manual available for download? The only PDFs I could > > find of the MetaFun manual were dated to 2002. > > The n

Re: [NTG-context] Generating new setup manual on local distribution --- formerly Re: metafun

2010-10-22 Thread Wolfgang Schuster
Am 22.10.2010 um 21:06 schrieb Giulio Bertellini: > HI: > a naive question. Went to the link http://www.pragma-ade.nl/show-man-10.htm > and took a look at the new setup manual (in pdf format). > I could not understand the meaning of this remark " The manual can be > generated on the user's

[NTG-context] Generating new setup manual on local distribution --- formerly Re: metafun

2010-10-22 Thread Giulio Bertellini
21/2010 12:42 AM, Kevin D. Robbins wrote: > >>>> Hi Hans, > >>>> > >>>> Is the new MetaFun manual available for download? The only PDFs I > could > >>>> find of the MetaFun manual were dated to 2002. > >>> > >>> The new version

Re: [NTG-context] metafun

2010-10-22 Thread Kevin D. Robbins
Thanks! I'll grab it right now. Kevin On Fri, Oct 22, 2010 at 8:22 AM, Taco Hoekwater wrote: > On 10/22/2010 04:20 PM, Hans Hagen wrote: > >> On 22-10-2010 4:06, Taco Hoekwater wrote: >> >>> On 10/21/2010 12:42 AM, Kevin D. Robbins wrote: >>> >>

Re: [NTG-context] metafun

2010-10-22 Thread Otared Kavian
On 22 oct. 2010, at 16:22, Taco Hoekwater wrote: > On 10/22/2010 04:20 PM, Hans Hagen wrote: >> On 22-10-2010 4:06, Taco Hoekwater wrote: >>> On 10/21/2010 12:42 AM, Kevin D. Robbins wrote: >>>> Hi Hans, >>>> >>>> Is the new MetaFun manual a

Re: [NTG-context] metafun

2010-10-22 Thread Hans Hagen
On 22-10-2010 5:12, Wolfgang Schuster wrote: Am 22.10.2010 um 16:20 schrieb Hans Hagen: The screen version (no change in the interface) looks nice on an ipad. Indeed, S6 is the perfect page size on the ipad but what happened with the randomized „MetaFun“ in the text? you want it back

Re: [NTG-context] metafun

2010-10-22 Thread Wolfgang Schuster
Am 22.10.2010 um 16:20 schrieb Hans Hagen: > The screen version (no change in the interface) looks nice on an ipad. Indeed, S6 is the perfect page size on the ipad but what happened with the randomized „MetaFun“ in the text? Wolfg

Re: [NTG-context] metafun

2010-10-22 Thread Taco Hoekwater
On 10/22/2010 04:20 PM, Hans Hagen wrote: On 22-10-2010 4:06, Taco Hoekwater wrote: On 10/21/2010 12:42 AM, Kevin D. Robbins wrote: Hi Hans, Is the new MetaFun manual available for download? The only PDFs I could find of the MetaFun manual were dated to 2002. The new version is on the web

Re: [NTG-context] metafun

2010-10-22 Thread Hans Hagen
On 22-10-2010 4:06, Taco Hoekwater wrote: On 10/21/2010 12:42 AM, Kevin D. Robbins wrote: Hi Hans, Is the new MetaFun manual available for download? The only PDFs I could find of the MetaFun manual were dated to 2002. The new version is on the web site now. I wondered who would notice

Re: [NTG-context] metafun

2010-10-22 Thread Taco Hoekwater
On 10/21/2010 12:42 AM, Kevin D. Robbins wrote: Hi Hans, Is the new MetaFun manual available for download? The only PDFs I could find of the MetaFun manual were dated to 2002. The new version is on the web site now. Best wishes, Taco

Re: [NTG-context] metafun

2010-10-21 Thread Hans Hagen
On 21-10-2010 12:42, Kevin D. Robbins wrote: Hi Hans, Is the new MetaFun manual available for download? The only PDFs I could find of the MetaFun manual were dated to 2002. Kevin On Wed, Oct 20, 2010 at 6:03 AM, Hans Hagen wrote: they will be online soon (also new screen version) Hans

Re: [NTG-context] metafun

2010-10-20 Thread Kevin D. Robbins
Hi Hans, Is the new MetaFun manual available for download? The only PDFs I could find of the MetaFun manual were dated to 2002. Kevin On Wed, Oct 20, 2010 at 6:03 AM, Hans Hagen wrote: > Hi, > > At the context conference Taco presented a new initiative with respect to > manuals. F

Re: [NTG-context] metafun manual

2010-10-20 Thread Alan BRASLAU
On Wednesday 20 October 2010 14:03:03 Hans Hagen wrote: > > This week we send out the first copies of the (new) metafun manual: Wow! Just in time for Christmas :) Alan ___ If your question is of interest to

Re: [NTG-context] metafun

2010-10-20 Thread Vedran Miletić
2010/10/20 Mojca Miklavec : > On Wed, Oct 20, 2010 at 14:03, Hans Hagen wrote: >> >> We still have to find out which manuals (also new ones) should >> become available > > Offtopic: I would vote for TikZ manual (if author is still reachable). > > Mojca He is, and he sometimes commits patches (even

Re: [NTG-context] metafun

2010-10-20 Thread Martin Schröder
2010/10/20 Mojca Miklavec : > On Wed, Oct 20, 2010 at 14:03, Hans Hagen wrote: > Offtopic: I would vote for TikZ manual (if author is still reachable). You mean pgfmanual.pdf? That's free, so it shouldn't be a legal problem. But it's a thick brick... Best Martin ___

Re: [NTG-context] metafun

2010-10-20 Thread Taco Hoekwater
On 10/20/2010 02:03 PM, Hans Hagen wrote: http://www.boekplan.nl/node/9 There is also an English website interface: http://www.boekplan.com/node/9 Best wishes, Taco ___ If your question is of interest to others

Re: [NTG-context] metafun

2010-10-20 Thread Mojca Miklavec
On Wed, Oct 20, 2010 at 14:03, Hans Hagen wrote: > > We still have to find out which manuals (also new ones) should > become available Offtopic: I would vote for TikZ manual (if author is still reachable). Mojca ___ I

[NTG-context] metafun

2010-10-20 Thread Hans Hagen
Hi, At the context conference Taco presented a new initiative with respect to manuals. For those who cannot (or don't want to) print and bind at home we offer a printing on demand service. This week we send out the first copies of the (new) metafun manual: http://www.boekplan.nl/n

Re: [NTG-context] pagenumbers in metafun

2010-09-27 Thread Thomas A. Schmitz
> accessible from within Metafun? Right now, in a StartPage -- StopPage > environment, I use > NOfPages and PageNumber, but it would be convenient if we had access to > userpagenumber as well (so the number can be reset etc.) > Here's what you get when you ask a que

[NTG-context] pagenumbers in metafun

2010-09-20 Thread Thomas A. Schmitz
y mind for a while now and that I would have loved to ask Taco and Hans at Brejlov: we now have shiny new \userpagenumber and \realpagenumber etc. Is any of these available and accessible from within Metafun? Right now, in a StartPage -- StopPage environment, I use NOfPages and PageNumber, bu

Re: [NTG-context] tex placeholder for use in metapost/metafun

2010-09-10 Thread Wolfgang Schuster
Am 10.09.2010 um 22:45 schrieb Martin 'golodhrim' Scholz: > Hi everybody, > > as I like to desing a CI for an publishing Cover for an Organisation, I > have a question about usage: > > What I wanna do is, having placeholders in the metapost coverpage, it > should work like > > \author{} > \t

[NTG-context] tex placeholder for use in metapost/metafun

2010-09-10 Thread Martin 'golodhrim' Scholz
Hi everybody, as I like to desing a CI for an publishing Cover for an Organisation, I have a question about usage: What I wanna do is, having placeholders in the metapost coverpage, it should work like \author{} \title{} \swlogo{} in the preamble and should be automatically placed in the met

Re: [NTG-context] Fwd: Re: problem with mpost/metafun/MKII/MKIV???

2010-08-29 Thread Hans Hagen
I don't like that "insecure world writable", but oke for the moment being. this is some harmless but annoying ruby message that I've learned to ignore Hans - Hans Hagen | PRAGMA ADE

[NTG-context] Fwd: Re: problem with mpost/metafun/MKII/MKIV???

2010-08-29 Thread Taco Hoekwater
Original Message Subject: Re: [NTG-context] problem with mpost/metafun/MKII/MKIV??? Date: Sun, 29 Aug 2010 11:04:28 + From: Rene van Hassel To: Taco Hoekwater Hello Taco, sorry, but I will tell you my resulst so far. After installing Texlive 2009, and I put the

Re: [NTG-context] problem with mpost/metafun/MKII/MKIV???

2010-08-29 Thread Taco Hoekwater
On 08/29/2010 09:09 AM, Rene van Hassel wrote: Hello Members, I have a problem with texlive 2009. In the version 2007, I made some file with "decorations", made by metapost.Then you got a list of numbered -mpgraph files. In the version 2009, I don't getns these files and my .pdf files are witho

[NTG-context] problem with mpost/metafun/MKII/MKIV???

2010-08-29 Thread Rene van Hassel
Hello Members, I have a problem with texlive 2009. In the version 2007, I made some file with "decorations", made by metapost.Then you got a list of numbered -mpgraph files. In the version 2009, I don't getns these files and my .pdf files are without the "decorations". With "decorations" I

Re: [NTG-context] change numeral to string in Metafun

2010-07-14 Thread Jeong Dalyoung
Dear Wolfgang, It is nicely working. Thank you for your help. best regards, Dalyoung ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://ww

Re: [NTG-context] change numeral to string in Metafun

2010-07-13 Thread Wolfgang Schuster
Am 14.07.10 02:19, schrieb dalyoung: Dear all, I'd like to draw boxes with a label in a certain rule. [...] So, I'd like to know how to put received numeral(the height of the box) as a label. Or, how to change the value of a variable to a string. [...] label("1",(3s*u+u, t*u + h*u/2));

[NTG-context] change numeral to string in Metafun

2010-07-13 Thread dalyoung
Dear all, I'd like to draw boxes with a label in a certain rule. I define drawbox macro for it. It receives 3 numbers, (the height of box, x position, y position). I'd like to label the height of the box in the middle of the box. I tired label( h ,(3s*u+u, t*u + h*u/2)); %h is a received numera

[NTG-context] metafun problem

2010-07-13 Thread Albrecht Kauffmann
Dear ConTeXtuals, the following MP-inclusion produces fatal error (! TeX capacity exceeded, sorry [parameter stack size=6000].): starttext \startMPcode label(btex $\underbrace{a}_{b}$ etex,(0,0)); \stopMPcode \stoptext I use mkii, but the code should work. Has anyone an explanation? With many t

Re: [NTG-context] Metafun in MacTeX 209 distribution

2010-04-06 Thread jindrich Ruzicka
> (btw in my linux installation it works) > > What I can find in log file is: > ... > runsystem(texmfstart texexec --batch --output=dvips --mpformat=metafun > --mptex --nomp --once obrazek-mpgraph)...disabled. > ... > > Running this sequence manually and reruning the 1st tex

Re: [NTG-context] SVG 2 MetaPost/MetaFun

2010-04-05 Thread Hans Hagen
On 4-4-2010 7:29, Matija Šuklje wrote: Dne nedelja 4. aprila 2010 ob 19:23:18 je Peter Wüsten napisal(a): I just tried using an SVG image directly in MkIV, and it worked like a breeze. Apparently ConTeXt converts the image to PDF on the fly as I found a PDF-file with a similar name (m_k_v_i_.pdf

Re: [NTG-context] SVG 2 MetaPost/MetaFun

2010-04-04 Thread Taco Hoekwater
Matija Šuklje wrote: Dne nedelja 4. aprila 2010 ob 23:23:10 je Mojca Miklavec napisal(a): Start with http://www.tug.org/docs/metapost/mpman.pdf and maybe the metafun manual. Thanks yet again :] The metafun manual is easier to read than the 'real' mpman.pdf which assume some of

Re: [NTG-context] SVG 2 MetaPost/MetaFun

2010-04-04 Thread Matija Šuklje
Dne nedelja 4. aprila 2010 ob 23:23:10 je Mojca Miklavec napisal(a): > Start with > http://www.tug.org/docs/metapost/mpman.pdf > and maybe the metafun manual. Thanks yet again :] Cheers, Matija -- gsm: +386 41 849 552 www: http://matija.suklje.name xmpp: matija.suk...@ga

Re: [NTG-context] SVG 2 MetaPost/MetaFun

2010-04-04 Thread Mojca Miklavec
On Sun, Apr 4, 2010 at 23:12, Matija Šuklje wrote: > > I'll dig through the manuals to figure out what that codeblock actually does > and try to fix it. Start with http://www.tug.org/docs/metapost/mpman.pdf and maybe the metafun

Re: [NTG-context] SVG 2 MetaPost/MetaFun

2010-04-04 Thread Matija Šuklje
Dne nedelja 4. aprila 2010 ob 23:16:26 je Wolfgang Schuster napisal(a): > Am 04.04.10 23:12, schrieb Matija Šuklje: > > BTW, is there a special command I'm missing to turn on the colours in > > ConTeXt? > > \setupcolors[state=start] /me is ashamed ...I found it the minute you sent the e-mail. C

Re: [NTG-context] SVG 2 MetaPost/MetaFun

2010-04-04 Thread Wolfgang Schuster
Am 04.04.10 23:12, schrieb Matija Šuklje: BTW, is there a special command I'm missing to turn on the colours in ConTeXt? \setupcolors[state=start] Wolfgang ___ If your question is of interest to others as well,

Re: [NTG-context] SVG 2 MetaPost/MetaFun

2010-04-04 Thread Matija Šuklje
Dne nedelja 4. aprila 2010 ob 22:36:07 je Mojca Miklavec napisal(a): > I don't know of any "waterproof" way to convert from SVG to metapost > (all you can do is to convert it to PDF and use that PDF logo), but > here's an approximation of your logo in metapost (the legs are wider - > you'll need to

Re: [NTG-context] SVG 2 MetaPost/MetaFun

2010-04-04 Thread Mojca Miklavec
On Sun, Apr 4, 2010 at 19:29, Matija Šuklje wrote: > Dne nedelja 4. aprila 2010 ob 19:23:18 je Peter Wüsten napisal(a): >> I just tried using an SVG image directly in MkIV, and it worked like a >> breeze. Apparently ConTeXt converts the image to PDF on the fly as I >> found a PDF-file with a simila

Re: [NTG-context] SVG 2 MetaPost/MetaFun

2010-04-04 Thread Matija Šuklje
Dne nedelja 4. aprila 2010 ob 19:23:18 je Peter Wüsten napisal(a): > I just tried using an SVG image directly in MkIV, and it worked like a > breeze. Apparently ConTeXt converts the image to PDF on the fly as I > found a PDF-file with a similar name (m_k_v_i_.pdf) > in the same directory as the SVG

Re: [NTG-context] SVG 2 MetaPost/MetaFun

2010-04-04 Thread Peter Wüsten
want to use Inkscape: inkscape --export-pdf= Peter Wüsten Matija Suklje schrieb: Is there a SVG to MetaPost/MetaFun converter available? I want to get this quite simple logo to converted from SVG into a ConTeXt- native vector graphic. Cheers, Matija P.S. Too bad SVG is not ConTeXt-native

[NTG-context] SVG 2 MetaPost/MetaFun

2010-04-04 Thread Matija Šuklje
Is there a SVG to MetaPost/MetaFun converter available? I want to get this quite simple logo to converted from SVG into a ConTeXt- native vector graphic. Cheers, Matija P.S. Too bad SVG is not ConTeXt-native (yet?) -- gsm: +386 41 849 552 www: http://matija.suklje.name xmpp: matija.suk

Re: [NTG-context] Metafun in MacTeX 209 distribution

2010-04-04 Thread Aditya Mahajan
t part. > (btw in my linux installation it works) > > What I can find in log file is: > ... > runsystem(texmfstart texexec --batch --output=dvips --mpformat=metafun > --mptex --nomp --once obrazek-mpgraph)...disabled. > ... See http://archive.contextgarden.net/message/2010032

[NTG-context] Metafun in MacTeX 209 distribution

2010-04-04 Thread jindrich Ruzicka
(texmfstart texexec --batch --output=dvips --mpformat=metafun --mptex --nomp --once obrazek-mpgraph)...disabled. ... Running this sequence manually and reruning the 1st texexec I receive what I expect. Is it a feature of Mac distribution or there is a mismatch in some file/directory permissions

Re: [NTG-context] Metafun does not change color

2010-02-19 Thread Xan
En/na Hans Hagen ha escrit: On 18-2-2010 22:03, Xan wrote: I have the following code (see at final). I define SquareText to be darkblue in framecolor, but metafun use darkred. Why? Any ideas? p := textext.rt(\MPstring{FunnyFrame}) ; And so, why does the setuoframedtext option mean

Re: [NTG-context] Metafun does not change color

2010-02-19 Thread Hans Hagen
On 18-2-2010 22:03, Xan wrote: I have the following code (see at final). I define SquareText to be darkblue in framecolor, but metafun use darkred. Why? Any ideas? p := textext.rt(\MPstring{FunnyFrame}) ; you need to change the color in textext (or in the MPstring) draw p withcolor black

[NTG-context] Metafun does not change color

2010-02-18 Thread Xan
Hi, I have the following code (see at final). I define SquareText to be darkblue in framecolor, but metafun use darkred. Why? Any ideas? Xan. \page \section{Tectònica de plaques} \subsection{Com es formen els relleus?} \setupFLOWcharts[width=.4\textwidth] \startFLOWchart[fixistes

Re: [NTG-context] context mkiv metafun

2010-02-05 Thread Martin 'golodhrim' Scholz
On Sat, 06 Feb 2010 01:11:49 +0100, Hans Hagen wrote: > On 6-2-2010 1:04, Martin 'golodhrim' Scholz wrote: >> On Sat, 06 Feb 2010 00:50:43 +0100, Hans Hagen wrote: >> >>> On 5-2-2010 21:40, Martin 'golodhrim' Scholz wrote: >>> Ok problem solved... missing rights to write to /opt/context-

Re: [NTG-context] context mkiv metafun

2010-02-05 Thread Hans Hagen
On 6-2-2010 1:04, Martin 'golodhrim' Scholz wrote: On Sat, 06 Feb 2010 00:50:43 +0100, Hans Hagen wrote: On 5-2-2010 21:40, Martin 'golodhrim' Scholz wrote: Ok problem solved... missing rights to write to /opt/context-minimals/tex/ texmf-cache/, just chmoded it 777 so it will be usable for gr

Re: [NTG-context] context mkiv metafun

2010-02-05 Thread Martin 'golodhrim' Scholz
On Sat, 06 Feb 2010 00:50:43 +0100, Hans Hagen wrote: > On 5-2-2010 21:40, Martin 'golodhrim' Scholz wrote: > >> Ok problem solved... missing rights to write to >> /opt/context-minimals/tex/ texmf-cache/, just chmoded it 777 so it will >> be usable for graphic generation. Would be nice to include

Re: [NTG-context] context mkiv metafun

2010-02-05 Thread Hans Hagen
On 5-2-2010 21:40, Martin 'golodhrim' Scholz wrote: Ok problem solved... missing rights to write to /opt/context-minimals/tex/ texmf-cache/, just chmoded it 777 so it will be usable for graphic generation. Would be nice to include the possibilty to add in a standard way a personal texmf-cache, o

Re: [NTG-context] context mkiv metafun

2010-02-05 Thread Hans Hagen
On 5-2-2010 21:23, Martin 'golodhrim' Scholz wrote: mplib : problems with 'metafun.mp' from '/opt/context-minimals/ tex/texmf-cache/luatex-cache/context/ccfefc91ec3ed68af1aeed1f470fef4d/ formats/cont-en-metafun.mem' !pages : flushing realpage 8, userpage 8 so what needs to be

Re: [NTG-context] context mkiv metafun

2010-02-05 Thread Martin 'golodhrim' Scholz
le installing and testing context- >>> minimals is that the context command is not willing in my case to >>> autobuild the metafun graphics I included in the document. Would be >>> nice if someone has an advice to me on to fix that, got it working >>> under texex

Re: [NTG-context] context mkiv metafun

2010-02-05 Thread Martin 'golodhrim' Scholz
On Fri, 05 Feb 2010 18:43:35 +0100, Hans Hagen wrote: > On 5-2-2010 10:33, Martin 'golodhrim' Scholz wrote: >> Hi list, >> >> another problem I encountered while installing and testing context- >> minimals is that the context command is not willing in my case

Re: [NTG-context] context mkiv metafun

2010-02-05 Thread Martin 'golodhrim' Scholz
On Fri, 05 Feb 2010 18:43:35 +0100, Hans Hagen wrote: > On 5-2-2010 10:33, Martin 'golodhrim' Scholz wrote: >> Hi list, >> >> another problem I encountered while installing and testing context- >> minimals is that the context command is not willing in my case

Re: [NTG-context] context mkiv metafun

2010-02-05 Thread Hans Hagen
On 5-2-2010 10:33, Martin 'golodhrim' Scholz wrote: Hi list, another problem I encountered while installing and testing context- minimals is that the context command is not willing in my case to autobuild the metafun graphics I included in the document. Would be nice if someone has an

[NTG-context] context mkiv metafun

2010-02-05 Thread Martin 'golodhrim' Scholz
Hi list, another problem I encountered while installing and testing context- minimals is that the context command is not willing in my case to autobuild the metafun graphics I included in the document. Would be nice if someone has an advice to me on to fix that, got it working under texexec by

Re: [NTG-context] metafun in LaTeX?

2009-12-20 Thread Jean Magnan de Bornier
Le 20 décembre à 11:20:47 Taco Hoekwater écrit notamment: | Jean Magnan de Bornier wrote: | > Hi all, | > | > This question has been asked on the french tex group: is (would) it | > possible to use the metafun macros with LaTeX - and how? > | Metafun is a mpost format, and therefo

Re: [NTG-context] metafun in LaTeX?

2009-12-20 Thread Taco Hoekwater
Jean Magnan de Bornier wrote: Hi all, This question has been asked on the french tex group: is (would) it possible to use the metafun macros with LaTeX - and how? Metafun is a mpost format, and therefore it generally does not care how it is embedded in a surrounding document. The only

[NTG-context] metafun in LaTeX?

2009-12-19 Thread Jean Magnan de Bornier
Hi all, This question has been asked on the french tex group: is (would) it possible to use the metafun macros with LaTeX - and how? I said I'd ask here... TIA -- Jean ___ If your question is of interest to o

Re: [NTG-context] metafun/graph \times error (mkiv)

2009-12-18 Thread Hans Hagen
Alan BRASLAU wrote: Metapost/graph currently does not handle scientific notation correctly in mkiv: -> 1.5imes106 (and does not work at all in mkii) Alan %% minimal example: \usemodule[graph] \starttext \startMPcode draw begingraph(12cm,12cm) ; setcoords(linear,linear) ; s

[NTG-context] metafun/graph \times error (mkiv)

2009-12-18 Thread Alan BRASLAU
Metapost/graph currently does not handle scientific notation correctly in mkiv: -> 1.5imes106 (and does not work at all in mkii) Alan %% minimal example: \usemodule[graph] \starttext \startMPcode draw begingraph(12cm,12cm) ; setcoords(linear,linear) ; setrange(0,0,365,"2

Re: [NTG-context] Metafun problem

2009-09-26 Thread Peter Rolf
David Arnold schrieb: All, I've got the context minimals installed and I'm compiling the following (from the new Metafun manual) using MKIV: \startuniqueMPgraphic{name} path p; p:=unitsquare xscaled OverlayWidth yscaled OverlayHeight; fill p withcolor .625yellow;

Re: [NTG-context] Metafun problem

2009-09-26 Thread luigi scarso
On Sat, Sep 26, 2009 at 7:16 AM, David Arnold wrote: > All, > > I've got the context minimals installed and I'm compiling the following > (from the new Metafun manual) using MKIV: > > \startuniqueMPgraphic{name} >path p; >p:=unitsquare xscaled

[NTG-context] Metafun problem

2009-09-25 Thread David Arnold
All, I've got the context minimals installed and I'm compiling the following (from the new Metafun manual) using MKIV: \startuniqueMPgraphic{name} path p; p:=unitsquare xscaled OverlayWidth yscaled OverlayHeight; fill p withcolor .625yellow; draw p

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

2009-08-28 Thread Mojca Miklavec
On Fri, Aug 28, 2009 at 18:51, Hans Hagen wrote: > Peter Rolf wrote: > >> My only explanation: Hans has direct access to your harddisk and changes >> things silently in the background :D > > ok, this was supposed to be a secret, but indeed taco and i can log into her > time capsule device and m

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

2009-08-28 Thread Hans Hagen
Peter Rolf wrote: My only explanation: Hans has direct access to your harddisk and changes things silently in the background :D ok, this was supposed to be a secret, but indeed taco and i can log into her time capsule device and move her back- and forward in time depending on how much we

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

2009-08-28 Thread Peter Rolf
Mojca Miklavec schrieb: On Fri, Aug 28, 2009 at 17:57, Mojca Miklavec wrote: On Fri, Aug 28, 2009 at 17:36, Peter Rolf wrote: Hi Mojca, wrong colors (or what is the problem here)? On my machine \startMPcode externalfigure("filename.png"); \stopMPcode doesn't work in MKIV at a

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

2009-08-28 Thread Taco Hoekwater
Hans Hagen wrote: if i were you, i'd start worying about my disk or the display ... ___ 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] MKIV and externaligure inside metafun

2009-08-28 Thread Hans Hagen
Mojca Miklavec wrote: I guess that I give up. whow, you giving up? It started working now for no particular reason (no change in files, no change in my installation). well, you'r laptop is somewhat randomly working anyway so ... And the colors are fine as well. My only explanation is th

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

2009-08-28 Thread Mojca Miklavec
On Fri, Aug 28, 2009 at 17:57, Mojca Miklavec wrote: > On Fri, Aug 28, 2009 at 17:36, Peter Rolf wrote: >> >> Hi Mojca, >> >> wrong colors (or what is the problem here)? > > On my machine > > \startMPcode > externalfigure("filename.png"); > \stopMPcode > > doesn't work in MKIV at all. On Hans' mach

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

2009-08-28 Thread Hans Hagen
Mojca Miklavec wrote: On Fri, Aug 28, 2009 at 17:36, Peter Rolf wrote: Hi Mojca, wrong colors (or what is the problem here)? On my machine \startMPcode externalfigure("filename.png"); \stopMPcode doesn't work in MKIV at all. On Hans' machine it generates weird colors (though not that much w

<    3   4   5   6   7   8   9   10   11   12   >