From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/111604 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Hans van der Meer Newsgroups: gmane.comp.tex.context Subject: Re: chapter number sought Date: Sun, 30 May 2021 17:39:49 +0200 Message-ID: <8A1D22B0-D561-4A1B-A47B-5151B4F92201@ziggo.nl> References: <3D93A605-479F-4972-B375-7EB22F6ED5B1@ziggo.nl> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\)) Content-Type: multipart/mixed; boundary="===============5894242020328289669==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12826"; mail-complaints-to="usenet@ciao.gmane.io" To: NTG ConTeXt Original-X-From: ntg-context-bounces@ntg.nl Sun May 30 17:40:21 2021 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lnNY5-00031K-Ei for gctc-ntg-context-518@m.gmane-mx.org; Sun, 30 May 2021 17:40:21 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 65B1D283F4D; Sun, 30 May 2021 17:39:54 +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 xBYr0o20hOLc; Sun, 30 May 2021 17:39:53 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id E9A14283F4C; Sun, 30 May 2021 17:39:52 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 3C1B3283F4C for ; Sun, 30 May 2021 17:39:51 +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 k8qY2XFGxY08 for ; Sun, 30 May 2021 17:39:50 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=212.54.42.167; helo=smtpq4.tb.mail.iss.as9143.net; envelope-from=havdmeer@ziggo.nl; receiver= Original-Received: from smtpq4.tb.mail.iss.as9143.net (smtpq4.tb.mail.iss.as9143.net [212.54.42.167]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 0BC522835C4 for ; Sun, 30 May 2021 17:39:49 +0200 (CEST) Original-Received: from [212.54.42.105] (helo=smtp1.tb.mail.iss.as9143.net) by smtpq4.tb.mail.iss.as9143.net with esmtp (Exim 4.90_1) (envelope-from ) id 1lnNXZ-0003Xp-PC for ntg-context@ntg.nl; Sun, 30 May 2021 17:39:49 +0200 Original-Received: from [192.168.178.20] ([84.106.134.200]) by smtp1.tb.mail.iss.as9143.net with ESMTPA id nNXZlf37CyKIJnNXZl660E; Sun, 30 May 2021 17:39:49 +0200 X-Env-Mailfrom: havdmeer@ziggo.nl X-Env-Rcptto: ntg-context@ntg.nl X-SourceIP: 84.106.134.200 X-CNFS-Analysis: v=2.4 cv=aK+TFZxm c=1 sm=1 tr=0 ts=60b3b1c5 cx=a_exe a=wCstmS+ZHA3zSJXjQC+ubA==:117 a=wCstmS+ZHA3zSJXjQC+ubA==:17 a=pGLkceISAAAA:8 a=Ye9q-bpsAAAA:8 a=TRntDIGCAAAA:8 a=MiNTnEJAAAAA:8 a=YEMqx4UAAAAA:8 a=ACQCx6kCAAAA:8 a=xtERp6CFAAAA:8 a=a3nu-2BBAAAA:8 a=vn2sti7V5wjfT4xYF1QA:9 a=CjuIK1q_8ugA:10 a=kVjmnCSlv1E_4WRJXtcA:9 a=oIWcpNlTFp_PbVJ3:21 a=_W_S_7VecoQA:10 a=LQ5nR6AVOmv-rk69IiyQ:22 a=LmrbSfiT3hecnSZifb5M:22 a=V0662LiR8DSfwiDagK97:22 a=Sab0UneHBzlWrQDlOuxD:22 a=ekCXXmE-vB8RPiJ3MEZb:22 X-Authenticated-Sender: havdmeer@ziggo.nl DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ziggo.nl; s=202002corplgsmtpnl; t=1622389189; bh=DlJI1Oqq2k63qUXFwh+UGJkRIJN1HmJT/gA0EXq0tKg=; h=From:Subject:Date:References:To:In-Reply-To; b=mXS1O/JVD3nJFgQQGCey158Vxr7VNj1kTpX0X5nRsXbI3387AvC4LkgMi8pT30jOt PINuMbzduDGO538jZ5PMOrMQCp4fPEPJbKIIfbo8q+Irkk8ZudiVqVlmC42NWscZge DCnVBihE2sXBjqlDtXIGaGX6j+s+pPYdweu8sCCl4mx8+8tIITQHVhaQmu56AucqGp fFm2kDsulqIB4/cZWmNcQzTcINCOo1bRSqhePAk0U8mbRCK6SN0YXlXkWt4h7f4KUM sO35YNHe7Pp1sfD6zqLVOka2J15MltzYO26DZ+LyKdfO9WTmg/nFBwSt98u3qW5N7v 0aCvDdl3aNfBA== In-Reply-To: X-Mailer: Apple Mail (2.3608.120.23.2.7) X-CMAE-Envelope: MS4xfIf9NpDfEjQ6HUBPf+NFEL0ulDV52Eq6dTT4rNWTZXed6euwP6awx9hAhwGPmOgv4g/po+N0yZxvMEp8x8Ye8GMnxOB3WCY/pGFFOGTzo+JJGCN/XUN0 ozMm+RvoznOh8X6TOBcnHXa/JmcV/H5kttRPWnAJcTIvLSjY8qnwmExcvn9ZQPCNcaz0PoHgEp0EvA== X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 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.io gmane.comp.tex.context:111604 Archived-At: --===============5894242020328289669== Content-Type: multipart/alternative; boundary="Apple-Mail=_94C3FE5D-6922-4DBC-BF11-87C503B22380" --Apple-Mail=_94C3FE5D-6922-4DBC-BF11-87C503B22380 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Thanks. This helps. dr. Hans van der Meer > On 30 May 2021, at 13:40, Adam Reviczky wrote: >=20 > Hi Hans, >=20 > Does this help: = https://tex.stackexchange.com/questions/134474/context-part-chapter-sectio= n-and-subsection-names = ? >=20 > \starttext > \startchapter[title=3D{First chapter}] > \structurenumber\ - \structuretitle > \stopchapter > \stoptext >=20 > Although getmarking is probably what you're really after: = \getmarking[chapternumber] and \getmarking[chapter]. >=20 > \starttext > \startchapter[title=3D{First chapter}] > \getmarking[chapternumber][current]\ - \getmarking[chapter][current] > \stopchapter > \stoptext >=20 > Adam >=20 > On Sun, May 30, 2021 at 11:12 AM Hans van der Meer > wrote: > With \pagenumber I can call up the current pagenumber and typeset it. > But \chapternumber is not defined. > How can I typeset the current chapternumber or even the current = chapternumber.sectionnumber.subsectionnumber, for example? >=20 > dr. Hans van der Meer >=20 >=20 > = __________________________________________________________________________= _________ > If your question is of interest to others as well, please add an entry = to the Wiki! >=20 > maillist : ntg-context@ntg.nl / = http://www.ntg.nl/mailman/listinfo/ntg-context = > webpage : http://www.pragma-ade.nl / = http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ = > wiki : http://contextgarden.net > = __________________________________________________________________________= _________ > = __________________________________________________________________________= _________ > If your question is of interest to others as well, please add an entry = to the Wiki! >=20 > maillist : ntg-context@ntg.nl / = http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > = __________________________________________________________________________= _________ --Apple-Mail=_94C3FE5D-6922-4DBC-BF11-87C503B22380 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Thanks. This helps.
dr. Hans van der Meer


On 30 May 2021, at 13:40, Adam Reviczky <reviczky@gmail.com> = wrote:

Hi Hans,


\starttext
\startchapter[title=3D{First chapter}]
\structurenumber\ - \structuretitle
\stopchapter
\stoptext

Although getmarking is probably what = you're really after: \getmarking[chapternumber] and = \getmarking[chapter].

\starttext
\startchapter[title=3D{First = chapter}]
\getmarking[chapternumber][current]\ - = \getmarking[chapter][current]
\stopchapter
\stoptext

Adam

On Sun, May 30, 2021 at 11:12 AM Hans van der Meer = <havdmeer@ziggo.nl> wrote:
With \pagenumber I can call up the current = pagenumber and typeset it.
But \chapternumber is not = defined.
How can I typeset the current = chapternumber or even the current = chapternumber.sectionnumber.subsectionnumber, for example?

dr. Hans van der = Meer


___________________________________________________= ________________________________
If your question is of interest to others as well, please add an entry = to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
= __________________________________________________________________________= _________
= __________________________________________________________________________= _________
If your question is of interest to others as = well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : = https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
_______________________________________________________________= ____________________

= --Apple-Mail=_94C3FE5D-6922-4DBC-BF11-87C503B22380-- --===============5894242020328289669== 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 X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============5894242020328289669==--