From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/92989 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Unnumbered subject in TOC, numbered exercises in text Date: Mon, 30 Nov 2015 13:19:39 +0100 Message-ID: <565C3EDB.8050209@gmail.com> References: <565C3BE3.3080300@home.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7759422021887666769==" X-Trace: ger.gmane.org 1448886037 14145 80.91.229.3 (30 Nov 2015 12:20:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 30 Nov 2015 12:20:37 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 30 13:20:25 2015 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 1a3NRL-0008SW-SH for gctc-ntg-context-518@m.gmane.org; Mon, 30 Nov 2015 13:20:19 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 34D7B4F25; Mon, 30 Nov 2015 13:19:56 +0100 (CET) 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 CxCzrGnH16nS; Mon, 30 Nov 2015 13:19:54 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 26D5F4F26; Mon, 30 Nov 2015 13:19:54 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 2D6614EEB for ; Mon, 30 Nov 2015 13:19:53 +0100 (CET) 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 gmQMUkDMKU_7 for ; Mon, 30 Nov 2015 13:19:52 +0100 (CET) Original-Received: from mail-wm0-f53.google.com (mail-wm0-f53.google.com [74.125.82.53]) (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 A77E44EC6 for ; Mon, 30 Nov 2015 13:19:42 +0100 (CET) Original-Received: by wmww144 with SMTP id w144so126819866wmw.1 for ; Mon, 30 Nov 2015 04:19:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=gUTztCANSF6R1xmEQbAXKEdglpCkI9cSut+zvnL/7fI=; b=Xwr7yuhjDOxnSPC2vfygU8IMryIK+fLeMuWxbnM0Uwxxrc7kubaTBhZmSnVJpL4g+N s7hYqKte+8A6nhfyngoU77bCNy3zoqeDoiEwZKnxMVw8duhvNalYXx+WIaQrfzyDxbsk pGRtKvuAcBY0ZGdpRv8A2Jab87PkEuj2KiC8PfG4FI35X7TYfPoUXJSfADSGnYq2AC2c fe+XbH+jjrzF5VBBrVfDlFcvGFp6h7GNden6xZ6dTL/SsrHxqy0r9ezELmlBHyoaFn8u 4GjSK8GVn7tOyKKM+Vm0zWNaqJPUZDPxCoScesbss4Bv4fzRJnKt5FoIGTyr8CcZe9uX /rJw== X-Received: by 10.28.133.4 with SMTP id h4mr26004239wmd.59.1448885982296; Mon, 30 Nov 2015 04:19:42 -0800 (PST) Original-Received: from keima.localdomain (x2f26756.dyn.telefonica.de. [2.242.103.86]) by smtp.googlemail.com with ESMTPSA id q9sm33639784wjo.9.2015.11.30.04.19.41 for (version=TLSv1/SSLv3 cipher=OTHER); Mon, 30 Nov 2015 04:19:41 -0800 (PST) User-Agent: Postbox 4.0.8 (Macintosh/20151105) In-Reply-To: <565C3BE3.3080300@home.nl> 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:92989 Archived-At: This is a multi-part message in MIME format. --===============7759422021887666769== Content-Type: multipart/alternative; boundary="------------040909060509030708090206" This is a multi-part message in MIME format. --------------040909060509030708090206 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable > Sytse Knypstra > 30. November 2015 um 13:06 > Dear list,=E2=80=A9=E2=80=A9 > > In the following minimal example I would like to have: > =E2=80=A9- the headings of \special in the toc, unnumbered=E2=80=A9 > - in the text, the numbers of the exercises preceded by the chapter=20 > number=E2=80=A9 > The first goal is achieved when uncommenting the two options under=20 > \setuphead,=E2=80=A9 > the latter is achieved when uncommenting only the second option. > How can I realize both simultaneously ?=E2=80=A9=E2=80=A9 > Thank you in advance, > > =E2=80=A9=E2=80=A9Sytse > > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > =E2=80=A9\definehead[special][subject]=E2=80=A9 Please use a different name because \special is a existing TeX command=20 (but not used by ConTeXt MkIV). > \setuphead[special]=E2=80=A9 > [=E2=80=A9 > % number=3Dno, > =E2=80=A9% incrementnumber=3Dyes,=E2=80=A9 > ] Use only "incrementnumber=3Dlist". Wolfgang --------------040909060509030708090206 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
30= .=20 November 2015 um 13:06
Dear=20 list,=E2=80=A9=E2=80=A9

In the following minimal example I would like to have:
=E2=80=A9- the headings of \special in the toc, unnumbered=E2=80=A9
- in the text, the numbers of the exercises preceded by the chapter=20 number=E2=80=A9
The first goal is achieved when uncommenting the two options under=20 \setuphead,=E2=80=A9
the latter is achieved when uncommenting only the second option.
How can I realize both simultaneously ?=E2=80=A9=E2=80=A9
Thank you in advance,

=E2=80=A9=E2=80=A9Sytse

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
=E2=80=A9\definehead[special][subject]=E2=80=A9
Please use a different name because \special is a existing TeX command=20 (but not used by ConTeXt MkIV).
\setuphead[special]=E2=80=A9
=C2=A0=C2=A0=C2=A0=C2=A0 [=E2=80=A9
%=C2=A0=C2=A0=C2=A0 number=3Dno,
=E2=80=A9%=C2=A0=C2=A0=C2=A0 incrementnumber=3Dyes,=E2=80=A9
=C2=A0=C2=A0=C2=A0 ]
Use only "incrementnumber=3Dlist".

Wolfgang
--------------040909060509030708090206-- --===============7759422021887666769== 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= --===============7759422021887666769==--