ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* How to override ConTeXt-SBL titles, to make all titles everywhere capitalized?
       [not found] <991704052.574008.1642435412831.ref@mail.yahoo.com>
@ 2022-01-17 16:03 ` Joel via ntg-context
  2022-01-17 16:36   ` Joey McCollum via ntg-context
  0 siblings, 1 reply; 2+ messages in thread
From: Joel via ntg-context @ 2022-01-17 16:03 UTC (permalink / raw)
  To: ntg-context; +Cc: Joel


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

I am a few days from sending a document to a publisher, and using the Society of Biblical Literature style (via the macro ConTeXt-SBL) as it is very close to what I need, Chicago (numbers style) citations. One glaring difference I notice between the two styles is ConTeXt-SBL presents the titles of articles and books in lower case, but Chicago gives them in upper case (I think SBL should too, but maybe as my entire BibTeX file is lowercase, it is not). How can I tell ConTeXt to override the titles, everywhere they appear, so they are printed in uppercase? I've manually marked all of the words that should not be capitalized in my BiBTeX file as with \word{of} so they will ignore any instructions to become capitalized.

--Joel



[-- Attachment #1.2: Type: text/html, Size: 1033 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] 2+ messages in thread

* Re: How to override ConTeXt-SBL titles, to make all titles everywhere capitalized?
  2022-01-17 16:03 ` How to override ConTeXt-SBL titles, to make all titles everywhere capitalized? Joel via ntg-context
@ 2022-01-17 16:36   ` Joey McCollum via ntg-context
  0 siblings, 0 replies; 2+ messages in thread
From: Joey McCollum via ntg-context @ 2022-01-17 16:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Joey McCollum


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

I've avoided forcing capitalization in too many places in the SBL rendering
because there are often language-specific (or, within English, even
dialect-specific) differences regarding what should be capitalized. I think
I already enforce capitalization of the first word, though:

```
\starttexdefinition titleemph #1
  \emph{\Word{#1}}
\stoptexdefinition

\starttexdefinition titlequote #1
  \quotation{\Word{#1}}
\stoptexdefinition
```

If you want the behavior you've described, you can change \Word to \Words
in the lines above (in publ-imp-sbl.mkvi). I probably will leave the code
as-is, however, as it seems safer to expect the user to provide the desired
capitalization in the BibTeX file.

Joey

On Mon, Jan 17, 2022 at 11:03 AM Joel via ntg-context <ntg-context@ntg.nl>
wrote:

> I am a few days from sending a document to a publisher, and using the
> Society of Biblical Literature style (via the macro ConTeXt-SBL) as it is
> very close to what I need, Chicago (numbers style) citations. One glaring
> difference I notice between the two styles is ConTeXt-SBL presents the
> titles of articles and books in lower case, but Chicago gives them in upper
> case (I think SBL should too, but maybe as my entire BibTeX file is
> lowercase, it is not). How can I tell ConTeXt to override the titles,
> everywhere they appear, so they are printed in uppercase? I've manually
> marked all of the words that should not be capitalized in my BiBTeX file as
> with \word{of} so they will ignore any instructions to become capitalized.
>
> --Joel
>
>
>
> ___________________________________________________________________________________
> 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: 3110 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] 2+ messages in thread

end of thread, other threads:[~2022-01-17 16:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <991704052.574008.1642435412831.ref@mail.yahoo.com>
2022-01-17 16:03 ` How to override ConTeXt-SBL titles, to make all titles everywhere capitalized? Joel via ntg-context
2022-01-17 16:36   ` Joey McCollum 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).