Hello, I'm typesetting a centered (middaligned) 1-cell table by Ctx - no problem.
When I rewrite the same code to Lua, the table is always moved to the right;
see or try the attached files.
---
\starttext
% By TeX
\centerline{
\starttable[|c|]
\HL
\VL 5 \VL\AR
\HL
\stoptable
}
% By Lua
\startluacode
context([[\centerline{]])
context.starttable{"|c|"}
context.HL()
context.VL(5); context.VL(); context.AR()
context.HL()
context.stoptable()
context([[}]])
\stopluacode
\stoptext
---
Why? How to modify the Lua code?
Kind regards,
Lukas
--
Ing. Lukáš Procházka [mailto:[email protected]]
Pontex s. r. o. [mailto:[email protected]] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4
Tel: +420 244 062 238
Fax: +420 244 461 038
t-Tab6.mkiv
Description: Binary data
t-Tab6.pdf
Description: Adobe PDF document
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : [email protected] / 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 ___________________________________________________________________________________
