From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/94263 Path: news.gmane.org!not-for-mail From: Zhichu Chen Newsgroups: gmane.comp.tex.context Subject: unwanted head behavior Date: Tue, 5 Apr 2016 13:19:38 +0800 Message-ID: <57034AEA.60108@sinap.ac.cn> References: <57032823.9020809@sinap.ac.cn> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4655436103370357199==" X-Trace: ger.gmane.org 1459833655 716 80.91.229.3 (5 Apr 2016 05:20:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 5 Apr 2016 05:20:55 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Apr 05 07:20:43 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 plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1anJPv-0000xp-LA for gctc-ntg-context-518@m.gmane.org; Tue, 05 Apr 2016 07:20:43 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id EB7DD9EE9; Tue, 5 Apr 2016 07:20: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 JhCuzPxlozmF; Tue, 5 Apr 2016 07:20:10 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 365229EE6; Tue, 5 Apr 2016 07:20:10 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 19B8E9EE5 for ; Tue, 5 Apr 2016 07:20: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 vwHYMVoRln-M for ; Tue, 5 Apr 2016 07:20:08 +0200 (CEST) Original-Received: from sinapcas02.sinap.ac.cn (unknown [210.72.8.16]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 296489EE3 for ; Tue, 5 Apr 2016 07:19:56 +0200 (CEST) Original-Received: from [192.168.31.110] (210.72.8.207) by sinapcas02.sinap.ac.cn (210.72.8.5) with Microsoft SMTP Server id 14.1.438.0; Tue, 5 Apr 2016 13:19:51 +0800 X-Forwarded-Message-Id: <57032823.9020809@sinap.ac.cn> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 In-Reply-To: <57032823.9020809@sinap.ac.cn> X-Originating-IP: [210.72.8.207] 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:94263 Archived-At: --===============4655436103370357199== Content-Type: multipart/alternative; boundary="------------060706050508010508020506" --------------060706050508010508020506 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: quoted-printable =09 =09 =09 =09 Dear Hans and Wolfgang, The following code generates a pdf that I cannot understand. 1. Although "placehead" is set to "no," the \part macro still makes an em= pty line. 2. The first \chapter does not open a new page, but if we switch the firs= t \title and the first \chapter, the result seems to be all right. Is there a simple fix? Thanks in advance. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D \setuphead [part,chapter,title,section] [continue=3Dyes,page=3Dyes,number=3Dno] \setuphead[part][placehead=3Dno] \showframe \starttext \input ward\page \part{TITLE}\input ward\par \title{Title} \chapter{Title} \chapter{Title} \title{Title} \chapter{Title} \stoptext =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D ConTeXt minimal information: zhichu =EE=82=B0 ~ =EE=82=B0 context -version mtx-context | ConTeXt Process Management 0.63 mtx-context | mtx-context | main context file: /opt/context/tex/texmf-context/tex/context/base/mkiv/context.mkiv mtx-context | current version: 2016.03.26 13:51 zhichu =EE=82=B0 ~ =EE=82=B0 luatex -version This is LuaTeX, Version beta-0.90.0 (TeX Live 2016) Execute 'luatex --credits' for credits and version details. There is NO warranty. Redistribution of this software is covered by the terms of the GNU General Public License, version 2 or (at your option= ) any later version. For more information about these matters, see the file named COPYING and the LuaTeX source. LuaTeX is Copyright 2016 Taco Hoekwater and the LuaTeX Team. zhichu =EE=82=B0 ~ =EE=82=B0 --=20 Best regards, =E2=84=A4hichu =E2=84=82hen Shanghai Institute of Applied Physics No. 2019, Jialuo Road Jiading, Shanghai, P.R.China Tel: +86-21-39194888 --------------060706050508010508020506 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable


Dear Hans and Wolfgang,

The following code generates a pdf that I cannot understand.

1. Although "placehead" is set to "no," the \part macro still makes an em=
pty line.
2. The first \chapter does not open a new page, but if we switch the firs=
t \title
    and the first \chapter, the result seems to be all right.

Is there a simple fix?

Thanks in advance.

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D
\setuphead
  [part,chapter,title,section]
  [continue=3Dyes,page=3Dyes,number=3Dno]

\setuphead[part][placehead=3Dno]


\showframe

\starttext

\input ward\page

\part{TITLE}\input ward\par
\title{Title}
\chapter{Title}
\chapter{Title}
\title{Title}
\chapter{Title}

\stoptext
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D

ConTeXt minimal information:

zhichu =EE=82=B0 ~ =EE=82=B0 context -version

mtx-context     | ConTeXt Process Management 0.63
mtx-context     |
mtx-context     | main context file:=20
/opt/context/tex/texmf-context/tex/context/base/mkiv/context.mkiv
mtx-context     | current version: 2016.03.26 13:51
 zhichu =EE=82=B0 ~ =EE=82=B0 luatex -version
This is LuaTeX, Version beta-0.90.0 (TeX Live 2016)

Execute  'luatex --credits'  for credits and version details.

There is NO warranty. Redistribution of this software is covered by
the terms of the GNU General Public License, version 2 or (at your option=
)
any later version. For more information about these matters, see the file
named COPYING and the LuaTeX source.

LuaTeX is Copyright 2016 Taco Hoekwater and the LuaTeX Team.

 zhichu =EE=82=B0 ~ =EE=82=B0

--=20
Best regards,
=E2=84=A4hichu =E2=84=82hen

Shanghai Institute of Applied Physics
No. 2019, Jialuo Road
Jiading, Shanghai, P.R.China
Tel: +86-21-39194888



--------------060706050508010508020506-- --===============4655436103370357199== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============4655436103370357199==--