On Wed, May 9, 2012 at 1:44 PM, elgo...@libero.it <elgo...@libero.it> wrote:

> And by the way, is there a clever way to write a block of text under some
> conditions as shown in the example above other than tex.print(".....") which
> forces to escape every command?
> Thank you very much.
> Bye

\starttext
\startluacode
context.starttabulate{"|l|r|l"}
context("\\NC Hello\\vrule width 1in height 1pt depth 1pt\\NC World  \\NR")
context.NC() context("Hello\\vrule width 1in height 1pt depth 1pt")
context.NC() context("%s", "World") context.NR()
context.NC() context("Hello") context.vrule(72.27*2^16, 2^16,2^16)
context.NC() context("%s", "World") context.NR()
context.stoptabulate()
\stopluacode
\stoptext

-- 
luigi
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to