Re: [NTG-context] mkII with minimals

2009-05-05 Thread Taco Hoekwater
Mojca Miklavec wrote: On Mon, May 4, 2009 at 21:28, Wolfgang Werners-Lucchini wrote: Hallo, I just installed the minimals and got the following error - texmfstart texexec --autopdf --pdf antrag.tex TeXExec | processing document 'antrag.tex' TeXExec

Re: [NTG-context] mkII with minimals

2009-05-05 Thread Arthur Reutenauer
Sorry, I must have been drunk while fixing the file. In texmf/web2c/texmf.cnf: TEXFORMATS= .;$TEXMFOS/web2c/{$engine,} I accidentally fixed TEXMFCNF instead of TEXFORMATS. Hopefully formats won't fly to luatex/pdftex again. I'll fix. IIRC, I was sitting next to you when you did

Re: [NTG-context] mkII with minimals

2009-05-05 Thread luigi scarso
Sorry, I must have been drunk while fixing the file. In texmf/web2c/texmf.cnf: TEXFORMATS= .;$TEXMFOS/web2c/{$engine,} I accidentally fixed TEXMFCNF instead of TEXFORMATS. Hopefully formats won't fly to luatex/pdftex again. I'll fix. IIRC, I was sitting next to you when you did

[NTG-context] MPgraphic

2009-05-05 Thread R. Bastian
Salut tout le monde, I wrote [...] texte texte \startMPgraphic draw (0.0cm, 0.0cm) -- (1.1cm, 1.1cm) ; \stopMPgraphic [...] - The compilation works ; I get an EPS-file with suffixe mpgraph.2 (visible with gv) but there is nothing in the PDF. I

Re: [NTG-context] mkII with minimals

2009-05-05 Thread Hans Hagen
Taco Hoekwater wrote: IIRC, I was sitting next to you when you did that, so I must have been drunk as well sitting there too i can confirm that neither of you were drunk so it must have been those huge and numerous bachotek mosquito's hitting keys randomly Hans

Re: [NTG-context] mkII with minimals

2009-05-05 Thread Taco Hoekwater
Hans Hagen wrote: Taco Hoekwater wrote: IIRC, I was sitting next to you when you did that, so I must have been drunk as well sitting there too i can confirm that neither of you were drunk so it must have been those huge and numerous bachotek mosquito's hitting keys randomly Actually, the

Re: [NTG-context] mkII with minimals

2009-05-05 Thread Arthur Reutenauer
Actually, the poisoning that results from the numerous mosquito bites can probably explain everything that happens at bachotex ! But whatever happens at BachoTeX should stay at BachoTeX ;-) Arthur ___ If

Re: [NTG-context] mkII with minimals

2009-05-05 Thread Alan BRASLAU
Hmmm, While you guys are having great fun fighting mosquitos (sic), the minimals are still broken: - mkii won't work - mkiv sectioning is completely broken! ?? Alan ___ If your question is of interest to others as

Re: [NTG-context] replacement for \nolist ?

2009-05-05 Thread Henning Hraban Ramm
Am 2009-05-05 um 01:07 schrieb Kevin D. Robbins: I asked this one last week. Wolfgang provided the (one?) answer: http://archive.contextgarden.net/message/20090424.173741.4c33e4d3.en.html Thank you! Sorry, I forgot to search the ML first. \select works; good to learn about that mechanism (I

Re: [NTG-context] Fw: MPgraphic

2009-05-05 Thread Mojca Miklavec
On Tue, May 5, 2009 at 13:20, R. Bastian wrote: It works with \startuseMPgraphic{fig1} draw (0.0cm, 0.0cm) -- (1.1cm, 1.1cm) ; \stopuseMPgraphic \useMPgraphic{fig1} Is the excursion deprecated ? I don't know the details. In case of anonymous graphics I usually use \startMPcode

Re: [NTG-context] Fw: MPgraphic

2009-05-05 Thread R. Bastian
On Tue, 5 May 2009 13:57:52 +0200 Mojca Miklavec mojca.miklavec.li...@gmail.com scribit: On Tue, May 5, 2009 at 13:20, R. Bastian wrote: It works with \startuseMPgraphic{fig1} draw (0.0cm, 0.0cm) -- (1.1cm, 1.1cm) ; \stopuseMPgraphic \useMPgraphic{fig1} Is the excursion

Re: [NTG-context] How can I compare picture variables in metapost?

2009-05-05 Thread Taco Hoekwater
Zhichu Chen wrote: Hi all, I want to draw some paths that won't intersect with each other in metapost. Those paths are generated randomly, e.g., draw 100 circles without any intersections. I use a very stupid way like: I am probably missing something, because the fastest way to draw 100

Re: [NTG-context] How can I compare picture variables in metapost?

2009-05-05 Thread Zhichu Chen
Hi Taco, On Tue, May 5, 2009 at 8:51 PM, Taco Hoekwater t...@elvenkind.com wrote: Zhichu Chen wrote: Hi all, I want to draw some paths that won't intersect with each other in metapost. Those paths are generated randomly, e.g., draw 100 circles without any intersections. I use a very stupid

Re: [NTG-context] How can I compare picture variables in metapost?

2009-05-05 Thread Taco Hoekwater
Zhichu Chen wrote: What I want exactly is how to determine if there's anything on some region of the picture. I need this to test if the random point I picked is useful. That is easy to answer: you can't (well, not unless you invest a *lot* of effort into creating a bitmap edge structure).

Re: [NTG-context] How can I compare picture variables in metapost?

2009-05-05 Thread Zhichu Chen
On Tue, May 5, 2009 at 11:04 PM, Taco Hoekwater t...@elvenkind.com wrote: Zhichu Chen wrote: What I want exactly is how to determine if there's anything on some region of the picture. I need this to test if the random point I picked is useful. That is easy to answer: you can't (well, not

Re: [NTG-context] How can I compare picture variables in metapost?

2009-05-05 Thread Taco Hoekwater
Zhichu Chen wrote: Seems that I don't have too many choices. Maybe using lua to do the math and throwing the result to metapost is faster? I think I can do this, but I don't know how. The documents are a little limited. For circles, probably lua calculations will be faster because the data

[NTG-context] good layout for tech manual

2009-05-05 Thread Markus Hubig
Hi @all, at the moment I'm writing a tech manual with a lt of screenshots plots. I've played around to find the perfect layout for my document but I'm not fully satisfied with what I have till now. 8---schnipp- \setuppapersize[A4][A4] \setuplayout [topspace=25mm,

Re: [NTG-context] How can I compare picture variables in metapost?

2009-05-05 Thread Taco Hoekwater
Taco Hoekwater wrote: Zhichu Chen wrote: Seems that I don't have too many choices. Maybe using lua to do the math and throwing the result to metapost is faster? I think I can do this, but I don't know how. The documents are a little limited. For circles, probably lua calculations will be

[NTG-context] Remove spaces from string

2009-05-05 Thread Wolfgang Schuster
Hi, I'm looking for nice and short ways to remove spaces from strings with font names. I found the \unspacestring command in the core to do what I want but prefer a alternative solution or a few tips for the following code. \starttext \bgroup \catcode`\ =9 \definedfont[name:TeX Gyre Pagella

Re: [NTG-context] How can I compare picture variables in metapost?

2009-05-05 Thread Peter Rolf
Taco Hoekwater schrieb: Taco Hoekwater wrote: Zhichu Chen wrote: Seems that I don't have too many choices. Maybe using lua to do the math and throwing the result to metapost is faster? I think I can do this, but I don't know how. The documents are a little limited. For circles, probably lua

Re: [NTG-context] How can I compare picture variables in metapost?

2009-05-05 Thread Aditya Mahajan
On Tue, 5 May 2009, Zhichu Chen wrote: On Tue, May 5, 2009 at 11:04 PM, Taco Hoekwater t...@elvenkind.com wrote: Zhichu Chen wrote: What I want exactly is how to determine if there's anything on some region of the picture. I need this to test if the random point I picked is useful. That is

Re: [NTG-context] How can I compare picture variables in metapost?

2009-05-05 Thread Aditya Mahajan
On Tue, 5 May 2009, Peter Rolf wrote: Taco Hoekwater schrieb: Taco Hoekwater wrote: Zhichu Chen wrote: Seems that I don't have too many choices. Maybe using lua to do the math and throwing the result to metapost is faster? I think I can do this, but I don't know how. The documents are a

Re: [NTG-context] How can I compare picture variables in metapost?

2009-05-05 Thread Zhichu Chen
Thank you all guys, To Aditya: Clearly I over-emphasized the randomness. Actually, what I meant is a little more complex: identical objects on random coordinates and they don't intersect with each other. We can rotate them but we can't re-size them and scale them. Your code is very interesting.

Re: [NTG-context] How can I compare picture variables in metapost?

2009-05-05 Thread Aditya Mahajan
On Wed, 6 May 2009, Zhichu Chen wrote: To Aditya: Clearly I over-emphasized the randomness. Actually, what I meant is a little more complex: identical objects on random coordinates and they don't intersect with each other. We can rotate them but we can't re-size them and scale them. The

Re: [NTG-context] How can I compare picture variables in metapost?

2009-05-05 Thread Aditya Mahajan
On Tue, 5 May 2009, Aditya Mahajan wrote: Both Taco's and my solutions can be adapted so that you do not randomize the radius. (Taco's solution will also work for arbitrary object that can then be rotated by a random amount). Here is another idea. Ask metapost to test for intersection, but