[NTG-context] redefine word Figure for a specific language

2010-05-02 Thread Fabio Tiriticco
Hi all,
this is my first post here, and only because I couldn't find an answer in
the database.
I am using ConTeXt for an italian document (I used LaTeX years ago for my
thesis and I like ConTeXt much better!)
I would like to redefine the word used in figure captions. The default
english is Figure.
If I switch to

\mainlanguage[it]

the word becomes Fig.
How can I arbitrarily decide what to show there?

thanks for the attention,
Fabio
___
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
___


Re: [NTG-context] redefine word Figure for a specific language

2010-05-02 Thread Otared Kavian
Hi Fabio,

You can add for instance, at the top of your setups:

\mainlanguage[it]
\setuplabeltext[it][figure=Foto ]

Or whatever other words than « Foto » you may wish (beware: there should be a 
space after « Foto »).
The command \setuplabeltext can be used also when translating other words like 
chapter, section, table, etc.

Best regards: OK

On 1 mai 2010, at 18:23, Fabio Tiriticco wrote:

 Hi all,
 this is my first post here, and only because I couldn't find an answer in the 
 database.
 I am using ConTeXt for an italian document (I used LaTeX years ago for my 
 thesis and I like ConTeXt much better!)
 I would like to redefine the word used in figure captions. The default 
 english is Figure.
 If I switch to 
 
 \mainlanguage[it]
 
 the word becomes Fig.
 How can I arbitrarily decide what to show there?
 
 thanks for the attention,
 Fabio



 ___
 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
 ___

%%
Otared Kavian
Département de Mathématiques
Université de Versailles Saint-Quentin
Bâtiment Fermat
45 aveue des Etats Unis
78035 Versailles cedex

Téléphone: +33 1 39 25 46 42
Secrétariat: +33 1 39 25 46 44 
Secrétariat: +33 1 39 25 46 46

e-mail: otared.kav...@math.uvsq.fr



___
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
___