From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/17508 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: [BUG] \type<<...>> not working Date: Tue, 14 Dec 2004 00:47:50 +0100 Message-ID: <41BE2A26.2010500@wxs.nl> References: <20041209120303.GB9424@puritan.pcp.ath.cx> 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 1103013867 27611 80.91.229.6 (14 Dec 2004 08:44:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 14 Dec 2004 08:44:27 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Dec 14 09:44:20 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 1Ce8I8-0002M9-00 for ; Tue, 14 Dec 2004 09:44:20 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 717A6127AB; Tue, 14 Dec 2004 09:44:20 +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 02144-01; Tue, 14 Dec 2004 09:44:19 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3FD2E12789; Tue, 14 Dec 2004 09:41:10 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0689C12777 for ; Tue, 14 Dec 2004 09:41:09 +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 01575-05 for ; Tue, 14 Dec 2004 09:41:08 +0100 (CET) Original-Received: from mailrelay01.solcon.nl (unknown [212.45.32.200]) by ronja.ntg.nl (Postfix) with ESMTP id 961CA12775 for ; Tue, 14 Dec 2004 09:41:08 +0100 (CET) Original-Received: from server-1.pragma-net.nl (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by mailrelay01.solcon.nl (8.12.11/SQL-8.12.11-5/8.12.11) with ESMTP id iBE8f7k3007203 for ; Tue, 14 Dec 2004 09:41:07 +0100 Original-Received: by server-1.pragma-net.nl (Postfix, from userid 65534) id 2D41717BAE; Tue, 14 Dec 2004 09:41:07 +0100 (CET) Original-Received: from [10.100.1.191] (unknown [10.100.1.191]) by server-1.pragma-net.nl (Postfix) with ESMTP id EA1A917C62 for ; Tue, 14 Dec 2004 08:41:05 +0000 (UTC) User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <20041209120303.GB9424@puritan.pcp.ath.cx> X-Virus-Scanned: ClamAV 0.80/540/Tue Oct 19 14:59:23 2004 clamav-milter version 0.80j on mailrelay01 X-Virus-Status: Clean 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:17508 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:17508 Nikolai Weibull wrote: > \starttext > \type<<...>> > \stoptext > > It doesn't seem to see the end delimiter, > nikolai patch for core-ver \starttext \unprotect \def\dodotypeC<#1% normal/slanted <<... <<...>> ...>> {\initializetype \verbatimcolor \if#1<% \@EA\setupalternativetypegrouping \else \@EA#1% \fi} \bgroup \catcode`\<=\@@active \catcode`\>=\@@active \gdef\setupalternativetypegrouping {\catcode`\<=\@@active \catcode`\>=\@@active \def\doless {\ifx<\next \def\next {\bgroup\switchslantedtype \let\next=}% \else \let\next\lesscharacter \fi \next}% \def\domore {\ifx>\next \def\next {\egroup \let\next=}% \else \let\next\morecharacter \fi \next}% \def<{\futurelet\next\doless}% \def>{\futurelet\next\domore}} \egroup \protect \startTEXpage normal: \par \type{xx<<..xx..<> >>..>>xx} \par \type<<....>> \par \type<<..<>..>> \par normal: \par \type{xx<..xx.. >..>xx} \par \type{<....>} \par \type{<....>} \setuptype[option=slanted] slanted: \par \type{xx<<..sl..<> xx>>..sl..>>xx} \par \type<<..xx..>> \par \type<<..<>..>> \par slanted: \par \type{xx<<..sl.. xx>..sl..>>xx} \par \type<<..xx..>> \par \type<<....>> \par \setuptype[option=none] none: \par \type{xx<<..xx..<> >>..>>xx} \par \type<<....>> \par \type<<..<>..>> \par \stopTEXpage \stoptext ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------