From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/16951 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: Thu, 4 Nov 2004 18:38:38 +0100 Message-ID: <20041104173838.GC5681@cebitec.uni-bielefeld.de> References: <20041103121548.GD22571@cebitec.uni-bielefeld.de> <4188D191.1020009@wxs.nl> <20041103131919.GE22571@cebitec.uni-bielefeld.de> 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 1099590063 29296 80.91.229.6 (4 Nov 2004 17:41:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 4 Nov 2004 17:41:03 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Nov 04 18:40:50 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 1CPlbO-0004Fv-00 for ; Thu, 04 Nov 2004 18:40:50 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EC4E212784; Thu, 4 Nov 2004 18:40:49 +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 09552-04; Thu, 4 Nov 2004 18:40:49 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 063C41277E; Thu, 4 Nov 2004 18:38:42 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 38A801277E for ; Thu, 4 Nov 2004 18:38:41 +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 09552-03 for ; Thu, 4 Nov 2004 18:38:40 +0100 (CET) Original-Received: from smtp-relay.CeBiTec.Uni-Bielefeld.DE (unknown [129.70.160.28]) by ronja.ntg.nl (Postfix) with ESMTP id 9C9EB1276B for ; Thu, 4 Nov 2004 18:38:40 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id 11F4C2D609 for ; Thu, 4 Nov 2004 18:38:40 +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 05087-02-6 for ; Thu, 4 Nov 2004 18:38:38 +0100 (MET) Original-Received: from baloo.Genetik.Uni-Bielefeld.DE (baloo.CeBiTec.Uni-Bielefeld.DE [129.70.160.60]) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id D14E82D605 for ; Thu, 4 Nov 2004 18:38:38 +0100 (MET) Original-Received: by baloo.Genetik.Uni-Bielefeld.DE (Postfix, from userid 13119) id A4E4A1384; Thu, 4 Nov 2004 18:38:38 +0100 (MET) Original-To: mailing list for ConTeXt users Mail-Followup-To: mailing list for ConTeXt users Content-Disposition: inline In-Reply-To: <20041103131919.GE22571@cebitec.uni-bielefeld.de> 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:16951 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:16951 On Wed, Nov 03, 2004 at 02:19:19PM +0100, Eckhart Guth=F6hrlein wrote: > 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 o= f > > >printing ^^I? > > >Another question: There has been a thread on telling \typebuffer wha= t > > >type of code on this list some time ago, without a final solution. I= s > > >there a switch to use metapost or whatever appropriate highlighting? > >=20 > > \setuptyping[tab=3Don] % or off >=20 > That does not work here. Example file: >=20 > \starttext > \startbuffer[ex] > draw unitsquare scaled 1cm; > \stopbuffer > % \setuptype[tab=3Don] > % \setuptype[tab=3Doff] > % \setuptyping[tab=3Don] > \setuptyping[tab=3Doff] > \typebuffer[ex] > \stoptext >=20 > None of the \setuptyp* has any effect, I alwas get ^^I^^I for the two > tabs. I have furthermore observed that typing of files via \typefile as well as \starttyping..\stoptyping are affected, opposed to \typebuffer. \typefile and the typing environment do never print ^^I for a tab, but either a space or several spaces, depending on the tab=3Don/off option. This behavior is what I would like to have for \typebuffer, too. How to do it? --=20 Eckhart