From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/96555 Path: news.gmane.org!.POSTED!not-for-mail From: Newsgroups: gmane.comp.tex.context Subject: Issue with \blank halfline and title heads Date: Sun, 16 Oct 2016 11:28:00 +0200 Message-ID: <5803481e.145e1c0a.bc745.53ca@mx.google.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8015404760462377079==" X-Trace: blaine.gmane.org 1476610141 412 195.159.176.226 (16 Oct 2016 09:29:01 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 16 Oct 2016 09:29:01 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Oct 16 11:28:56 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bvhkB-0005Xx-So for gctc-ntg-context-518@m.gmane.org; Sun, 16 Oct 2016 11:28:35 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 749721AF12; Sun, 16 Oct 2016 11:28:12 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 89wn4jZUxXOX; Sun, 16 Oct 2016 11:28:11 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id BCD621AF24; Sun, 16 Oct 2016 11:28:11 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id A41921AF1B for ; Sun, 16 Oct 2016 11:28:10 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id f45El1sC487b for ; Sun, 16 Oct 2016 11:28:09 +0200 (CEST) Original-Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id C2CAF1AF12 for ; Sun, 16 Oct 2016 11:27:59 +0200 (CEST) Original-Received: by mail-wm0-f42.google.com with SMTP id c78so57857736wme.0 for ; Sun, 16 Oct 2016 02:27:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:mime-version:to:from:subject:date:importance; bh=r7IfDIYA0/QXay2ek66rwRzrjETdVd0z2QXbtEue4/k=; b=t4Aty92HneYLBaMFWXTJQinrb9lOIGiZOF9QX5xTyJXk7mHzOi/rLpHm2Sgt7+jEZ1 EbIsPK0XRvMxzkW+t/svqTWEbbsTkD5I/HonR6RP8hiEdRNG6EelrGK7qYVJpemlJ9n7 MdrEpnh2wJZVUXNaZae5hFmoMI1j5mC7G2BQLORjOVlbbeo+jhUSN17Pu1kuW94sfCk2 +Xid4PifuIkopyZJWYPLzDLHXu5ube9GRddb9BoHn5No8pzWl4CpLVFhcuXir/xcWQy1 +/AJWeDzX8qdZ6zAd2oIbPbQWeEno8puQFlxAmwRd2xJ5FaguP7TvaW4+n5OmVZI1mAD Z8Sg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:mime-version:to:from:subject:date :importance; bh=r7IfDIYA0/QXay2ek66rwRzrjETdVd0z2QXbtEue4/k=; b=MuU+g8R1VqtceS+NUCIMgTMgP/1dyasthLAWUkkieQgvcGbTA7jP05EAZl8ucToOe+ UlP0NX3r5YWTHm/VAhtUORDS02AGHNNw9ECnR+un9O9J3q3+rBltgAfV2MUX5rnfpk18 nYqhhxBXpp7ohilHauFiSCyXQICc9Jk+LhNnphbGgxusyhKrcZCZuUNAy3nWf4w5Gaeq xnycapFv+nfcAmXhZzUdoGy2xypxSDMRfzjXsW/Yanx/B1QUBT7gf6bNUKwoM1vbUvoq 00y06CH4Cjixqi5pQZvwgDtbvO4Pu/3Q28NGmXgkO5FJAYIWkOXMVQPLVLOibUOOVWvj hwmA== X-Gm-Message-State: AA6/9Rl8+7oNgt55UvdVxIvqJEywNGWO2E40tCgCR9fAFSyWxrFZQSE8CTFK4725u0wKlA== X-Received: by 10.28.138.209 with SMTP id m200mr4290730wmd.89.1476610079297; Sun, 16 Oct 2016 02:27:59 -0700 (PDT) Original-Received: from ?IPv6:2a01:cb00:6ae:7f00:916f:56f:e54d:69da? (2a01cb0006ae7f00916f056fe54d69da.ipv6.abo.wanadoo.fr. [2a01:cb00:6ae:7f00:916f:56f:e54d:69da]) by smtp.gmail.com with ESMTPSA id s20sm4252974wmb.14.2016.10.16.02.27.58 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 16 Oct 2016 02:27:58 -0700 (PDT) Importance: normal X-Priority: 3 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 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" Xref: news.gmane.org gmane.comp.tex.context:96555 Archived-At: --===============8015404760462377079== Content-Type: multipart/alternative; boundary="_CC615C27-AF33-4C51-B556-2E253EBA45BF_" --_CC615C27-AF33-4C51-B556-2E253EBA45BF_ Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Dear list, I would like to have a chapter title consisting of 1 line, halfline spacing= , another set of lines, and another halfline spacing (I use grid=3Dboth but= same issue with grid=3Dyes), but I fail to acheive this. I give a simple M= WE that shows wanted effect (without heading) which works all fine, followe= d by sample chapter which shows that =E2=80=98E=E2=80=99 is above the grid = base line (added \showgrid to make it visible). Do I need to put the title = content in some box=C2=A0? Thanks a lot for any hint, Best regards Joseph \showgrid\showstruts \setuplayout[grid=3Dboth] \definehead[Chapter][subsection] \setuphead[Chapter][number=3Dno, align=3Dcenter, style=3D\tf, before=3D{\bl= ank[none]}, after=3D{\blank[none]}, grid=3Dboth] \starttext \startalignment[center] \strut E\blank[halfline]A\strut\blank[halfline] \stopalignment Paragraph text. \blank[line] \startChapter[title=3D{\strut E\blank[halfline]A\strut\blank[halfline]}] Paragraph text. \stopChapter \stoptext --_CC615C27-AF33-4C51-B556-2E253EBA45BF_ Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="utf-8"

Dear list,

 

I would like to have a chapter title= consisting of 1 line, halfline spacing, another set of lines, and another = halfline spacing (I use grid=3Dboth but same issue with grid=3Dyes), but I = fail to acheive this. I give a simple MWE that shows wanted effect (without= heading) which works all fine, followed by sample chapter which shows that= =E2=80=98E=E2=80=99 is above the grid base line (added \showgrid to make i= t visible). Do I need to put the title content in some box ?

 

Thanks a lot for a= ny hint,

Best regards

=  

Joseph

&n= bsp;

\showgrid\showstruts

\setuplayout[grid=3Dboth]

 

\definehead[Chapter][subsection]

\setuphead[Chapter][number=3Dno, align=3Dcenter, style=3D\tf, before=3D= {\blank[none]}, after=3D{\blank[none]}, grid=3Dboth]

 

\starttext

\startalignment[center]

\strut E\blank[halfline= ]A\strut\blank[halfline]

\stopalignment

 

Paragraph text.

<= p class=3DMsoNormal> 

\blank[line]<= /p>

 

\startCha= pter[title=3D{\strut E\blank[halfline]A\strut\blank[halfline]}]

 

Paragraph text.

<= p class=3DMsoNormal> 

\stopChapter<= /p>

\stoptext

= --_CC615C27-AF33-4C51-B556-2E253EBA45BF_-- --===============8015404760462377079== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwOi8vZm91bmRyeS5zdXBl bGVjLmZyL3Byb2plY3RzL2NvbnRleHRyZXYvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRnYXJk ZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============8015404760462377079==--