From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/17613 Path: main.gmane.org!not-for-mail From: VnPenguin Newsgroups: gmane.comp.tex.context Subject: Re: Tabulate problem Date: Tue, 21 Dec 2004 18:13:46 +0100 Message-ID: References: <41C8577D.2050507@iki.fi> Reply-To: VnPenguin , mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1103650874 27559 80.91.229.6 (21 Dec 2004 17:41:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 21 Dec 2004 17:41:14 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Dec 21 18:41:08 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 1Cgo0S-0007km-00 for ; Tue, 21 Dec 2004 18:41:08 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B2B971278A; Tue, 21 Dec 2004 18:41:07 +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 29112-07; Tue, 21 Dec 2004 18:41:07 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0887A127AC; Tue, 21 Dec 2004 18:13:50 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A604C127AC for ; Tue, 21 Dec 2004 18:13:48 +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-03 for ; Tue, 21 Dec 2004 18:13:48 +0100 (CET) Original-Received: from rproxy.gmail.com (unknown [64.233.170.205]) by ronja.ntg.nl (Postfix) with ESMTP id BD4AC12783 for ; Tue, 21 Dec 2004 18:13:47 +0100 (CET) Original-Received: by rproxy.gmail.com with SMTP id r35so695170rna for ; Tue, 21 Dec 2004 09:13:47 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=AFXA/eMNSGnsNPLg0VEaZpCHrEr5mp4B3QkHdHnXAx7WbjOQDc8YJL7DLZUh20uXrb6uX4YZLX82iqBm583Ye/wj9FUZyJoxgB1VapZvsFPpzLXQrQJcU9u40TzMA2kOv77cYDpqtjWjg3anvb50OUBME8ws0xVZ6v15P5Krszs= Original-Received: by 10.38.69.35 with SMTP id r35mr44136rna; Tue, 21 Dec 2004 09:13:47 -0800 (PST) Original-Received: by 10.38.67.68 with HTTP; Tue, 21 Dec 2004 09:13:46 -0800 (PST) Original-To: mailing list for ConTeXt users In-Reply-To: <41C8577D.2050507@iki.fi> 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:17613 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:17613 On Tue, 21 Dec 2004 19:03:57 +0200, Mari Voipio 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