Command/mainlanguage

From Wiki
< Command
Revision as of 12:49, 21 May 2012 by Esteis (talk | contribs) (Smaller example output)
Jump to navigation Jump to search

\mainlanguage

Syntax

\mainlanguage[...]
[...] nl fr en uk de es cz ro..

Description

Set the language of auto-generated language elements, like the title of the table of contents or the appendix.

Example

To get the auto-generated language elements in German the paramater has to be de.

The title "Inhalt" ist typeset above the table of contents (\completecontent).

\setuppapersize[A5]
\mainlanguage[de]

\starttext

\completecontent
\chapter{Chapter 1}

\stoptext

produces

See also

  • \language - Change the hyphenation language.
  • \setuplanguage to alter some properties of the main language
  • \setuplabeltext to alter some of a language's labels. (E.g. to change 'Section' to 'Lesson'.)

Help from ConTeXt-Mailinglist/Forum

All issues with: