From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/17612 Path: main.gmane.org!not-for-mail From: Mari Voipio Newsgroups: gmane.comp.tex.context Subject: Re: Tabulate problem Date: Tue, 21 Dec 2004 19:03:57 +0200 Message-ID: <41C8577D.2050507@iki.fi> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1103648857 21621 80.91.229.6 (21 Dec 2004 17:07:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 21 Dec 2004 17:07:37 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Dec 21 18:07:25 2004 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CgnTp-0004eK-00 for ; Tue, 21 Dec 2004 18:07:25 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D3CF212783; Tue, 21 Dec 2004 18:07:24 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 29109-02; Tue, 21 Dec 2004 18:07:24 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8AACC127B8; Tue, 21 Dec 2004 18:03:59 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5CC41127B8 for ; Tue, 21 Dec 2004 18:03:58 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 28717-07 for ; Tue, 21 Dec 2004 18:03:57 +0100 (CET) Original-Received: from post.it.helsinki.fi (unknown [128.214.205.132]) by ronja.ntg.nl (Postfix) with ESMTP id 990B412783 for ; Tue, 21 Dec 2004 18:03:57 +0100 (CET) Original-Received: from [192.168.42.4] (peterlorimer.in.helsinki.fi [128.214.204.235]) by post.it.helsinki.fi (8.13.1/8.13.1) with ESMTP id iBLH3vTv013649 for ; Tue, 21 Dec 2004 19:03:57 +0200 User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:17612 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:17612 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