ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \Words and uppercase letters
@ 2014-12-03 16:52 Pablo Rodriguez
  2014-12-03 17:09 ` Henning Hraban Ramm
  2014-12-03 18:01 ` Hans Hagen
  0 siblings, 2 replies; 9+ messages in thread
From: Pablo Rodriguez @ 2014-12-03 16:52 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Dear list,

the following sample doesn’t work as expected:

   \starttext
   \Words AAAAA BBBBBBBB CCCCCCC
   \stoptext

Is there no way to get all words in lowercase characters and the initial
uppercase characters?

Many thanks for your help,


Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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] 9+ messages in thread

* Re: \Words and uppercase letters
  2014-12-03 16:52 \Words and uppercase letters Pablo Rodriguez
@ 2014-12-03 17:09 ` Henning Hraban Ramm
  2014-12-03 17:35   ` Pablo Rodriguez
  2014-12-03 18:01 ` Hans Hagen
  1 sibling, 1 reply; 9+ messages in thread
From: Henning Hraban Ramm @ 2014-12-03 17:09 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Am 2014-12-03 um 22:52 schrieb Pablo Rodriguez <oinos@gmx.es>:

> the following sample doesn’t work as expected:
> 
>   \starttext
>   \Words AAAAA BBBBBBBB CCCCCCC
>   \stoptext
> 
> Is there no way to get all words in lowercase characters and the initial
> uppercase characters?


\Words{} uppercases the first character of the words in its brackets.

What do you expect?

See also http://wiki.contextgarden.net/Basic_Text_Formatting


Greetlings, Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___________________________________________________________________________________
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] 9+ messages in thread

* Re: \Words and uppercase letters
  2014-12-03 17:09 ` Henning Hraban Ramm
@ 2014-12-03 17:35   ` Pablo Rodriguez
  2014-12-03 18:05     ` Peter Münster
  0 siblings, 1 reply; 9+ messages in thread
From: Pablo Rodriguez @ 2014-12-03 17:35 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 12/03/2014 06:09 PM, Henning Hraban Ramm wrote:
> Am 2014-12-03 um 22:52 schrieb Pablo Rodriguez:
>> [...]
>> Is there no way to get all words in lowercase characters and the initial
>> uppercase characters?
> 
> 
> \Words{} uppercases the first character of the words in its brackets.
> 
> What do you expect?

Many thanks for your reply, Hraban.

I expected that all other characters would be in lowercase.

\word{AAA} does this for all characters, so I thought \Words{AAAAA}
would do the same for the characters others than the first one in each word.


Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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] 9+ messages in thread

* Re: \Words and uppercase letters
  2014-12-03 16:52 \Words and uppercase letters Pablo Rodriguez
  2014-12-03 17:09 ` Henning Hraban Ramm
@ 2014-12-03 18:01 ` Hans Hagen
  2014-12-03 18:50   ` Pablo Rodriguez
  1 sibling, 1 reply; 9+ messages in thread
From: Hans Hagen @ 2014-12-03 18:01 UTC (permalink / raw)
  To: ntg-context

On 12/3/2014 5:52 PM, Pablo Rodriguez wrote:
> Dear list,
>
> the following sample doesn’t work as expected:
>
>     \starttext
>     \Words AAAAA BBBBBBBB CCCCCCC
>     \stoptext

use this grouped: \Words{........}

> Is there no way to get all words in lowercase characters and the initial
> uppercase characters?

I'll add \camel

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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] 9+ messages in thread

* Re: \Words and uppercase letters
  2014-12-03 17:35   ` Pablo Rodriguez
@ 2014-12-03 18:05     ` Peter Münster
  2014-12-03 18:16       ` Alan BRASLAU
  2014-12-03 18:51       ` Pablo Rodriguez
  0 siblings, 2 replies; 9+ messages in thread
From: Peter Münster @ 2014-12-03 18:05 UTC (permalink / raw)
  To: ntg-context

On Wed, Dec 03 2014, Pablo Rodriguez wrote:

> I thought \Words{AAAAA} would do the same for the characters others
> than the first one in each word.

\def\myWords#1{\Words{\lowercase{#1}}}
\starttext
\myWords{AAAAA BBBBBBBB CCCCCCC}
\stoptext

-- 
           Peter
___________________________________________________________________________________
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] 9+ messages in thread

* Re: \Words and uppercase letters
  2014-12-03 18:05     ` Peter Münster
@ 2014-12-03 18:16       ` Alan BRASLAU
  2014-12-03 18:52         ` Pablo Rodriguez
  2014-12-03 18:51       ` Pablo Rodriguez
  1 sibling, 1 reply; 9+ messages in thread
From: Alan BRASLAU @ 2014-12-03 18:16 UTC (permalink / raw)
  To: ntg-context

On Wed, 3 Dec 2014 19:05:22 +0100
Peter Münster <pmlists@free.fr> wrote:

> On Wed, Dec 03 2014, Pablo Rodriguez wrote:
> 
> > I thought \Words{AAAAA} would do the same for the characters others
> > than the first one in each word.  
> 
> \def\myWords#1{\Words{\lowercase{#1}}}
> \starttext
> \myWords{AAAAA BBBBBBBB CCCCCCC}
> \stoptext


This is because we want \Words{} to respect some upper case, for
example, \Words{Acronyms, such as DNA, should remain capitalized}.

Alan
___________________________________________________________________________________
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] 9+ messages in thread

* Re: \Words and uppercase letters
  2014-12-03 18:01 ` Hans Hagen
@ 2014-12-03 18:50   ` Pablo Rodriguez
  0 siblings, 0 replies; 9+ messages in thread
From: Pablo Rodriguez @ 2014-12-03 18:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 12/03/2014 07:01 PM, Hans Hagen wrote:
> On 12/3/2014 5:52 PM, Pablo Rodriguez wrote:
>> [...]
>>   \Words AAAAA BBBBBBBB CCCCCCC
> 
> use this grouped: \Words{........}

My fault.

>> Is there no way to get all words in lowercase characters and the initial
>> uppercase characters?
> 
> I'll add \camel

Many thanks for the implementation.


Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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] 9+ messages in thread

* Re: \Words and uppercase letters
  2014-12-03 18:05     ` Peter Münster
  2014-12-03 18:16       ` Alan BRASLAU
@ 2014-12-03 18:51       ` Pablo Rodriguez
  1 sibling, 0 replies; 9+ messages in thread
From: Pablo Rodriguez @ 2014-12-03 18:51 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 12/03/2014 07:05 PM, Peter Münster wrote:
> On Wed, Dec 03 2014, Pablo Rodriguez wrote:
> 
>> I thought \Words{AAAAA} would do the same for the characters others
>> than the first one in each word.
> 
> \def\myWords#1{\Words{\lowercase{#1}}}
> \starttext
> \myWords{AAAAA BBBBBBBB CCCCCCC}
> \stoptext

Many thanks for your reply, Peter.

This was exactly what I needed.

I tried \Words{\words{AAA BBB CCC}}. Since it didn’t work, I was
clueless about this.


Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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] 9+ messages in thread

* Re: \Words and uppercase letters
  2014-12-03 18:16       ` Alan BRASLAU
@ 2014-12-03 18:52         ` Pablo Rodriguez
  0 siblings, 0 replies; 9+ messages in thread
From: Pablo Rodriguez @ 2014-12-03 18:52 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 12/03/2014 07:16 PM, Alan BRASLAU wrote:
> On Wed, 3 Dec 2014 19:05:22 +0100  Peter Münster wrote:
>>
>> \def\myWords#1{\Words{\lowercase{#1}}}
>> \starttext
>> \myWords{AAAAA BBBBBBBB CCCCCCC}
>> \stoptext
> 
> This is because we want \Words{} to respect some upper case, for
> example, \Words{Acronyms, such as DNA, should remain capitalized}.

Many thanks for the info, Alan.

Everything is clear to me now.


Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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] 9+ messages in thread

end of thread, other threads:[~2014-12-03 18:52 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-03 16:52 \Words and uppercase letters Pablo Rodriguez
2014-12-03 17:09 ` Henning Hraban Ramm
2014-12-03 17:35   ` Pablo Rodriguez
2014-12-03 18:05     ` Peter Münster
2014-12-03 18:16       ` Alan BRASLAU
2014-12-03 18:52         ` Pablo Rodriguez
2014-12-03 18:51       ` Pablo Rodriguez
2014-12-03 18:01 ` Hans Hagen
2014-12-03 18:50   ` Pablo Rodriguez

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