Re: [NTG-context] xml and lua again

2011-10-27 Thread Thomas A. Schmitz
On 10/28/11 08:44, Patrick Gundlach wrote: context.blackrule{ width = number.topoints(tex.dimen["textwidth"]/2) } or just tex.dimen["textwidth"]/2 .. "sp" Wait, just so I understand: your solution would imply that tex.dimen["textwidth"] holds a number, not a dimension, right? (Because yo

Re: [NTG-context] xml and lua again

2011-10-27 Thread Patrick Gundlach
context.blackrule{ width = number.topoints(tex.dimen["textwidth"]/2) } >> >> or just tex.dimen["textwidth"]/2 .. "sp" > > Wait, just so I understand: your solution would imply that > tex.dimen["textwidth"] holds a number, not a dimension, right? (Because you > simply concatenate it

Re: [NTG-context] xml and lua again

2011-10-27 Thread luigi scarso
On Fri, Oct 28, 2011 at 8:37 AM, luigi scarso wrote: soryy, typos > number.topoints(tex.dimen["textwidth"]/2) gives "XYZ.ABSpt" number.topoints(tex.dimen["textwidth"]/2) gives "XYZ.ABCpt" > TeX reads "XYZ.ABC.pt" and convert to "xyzsp" and drops sp TeX reads "XYZ.ABCpt" and convert to "xyzsp" an

Re: [NTG-context] xml and lua again

2011-10-27 Thread luigi scarso
On Fri, Oct 28, 2011 at 8:23 AM, Thomas A. Schmitz wrote: > On 10/27/11 13:05, Hans Hagen wrote: With “tex.dimen[…]” you get the value in scaled points but util-dim.lua provides some functions to convert the value in points, centimeter etc. \starttext \startluaco

Re: [NTG-context] xml and lua again

2011-10-27 Thread Thomas A. Schmitz
On 10/27/11 13:05, Hans Hagen wrote: With “tex.dimen[…]” you get the value in scaled points but util-dim.lua provides some functions to convert the value in points, centimeter etc. \starttext \startluacode context.blackrule{ width = number.topoints(tex.dimen["textwidth"]/2) } \stopluacode \stopt

Re: [NTG-context] looking for volunteer to create a ConTeXt ad (220x250 px)

2011-10-27 Thread Mojca Miklavec
On Thu, Oct 27, 2011 at 19:40, Aditya Mahajan wrote: > > On Thu, 27 Oct 2011, Hans Hagen wrote: > >> On 27-10-2011 18:31, Aditya Mahajan wrote: >> >>> My vote is for something alone the lines of this year's graphic for the >>> context meeting. >> >> Attached. > > I meant this one: http://meeting.co

Re: [NTG-context] looking for volunteer to create a ConTeXt ad (220x250 px)

2011-10-27 Thread Aditya Mahajan
On Thu, 27 Oct 2011, Hans Hagen wrote: On 27-10-2011 18:31, Aditya Mahajan wrote: My vote is for something alone the lines of this year's graphic for the context meeting. Attached. I meant this one: http://meeting.contextgarden.net/2011/website.png Maybe I should commission Duane for a c

Re: [NTG-context] looking for volunteer to create a ConTeXt ad (220x250 px)

2011-10-27 Thread Hans Hagen
On 27-10-2011 18:31, Aditya Mahajan wrote: My vote is for something alone the lines of this year's graphic for the context meeting. Attached. Maybe I should commission Duane for a couple of small context lions so that we have some variation. Or we could build a collection (each conference an

Re: [NTG-context] looking for volunteer to create a ConTeXt ad (220x250 px)

2011-10-27 Thread Aditya Mahajan
On Thu, 27 Oct 2011, Henning Hraban Ramm wrote: Am 2011-10-27 um 15:06 schrieb Mojca Miklavec: Is there any volunteer to create an image with add for contextgarden.net, 220x250 pixels big? See for examples.

Re: [NTG-context] looking for volunteer to create a ConTeXt ad (220x250 px)

2011-10-27 Thread Henning Hraban Ramm
Am 2011-10-27 um 15:06 schrieb Mojca Miklavec: Is there any volunteer to create an image with add for contextgarden.net, 220x250 pixels big? See for examples. Grrr, I’d like to smash/downvote/flame that h

[NTG-context] looking for volunteer to create a ConTeXt ad (220x250 px)

2011-10-27 Thread Mojca Miklavec
Is there any volunteer to create an image with add for contextgarden.net, 220x250 pixels big? See for examples. Mojca ___ If your

Re: [NTG-context] xml and lua again

2011-10-27 Thread Hans Hagen
On 27-10-2011 12:32, Thomas A. Schmitz wrote: On 10/27/2011 11:53 AM, Wolfgang Schuster wrote: With “tex.dimen[…]” you get the value in scaled points but util-dim.lua provides some functions to convert the value in points, centimeter etc. \starttext \startluacode context.blackrule{ width = numb

Re: [NTG-context] xml and lua again

2011-10-27 Thread Thomas A. Schmitz
On 10/27/2011 11:53 AM, Wolfgang Schuster wrote: With “tex.dimen[…]” you get the value in scaled points but util-dim.lua provides some functions to convert the value in points, centimeter etc. \starttext \startluacode context.blackrule{ width = number.topoints(tex.dimen["textwidth"]/2) } \stopl

Re: [NTG-context] xml and lua again

2011-10-27 Thread Wolfgang Schuster
Am 27.10.2011 um 11:23 schrieb Thomas A. Schmitz: > On 10/25/2011 12:27 PM, Thomas A. Schmitz wrote: >> Wolfgang, Hans, >> >> thanks a lot, this works now. Will now try and move the code to a >> ctxluafile and see if I can make it work again. If not, I'll be back; no >> good deed goes unpunished

Re: [NTG-context] `\usemodule[graph]` causes error `! Unable to make mpx file.` with ConTeXt ver: 2011.10.14 22:47 MKIV

2011-10-27 Thread Alan Braslau
Hans, The use of the graph module is indeed currently broken, both in mkiv and in mkii. Alan On Tue, Oct 18, 2011 at 03:00:33PM +0200, Alan Braslau wrote: > Confirmed here. > > OK ConTeXt ver: 2011.09.27 20:05 MKIV fmt: 2011.9.30 > not OK ConTeXt ver: 2011.10.17 10:36 MKIV fmt: 2011.10

Re: [NTG-context] xml and lua again

2011-10-27 Thread Thomas A. Schmitz
On 10/25/2011 12:27 PM, Thomas A. Schmitz wrote: Wolfgang, Hans, thanks a lot, this works now. Will now try and move the code to a ctxluafile and see if I can make it work again. If not, I'll be back; no good deed goes unpunished... Thomas OK, I'm slowly making progress processing xml in lua.

Re: [NTG-context] accessibility of PDF (inter word space

2011-10-27 Thread Stefan Goßrau
thanks for your answer Hans. Now i found some examples. Bot for me it doesnt work. I tried the documents in http://minimals.contextgarden.net/current/context/test/doc/context/tests/mkiv/tags/ but there are no spaces between words in reflow-mode. I am using adobe reader 9 for Linux and ConTeXt v

Re: [NTG-context] Galleries with photos from ConTeXt meetings: any ideas?

2011-10-27 Thread Henning Hraban Ramm
Am 2011-10-26 um 23:11 schrieb Mojca Miklavec: you could use jAlbum (album-only app) Thank you. I have not dealt with gallery software for ages, so this is the first time that I hear about it. It’s nice, provides lots of templates and is generally very customizable (even if you often lose y