From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/113964 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Jairo A. del Rio via ntg-context" Newsgroups: gmane.comp.tex.context Subject: Re: Getting ONE, TWO... for chapters Date: Sat, 1 Jan 2022 15:56:19 -0500 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="===============4862205252617485735==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22392"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "Jairo A. del Rio" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Jan 01 21:57:10 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 1n3lR7-0005df-Uz for gctc-ntg-context-518@m.gmane-mx.org; Sat, 01 Jan 2022 21:57:09 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id B0A83288FCF; Sat, 1 Jan 2022 21:56:37 +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 zAvm2wdIkR4E; Sat, 1 Jan 2022 21:56:35 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 31FF7285891; Sat, 1 Jan 2022 21:56:35 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 03232285891 for ; Sat, 1 Jan 2022 21:56:33 +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 bh4A1fsgsbnV for ; Sat, 1 Jan 2022 21:56:31 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.221.51; helo=mail-wr1-f51.google.com; envelope-from=jairoadelrio6@gmail.com; receiver= Original-Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) (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 8344D280282 for ; Sat, 1 Jan 2022 21:56:31 +0100 (CET) Original-Received: by mail-wr1-f51.google.com with SMTP id k18so25308465wrg.11 for ; Sat, 01 Jan 2022 12:56:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=1rpFdtbqiHUKldnz0s3ye6VmKrUy11nIQciC3DgHq7E=; b=QHo/1NCeuzPjOju4PrphIz4fH900Pc9GU9h+FiZPqO1V3NNvgDrLht3dugWGU8Rqvw +D+vcy2rg52FfjViy69JVLhuRMfTOiqbZ+hC/fprCzwjMiv2UEhtWMdyC41dF7gsjiuF Fcm0hmkdG8m2IKW7RWi0vpN6G6sLAyseizWZ+F5sVsGbheZpWKzSfhbd8Lu2g9puM5bf wqb65tItwGpGhZG08N3iY9yfNqmReioga9GOO6xMKLx+fx1BoQlGrT7DHV2G7mCzRblq n66965kQ8w6I2bwBtodbH56q2X67T2DdCMrV/4epFf3XrVT9UIO0LG9HxkNGi89STk4X EBNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=1rpFdtbqiHUKldnz0s3ye6VmKrUy11nIQciC3DgHq7E=; b=gIpXF0QyVrcvEnCG60dYU4q2I7daF/iD2u7BaLp6zD1hQn72Y9o/lLmdWHoSOr2vUl QGtvJhbAxJlqFnuMUdWG+VPMOEI0p4+1lIw2TtH1DiWY/m49Zx0UvqoRNW17+U4Rpz7j NUGtOzWtQ2wIJBC73+BFVQ2lMU9HbSqh5r4VLSzmijnM8POqypuVUCPePsLhGplhEmOU QD7wq7d2rlS7vpQW2V6LVJPvFMAWsNjdg/EMnr616VzsoG4mKngSuVSre5Ak8e7+ndAn AEEucu7jhNHgR94Ch3TUMzqCsAa470J6EVD6bHZaXslecWqV9ic5QmF0Fpb8qLaM0PrX ePGw== X-Gm-Message-State: AOAM533XVY60XVeUoDfgiT59K8b/D8Zk+y7y69eIMX5nVW1cOBqjJx0u +tfjwcxkL9L8Q2oHnmX3+VdAK6OF1GwvHBc4Ek+DLJ65Df4= X-Google-Smtp-Source: ABdhPJzLfJvIy1h8P+z6gCxzJNoISin9i9caLERTHQng+VlkSMQGsUuKxaQA/lpI8h+EEPImeIXgfqfDxNHmoeHU5GM= X-Received: by 2002:a5d:61cf:: with SMTP id q15mr32504150wrv.623.1641070591107; Sat, 01 Jan 2022 12:56:31 -0800 (PST) In-Reply-To: <73e2a39c-7fed-f906-23f6-18dd892c0a6d@gmail.com> 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:113964 Archived-At: --===============4862205252617485735== Content-Type: multipart/alternative; boundary="000000000000a2661205d48b855a" --000000000000a2661205d48b855a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable El s=C3=A1b, 1 ene 2022 a la(s) 15:37, jbf via ntg-context (ntg-context@ntg= .nl) escribi=C3=B3: > 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=3DSTUDY~], and I can achieve 'STUDY One' with the > key conversion=3DWords in \setuphead[chapter]. > > My question: how do I get ONE instead of One. > > I tried conversion=3DWORDS (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=3Dmyconversion 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=3D{Study~,}] \setuphead[chapter][conversion=3Dwords,numberstyle=3D\WORDS] \starttext \startchapter[title=3DFeliz a=C3=B1o 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 > > _________________________________________________________________________= __________ > --000000000000a2661205d48b855a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
El s=C3=A1b, 1 ene 2022 a la(s) 15:37= , jbf via ntg-context (ntg-context@nt= g.nl) escribi=C3=B3:
Am typesetting a book that has 'STUDY ONE', 'STUDY T= WO' etc. in place of
CHAPTER ONE, etc. I have no difficulty getting 'STUDY' with
\setuplabeltext[chapter=3DSTUDY~], and I can achieve 'STUDY One' wi= th the
key conversion=3DWords in \setuphead[chapter].

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

I tried conversion=3DWORDS (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=3Dmyconversion 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=3D{Study~,}]
\setuphead[chapter][conversion=3D= words,numberstyle=3D\WORDS]
\starttext
\startchapter[title=3DFeliz a= =C3=B1o 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 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
___________________________________________________________________________= ________
--000000000000a2661205d48b855a-- --===============4862205252617485735== 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== --===============4862205252617485735==--