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,
... 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
···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 ...
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
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,
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?
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.
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
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