git.iko.soy/typeable/pandoc
on master help sign in
MANUAL.txt: clarify otherlangs in LaTeX.

Closes #4072.

commit9f888659f77866cd0e5efe454a1c66ac8ec580cf authorJohn MacFarlane <jgm@berkeley.edu> dateThu 11 Jan 2018, 21:03 (9 years ago) parentc5ba3b8
1 file changed+5−14
MANUAL.txt+5−14
MANUAL.txt+5−14
@@ -1350,21 +1350,12 @@ Language variables
13501350 format stored in the additional variables `babel-lang`,
13511351 `polyglossia-lang` (LaTeX) and `context-lang` (ConTeXt).
13521352
1353− Native pandoc `span`s and `div`s with the lang attribute
1353+ Native pandoc Spans and Divs with the lang attribute
13541354 (value in BCP 47) can be used to switch the language in
1355− that range.
1356−
1357−`otherlangs`
1358−: a list of other languages used in the document
1359− in the YAML metadata, according to [BCP 47]. For example:
1360− `otherlangs: [en-GB, fr]`.
1361− This is automatically generated from the `lang` attributes
1362− in all `span`s and `div`s but can be overridden.
1363− Currently only used by LaTeX through the generated
1364− `babel-otherlangs` and `polyglossia-otherlangs` variables.
1365− The LaTeX writer outputs polyglossia commands in the text but
1366− the `babel-newcommands` variable contains mappings for them
1367− to the corresponding babel.
1355+ that range. In LaTeX output, `babel-otherlangs` and
1356+ `polyglossia-otherlangs` variables will be generated
1357+ automatically based on the `lang` attributes of Spans
1358+ and Divs in the document.
13681359
13691360`dir`
13701361: the base direction of the document, either `rtl` (right-to-left)