From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/100643 Path: news.gmane.org!.POSTED!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Question to sectioning Date: Wed, 18 Apr 2018 18:00:27 +0200 Message-ID: <5AD76B9B.7010103@gmail.com> References: <20180411173633.GB18358@akela.mendelu.cz> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5360592697302306747==" X-Trace: blaine.gmane.org 1524067133 7323 195.159.176.226 (18 Apr 2018 15:58:53 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 18 Apr 2018 15:58:53 +0000 (UTC) User-Agent: Postbox 5.0.25 (Macintosh/20180328) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Apr 18 17:58:48 2018 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 1f8pTp-0001m2-Dd for gctc-ntg-context-518@m.gmane.org; Wed, 18 Apr 2018 17:58:45 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 1B594626338; Wed, 18 Apr 2018 18:00:46 +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 7nR9O4AhFKYf; Wed, 18 Apr 2018 18:00:41 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 7F5DA6262F7; Wed, 18 Apr 2018 18:00:41 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 04B156262F7 for ; Wed, 18 Apr 2018 18:00:41 +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 764zxX9JMZ0I for ; Wed, 18 Apr 2018 18:00:40 +0200 (CEST) Original-Received: from mail-wr0-f181.google.com (mail-wr0-f181.google.com [209.85.128.181]) (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 82501626211 for ; Wed, 18 Apr 2018 18:00:30 +0200 (CEST) Original-Received: by mail-wr0-f181.google.com with SMTP id v24-v6so6242137wra.8 for ; Wed, 18 Apr 2018 09:00:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to; bh=j+u0gYbRFlAxRfbXZ/wOaE6cNQyzpjqLZW1bKLgPJvQ=; b=Vf5gqUBJqPdR/IFQ4PTCTFLFqkS65tqbUOjijEUhKLdKwl3hZMY2H3IGmymPApoDgF 2dViBU4UBHY5pwgCfI6NdcPDDaoQXljn5AALeebG7trdKbMcUv0UWikLFz7rtB45fKP8 WTx8WqesD0G1fdeJYNhKcGNpAWb0+iv+87xysUFu2789ZhK26x+rqSCGvsdPRgbKtXj4 MO+xI5KATfcBciC4lqLQuzyYXy8KU9pAuhvFf5CxIHSxaIrbB54AVp3QY5stjhhK1xBz 0FfarQCDHrUUXLEsCnBSX+UJ9vETg0TESQDZSOmD52+Oy51saGtrfS0wKzjqNlU6V7AF 83Pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to; bh=j+u0gYbRFlAxRfbXZ/wOaE6cNQyzpjqLZW1bKLgPJvQ=; b=bTIE3GnNv4nch4Pv/WHmQpsKAXbWqVLprA75SyyWyXQ7RW8i21Cb/OPxQi1mVKF6fv BxqjLqVZqVN1dLbVulsm7L3khUlxqNF2M//CS9Pt5iKbCRpodUXQBY7k4rKAFOZltFnp 80E52TtQxnnhZn8iN9sWgpwKGTKSxMNPyxWNLBddCX8ueuqSFSZco50Zkt4WutOuASjd 7U8SQkQV39O1IyyfftgcGqdP59thJEzaD9l0HAVpQ7MUR1HQu8M8NryL50UgXOAFikvN eZZ0BvyNH1EykH7DDnYdtxvz5ZImjsYq3+aEpW5EuNiF67m5lLvoHl3/K3z5i1sM9sCU fwvw== X-Gm-Message-State: ALQs6tD+eSTW8iIpH8M9A5T50onGeNIihLOWoJA6J7fHrEGfJVKKXqyn sGuRpGMberLkoauoIoA54zqslFKK X-Google-Smtp-Source: AIpwx4+lh1s7KjWCK3ZDJtcqr7qkPp0IkEJLzAgu45nUlxymBmo26JWqdmSKA6vztErF/CEaBZGXOQ== X-Received: by 10.28.175.136 with SMTP id y130mr2363251wme.28.1524067230038; Wed, 18 Apr 2018 09:00:30 -0700 (PDT) Original-Received: from [192.168.1.11] (x590f60f5.dyn.telefonica.de. [89.15.96.245]) by smtp.gmail.com with ESMTPSA id 6-v6sm1456460wrn.81.2018.04.18.09.00.29 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Apr 2018 09:00:29 -0700 (PDT) In-Reply-To: <20180411173633.GB18358@akela.mendelu.cz> 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:100643 Archived-At: This is a multi-part message in MIME format. --===============5360592697302306747== Content-Type: multipart/alternative; boundary="------------070305040104040006050106" This is a multi-part message in MIME format. --------------070305040104040006050106 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit > Tomas Hala > 11. April 2018 um 19:36 > Hello, > > I have got a document with e.g. six chapters, numbers are from 1 to 6. > At special places I would like put a special page containing a special > title. > The special page should be without a header and without any number, > the title should be put into the contents by the same way as other > chapters.. > > I came across two problems: > > First, in the minimal example below I get chapter numbers 1, 2, 4, 5, 7, 8 > and if I use incrementnumber=no, the "specialpage" is not stored in > the contents. > > Secondly, I do know how to switch off the header only at this special > page. > > I also tried \definehead[specialpage][title] but in this case the > "specialpage" is not stored in the > contents, too. Like this? \definehead [specialpage] [chapter] \definehead [levelA] [chapter] \setuphead [specialpage] [incrementnumber=list, header=empty] \starttext \placelist[levelA,specialpage] \levelA{A1} \levelA{A2} \specialpage{Special page 1} \levelA{A3} \levelA{A4} \specialpage{Special page 2} \levelA{A5} \levelA{A6} \stoptext Wolfgang --------------070305040104040006050106 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

11. April 2018 um 19:36
Hello,

I have got a document with e.g. six chapters, numbers are from 1 to 6.
At special places I would like put a special page containing a special title.
The special page should be without a header and without any number,
the title should be put into the contents by the same way as other chapters..

I came across two problems:

First, in the minimal example below I get chapter numbers 1, 2, 4, 5, 7, 8
and if I use incrementnumber=no, the "specialpage" is not stored in the contents.

Secondly, I do know how to switch off the header only at this special page.

I also tried \definehead[specialpage][title] but in this case the "specialpage" is not stored in the
contents, too.

Like this?

\definehead [specialpage] [chapter]
\definehead [levelA]      [chapter]

\setuphead
  [specialpage]
  [incrementnumber=list,
   header=empty]

\starttext

\placelist[levelA,specialpage]

\levelA{A1}
\levelA{A2}
\specialpage{Special page 1}
\levelA{A3}
\levelA{A4}
\specialpage{Special page 2}
\levelA{A5}
\levelA{A6}

\stoptext


Wolfgang
--------------070305040104040006050106-- --===============5360592697302306747== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============5360592697302306747==--