Am 04.07.2011 um 18:00 schrieb Willi Egger:

> Hello Wolfgang,
> 
> thanks for your reply.
> 
> I see that I was not quite clear with my explanation.
> The situation is the following:
> 
> in a function which runs over the months of the year at a certain moment I 
> need to insert at the ConTeXt side the monthname. However the monthname 
> returned by the following statement is all lowercase, which is ok for the 
> translation of the labeltext. In the document however I need the labeltext in 
> with a starting uppercase letter. The question is therefor how to achieve 
> this uppercase first letter

???

The first letter in the month name you get from Lua is uppercase as you can see 
in the output from your example.

To make the first letter uppercase at the TeX side you can use 
“context.Word(...)”.

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
___________________________________________________________________________________

Reply via email to