From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/16939 Path: main.gmane.org!not-for-mail From: Eckhart =?iso-8859-1?Q?Guth=F6hrlein?= Newsgroups: gmane.comp.tex.context Subject: Re: \typebuffer and tabs / specify code type Date: Wed, 3 Nov 2004 14:19:19 +0100 Message-ID: <20041103131919.GE22571@cebitec.uni-bielefeld.de> References: <20041103121548.GD22571@cebitec.uni-bielefeld.de> <4188D191.1020009@wxs.nl> 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 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1099488081 32216 80.91.229.6 (3 Nov 2004 13:21:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 3 Nov 2004 13:21:21 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Nov 03 14:21: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 1CPL4W-0002Dt-00 for ; Wed, 03 Nov 2004 14:21:08 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 986FC1277C; Wed, 3 Nov 2004 14:21: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 30867-03; Wed, 3 Nov 2004 14:21:07 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2B0C612799; Wed, 3 Nov 2004 14:19:24 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A353012799 for ; Wed, 3 Nov 2004 14:19:22 +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 30867-02 for ; Wed, 3 Nov 2004 14:19:22 +0100 (CET) Original-Received: from smtp-relay.CeBiTec.Uni-Bielefeld.DE (unknown [129.70.160.28]) by ronja.ntg.nl (Postfix) with ESMTP id 0DE6A1278E for ; Wed, 3 Nov 2004 14:19:22 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id B56942D608 for ; Wed, 3 Nov 2004 14:19:21 +0100 (MET) Original-Received: from smtp-relay.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (sauron [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 10067-01-7 for ; Wed, 3 Nov 2004 14:19:20 +0100 (MET) Original-Received: from cab.Genetik.Uni-Bielefeld.DE (cab.Genetik.Uni-Bielefeld.DE [129.70.160.44]) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id CA5962D605 for ; Wed, 3 Nov 2004 14:19:20 +0100 (MET) Original-Received: by cab.Genetik.Uni-Bielefeld.DE (Postfix, from userid 13119) id 3637DE34; Wed, 3 Nov 2004 14:19:19 +0100 (MET) Original-To: mailing list for ConTeXt users Mail-Followup-To: mailing list for ConTeXt users Content-Disposition: inline In-Reply-To: <4188D191.1020009@wxs.nl> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new at cebitec.uni-bielefeld.de 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:16939 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:16939 On Wed, Nov 03, 2004 at 01:39:45PM +0100, Hans Hagen wrote: > Eckhart Guth=F6hrlein wrote: > >Hi all, > > > >I'm using \typebuffer to typeset some metapost code. How can I tell it > >to either ignore tabs or treat them like 1,2,3,... spaces, instead of > >printing ^^I? > >Another question: There has been a thread on telling \typebuffer what > >type of code on this list some time ago, without a final solution. Is > >there a switch to use metapost or whatever appropriate highlighting? >=20 > \setuptyping[tab=3Don] % or off That does not work here. Example file: \starttext \startbuffer[ex] draw unitsquare scaled 1cm; \stopbuffer % \setuptype[tab=3Don] % \setuptype[tab=3Doff] % \setuptyping[tab=3Don] \setuptyping[tab=3Doff] \typebuffer[ex] \stoptext None of the \setuptyp* has any effect, I alwas get ^^I^^I for the two tabs. I'm using TeXExec 5.0 - ConTeXt / PRAGMA ADE 1997-2004 ConTeXt ver: 2004.10.28 fmt: 2004.11.3 int: english mes: english > \setuptyping[file][option=3DTEX] \setuptyping[option=3DMP] works fine. --=20 Eckhart