From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/92994 Path: news.gmane.org!not-for-mail From: Sytse Knypstra Newsgroups: gmane.comp.tex.context Subject: Re: Unnumbered subject in TOC, numbered exercises in text Date: Mon, 30 Nov 2015 21:22:29 +0100 Message-ID: <565CB005.1020706@home.nl> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0300061909604562045==" X-Trace: ger.gmane.org 1448914997 23190 80.91.229.3 (30 Nov 2015 20:23:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 30 Nov 2015 20:23:17 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 30 21:23:04 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 1a3UyV-0000k5-6f for gctc-ntg-context-518@m.gmane.org; Mon, 30 Nov 2015 21:23:03 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 7DE5A4F60; Mon, 30 Nov 2015 21:22:43 +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 1Mm0DEWZ8gpV; Mon, 30 Nov 2015 21:22:42 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id CADED4F66; Mon, 30 Nov 2015 21:22:42 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 056514F63 for ; Mon, 30 Nov 2015 21:22:42 +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 ex63tnNulqRT for ; Mon, 30 Nov 2015 21:22:41 +0100 (CET) Original-Received: from smtpq4.tb.mail.iss.as9143.net (smtpq4.tb.mail.iss.as9143.net [212.54.42.167]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 2D7A74F60 for ; Mon, 30 Nov 2015 21:22:30 +0100 (CET) Original-Received: from [212.54.34.114] (helo=smtp6.mnd.mail.iss.as9143.net) by smtpq4.tb.mail.iss.as9143.net with esmtp (Exim 4.82) (envelope-from ) id 1a3Uxy-0002dy-IX for ntg-context@ntg.nl; Mon, 30 Nov 2015 21:22:30 +0100 Original-Received: from 5249f369.cm-4-2d.dynamic.ziggo.nl ([82.73.243.105] helo=[192.168.2.107]) by smtp6.mnd.mail.iss.as9143.net with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1a3Uxy-0004TB-FU for ntg-context@ntg.nl; Mon, 30 Nov 2015 21:22:30 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 In-Reply-To: X-Authenticated-Sender: sytse.knypstra@home.nl (via SMTP) X-Ziggo-spambar: / X-Ziggo-spamscore: 0.0 X-Ziggo-spamreport: CMAE Analysis: v=2.1 cv=KpmwojiN c=1 sm=0 tr=0 a=cIF5Tx0qAAAA:8 a=9+rZDBEiDlHhcck0kWbJtElFXBc=:19 a=qtqOOiqGOCEA:10 a=r77TgQKjGQsHNAKrUKIA:9 a=gENkkezk-_kuPcFh9a4A:9 a=CqCBzxHLZtIKGjYV:21 a=IFMc_lT_K6beHsqT:21 a=QEXdDO2ut3YA:10 a=kd-HIXDVu9o_4CaYpbsA:9 a=sH9zm-SWnjhnVnzj:21 a=_W_S_7VecoQA:10 wl=body:22 xcat=Undefined/Undefined none X-Ziggo-Spam-Status: No 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:92994 Archived-At: This is a multi-part message in MIME format. --===============0300061909604562045== Content-Type: multipart/alternative; boundary="------------000909090101050306060602" This is a multi-part message in MIME format. --------------000909090101050306060602 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Thank you, Wolfgang, I changed 'special' into another word and replaced 'incrementnumber=3Dyes= '=20 by 'incrementnumber=3Dlist'. But the result does still not reach my second goal: my exercise numbers are still 1 and 1 instead of having chapter number=20 prefixes (1.1 and 2.1). Sytse > 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 --------------000909090101050306060602 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Thank you, Wolfgang,

I changed 'special' into another word and replaced 'incrementnumber=3Dyes' by 'incrementnumber=3Dlist'.
But the result does still not reach my second goal:
my exercise numbers are still 1 and 1 instead of having chapter number prefixes (1.1 and 2.1).

Sytse
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 number=E2=80=A9
The first goal is achieved when uncommenting the two options under \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 (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
--------------000909090101050306060602-- --===============0300061909604562045== 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= --===============0300061909604562045==--