From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/35436 Path: news.gmane.org!not-for-mail From: WolfgangZ Newsgroups: gmane.comp.tex.context Subject: Re: additional blank line in starttyping environment Date: Sun, 15 Jul 2007 21:56:18 +0200 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1184529630 30897 80.91.229.12 (15 Jul 2007 20:00:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 15 Jul 2007 20:00:30 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sun Jul 15 22:00:21 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 1IAAGS-0001ID-1i for gctc-ntg-context-518@m.gmane.org; Sun, 15 Jul 2007 22:00:20 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9B4061FF4A; Sun, 15 Jul 2007 22:00:19 +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 04338-01-3; Sun, 15 Jul 2007 22:00:09 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 08B791FFBD; Sun, 15 Jul 2007 22:00:09 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 64FAA1FFBD for ; Sun, 15 Jul 2007 22:00:06 +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 04133-01-5 for ; Sun, 15 Jul 2007 22:00:04 +0200 (CEST) Original-Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by ronja.ntg.nl (Postfix) with ESMTP id 2861B1FFB9 for ; Sun, 15 Jul 2007 22:00:04 +0200 (CEST) Original-Received: from root by ciao.gmane.org with local (Exim 4.43) id 1IAAGA-000678-Lh for ntg-context@ntg.nl; Sun, 15 Jul 2007 22:00:02 +0200 Original-Received: from 213.219.184.15.adsl.dyn.edpnet.net ([213.219.184.15]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 15 Jul 2007 22:00:02 +0200 Original-Received: from wollez by 213.219.184.15.adsl.dyn.edpnet.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 15 Jul 2007 22:00:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 31 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 213.219.184.15.adsl.dyn.edpnet.net User-Agent: Thunderbird 2.0.0.4 (Windows/20070604) In-Reply-To: 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:35436 Peter M=FCnster schrieb: > On Sun, 15 Jul 2007, WolfgangZ wrote: > = >> I get an extra blank line at the beginning of the starttyping = >> environment. How do I get rid of it? > = > The cause of the problem seems to be the "align=3Dflushleft". > Workaround: \vskip-\lineheight > = > Minimal example, showing the problem and the workaround: > = > \setupcolors[state=3Dstart] > \setuptyping[before=3D,after=3D] > \startbuffer > BYTEORDER M > \stopbuffer > \starttext > \framed[background=3Dcolor,backgroundcolor=3Dred]{\typebuffer} > \framed[align=3Dflushleft,background=3Dcolor,backgroundcolor=3Dred]{\type= buffer} > \framed[align=3Dflushleft,background=3Dcolor,backgroundcolor=3Dred]{% > \vskip-\lineheight\typebuffer} > \stoptext > = > Cheers, Peter > = It seemd that I needed align=3Dflushleft to get the lines of the buffer = correctly and not without any line break at all. Many thanks for your help Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________