Difference between revisions of "Languages"

From Wiki
Jump to navigation Jump to search
m
m
Line 29: Line 29:
  
  
[[Category:International]]
+
[[Category:Languages]]
[[Category:Language]]
 

Revision as of 12:23, 8 June 2020

Two commands to set up the language aspects

Today, with the international use of the UTF-8 standard for input and output encoding, you only need two commands, with the language tag you want in brackets:

\mainlanguage[tag]
to set the language of auto-generated language elements, like the title of the table of contents or the appendix.
\language[tag]
to change the hyphenation rules, quotation marks, all that sort of thing, to that of a different language. (The default language is English.)

Language-specific pages

Language tags

Here's the list of ConTeXt's language tags, also available in the latest official Languages manual. Sources are available).

\usemodule[languages-system]
\loadinstalledlanguages
\showinstalledlanguages

Other links

Finally, for older content, we keep a page Encodings and Regimes - Old Content about including accents, composite characters, and how "ä" and alike were produced in LaTeX/ConTeXt mkii. Second Step gave an example for german language.