Changes

Jump to navigation Jump to search
299 bytes added ,  20:37, 11 November 2019
no edit summary
|attributes=
}}
 
== [[Help:Reference|Syntax]] (autogenerated) ==
<syntax>mainlanguage</syntax>
== [[Help:Reference|Syntax]] ==
 
<table cellspacing="4" cellpadding="2" class="cmd">
<tr>
<tr valign="top" class="first">
<td class="cmd">[...]</td>
<td>nl fr en uk de es cz ro.. </td>
</tr>
</table>
== Description ==
 
Set the language of auto-generated language elements, like the title of the table of contents or the appendix.
== Example ==
<!-- Please fill in an example if you can -->
To get the auto-genereated language elements in German the paramater has to be '''de'''.
To get the auto-generated language elements in German, use the parameter <code>de</code> or <code>german</code>. The title 'Inhalt' ist typeset above example below places the table of contents ([[cmd:completecontent|\completecontent]]).
<texcodecontext source="yes" text="produces">\setuppapersize[A5]
\mainlanguage[de]
\completecontent
\chapter{Chapter 1The first chapter}
\stoptext
</texcodecontext>
== See also ==
<!-- something like [[cmd:goto|\goto]] -->
* {{cmd|language}} to change the language rules used for hyphenation and quotation.* {{cmd|setuplabeltext}} to alter some of a language's labels. (E.g. to change 'Section' to 'Lesson'.) == Help from ConTeXt-Mailinglist/Forum ==All issues with:{{Forum|{{SUBPAGENAME}}}} [[Category:ReferenceCommand/enLanguages|mainlanguage]]

Navigation menu