ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \box0 to Lua
@ 2012-06-18 14:23 Procházka Lukáš Ing. - Pontex s. r. o.
  0 siblings, 0 replies; 9+ messages in thread
From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2012-06-18 14:23 UTC (permalink / raw)
  To: ConTeXt

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.box"0" % Error

   context.hbox({to = "cm"}, "abc") % Error
\stopluacode
----

TIA.

Best regards,

Lukas


-- 
Ing. Lukáš Procházka [mailto:LPr@pontex.cz]
Pontex s. r. o.      [mailto:pontex@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
Fax: +420 244 461 038

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 9+ messages in thread
* \box0 to Lua
@ 2012-06-18 14:53 Procházka Lukáš Ing. - Pontex s. r. o.
  2012-06-18 14:56 ` Jaroslav Hajtmar
  0 siblings, 1 reply; 9+ messages in thread
From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2012-06-18 14:53 UTC (permalink / raw)
  To: ConTeXt

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
    context.box"0" % Error

    context.hbox({to = "cm"}, "abc") % Error
\stopluacode
----

TIA.

Best regards,

Lukas


-- 
Ing. Lukáš Procházka [mailto:LPr@pontex.cz]
Pontex s. r. o.      [mailto:pontex@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
Fax: +420 244 461 038

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-06-19  8:58 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-18 14:23 \box0 to Lua Procházka Lukáš Ing. - Pontex s. r. o.
2012-06-18 14:53 Procházka Lukáš Ing. - Pontex s. r. o.
2012-06-18 14:56 ` Jaroslav Hajtmar
2012-06-18 15:02   ` Procházka Lukáš Ing. - Pontex s. r. o.
2012-06-18 15:13     ` Procházka Lukáš Ing. - Pontex s. r. o.
2012-06-19  5:53     ` Philipp Gesang
2012-06-19  8:34       ` Hans Hagen
2012-06-19  8:56         ` Procházka Lukáš Ing. - Pontex s. r. o.
2012-06-19  8:58         ` Philipp Gesang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).