Difference between revisions of "Command/mainlanguage"

From Wiki
Jump to navigation Jump to search
m (Text replace - "Category:(.*)" to "Category:Command/$1")
m (Text replace - "\[\[cmd:(.*)\|(.*)\]\]" to "{{cmd|$1}}")
Line 25: Line 25:
 
To get the auto-genereated language elements in German the paramater has to be <code>de</code>.
 
To get the auto-genereated language elements in German the paramater has to be <code>de</code>.
  
The title "Inhalt" ist typeset above the table of contents ([[cmd:completecontent|\completecontent]]).
+
The title "Inhalt" ist typeset above the table of contents ({{cmd|completecontent}}).
  
 
<context source="yes" text="produces">
 
<context source="yes" text="produces">
Line 39: Line 39:
  
 
== See also ==
 
== See also ==
<!-- something like [[cmd:goto|\goto]] -->
+
<!-- something like {{cmd|goto}} -->
  
* [[cmd:language|\language]] - Change the hyphenation language.
+
* {{cmd|language}} - Change the hyphenation language.
  
 
== Help from ConTeXt-Mailinglist/Forum ==
 
== Help from ConTeXt-Mailinglist/Forum ==

Revision as of 04:52, 23 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-Mailinglist/Forum

All issues with: