From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/113965 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: jbf via ntg-context Newsgroups: gmane.comp.tex.context Subject: Re: Getting ONE, TWO... for chapters Date: Sun, 2 Jan 2022 08:27:20 +1100 Message-ID: References: <73e2a39c-7fed-f906-23f6-18dd892c0a6d@gmail.com> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8843011756488825977==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2116"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 Cc: jbf , "ntg >> mailing list for ConTeXt users" To: "Jairo A. del Rio" Original-X-From: ntg-context-bounces@ntg.nl Sat Jan 01 22:27:54 2022 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 1n3lur-0000Mo-5s for gctc-ntg-context-518@m.gmane-mx.org; Sat, 01 Jan 2022 22:27:53 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 6E526289094; Sat, 1 Jan 2022 22:27:31 +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 B7iYa5Si3TUJ; Sat, 1 Jan 2022 22:27:29 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id DBF1B28182E; Sat, 1 Jan 2022 22:27:28 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id B7FCE28182E for ; Sat, 1 Jan 2022 22:27:26 +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 LrT49hB7F-jB for ; Sat, 1 Jan 2022 22:27:25 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.216.44; helo=mail-pj1-f44.google.com; envelope-from=roma83537@gmail.com; receiver= Original-Received: from mail-pj1-f44.google.com (mail-pj1-f44.google.com [209.85.216.44]) (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 287922810F4 for ; Sat, 1 Jan 2022 22:27:25 +0100 (CET) Original-Received: by mail-pj1-f44.google.com with SMTP id l10-20020a17090a384a00b001b22190e075so28442094pjf.3 for ; Sat, 01 Jan 2022 13:27:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-language; bh=JQM6LRa73e1zxevSfN9lSJKB4LrHBZ7x1RtGqDystoU=; b=I3b1Bfnz/rPm4qrgxNFNIRXJQRxgB53oKV9ttPLt+Ww9yniwvoHL4v7KzauCeoDzvF b2UC8sFuLE/gUguoDwnGhaN1az3KhtzTCP04OO7z97INYO5jEDkatmuFAhvt9T3daGRl n8mVN+pLtOiMeb+mH9quNesBGr/xIHVAGDM1Z0tKDZLcog8kS8YC5G8StbikbUvPnwxY 4Rcfs2vLp9vhWOLB5dvMvG+BYD0/kDER7xAjHvyktDtNoqUewctl0YQvdKobPl1wvzgx 2ibLOVOHNkJlz3rthByb+/p4K5dJmczPVn6Z+9xU9R83YUQY2FGfrYA0OP6TK0TbL0Wo 51fw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=JQM6LRa73e1zxevSfN9lSJKB4LrHBZ7x1RtGqDystoU=; b=LFlFr9OwfJt2wjDq0y3yrqNY2nO8/SZlvjsi16kMrDhRqekGramwdgFwcUXseWhEW/ tiSjxdIe4B/I+UH2BklAFz4w+S2/5TtWFcjmNv7CqHWJ6CCca23xPTu9idfmHRwIXqvw 3VMiG1zePTbFrh2Myjklh6RJX5yAvRsA6znxQ2bB+7WF8U+xdyik/bg3DTkQmF9Seea0 bOnSXxVnr1aGWiANTZ5E2otDjvIryfQXymw+6br/f/TsZw8k49a4BscP8Ls6h+iUFAbw 8NMCzzvFeRXJFWVL431JK3UGxwvvPMo4Z6MENgHLoHEEJa9Ok+u4LFo4FvBUgr0kw5sO qHsg== X-Gm-Message-State: AOAM5313tNsdZHIikOOOn0r9yjAJP00FiSZXzTw+LxMXdn6h+XXGThQR v1+LPd4a9DNTELCismodS6SavNnqTLY= X-Google-Smtp-Source: ABdhPJxRhYp7haKg1RsT5BbXQAWts4FcqkbNnzHuSX9LMN/2RbCJRwSW+ZgFuBbwTACH1q2ktAe3Zg== X-Received: by 2002:a17:902:e852:b0:149:414f:4a46 with SMTP id t18-20020a170902e85200b00149414f4a46mr40323950plg.168.1641072443437; Sat, 01 Jan 2022 13:27:23 -0800 (PST) Original-Received: from [192.168.0.100] ([120.18.231.225]) by smtp.gmail.com with ESMTPSA id f22sm30456959pfc.183.2022.01.01.13.27.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 01 Jan 2022 13:27:23 -0800 (PST) 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:113965 Archived-At: This is a multi-part message in MIME format. --===============8843011756488825977== Content-Type: multipart/alternative; boundary="------------3B40777C6ABA21C11AD21228" Content-Language: en-US This is a multi-part message in MIME format. --------------3B40777C6ABA21C11AD21228 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit I knew it had to be simple! Just couldn't get the right combinations. Feliz Año Nuevo para ti también, y muchas gracias, Julian On 2/1/22 7:56 am, Jairo A. del Rio wrote: > > > El sáb, 1 ene 2022 a la(s) 15:37, jbf via ntg-context > (ntg-context@ntg.nl ) escribió: > > Am typesetting a book that has 'STUDY ONE', 'STUDY TWO' etc. in > place of > CHAPTER ONE, etc. I have no difficulty getting 'STUDY' with > \setuplabeltext[chapter=STUDY~], and I can achieve 'STUDY One' > with the > key conversion=Words in \setuphead[chapter]. > > My question: how do I get ONE instead of One. > > I tried conversion=WORDS (or WORD), but that is not recognised and > the > output then becomes STUDY 1, which I don't want. > > I also tried playing with > \definestructureconversionset[myconversion][ > ,A,] then adding the numberconversionset=myconversion to \setuphead. > > There must be a simple way to achieve the desire result, and to be > honest I'm wondering why WORD does not work? Any thoughts? > > > Like this? > > \setuplabeltext[chapter={Study~,}] > \setuphead[chapter][conversion=words,numberstyle=\WORDS] > \starttext > \startchapter[title=Feliz año nuevo!] > \input{tufte} > \stopchapter > \stoptext > > I hope it helps. Happy new year! > > Jairo > > 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 > ___________________________________________________________________________________ > --------------3B40777C6ABA21C11AD21228 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

I knew it had to be simple! Just couldn't get the right combinations.

Feliz Año Nuevo para ti también, y muchas gracias,

Julian

On 2/1/22 7:56 am, Jairo A. del Rio wrote:


El sáb, 1 ene 2022 a la(s) 15:37, jbf via ntg-context (ntg-context@ntg.nl) escribió:
Am typesetting a book that has 'STUDY ONE', 'STUDY TWO' etc. in place of
CHAPTER ONE, etc. I have no difficulty getting 'STUDY' with
\setuplabeltext[chapter=STUDY~], and I can achieve 'STUDY One' with the
key conversion=Words in \setuphead[chapter].

My question: how do I get ONE instead of One.

I tried conversion=WORDS (or WORD), but that is not recognised and the
output then becomes STUDY 1, which I don't want.

I also tried playing with \definestructureconversionset[myconversion][
,A,] then adding the numberconversionset=myconversion to \setuphead.

There must be a simple way to achieve the desire result, and to be
honest I'm wondering why WORD does not work? Any thoughts?


Like this?

\setuplabeltext[chapter={Study~,}]
\setuphead[chapter][conversion=words,numberstyle=\WORDS]
\starttext
\startchapter[title=Feliz año nuevo!]
\input{tufte}
\stopchapter
\stoptext

I hope it helps. Happy new year!

Jairo

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
___________________________________________________________________________________
--------------3B40777C6ABA21C11AD21228-- --===============8843011756488825977== 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== --===============8843011756488825977==--