From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/35434 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?Peter_M=C3=BCnster?= Newsgroups: gmane.comp.tex.context Subject: Re: additional blank line in starttyping environment Date: Sun, 15 Jul 2007 20:49:21 +0200 (CEST) Message-ID: References: Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1184525365 19500 80.91.229.12 (15 Jul 2007 18:49:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 15 Jul 2007 18:49:25 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Jul 15 20:49:22 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 1IA99g-0005Mt-0i for gctc-ntg-context-518@m.gmane.org; Sun, 15 Jul 2007 20:49:16 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9DAE81FFC1; Sun, 15 Jul 2007 20:49:14 +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 31843-01; Sun, 15 Jul 2007 20:49:08 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E039A1FFA4; Sun, 15 Jul 2007 20:49:07 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 55EF91FFA4 for ; Sun, 15 Jul 2007 20:49: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 31401-02 for ; Sun, 15 Jul 2007 20:49:03 +0200 (CEST) Original-Received: from smtp1-g19.free.fr (smtp1-g19.free.fr [212.27.42.27]) by ronja.ntg.nl (Postfix) with ESMTP id A0C5A1FF55 for ; Sun, 15 Jul 2007 20:49:03 +0200 (CEST) Original-Received: from gaston.couberia.bzh (lns-bzn-32-82-254-6-250.adsl.proxad.net [82.254.6.250]) by smtp1-g19.free.fr (Postfix) with ESMTP id 4AFC21AB2ED for ; Sun, 15 Jul 2007 20:49:03 +0200 (CEST) Original-Received: by gaston.couberia.bzh (Postfix, from userid 1000) id 413F931468; Sun, 15 Jul 2007 20:49:21 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by gaston.couberia.bzh (Postfix) with ESMTP id F1A1030573 for ; Sun, 15 Jul 2007 20:49:21 +0200 (CEST) X-X-Sender: peter@gaston.couberia.bzh 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:35434 Archived-At: 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=flushleft". Workaround: \vskip-\lineheight Minimal example, showing the problem and the workaround: \setupcolors[state=start] \setuptyping[before=,after=] \startbuffer BYTEORDER M \stopbuffer \starttext \framed[background=color,backgroundcolor=red]{\typebuffer} \framed[align=flushleft,background=color,backgroundcolor=red]{\typebuffer} \framed[align=flushleft,background=color,backgroundcolor=red]{% \vskip-\lineheight\typebuffer} \stoptext Cheers, Peter -- http://pmrb.free.fr/contact/ ___________________________________________________________________________________ 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 ___________________________________________________________________________________