Difference between revisions of "Command/mainlanguage"

From Wiki
Jump to navigation Jump to search
m (Text replace - "[[Category:Commands|" to "== ConTeXt-Forum == {{Forum|{{SUBPAGENAME}}}} [[Category:Commands|")
m (Text replace - "ConTeXt-Forum " to "Help from ConTeXt-Forum ")
Line 43: Line 43:
 
* [[cmd:language|\language]] - Change the hyphenation language.
 
* [[cmd:language|\language]] - Change the hyphenation language.
  
== ConTeXt-Forum ==
+
== Help from ConTeXt-Forum ==
 
{{Forum|{{SUBPAGENAME}}}}
 
{{Forum|{{SUBPAGENAME}}}}
  
 
[[Category:Commands|mainlanguage]]
 
[[Category:Commands|mainlanguage]]

Revision as of 01:10, 15 March 2012

\mainlanguage

Syntax

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

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-genereated language elements in German the paramater has to be de.

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

\mainlanguage[de]

\starttext

\completecontent
\chapter{Chapter 1}

\stoptext

produces

See also

Help from ConTeXt-Forum