From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/35433 Path: news.gmane.org!not-for-mail From: "Thomas A. Schmitz" Newsgroups: gmane.comp.tex.context Subject: Re: additional blank line in starttyping environment Date: Sun, 15 Jul 2007 17:57:14 +0200 Message-ID: <78F648D6-F035-4A80-B74C-7A968A6171BD@uni-bonn.de> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1184515068 23294 80.91.229.12 (15 Jul 2007 15:57:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 15 Jul 2007 15:57:48 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Jul 15 17:57:46 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1IA6Ti-000417-55 for gctc-ntg-context-518@m.gmane.org; Sun, 15 Jul 2007 17:57:46 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B8F791FF42; Sun, 15 Jul 2007 17:57:45 +0200 (CEST) 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 20418-02; Sun, 15 Jul 2007 17:57:37 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6C25D1FF45; Sun, 15 Jul 2007 17:57:37 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CE12D1FF45 for ; Sun, 15 Jul 2007 17:57:35 +0200 (CEST) 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 20416-05-3 for ; Sun, 15 Jul 2007 17:57:32 +0200 (CEST) Original-Received: from mailout01.sul.t-online.com (mailout01.sul.t-online.de [194.25.134.80]) by ronja.ntg.nl (Postfix) with ESMTP id 5C0691FF42 for ; Sun, 15 Jul 2007 17:57:32 +0200 (CEST) Original-Received: from fwd31.aul.t-online.de by mailout01.sul.t-online.com with smtp id 1IA6TR-00066V-03; Sun, 15 Jul 2007 17:57:29 +0200 Original-Received: from [192.168.0.2] (b7BxvmZaZe16FQUL2bdYsijozlFiDwiq-RtDzzH71nrQN8bgiFtsZn@[91.18.102.214]) by fwd31.aul.t-online.de with esmtp id 1IA6TC-03FHnc0; Sun, 15 Jul 2007 17:57:14 +0200 In-Reply-To: X-Mailer: Apple Mail (2.752.2) X-ID: b7BxvmZaZe16FQUL2bdYsijozlFiDwiq-RtDzzH71nrQN8bgiFtsZn@t-dialin.net X-TOI-MSGID: 181be8c9-8ca0-4490-9409-044518c0c377 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:35433 Archived-At: Hi, this should do the trick: \setupcolors[state=start] \setuptyping[before={\blank[0cm]}] \startbuffer[1arc] BYTEORDER M LAYOUT BIL NROWS 3601 NCOLS 3601 NBANDS 1 NBITS 16 BANDROWBYTES 7202 TOTALROWBYTES 7202 BANDGAPBYTES 0 NODATA -32768 ULXMAP $ULXMAP ULYMAP $ULYMAP XDIM 0.000277777777777778 YDIM 0.000277777777777778 \stopbuffer \starttext \framed [width=6cm,frame=off,align=flushleft,background=color,backgroundcolor=re d]{\typebuffer[1arc]} \stoptext HTH Thomas On Jul 15, 2007, at 5:45 PM, WolfgangZ wrote: > Hi, > > I get an extra blank line at the beginning of the starttyping > environment. How do I get rid of it? > See the huge space top of the line "BYTEORDER M": > > \setupcolors[state=start] > > \starttext > \startbuffer[1arc] > \starttyping > BYTEORDER M > LAYOUT BIL > NROWS 3601 > NCOLS 3601 > NBANDS 1 > NBITS 16 > BANDROWBYTES 7202 > TOTALROWBYTES 7202 > BANDGAPBYTES 0 > NODATA -32768 > ULXMAP $ULXMAP > ULYMAP $ULYMAP > XDIM 0.000277777777777778 > YDIM 0.000277777777777778 > \stoptyping > \stopbuffer > > > \framed > [width=6cm,frame=off,align=flushleft,background=color,backgroundcolor= > red]{\getbuffer[1arc]} > \stoptext > > ______________________________________________________________________ > _____________ > If your question is of interest to others as well, please add an > entry to the Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ > ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ______________________________________________________________________ > _____________ ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________