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
Am 2014-12-03 um 22:52 schrieb Pablo Rodriguez
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)
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
On Wed, 3 Dec 2014 19:05:22 +0100
Peter Münster
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
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
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
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 -----------------------------------------------------------------
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
participants (5)
-
Alan BRASLAU
-
Hans Hagen
-
Henning Hraban Ramm
-
Pablo Rodriguez
-
Peter Münster