ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: luigi scarso <luigi.scarso@gmail.com>
To: "elgospa@libero.it" <elgospa@libero.it>,
	mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Split \startalign content on more pages
Date: Thu, 10 May 2012 09:58:58 +0200	[thread overview]
Message-ID: <CAG5iGsBptfn939WgDVZrM7dch_kwDpLiptjsNE=sMwfSSrSYTA@mail.gmail.com> (raw)
In-Reply-To: <4895117.6278571336563863437.JavaMail.root@wmail45>

On Wed, May 9, 2012 at 1:44 PM, elgospa@libero.it <elgospa@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	other threads:[~2012-05-10  7:58 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-09 11:44 elgospa
2012-05-10  7:58 ` luigi scarso [this message]
2012-05-11  9:16 elgospa
2012-05-11  9:23 ` luigi scarso
2012-05-13 13:54 elgospa
2012-05-13 14:23 ` luigi scarso
2012-05-13 16:36 ` Aditya Mahajan
2012-05-14  4:37 elgospa
2012-05-14  8:32 ` luigi scarso
2012-05-14 10:02 elgospa
2012-05-15 10:45 ` luigi scarso
2012-05-22  5:49 elgospa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAG5iGsBptfn939WgDVZrM7dch_kwDpLiptjsNE=sMwfSSrSYTA@mail.gmail.com' \
    --to=luigi.scarso@gmail.com \
    --cc=elgospa@libero.it \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).