Re: [NTG-context] \box0 to Lua

2012-06-19 Thread Hans Hagen
On 19-6-2012 07:53, Philipp Gesang wrote: Ahoj! ···date: 2012-06-18, Monday···from: Procházka Lukáš Ing. - Pontex s. r. o.··· On Mon, 18 Jun 2012 16:56:56 +0200, Jaroslav Hajtmar hajt...@gyza.cz wrote: Ahoj... To bych ti rekl ... :-) tex.box[0].height ... To ale získáš jen výšku boxu,

Re: [NTG-context] \box0 to Lua

2012-06-19 Thread Procházka Lukáš Ing . - Pontex s . r . o .
... Thanks Philipp and Hans for hints, I'll keep on trying. BTW: I'd never guess how Czech will become popular ;) Best regards, Lukas Na to budeš potřebovat node.hpack() (luatexref-t.pdf, s. 95). \starttext \startluacode context(typesetters.hpack(Na to budeš potřebovat

Re: [NTG-context] \box0 to Lua

2012-06-19 Thread Philipp Gesang
···date: 2012-06-19, Tuesday···from: Hans Hagen··· On 19-6-2012 07:53, Philipp Gesang wrote: Ahoj! ···date: 2012-06-18, Monday···from: Procházka Lukáš Ing. - Pontex s. r. o.··· On Mon, 18 Jun 2012 16:56:56 +0200, Jaroslav Hajtmar hajt...@gyza.cz wrote: Ahoj... To bych ti rekl ...

[NTG-context] \box0 to Lua

2012-06-18 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, (my apologies if this message is duplicated - our mail server was out-of-order some time) how to call \box0 and \hbox to3cm{abc} by Lua? \startluacode context[[\box0]] % OK but a nicer way preferred, so keep on trying - context.box(0) % Error context.box{0} % Error

[NTG-context] \box0 to Lua

2012-06-18 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, how to call \box0 and \hbox to3cm{abc} by Lua? \startluacode context[[\box0]] % OK but a nicer way preferred, so keep on trying - context.box(0) % Error context.box{0} % Error context.box0 % Error context.hbox({to = cm}, abc) % Error \stopluacode TIA. Best regards,

Re: [NTG-context] \box0 to Lua

2012-06-18 Thread Jaroslav Hajtmar
Ahoj... To bych ti rekl ... :-) tex.box[0].height J. Dne 18.6.2012 16:53, Procházka Lukáš Ing. - Pontex s. r. o. napsal(a): Hello, (my apologies if this message is duplicated - our mail server was out-of-order some time) how to call \box0 and \hbox to3cm{abc} by Lua?

Re: [NTG-context] \box0 to Lua

2012-06-18 Thread Procházka Lukáš Ing . - Pontex s . r . o .
On Mon, 18 Jun 2012 16:56:56 +0200, Jaroslav Hajtmar hajt...@gyza.cz wrote: Ahoj... To bych ti rekl ... :-) tex.box[0].height ... To ale získáš jen výšku boxu, ne? Co když ten hbox chceš vysázet Luou na nějakou šířku? L. J. Dne 18.6.2012 16:53, Procházka Lukáš Ing. - Pontex s.

Re: [NTG-context] \box0 to Lua

2012-06-18 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, sorry for impoliteness - last two messages should't have been addressed to the forum, but only to me and Jaroslav - thus in Czech. The question still lasts... Best regards, Lukas how to call \box0 and \hbox to3cm{abc} by Lua? \startluacode context[[\box0]] % OK but a nicer

Re: [NTG-context] \box0 to Lua

2012-06-18 Thread Philipp Gesang
Ahoj! ···date: 2012-06-18, Monday···from: Procházka Lukáš Ing. - Pontex s. r. o.··· On Mon, 18 Jun 2012 16:56:56 +0200, Jaroslav Hajtmar hajt...@gyza.cz wrote: Ahoj... To bych ti rekl ... :-) tex.box[0].height ... To ale získáš jen výšku boxu, ne? Co když ten hbox chceš vysázet