[NTG-context] EuroTeX 2012 / 6th ConTeXt Meeting reminder

2012-08-20 Thread Taco Hoekwater
Hi all, Invitation == This is a reminder that EuroTeX 2012, the sixth ConTeXt meeting, the NTG najaarsbijeenkomst, and Dante's Herbsttagung will all be held together at the same time and place in Breskens, the Netherlands, on October 8 - October 12 The organisation of the conference

[NTG-context] Problem with SETUPTEX and KSH93

2012-08-20 Thread Alessandro Perucchi
Hello, I'm new to ConTeXt, and I find it great! I've done the standalone installation on my Linux box. For many reasons, I don't use bash, but ksh since all my customers are using ksh as there shell. Nevertheless, the setuptex is not working for me. Of course it works if I say .

Re: [NTG-context] Problem with SETUPTEX and KSH93

2012-08-20 Thread Mojca Miklavec
On Mon, Aug 20, 2012 at 11:04 AM, Alessandro Perucchi wrote: Hello, I'm new to ConTeXt, and I find it great! I've done the standalone installation on my Linux box. For many reasons, I don't use bash, but ksh since all my customers are using ksh as there shell. Nevertheless, the setuptex is

[NTG-context] Runtime Error (TeXLive and ConTeXt )

2012-08-20 Thread Hrothgar Boyce
TeXLive Version: 2012 (--all updated to August 20th, 2012) Platform: CYGWIN_NT-6.0 1.7.16(0.262/5/3) 2012-07-20 22:55 The attempted command which ends in an error is: texexec -o pdf 659-water-stations.tex This results in: PANIC: unprotected error in call to Lua API

[NTG-context] test for (negative) number

2012-08-20 Thread Peter Rolf
Hi, I used '\doifnumberelse' to validate some macro parameters (angle). Sadly it does not work with negative numbers. Is there a similar macro, that also supports negative values? Example: \doifnumberelse {45}{yes}{no}% yes \doifnumberelse{-45}{yes}{no}% no Greetings, Peter

[NTG-context] Stable versions of MkIV

2012-08-20 Thread Sietse Brouwer
Hi all, The current stable MkIV, the MkIV on the wiki, and the MkIV in TeX Live are quite different things. MkIV 2011.005.18 -- result of first-setup.sh --current MkIV 2011.10.008 -- version on the wiki MkIV 2012.005.29 -- version in TeX Live 2012, AFAICT (Mojca?) 1. Why not declare the version

Re: [NTG-context] test for (negative) number

2012-08-20 Thread Sietse Brouwer
Hi Peter, I recommend using the following handy little idiom: \ctxlua{commands.doifelse(-45 0)}{big}{small} % small It lets you do all sorts of things that are tricky in TeX: \ctxlua{ commands.doifelse( string.len( -45 ) 5 ) }{long}{short} Cheers, Sietse

[NTG-context] How to know in which page I'm?

2012-08-20 Thread Xan
Hi, I want to print a message depending if the page is even or odd. In pseudocode: \if \inpage.\iseven { This page is even } \else { This page is odd } How can I do that in ConTeXt? Thanks in advance, Xan. PS: Please, CCme

Re: [NTG-context] How to know in which page I'm?

2012-08-20 Thread Peter M√ľnster
On Mon, Aug 20 2012, Xan wrote: I want to print a message depending if the page is even or odd. In pseudocode: \if \inpage.\iseven { This page is even } \else { This page is odd } How can I do that in ConTeXt? \signalrightpage\doifrightpageelse{odd page}{even page} --

Re: [NTG-context] How to know in which page I'm?

2012-08-20 Thread Wolfgang Schuster
Am 20.08.2012 um 22:41 schrieb Xan dxpubl...@telefonica.net: Hi, I want to print a message depending if the page is even or odd. In pseudocode: \if \inpage.\iseven { This page is even } \else { This page is odd } How can I do that in ConTeXt?

[NTG-context] Problem with SETUPTEX and KSH93

2012-08-20 Thread Alessandro Perucchi
On Mon, Aug 20, 2012 at 12:34 PM, Mojca Miklavec wrote: Can you please try again? Mojca Hello Mojca, thanks :-) it works wonderfully! Now, I don't have to patch setuptex each time I'm updating ConTeXt :-D Sincerely yours, Alessandro

Re: [NTG-context] Struggling with ConTeXt

2012-08-20 Thread Olivier Binda
Many thanks for the enlightening answers. The explanations about xml solved question 1 and \startmatrix\stopmatrix solved question 4. I'm now crunching xml input and handling it half in lua and half in tex (and I'm verry happy about it). I'm still struggling with a few points though (with

Re: [NTG-context] How to know in which page I'm?

2012-08-20 Thread john Culleton
On Mon, 20 Aug 2012 23:09:11 +0200 Wolfgang Schuster wolfgang.schus...@gmail.com wrote: Am 20.08.2012 um 22:41 schrieb Xan dxpubl...@telefonica.net: Hi, I want to print a message depending if the page is even or odd. In pseudocode: \if \inpage.\iseven { This page is even }