Re: [NTG-context] Metapost: union test of two paths

2010-07-03 Thread Taco Hoekwater
On 07/04/2010 01:11 AM, Marco wrote: Hi Taco! That is hard. The main problem is the word 'arbitrary'. Sorry, I was too general. The paths are a outline of a relatively simple shape (so border cases should rarely occur) with area>0k, not selfintersecting. That helps. First test whether the pa

Re: [NTG-context] Newbie: floats with Context 2009 (Ubuntu). How do I use this workaround?

2010-07-03 Thread Mojca Miklavec
On Sun, Jul 4, 2010 at 00:10, Pascale Julia wrote: > My last question if I may: So I may not reply to the other question then? :) > I am using Kile as an editor, and warming up to using Emacs. How is this > minimals installation accessed by either of those two programs? I don't know those two pr

Re: [NTG-context] Newbie: floats with Context 2009 (Ubuntu). How do I use this workaround?

2010-07-03 Thread Mojca Miklavec
On Sun, Jul 4, 2010 at 00:26, Pascale Julia wrote: > Ok, I installed the minimals, it went fast. > > But I get this: > pascale-desktop ~ # context --version > MTXrun | unknown script 'context.lua' or 'mtx-context.lua' In case that you have already set up the new installation (either by running ".

[NTG-context] Setuparranging[XY] and arrangement of labels

2010-07-03 Thread Jaroslav Hajtmar
Hello all, I have a reason to print labels to page in "vertical mode". This means, that labels are place to page underneath first and then abreast (ie top to bottom first and then subsequently left to rigth). According to the example of the way they are now labels numbered : 1 2 3 4 5 6 7 8

Re: [NTG-context] 8th BayTeX in Munich (July 31, 2010)

2010-07-03 Thread luigi scarso
On Sat, Jul 3, 2010 at 11:34 PM, Mojca Miklavec wrote: > On Saturday July 31 there is a Bavarian TeX meeting in München: >     > > Is any ConTeXt advocate going to be present other than Mojca, Wolfang Henning Hraban ? -- luigi ___

Re: [NTG-context] Metapost: union test of two paths

2010-07-03 Thread Marco
Hi Taco! > That is hard. The main problem is the word 'arbitrary'. Sorry, I was too general. The paths are a outline of a relatively simple shape (so border cases should rarely occur) with area >0k, not selfintersecting. > * is a point *on* the path in or out? It doesn't matter in my case. > Thi

Re: [NTG-context] Newbie: floats with Context 2009 (Ubuntu). How do I use this workaround?

2010-07-03 Thread Pascale Julia
Ok, I installed the minimals, it went fast. But I get this: pascale-desktop ~ # context --version MTXrun | unknown script 'context.lua' or 'mtx-context.lua' pascale-desktop ~ # tex --version TeX 3.1415926 (TeX Live 2009/Debian) kpathsea version 5.0.0 Copyright 2009 D.E. Knuth. ...(etc) pascale-des

Re: [NTG-context] Newbie: floats with Context 2009 (Ubuntu). How do I use this workaround?

2010-07-03 Thread Pascale Julia
My last question if I may: I am using Kile as an editor, and warming up to using Emacs. How is this minimals installation accessed by either of those two programs? Thank you again in advance. --Pascale 2010/7/3 Mojca Miklavec > On Sat, Jul 3, 2010 at 23:45, Pascale Julia wrote: > > Thanks for yo

Re: [NTG-context] Newbie: floats with Context 2009 (Ubuntu). How do I use this workaround?

2010-07-03 Thread Mojca Miklavec
On Sat, Jul 3, 2010 at 23:45, Pascale Julia wrote: > Thanks for your answer. > I tried what you suggest a while back but the installation process seemed > stalled as there was no activity for a couple of hours. I wondered if > everything was hung or whether I was being impatient, but I aborted it.

Re: [NTG-context] Newbie: floats with Context 2009 (Ubuntu). How do I use this workaround?

2010-07-03 Thread Pascale Julia
Thanks for your answer. I tried what you suggest a while back but the installation process seemed stalled as there was no activity for a couple of hours. I wondered if everything was hung or whether I was being impatient, but I aborted it. Any guess on how long it would take to install (I have a ds

Re: [NTG-context] Newbie: floats with Context 2009 (Ubuntu). How do I use this workaround?

2010-07-03 Thread luigi scarso
I don't know what is your problem, but minimals is the better way to use context under linux 32 bit Open a shell as a root and then #> mkdir -p /opt/context/minimals-2010-07-03 #> cd /opt/context/minimals-2010-07-03 #> rsync -av rsync://contextgarden.net/minimals/setup/first-setup.sh . #> bash fir

[NTG-context] 8th BayTeX in Munich (July 31, 2010)

2010-07-03 Thread Mojca Miklavec
On Saturday July 31 there is a Bavarian TeX meeting in München: Is any ConTeXt advocate going to be present? Mojca ___ If your question is of interest

Re: [NTG-context] mtxrun error

2010-07-03 Thread luigi scarso
On Sat, Jul 3, 2010 at 11:23 PM, Mojca Miklavec wrote: > Li Yanrui, > > thanks a lot for the patch and sorry for the delay. It's supposed to > be fixed now, but reports of contrary observations are always welcome. it's ok on linux 32bit -- luigi ___

Re: [NTG-context] Shaded frame with colored text

2010-07-03 Thread Mojca Miklavec
On Fri, Jul 2, 2010 at 14:07, Tom wrote: > Now, How do I insert multi-page PDFs created > elsewhere in an appendix. http://wiki.contextgarden.net/Including_pages_from_PDF_document Mojca ___ If your question is of inte

Re: [NTG-context] mtxrun error

2010-07-03 Thread Mojca Miklavec
Li Yanrui, thanks a lot for the patch and sorry for the delay. It's supposed to be fixed now, but reports of contrary observations are always welcome. Mojca ___ If your question is of interest to others as well, pleas

[NTG-context] Newbie: floats with Context 2009 (Ubuntu). How do I use this workaround?

2010-07-03 Thread Pascale Julia
Hello, I am completely new to Context. I am using 2009 Context, Tex packages from Ubuntu ppa packages. >From the mailing list I got this workaround in the form of this attachment.tex file, but I can't figure in which file I have to put the macros. http://www.ntg.nl/pipermail/ntg-context/2010/049964

Re: [NTG-context] Metapost: union test of two paths

2010-07-03 Thread Marco
Hi Taco, many thanks for your effort! I'm just having a look at your code. Kind regards Marco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

Re: [NTG-context] Metapost: union test of two paths

2010-07-03 Thread Taco Hoekwater
On 07/03/2010 12:33 PM, Alan BRASLAU wrote: So, in a Cartesian space, if the energy cost of a kink is low, than path p; p := origin--(100,100)--cycle; should be a straight line running back on itself. Indeed, this is what metapost produces. Now try p := origin..(100,100)..cycle; The ..

Re: [NTG-context] Metapost: union test of two paths

2010-07-03 Thread Taco Hoekwater
On 07/03/2010 12:19 PM, Taco Hoekwater wrote: On 07/03/2010 10:03 AM, Taco Hoekwater wrote: If this is too complicated, it might help if I can find out if a given point lies inside a given cycled path. Even this is fairly tricky. Some important questions are: I thought this was a neat thin

Re: [NTG-context] "Large paper" dimensions detecting

2010-07-03 Thread Jaroslav Hajtmar
Its OK, ... How easy ... I am stupid :-) ... sorry ... and thanx Jaroslav Dne 3.7.2010 12:51, luigi scarso napsal(a): On Sat, Jul 3, 2010 at 12:35 PM, Jaroslav Hajtmar wrote: Hi All Is there a way to detect of paperheight and paperwidth of "large paper", when I print a "small page" to "l

Re: [NTG-context] "Large paper" dimensions detecting

2010-07-03 Thread luigi scarso
On Sat, Jul 3, 2010 at 12:35 PM, Jaroslav Hajtmar wrote: > Hi All > > Is there a way to detect of paperheight and paperwidth of "large paper", > when I print a "small page" to "large paper" ?? > When I use \paperwidth and \paperheight commands, then I get dimensions of >  "small paper", but I want

[NTG-context] "Large paper" dimensions detecting

2010-07-03 Thread Jaroslav Hajtmar
Hi All Is there a way to detect of paperheight and paperwidth of "large paper", when I print a "small page" to "large paper" ?? When I use \paperwidth and \paperheight commands, then I get dimensions of "small paper", but I want get dimensions of "large papers" too. (I need this dimensions fo

Re: [NTG-context] Metapost: union test of two paths

2010-07-03 Thread Alan BRASLAU
On Saturday 03 July 2010 10:03:32 Taco Hoekwater wrote: > On 07/02/2010 07:01 PM, Marco wrote: > > Hi, > > > > two arbitrary paths are given. A small path and a larger path, both > > cycled. How to find out if the smaller path lies completely »inside« the > > larger path? > > That is hard. The ma

Re: [NTG-context] Metapost: union test of two paths

2010-07-03 Thread Taco Hoekwater
On 07/03/2010 10:03 AM, Taco Hoekwater wrote: If this is too complicated, it might help if I can find out if a given point lies inside a given cycled path. Even this is fairly tricky. Some important questions are: I thought this was a neat thing to try to write a macro for. Attached is a te

Re: [NTG-context] Metapost: union test of two paths

2010-07-03 Thread Taco Hoekwater
On 07/02/2010 07:01 PM, Marco wrote: Hi, two arbitrary paths are given. A small path and a larger path, both cycled. How to find out if the smaller path lies completely »inside« the larger path? That is hard. The main problem is the word 'arbitrary'. An arbitrary path does not even have to enc