Changes

Jump to navigation Jump to search
1,704 bytes added ,  13:27, 9 August 2020
m
Text replacement - "<cmd>" to "{{cmd|"
= 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 tags|language tag]]''' you want in brackets:; {{NavbarTempProposalcmd|mainlanguage[tag]}}: to set the language of auto-generated language elements, like the title of the table of contents or the appendix. ; {{cmd|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.)
= ConTeXt's markup =
ConTeXt has a multilingual interface to enable users to work in their own language. It starts with is specified by setting the use ConTeXt interface value in the first line of two your input file:* <code>% interface=en</code> [http://www.pragma-ade.com/general/qrcs/setup-en.pdf commands with the ]* <code>% interface=nl</code> [http://www.pragma-ade.com/general/qrcs/setup-nl.pdf commando’s]* <code>% interface=de</code> [Language_Codes|language http://www.pragma-ade.com/general/qrcs/setup-de.pdf befehle]* <code>% interface=cz</code> [http://www.pragma-ade.com/general/qrcs/setup-cz.pdf přikazy]* <code>% interface=fr</code> [http://www.pragma-ade.com/general/qrcs/setup-fr.pdf commandes] you want, in brackets:* <cmdcode>mainlanguage% interface=it</cmdcode>, to set the language of auto[http://www.pragma-ade.com/general/qrcs/setup-generated language elements, like the title of the table of contents or the appendixit. pdf comandi]* <cmdcode>language% interface=ro</cmdcode>, to change the hyphenation rules, quotation marks, all that sort of thing, to that of a different language[http://www.pragma-ade. (The default language is Englishcom/general/qrcs/setup-ro.) pdf comenzile]
=Language-specific pages=
Additionally:
* General: [[Encodings and Regimes]], including accents, composite characters, and how "ä" and alike are produced in LaTeX/ConTeXt
* [[Arabic and Hebrew]]
* [[ChineseJapanese and Korean]]
* [[Czech]]
* [[Greek]]
* [[Russian]]
* [[Vietnamese]]
* [[RTL]] for dealing with Right-To-Left texts as well as BiDi (bidirectional) texts
* French: [[French Punctuation]] and [[French spacing]] (old)
 
=Language tags=
 
Here's the list of ConTeXt's '''language tags''', also available in the [http://www.pragma-ade.com/general/manuals/languages-mkiv.pdf#&#91;5,{%22name%22:%22Fit%22}&#93; latest official Languages manual]. [https://source.contextgarden.net/tex/context/patterns Sources are available]).
 
<context source=yes>
\usemodule[languages-system]
\loadinstalledlanguages
\showinstalledlanguages
</context>
 
=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.
 
 
[[Category:Languages]]

Navigation menu