Difference between revisions of "Command/installlanguage"

From ConTeXt wiki
(Add description, example.)
 
Line 3: Line 3:
 
|attributes=
 
|attributes=
 
}}
 
}}
 +
 +
== [[Help:Reference|Syntax]] (autogenerated) ==
 +
<syntax>installlanguage</syntax>
  
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==

Latest revision as of 20:37, 11 November 2019

\installlanguage

Syntax (autogenerated)


Syntax

\installlanguage[...][...,...=...,...]
[...] name
spacing packed broad
lefthyphenmin dimension
righthyphenmin dimension
state start stop
leftsentence command
rightsentence command
leftsubsentence command
rightsubsentence command
leftquote command
rightquote command
leftquotation command
rightquotation command
default name


Description

Define the quotation rules etc. for a new language, which can then be activated with \language[mylanguage].

Example

\installlanguage
   [en]
   [spacing=broad,
    leftsentence=---,
    rightsentence=---,
    leftsubsentence=---,
    rightsubsentence=---,
    leftquote=\upperleftsinglesixquote,
    rightquote=\upperrightsingleninequote,
    leftquotation=\upperleftdoublesixquote,
    rightquotation=\upperrightdoubleninequote,
    date={month,\ ,day,{,\ },year},
    default=en,
    state=stop]

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: