ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* redefine word "Figure" for a specific language
@ 2010-05-01 16:23 Fabio Tiriticco
  2010-05-02  7:07 ` Otared Kavian
  0 siblings, 1 reply; 2+ messages in thread
From: Fabio Tiriticco @ 2010-05-01 16:23 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 443 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 512 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 bytes --]

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

* Re: redefine word "Figure" for a specific language
  2010-05-01 16:23 redefine word "Figure" for a specific language Fabio Tiriticco
@ 2010-05-02  7:07 ` Otared Kavian
  0 siblings, 0 replies; 2+ messages in thread
From: Otared Kavian @ 2010-05-02  7:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1723 bytes --]

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.Kavian@math.uvsq.fr




[-- Attachment #1.2: Type: text/html, Size: 2836 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 bytes --]

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

end of thread, other threads:[~2010-05-02  7:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-01 16:23 redefine word "Figure" for a specific language Fabio Tiriticco
2010-05-02  7:07 ` Otared Kavian

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