From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/23344 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: fix for verbatim Date: Wed, 09 Nov 2005 10:55:28 +0100 Message-ID: <4371C790.2060408@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1131530467 1293 80.91.229.2 (9 Nov 2005 10:01:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 9 Nov 2005 10:01:07 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Nov 09 11:01:04 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1EZmkL-0005DT-1b for gctc-ntg-context-518@m.gmane.org; Wed, 09 Nov 2005 11:00:01 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C623012775; Wed, 9 Nov 2005 11:00:00 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 30808-06; Wed, 9 Nov 2005 11:00:00 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5CFE2127E1; Wed, 9 Nov 2005 10:55:33 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 729FC127E1 for ; Wed, 9 Nov 2005 10:55:31 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 30746-03 for ; Wed, 9 Nov 2005 10:55:30 +0100 (CET) Original-Received: from controller-1 (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by ronja.ntg.nl (Postfix) with ESMTP id 744AD127D4 for ; Wed, 9 Nov 2005 10:55:30 +0100 (CET) Original-Received: from [10.100.1.102] (unverified [10.100.1.102]) by controller-1 (SurgeMail 3.5b3) with ESMTP id 2461 for ; Wed, 09 Nov 2005 10:58:15 +0300 User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en Original-To: c X-Server: High Performance Mail Server - http://surgemail.com r=-274017400 X-Authenticated-User: hagen@controller-1 X-Virus-Scanned: 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: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:23344 Archived-At: The following patch \unprotect \let\protectedfirsttype\string \bgroup \catcode`\[=\@@begingroup \catcode`\]=\@@endgroup \catcode`\{=\@@active \catcode`\}=\@@active \gdef\initializetypegrouping% [\catcode`\{=\@@active \catcode`\}=\@@active \let\normalactivebgroup{% \let\normalactiveegroup}% \def\activeleftargument% [\bgroup \let}\activerightargument \normalactivebgroup ]% \def\activerightargument% [\normalactiveegroup \egroup]% \let{=\activeleftargument \let}=\egroup ] \egroup \protect works ok for \setupcolors[state=start] \setuptype[option=color] \setuptyping[option=color] \setupwhitespace[big] \starttext \starttyping x\pdfoutput{xx} {nn} \pdfoutput{xx} {nn} \stoptyping \type{x\pdfoutput {xx} {nn}} \type{x\pdfoutput{xx} {nn}} \type{x\pdfoutput{xx} {nn}} \stoptext but no coloring here: \starttabulate[|l|] \NC \type{\pdfoutput {xx}{,,}} \NC\NR \NC \type{\pdfoutput{xx}{,,}} \NC\NR \NC \type{{xx}{,,}} \NC\NR \stoptabulate beware: since in tabulate args are passed, the { } in \type are seen as grouping tokens and disappear. i'll try to make up a solution (no way around space after \cs then, unless taco fixes tex -) Hans