[NTG-context] [LUATEX] uname() volunteers needed

2008-05-21 Thread Taco Hoekwater
Hi all, This is a little offtopic (it deals with luatex only) but as Mojca said: there are many more luatex-using people here than on dev-luatex. In a discussion with Yue Wang he convinced me that it would be better to use uname() for finding os.name instead of the current jungle of #ifdefs.

Re: [NTG-context] [LUATEX] uname() volunteers needed

2008-05-21 Thread Thomas A. Schmitz
On May 21, 2008, at 2:11 PM, Taco Hoekwater wrote: Because I do not want to alter the lua return values, that means I will have to interpret the contents of the returned structure a bit. To do that, I would appreciate it if the people on a non-linux32intel platform would compile and run the

Re: [NTG-context] [LUATEX] uname() volunteers needed

2008-05-21 Thread Yue Wang
on i386-darwin, the file doesn't compile (I saved the file as mini): ld: warning in mini, file is not of required architecture Undefined symbols: _main, referenced from: start in crt1.10.5.o ld: symbol(s) not found collect2: ld returned 1 exit status Are you sure you copy the

[NTG-context] The cat was too long (mkiv)

2008-05-21 Thread Peter Rolf
hi, 'minimal' example for clipping bug in mkiv: % engine=luatex \starttext \setbox\scratchbox\hbox{The cat was too long to fit in this small sentence.} \framed[offset=overlay]{\clip[width=110pt,height=20pt]{\box\scratchbox}} \stoptext final text should be The cat was too long. mkii does it

Re: [NTG-context] [LUATEX] uname() volunteers needed

2008-05-21 Thread Thomas A. Schmitz
On May 21, 2008, at 2:59 PM, Yue Wang wrote: Are you sure you copy the right source code? Here is the result on Mac OS X intel 10.5: $ gcc -Wall test.c -o test epicalyx:c jjgod$ ./test sysname: Darwin nodename: epicalyx.local release: 9.2.2 version: Darwin Kernel Version 9.2.2: Tue

Re: [NTG-context] [LUATEX] uname() volunteers needed

2008-05-21 Thread Arthur Reutenauer
This is a little offtopic (it deals with luatex only) but as Mojca said: there are many more luatex-using people here than on dev-luatex. You could also try [EMAIL PROTECTED], the list of people building binaries for TeX Live, where you can find people running all sorts of architectures.

Re: [NTG-context] [LUATEX] uname() volunteers needed

2008-05-21 Thread Yue Wang
Hi, You're going to love that: on Solaris compilation works fine, but execution prints uname() failed. And indeed, the section 2 man page for uname explains: I am aware of that because there is some solaris users encountered the same failure here. It seems that we should use umask()

Re: [NTG-context] The cat was too long (mkiv)

2008-05-21 Thread Hans Hagen
Peter Rolf wrote: hi, 'minimal' example for clipping bug in mkiv: % engine=luatex \starttext \setbox\scratchbox\hbox{The cat was too long to fit in this small sentence.} \framed[offset=overlay]{\clip[width=110pt,height=20pt]{\box\scratchbox}} \stoptext final text should be The

Re: [NTG-context] The cat was too long (mkiv)

2008-05-21 Thread Peter Rolf
Hans Hagen schrieb: Peter Rolf wrote: hi, 'minimal' example for clipping bug in mkiv: % engine=luatex \starttext \setbox\scratchbox\hbox{The cat was too long to fit in this small sentence.} \framed[offset=overlay]{\clip[width=110pt,height=20pt]{\box\scratchbox}} \stoptext final text

[NTG-context] bug with hyphenatedurl

2008-05-21 Thread Steffen Wolfrum
Hi, please have a look at the following minimal example (ran with mkii): - \usetypescript[postscript][\defaultencoding] \setupencoding[default=texnansi] \enableregime[utf] Test text\footnote{{Z4300, Stand: 1.{|DuennRaum|}Januar\;2002, einsehbar unter

Re: [NTG-context] bug with hyphenatedurl

2008-05-21 Thread Taco Hoekwater
Steffen Wolfrum wrote: Hi, please have a look at the following minimal example (ran with mkii): - \usetypescript[postscript][\defaultencoding] \setupencoding[default=texnansi] \enableregime[utf] Test text\footnote{{Z4300, Stand: 1.{|DuennRaum|}Januar\;2002, einsehbar unter

Re: [NTG-context] [LUATEX] uname() volunteers needed

2008-05-21 Thread Peter Münster
On Wed, May 21 2008, Taco Hoekwater wrote: Because I do not want to alter the lua return values, that means I will have to interpret the contents of the returned structure a bit. To do that, I would appreciate it if the people on a non-linux32intel platform would compile and run the attached

Re: [NTG-context] [LUATEX] uname() volunteers needed

2008-05-21 Thread Diego Depaoli
2008/5/21 Taco Hoekwater [EMAIL PROTECTED]: Hi all, This is a little offtopic (it deals with luatex only) but as Mojca said: there are many more luatex-using people here than on dev-luatex. sysname: FreeBSD nodename: genipizza.casadep.home release: 8.0-CURRENT version: FreeBSD

Re: [NTG-context] bug with hyphenatedurl

2008-05-21 Thread Hans Hagen
Taco Hoekwater wrote: Steffen Wolfrum wrote: Hi, please have a look at the following minimal example (ran with mkii): - \usetypescript[postscript][\defaultencoding] \setupencoding[default=texnansi] \enableregime[utf] Test text\footnote{{Z4300, Stand: 1.{|DuennRaum|}Januar\;2002,

Re: [NTG-context] [LUATEX] uname() volunteers needed

2008-05-21 Thread Gour
Taco == Taco Hoekwater [EMAIL PROTECTED] writes: Hi! Taco Thanks in advance, Taco Output on my x86-64 laptop [EMAIL PROTECTED] ~ uname -a Linux nitai 2.6.24-zen5-20080404 #6 SMP PREEMPT Fri Apr 4 13:18:03 CEST 2008 x86_64 AMD Turion(tm) 64 Mobile ML-34 AuthenticAMD GNU/Linux gives: sysname:

Re: [NTG-context] [LUATEX] uname() volunteers needed

2008-05-21 Thread Michael Hallgren
Le mercredi 21 mai 2008 à 22:09 +0200, Gour a écrit : Taco == Taco Hoekwater [EMAIL PROTECTED] writes: Hi! 'lo, [EMAIL PROTECTED]:~/Documents/Tata$ uname -a Linux home 2.6.24-17-generic #1 SMP Thu May 1 14:31:33 UTC 2008 i686 GNU/Linux [EMAIL PROTECTED]:~/Documents/Tata$ RAS mh

Re: [NTG-context] [LUATEX] uname() volunteers needed

2008-05-21 Thread Martin Schröder
2008/5/21 Arthur Reutenauer [EMAIL PROTECTED]: (In that case, it returned 1). Looks like you have to check for errno ... No; instead of (uname(uts)) it should be (uname(uts) 0) . Best Martin ___ If your

Re: [NTG-context] [LUATEX] uname() volunteers needed

2008-05-21 Thread Arthur Reutenauer
No; instead of (uname(uts)) it should be (uname(uts) 0) . Well, no: if the function fails on Linux and returns, say, 1, this test wouldn't catch it. But Taco knows what to do, and the discussion is getting even more off-topic :-) Arthur

Re: [NTG-context] [LUATEX] uname() volunteers needed

2008-05-21 Thread Martin Schröder
2008/5/22 Arthur Reutenauer [EMAIL PROTECTED]: No; instead of (uname(uts)) it should be (uname(uts) 0) . Well, no: if the function fails on Linux and returns, say, 1, this test wouldn't catch it. But Taco knows what to do, and the discussion From uname(2) on Linux: RETURN VALUE On

Re: [NTG-context] [LUATEX] uname() volunteers needed

2008-05-21 Thread Arthur Reutenauer
And SUS3 has this: Upon successful completion, a non-negative value shall be returned. Otherwise, -1 shall be returned and errno set to indicate the error. Ah, OK. Arthur ___ If your question is

Re: [NTG-context] font tables

2008-05-21 Thread Arthur Reutenauer
Is there an available ConTeXt utility for creating font tables for luatex? \ShowFont does this for 256-char encodings but we need something to create a matrix in pdf through luatex for unicode fonts. s-fnt-10 Where is that file? I wanted to try it, but I realized it was nowhere in