From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/44689 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Extra space before itemize Date: Fri, 10 Oct 2008 13:22:45 -0400 (EDT) Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1223659474 8282 80.91.229.12 (10 Oct 2008 17:24:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 10 Oct 2008 17:24:34 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Oct 10 19:25:29 2008 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 1KoLjw-0006xk-0n for gctc-ntg-context-518@m.gmane.org; Fri, 10 Oct 2008 19:25:24 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E6E5C1FB49; Fri, 10 Oct 2008 19:24:16 +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 11796-01-5; Fri, 10 Oct 2008 19:23:24 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BC1921FB39; Fri, 10 Oct 2008 19:23:24 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8E49B1FADC for ; Fri, 10 Oct 2008 19:23:23 +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 10493-01-10 for ; Fri, 10 Oct 2008 19:22:48 +0200 (CEST) Original-Received: from hellskitchen.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.82]) by ronja.ntg.nl (Postfix) with ESMTP id 5A8501FA41 for ; Fri, 10 Oct 2008 19:22:48 +0200 (CEST) Original-Received: FROM adi-laptop.local (c-71-234-195-113.hsd1.ct.comcast.net [71.234.195.113]) BY hellskitchen.mr.itd.umich.edu ID 48EF8F66.A83A5.13694 ; 10 Oct 2008 13:22:46 -0400 User-Agent: Alpine 1.00 (DEB 882 2007-12-20) 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:44689 Archived-At: Hi, I am setting up a head which simply puts its contents in a layer, so that I can control where to place the head. If the head is followed by an itemize, I get spurious white space. See the following test file. Page 1 is head followed by text, which is OK. Page 2 is head followed by itemize, which has extra space. page 3 is just itemize which is ok. \definelayer[test] [width=\paperwidth, height=\paperheight, x=5cm,y=1cm] \def\mylayer#1#2{\setlayer[test]{#1#2}} \definehead[testhead][subject] \setuphead[testhead] [before=, after=, alternative=text, command=\mylayer] \setupbackgrounds[page][background=test] \showframe \showboxes \starttext \testhead{First} \input knuth \page \testhead{Hello} \startitemize \item A \item B \stopitemize \page \startitemize \item A \item B \stopitemize \stoptext How do I get rid of the extra space? Aditya ___________________________________________________________________________________ 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 ___________________________________________________________________________________