ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: Feature request: Title Case/Start Case
@ 2011-01-31  9:21 Reviczky, Adam
  2011-01-31  9:27 ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: Reviczky, Adam @ 2011-01-31  9:21 UTC (permalink / raw)
  To: mailing list for ConTeXt users

>>\setuphead[title][style=\Words]
>>\starttext
>>\title{What to capitalize in start case}
>>\stoptext
Thanks, yes, I've seen that, but I was just wondering if this can be done in a paragraph, outside a section element.

Adam
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Feature request: Title Case/Start Case
  2011-01-31  9:21 Feature request: Title Case/Start Case Reviczky, Adam
@ 2011-01-31  9:27 ` Wolfgang Schuster
  0 siblings, 0 replies; 5+ messages in thread
From: Wolfgang Schuster @ 2011-01-31  9:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 31.01.2011 um 10:21 schrieb Reviczky, Adam:

>>> \setuphead[title][style=\Words]
>>> \starttext
>>> \title{What to capitalize in start case}
>>> \stoptext
> Thanks, yes, I've seen that, but I was just wondering if this can be done in a paragraph, outside a section element.


\definestartstop[TitleCase][style=\Words]
\starttext
\Words{What to capitalize in start case}\par
\TitleCase{What to capitalize in start case}\par
\startTitleCase What to capitalize in start case\stopTitleCase
\stoptext

Wolfgang

___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Feature request: Title Case/Start Case
@ 2011-01-31  9:34 Reviczky, Adam
  0 siblings, 0 replies; 5+ messages in thread
From: Reviczky, Adam @ 2011-01-31  9:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users

>>\definestartstop[TitleCase][style=\Words]
>>\starttext
>>\Words{What to capitalize in start case}\par
>>\TitleCase{What to capitalize in start case}\par
>>\startTitleCase What to capitalize in start case\stopTitleCase
>>\stoptext
Excellent, thank you Wolfgang!

Adam
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Feature request: Title Case/Start Case
  2011-01-31  1:11 Reviczky, Adam
@ 2011-01-31  8:50 ` Wolfgang Schuster
  0 siblings, 0 replies; 5+ messages in thread
From: Wolfgang Schuster @ 2011-01-31  8:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 31.01.2011 um 02:11 schrieb Reviczky, Adam:

> Hi,
> 
> May I ask for supporting Title Case or Start Case in core ConTeXt?
> Eg: The first letter of each word is capitalized, the rest are lower case.
> 
> It would be nice to have something like these:
> \TitleCase{What to capitalize in title case} resulting in "What to Capitalize in Title Case"
> \StartCase{What to capitalize in start case} resulting in "What To Capitalize In Start Case"

\setuphead[title][style=\Words]
\starttext
\title{What to capitalize in start case}
\stoptext

Wolfgang

___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Feature request: Title Case/Start Case
@ 2011-01-31  1:11 Reviczky, Adam
  2011-01-31  8:50 ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: Reviczky, Adam @ 2011-01-31  1:11 UTC (permalink / raw)
  To: ntg-context

Hi,

May I ask for supporting Title Case or Start Case in core ConTeXt?
Eg: The first letter of each word is capitalized, the rest are lower case.

It would be nice to have something like these:
\TitleCase{What to capitalize in title case} resulting in "What to Capitalize in Title Case"
\StartCase{What to capitalize in start case} resulting in "What To Capitalize In Start Case"

If something like this doesn't belong to the core, then can somebody tell me how to achieve that as a macro (I've just briefly looked at the typo-cap)?

Thanks,
Adam
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2011-01-31  9:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-31  9:21 Feature request: Title Case/Start Case Reviczky, Adam
2011-01-31  9:27 ` Wolfgang Schuster
  -- strict thread matches above, loose matches on Subject: below --
2011-01-31  9:34 Reviczky, Adam
2011-01-31  1:11 Reviczky, Adam
2011-01-31  8:50 ` Wolfgang Schuster

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).