ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: jbf via ntg-context <ntg-context@ntg.nl>
To: "Jairo A. del Rio" <jairoadelrio6@gmail.com>
Cc: jbf <roma83537@gmail.com>,
	"ntg >> mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: Getting ONE, TWO... for chapters
Date: Sun, 2 Jan 2022 08:27:20 +1100	[thread overview]
Message-ID: <dd561ba2-5f2b-e213-96ae-223283f937d0@gmail.com> (raw)
In-Reply-To: <CAKyqqabHc7LUSKFeh8Oq45NyvF-cm2OtKvgyM3brkCP5cTD7Mw@mail.gmail.com>


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

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 <mailto: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 <mailto:ntg-context@ntg.nl> /
>     http://www.ntg.nl/mailman/listinfo/ntg-context
>     <http://www.ntg.nl/mailman/listinfo/ntg-context>
>     webpage  : http://www.pragma-ade.nl <http://www.pragma-ade.nl> /
>     http://context.aanhet.net <http://context.aanhet.net>
>     archive  : https://bitbucket.org/phg/context-mirror/commits/
>     <https://bitbucket.org/phg/context-mirror/commits/>
>     wiki     : http://contextgarden.net <http://contextgarden.net>
>     ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 4369 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 21:27 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
2022-01-01 21:27   ` jbf via ntg-context [this message]

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=dd561ba2-5f2b-e213-96ae-223283f937d0@gmail.com \
    --to=ntg-context@ntg.nl \
    --cc=jairoadelrio6@gmail.com \
    --cc=roma83537@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).