ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Jairo A. del Rio via ntg-context" <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: "Jairo A. del Rio" <jairoadelrio6@gmail.com>
Subject: Re: Getting ONE, TWO... for chapters
Date: Sat, 1 Jan 2022 15:56:19 -0500	[thread overview]
Message-ID: <CAKyqqabHc7LUSKFeh8Oq45NyvF-cm2OtKvgyM3brkCP5cTD7Mw@mail.gmail.com> (raw)
In-Reply-To: <73e2a39c-7fed-f906-23f6-18dd892c0a6d@gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1613 bytes --]

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
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 2717 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2022-01-01 20:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-01 20:36 jbf via ntg-context
2022-01-01 20:56 ` Jairo A. del Rio via ntg-context [this message]
2022-01-01 21:27   ` jbf via ntg-context

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAKyqqabHc7LUSKFeh8Oq45NyvF-cm2OtKvgyM3brkCP5cTD7Mw@mail.gmail.com \
    --to=ntg-context@ntg.nl \
    --cc=jairoadelrio6@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).