From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/87175 Path: news.gmane.org!not-for-mail From: Maggyero Newsgroups: gmane.comp.tex.context Subject: Empty heads after leading whitespace Date: Wed, 30 Apr 2014 18:09:14 +0200 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1866591850==" X-Trace: ger.gmane.org 1398874179 17275 80.91.229.3 (30 Apr 2014 16:09:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 30 Apr 2014 16:09:39 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Wed Apr 30 18:09:35 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WfX4g-0007Vg-BI for gctc-ntg-context-518@m.gmane.org; Wed, 30 Apr 2014 18:09:34 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D610D10226 for ; Wed, 30 Apr 2014 18:09:33 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id u8aOTeX6s6kH for ; Wed, 30 Apr 2014 18:09:33 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 25F2B10251 for ; Wed, 30 Apr 2014 18:09:29 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EE749101E9 for ; Wed, 30 Apr 2014 18:09:25 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id imp8hDTu1bV5 for ; Wed, 30 Apr 2014 18:09:24 +0200 (CEST) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 8F702101E1 for ; Wed, 30 Apr 2014 18:09:24 +0200 (CEST) Original-Received: from mail-we0-x22f.google.com (mail-we0-x22f.google.com [IPv6:2a00:1450:400c:c03::22f]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s3UG9EcQ028682 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Wed, 30 Apr 2014 18:09:24 +0200 Original-Received: by mail-we0-f175.google.com with SMTP id q58so1922700wes.34 for ; Wed, 30 Apr 2014 09:09:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=RxB5+pSYIK1wM5MbtMjbFJ4CoV1mbR4yHXa4JDFffhM=; b=Blhi6Nky0oZy8xD0oCGv+CYGvtiVrGdqZqFdtsyS7Tt8fjhdNrv73qAGIvO/7ot00R QRHVvP2j0JM3+17XAiUXoqVdwXSO7SMrJTFoNLjiBKCM20smG92vbJ5wEj7RMbVEy6mw e8hR/X0Wh4XDU3Lei9JrpUjPiilM1iNC0tB/O2YzwF4y4H4tKF48K/TPBbcTrb7X2y97 /K07l+fbX7eNzT3PmD+cBr9u1kpgRgczi1A9xQGDZ32O4pcarwbD3eEys5fkdVhUmmBD 0+FxSgd503xbvaULdjDeBz2odeGsgddwQMdEWYI9DrYyBMMYQHsPquV+uKmtVplNLrKa Gaxw== X-Received: by 10.180.93.133 with SMTP id cu5mr4321043wib.47.1398874154825; Wed, 30 Apr 2014 09:09:14 -0700 (PDT) Original-Received: by 10.216.159.132 with HTTP; Wed, 30 Apr 2014 09:09:14 -0700 (PDT) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c03::22f; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03LUg9fHo - abef33497165 - 20140430 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:87175 Archived-At: --===============1866591850== Content-Type: multipart/alternative; boundary=f46d0438904515800c04f844c55e --f46d0438904515800c04f844c55e Content-Type: text/plain; charset=UTF-8 Hello, Here after is my problem: \setuphead[section][% placehead=empty, before=, after=] \setuphead[subsection][% placehead=yes, before={\blank[line]}, after={\blank[line]}] \setupheadertexts[section] \starttext \showframe \section{My section} \subsection{My subsection (whitespace before: )} % Here is my problem. \page \subsection{My subsection (NO whitespace before)} \stoptext The mechanism that automatically removes the leading whitespace at the top of a page doesn't work if there is an EMPTY head followed by another head (of a different level). How can I remove that whitespace? Best regards. --f46d0438904515800c04f844c55e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello,


Here a= fter is my problem:


\setuphead[sect= ion][%
=C2=A0 =C2=A0 placehead=3Dempty,
=C2=A0 =C2=A0 b= efore=3D,
=C2=A0 =C2=A0 after=3D]
\setuphead[subsection][%
=C2=A0 =C2=A0 placehead=3Dyes,
=C2=A0 =C2=A0 before=3D{\blank[line]},
=C2=A0 =C2=A0 after= =3D{\blank[line]}]
\setupheadertexts[section]

\starttext
\showframe
\section{My section}
\subsection{My subsection (whitespace b= efore: )} % Here is my problem.
\page
\subsection{My su= bsection (NO whitespace before)}
\stoptext


The mechanism that automatically removes the leading wh= itespace at the top of a page doesn't work if there is an EMPTY head fo= llowed by another head (of a different level). How can I remove that whites= pace?


Best regards.
--f46d0438904515800c04f844c55e-- --===============1866591850== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============1866591850==--