ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: VnPenguin <vnpenguin@gmail.com>
Subject: Re: Tabulate problem
Date: Tue, 21 Dec 2004 18:13:46 +0100	[thread overview]
Message-ID: <e5d3f265041221091355e97b56@mail.gmail.com> (raw)
In-Reply-To: <41C8577D.2050507@iki.fi>

On Tue, 21 Dec 2004 19:03:57 +0200, Mari Voipio <mari.voipio@iki.fi> wrote:
> VnPenguin wrote:
> > ----------- begin code ----------------------------
> > \starttext
> > \starttabulate[|l|l|]
> > \NC foo \NC cmd 2>&1 | grep bar \NC \NR
> > \stoptabulate
> > \stoptext
> > --------------- end code ------------------------------
> >
> > When I changed "&" by "\&" I have the same error.
> > Anyone could tell me how to fix it please.
> 
> Your code has another special character besides the ampersand (&); it is
> the 'pipe' (i.e. | ). If the pipe is taken away, the file compiles
> perfectly.
> I very recently found out that having 'mismatched' pipes *really* makes
> a mess - and of course I messed up in a text with table code and it took
> me ages to figure out that there was nothing wrong with my table and the
> problem was my stupid pipe.
> 
> I had to fiddle with your "greater than" sign, too, after I got the file
> to compile at all (and there might be an easier way), but this compiles
> into nice healthy pdf on my TeXLive:
> 
> -------------- start code -----------------------------------
> 
> \setupoutput[pdf] %remove this line if you don't want pdf
> 
> \starttext
> \starttabulate[|l|l|]
> \NC foo \NC cmd 2 \type{>}\&1 \type{|} grep bar \NC \NR
> \stoptabulate
> \stoptext
> 
> -------------- end code --------------------------------------
> 
> Hope this helps!

Thank you so much,
I'll try this now.

Regards,
Quy NGUYEN -DAI

      reply	other threads:[~2004-12-21 17:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-20 22:30 VnPenguin
2004-12-21 17:03 ` Mari Voipio
2004-12-21 17:13   ` VnPenguin [this message]

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=e5d3f265041221091355e97b56@mail.gmail.com \
    --to=vnpenguin@gmail.com \
    --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).