From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/107635 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Duncan Hothersall Newsgroups: gmane.comp.tex.context Subject: Re: chapter numbers Date: Mon, 8 Jun 2020 07:35:50 +0100 Message-ID: References: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3060303523752577751==" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="126632"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jun 08 08:36:44 2020 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 1jiBOl-000WqG-Sv for gctc-ntg-context-518@m.gmane-mx.org; Mon, 08 Jun 2020 08:36:43 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 71B8B1849C0; Mon, 8 Jun 2020 08:36:13 +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 1Ht7QBTuL2NS; Mon, 8 Jun 2020 08:36:11 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 4F0FB1849C1; Mon, 8 Jun 2020 08:36:11 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id B671E1849BC for ; Mon, 8 Jun 2020 08:36: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 IabKxnVIK0gh for ; Mon, 8 Jun 2020 08:36:09 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.166.181; helo=mail-il1-f181.google.com; envelope-from=dh@capdm.com; receiver= Original-Received: from mail-il1-f181.google.com (mail-il1-f181.google.com [209.85.166.181]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id E918B1849B6 for ; Mon, 8 Jun 2020 08:36:08 +0200 (CEST) Original-Received: by mail-il1-f181.google.com with SMTP id t8so15663535ilm.7 for ; Sun, 07 Jun 2020 23:36:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=capdm.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=nx9ntm9Q+ElpoDjKISADvsu248PeQdMuP/eeppIGmG4=; b=iib9Vi55xklJp0hbpZM8kXCKueJzaops3i4mYd14rQ9LQnGoG9QDsYnwDNHHHTjnHS pM3U9pA7uejs2WGmdqCWMyCcvw8LJuKVdX0wgQ9ry6tMkFN2jqV2q5CA4zL5LXIdaIIM l9R1yP/7ihOuDqLOxbhF4lLKHvwwM18hJuv9E= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=nx9ntm9Q+ElpoDjKISADvsu248PeQdMuP/eeppIGmG4=; b=jqUd97EULXXJ3TzLVhxsKkuJj7DS0pcF/mAYblqzc41Wj13CdN40XciTCjUQyMDg4k 4QMef7ZpHbTSSH3eAGVKf5vLAuGJ9+SNgxmCmJ4tpoYC4u10qjRlbfXDRaqeEwbeTNRy Nn5eqZ8ye2nRf6zy9I9yzefAm/iVQcILw2t2xUx6hxB317EEqAVILA4LODFYSZC//6AU mvTT417zL1te4IRP5dX2eMtLmD3WE9UZZAzj8wHtzeykPCTT3D5B07Q5SjN1hay1PG0U JTvIxE75ZbbE3suH0iVU7YSYzX9mbY/hyUhlAmXt91f/kp04/vpcVsRZkT1K1GlhbSJe lWfw== X-Gm-Message-State: AOAM5311W+eZsa62YrEvDGxKzHamxBhhRmV6g4/5051wYpZt77PI5oFh iz/j6XQ4RSDAuem80/NgJ0DhUcTTkSiDCKcdrHgovz92jVU= X-Google-Smtp-Source: ABdhPJzsCcPfIz3dGXlUGV8YSr2WYsaV4Xp63yZeJSY24FSH+P+d9mx1ssH3HV76uki8ggtg5S2y+wsolp2MWIYankA= X-Received: by 2002:a92:a113:: with SMTP id v19mr19972163ili.110.1591598166896; Sun, 07 Jun 2020 23:36:06 -0700 (PDT) In-Reply-To: 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:107635 Archived-At: --===============3060303523752577751== Content-Type: multipart/alternative; boundary="0000000000005d0a7305a78cd31d" --0000000000005d0a7305a78cd31d Content-Type: text/plain; charset="UTF-8" Use \setuplabeltext instead of \setupheadtext. I agree the documentation suggests \setupheadtext should work the same way, but it doesn't seem to. You might also want a space after the word Chapter. Duncan On Mon, 8 Jun 2020 at 05:38, jbf wrote: > I am attempting to get the word 'Chapter' to appear in the Chapter > title, followed by its number, and I attempted to do it simply with: > > \setupheadtext[chapter=Chapter] > \setuphead > [chapter] > [header=empty] > > What I get is simply the number, e.g. 1 My first chapter, 2 My second > chapter etc. \setupheadtext is being ignored. What am I doing wrong? > > Julian > > > ___________________________________________________________________________________ > 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 > > ___________________________________________________________________________________ > -- Duncan Hothersall, Operations Director CAPDM Limited - Online Program Enablers 0131 677 2400 www.capdm.com Registered in Scotland: SC168970 VAT: 682 846 983 Registered address: 20 Forth Street Edinburgh EH1 3LH UK Capture, author, publish, deliver and manage your learning materials. *Sign up to the CAPDM newsletter here * --0000000000005d0a7305a78cd31d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Use \setuplabeltext=C2=A0instead of \setupheadtext. I agre= e the=C2=A0documentation suggests \setupheadtext=C2=A0should work the same = way, but it doesn't seem to. You might also want a space after the word= Chapter.

Duncan

On Mon, 8 Jun 2020 at 05:38, jbf &= lt;roma83537@gmail.com> wrote= :
I am attemptin= g to get the word 'Chapter' to appear in the Chapter
title, followed by its number, and I attempted to do it simply with:

\setupheadtext[chapter=3DChapter]
\setuphead
=C2=A0=C2=A0 [chapter]
=C2=A0=C2=A0 [header=3Dempty]

What I get is simply the number, e.g. 1 My first chapter, 2 My second
chapter etc. \setupheadtext is being ignored. What am I doing wrong?

Julian

___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listinfo/nt= g-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://context.aanhet.net=
archive=C2=A0 : https://bitbucket.org/phg/context-m= irror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
___________________________________________________________________________= ________


--
Duncan Hothersall,= Operations Director
= CAPDM Limited - Online Program Enablers
0131 677 2400= =C2=A0=C2=A0www.capdm.com
Registered in Scotland: SC168970=C2=A0 =C2=A0 =C2=A0 =C2=A0VA= T: 682 846 983
Registered address:=C2=A020 = Forth Street Edinburgh EH1 3LH UK

Capture,= author, publish, deliver and manage your learning materials.
--0000000000005d0a7305a78cd31d-- --===============3060303523752577751== 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== --===============3060303523752577751==--