From: Mari Voipio <mari.voipio@iki.fi>
Subject: Re: Tabulate problem
Date: Tue, 21 Dec 2004 19:03:57 +0200 [thread overview]
Message-ID: <41C8577D.2050507@iki.fi> (raw)
In-Reply-To: <e5d3f2650412201430d73cf5e@mail.gmail.com>
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!
Mari
next prev parent reply other threads:[~2004-12-21 17:03 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 [this message]
2004-12-21 17:13 ` VnPenguin
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=41C8577D.2050507@iki.fi \
--to=mari.voipio@iki.fi \
--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).