From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/87213 Path: news.gmane.org!not-for-mail From: Maggyero Newsgroups: gmane.comp.tex.context Subject: Empty heads after leading whitespace Date: Sat, 3 May 2014 16:32:37 +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="===============1840911254==" X-Trace: ger.gmane.org 1399127584 19325 80.91.229.3 (3 May 2014 14:33:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 3 May 2014 14:33:04 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sat May 03 16:32:59 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 1Wgazq-0001i0-Ns for gctc-ntg-context-518@m.gmane.org; Sat, 03 May 2014 16:32:58 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 308FD1023A for ; Sat, 3 May 2014 16:32:58 +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 IOAlG8oN4QeV for ; Sat, 3 May 2014 16:32:58 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 4E00B10206 for ; Sat, 3 May 2014 16:32:54 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 17C1B101EA for ; Sat, 3 May 2014 16:32:50 +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 ut91SsDXVJlS for ; Sat, 3 May 2014 16:32:48 +0200 (CEST) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id AB697101E1 for ; Sat, 3 May 2014 16:32:38 +0200 (CEST) Original-Received: from mail-wi0-x233.google.com (mail-wi0-x233.google.com [IPv6:2a00:1450:400c:c05::233]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s43Ere5G011587 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Sat, 3 May 2014 16:53:41 +0200 Original-Received: by mail-wi0-f179.google.com with SMTP id bs8so3636535wib.12 for ; Sat, 03 May 2014 07:32:38 -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=L6MkjRHFNqdG12mPuv6vaJZbkAoa8SKB+HGUTDG/1gY=; b=B2EIyvBIW0pq4BkYat3PZrNW2DdToBSQSTqvzkOX0sDJ0AcE48ZSKsISo18YBQZQvI cQcHgL3oBh3QSf+a1F+IyZCGu3dwLbrfAx4FXtueBnk/uenfxMoeuWVBroGC0TJJ0rnX naDqHU7bdGpF8/uwJPS3ygE6vph8R0iRGq1DYZ7u8NlSbh3pBJmt6vuZt65Fl6j7u3Q4 gYVnxGGNzoz2Z/W3V7m/dCbPYZyCbqC9imTJ7arQm1tIsAPcxsRfQUg658OJ3vemwqdi GWQD8zCDsRw40KYF61uES3u4S4nXap9KFxOK6fBg0oS+kx0rRrGT+GlXspw+fd33Iiog 38ww== X-Received: by 10.194.9.8 with SMTP id v8mr2275831wja.53.1399127558056; Sat, 03 May 2014 07:32:38 -0700 (PDT) Original-Received: by 10.216.159.132 with HTTP; Sat, 3 May 2014 07:32:37 -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:c05::233; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01LVqRF9Q - 9451fa56ec48 - 20140503 (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:87213 Archived-At: --===============1840911254== Content-Type: multipart/alternative; boundary=047d7b5d896517f2c704f87fc564 --047d7b5d896517f2c704f87fc564 Content-Type: text/plain; charset=UTF-8 A more explicit minimal example of the problem: \setupheadertexts[section] \setuphead[section][% placehead=empty, before=, after=] \setuphead[subsection][% placehead=yes, before={\blank[line]}, after={\blank[line]}] \starttext \showframe \section{My section} \subsection{My subsection (whitespace before: problem)} \input knuth \subsection{My subsection (whitespace before: fine)} \input knuth \page \subsection{My subsection (NO whitespace before: fine)} \input knuth \subsection{My subsection (whitespace before: fine)} \input knuth \stoptext --047d7b5d896517f2c704f87fc564 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
A more explicit minimal example of the problem:
=


\setupheadertexts[section]
\setuphead[section][%
=C2=A0 =C2=A0 placehead=3Dempty,
=C2=A0 =C2=A0 before=3D,
=C2=A0 =C2=A0 after=3D]
\setuphead[subsection][%
= =C2=A0 =C2=A0 placehead=3Dyes,
=C2=A0 =C2=A0 before=3D{\blank[lin= e]},
=C2=A0 =C2=A0 after=3D{\blank[line]}]

\starttext
\showframe
\section{My section}
\subsection{My subsection (whitespace before= : problem)}
\input knuth
\subsection{My subsection (whi= tespace before: fine)}
\input knuth
\page
\subsection{My subsection (NO whitespace before: fine)}
\input kn= uth
\subsection{My subsection (whitespace before: fine)}
\input knuth
\stoptext
--047d7b5d896517f2c704f87fc564-- --===============1840911254== 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 ___________________________________________________________________________________ --===============1840911254==--