From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/107636 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: jbf Newsgroups: gmane.comp.tex.context Subject: Re: chapter numbers Date: Mon, 8 Jun 2020 16:54:23 +1000 Message-ID: <8e49d2b7-60a1-9d4e-3ef7-692fe225722c@gmail.com> References: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0494558547957457004==" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="69527"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 Cc: mailing list for ConTeXt users To: Duncan Hothersall Original-X-From: ntg-context-bounces@ntg.nl Mon Jun 08 08:54:45 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 1jiBgD-000Hzo-6c for gctc-ntg-context-518@m.gmane-mx.org; Mon, 08 Jun 2020 08:54:45 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id C52981849C2; Mon, 8 Jun 2020 08:54:32 +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 iR3IHbS7osld; Mon, 8 Jun 2020 08:54:31 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D682B1849C6; Mon, 8 Jun 2020 08:54:31 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id CDA421849BC for ; Mon, 8 Jun 2020 08:54:30 +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 J5GqRjF78pj9 for ; Mon, 8 Jun 2020 08:54:29 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.216.53; helo=mail-pj1-f53.google.com; envelope-from=roma83537@gmail.com; receiver= Original-Received: from mail-pj1-f53.google.com (mail-pj1-f53.google.com [209.85.216.53]) (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 A2482183A51 for ; Mon, 8 Jun 2020 08:54:29 +0200 (CEST) Original-Received: by mail-pj1-f53.google.com with SMTP id u8so306829pje.4 for ; Sun, 07 Jun 2020 23:54:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-language; bh=PMMDmW1+r1kqXRflzKaXp0AFNe+imHCcpZ9AXlRsErY=; b=NHQX1DyTXqXQsZdC2WKGTCn3VialsFQSeA0HS0bA7Rc/0uJ6WT7ncKxj3p20sUCtbR cA+nNqjiSVOLkcEaz+LPYpjawbUtmRQmeEkg8XFCxp42TX3YzVgcoAr3eiHdepZ2B5qK iDeO4/GfY7pRsVIjvoS4dCGXdeL4+ERRyQP2c6syVv0HgwexwVXFvc7BHrYlE9BRL90+ mIJTVSV91ieTuFCfMG/iUtyFcuhxyIISrSBxd9VdP1yT+hDLTWxKwpdTWXnx66Ud1M+W TzbDssvIshniILKOsa1v9FDIDTg9mB4nwxhvMmkLi4K6XE3eJdPwPEH5/cgv1KCUdAit UqZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=PMMDmW1+r1kqXRflzKaXp0AFNe+imHCcpZ9AXlRsErY=; b=LXROq14v7BsdO7W08V+Y5uWZoLwHOqnw06C61tdYKrNYhO8hN/3EOiPRLVuJg2cjFR o5eaLbJbDwCl85mfTE+BT07dMy/KAJP9tm2zC2YhwpnYikiJ/zDnAk0RsW+IcXSbMckg yb1aoT4rvvStsePjOBK5UzP6v+2+AcV8d9kleCc5gK8e1kf8e5yB9/L3nXrrcPg1jSh9 1Efp4g9YnAJxQypq3e5YzDqDFhl7F3IBRo4Dimjlonl6Kbz6RemRUYteGyXVr1WJysUg CtYNrJO/UIjk4IqCMymROg+F42iv4M5nWdIZPeyl2CUzVlF3NSYLN145OxZYjFe4qfkq z2MQ== X-Gm-Message-State: AOAM531LfyCkf6XlHbHMuogI/rMWOihlQ2uR0OvlmgfT0M0XlQla09v0 TAh3b0z2XKuKhzo26ns4KCiI6HC9qOY= X-Google-Smtp-Source: ABdhPJwmWliP5RiPc7Rao2gH3V/PNAjcR8ZmISa/IR2iYPAdnF+ujLCkICKawtJnKVo+3i7HIyjowQ== X-Received: by 2002:a17:90a:930a:: with SMTP id p10mr4491550pjo.203.1591599267608; Sun, 07 Jun 2020 23:54:27 -0700 (PDT) Original-Received: from [192.168.0.100] ([120.21.40.17]) by smtp.gmail.com with ESMTPSA id d15sm6126010pfh.175.2020.06.07.23.54.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 07 Jun 2020 23:54:27 -0700 (PDT) In-Reply-To: Content-Language: en-US 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:107636 Archived-At: This is a multi-part message in MIME format. --===============0494558547957457004== Content-Type: multipart/alternative; boundary="------------6E2CD67AC19F1AA4CBA47349" Content-Language: en-US This is a multi-part message in MIME format. --------------6E2CD67AC19F1AA4CBA47349 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Thanks Duncan. It can be quite a struggle working through potentially conflicting items in the documentation. I applaud the recent efforts to improve the overall presentation of the wiki, though. Your simple little change (plus the space!) works of course. Julian On 8/6/20 4:35 pm, Duncan Hothersall wrote: > 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 > * > > ___________________________________________________________________________________ > 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 > ___________________________________________________________________________________ --------------6E2CD67AC19F1AA4CBA47349 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

Thanks Duncan. It can be quite a struggle working through potentially conflicting items in the documentation. I applaud the recent efforts to improve the overall presentation of the wiki, though. Your simple little change (plus the space!) works of course.

Julian


On 8/6/20 4:35 pm, Duncan Hothersall wrote:
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 <roma83537@gmail.com> 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.


___________________________________________________________________________________
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
___________________________________________________________________________________
--------------6E2CD67AC19F1AA4CBA47349-- --===============0494558547957457004== 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== --===============0494558547957457004==--