ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Getting ONE, TWO... for chapters
@ 2022-01-01 20:36 jbf via ntg-context
  2022-01-01 20:56 ` Jairo A. del Rio via ntg-context
  0 siblings, 1 reply; 3+ messages in thread
From: jbf via ntg-context @ 2022-01-01 20:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: jbf

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?

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Getting ONE, TWO... for chapters
  2022-01-01 20:36 Getting ONE, TWO... for chapters 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
  0 siblings, 1 reply; 3+ messages in thread
From: Jairo A. del Rio via ntg-context @ 2022-01-01 20:56 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Jairo A. del Rio


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Getting ONE, TWO... for chapters
  2022-01-01 20:56 ` Jairo A. del Rio via ntg-context
@ 2022-01-01 21:27   ` jbf via ntg-context
  0 siblings, 0 replies; 3+ messages in thread
From: jbf via ntg-context @ 2022-01-01 21:27 UTC (permalink / raw)
  To: Jairo A. del Rio; +Cc: jbf, ntg >> mailing list for ConTeXt users


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-01-01 21:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-01 20:36 Getting ONE, TWO... for chapters 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 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).