aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-01-11 21:03:09 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2018-01-11 21:03:09 -0800
commit9f888659f77866cd0e5efe454a1c66ac8ec580cf (patch)
tree9881668c546508f02737a9ffaad2a6f0128adefb
parentc5ba3b8ee32704f1fdf241480ba64950f8ceedd8 (diff)
downloadpandoc-9f888659f77866cd0e5efe454a1c66ac8ec580cf.tar.gz
MANUAL.txt: clarify otherlangs in LaTeX.
Closes #4072.
-rw-r--r--MANUAL.txt19
1 files changed, 5 insertions, 14 deletions
diff --git a/MANUAL.txt b/MANUAL.txt
index 933a5e8f1..766094a94 100644
--- a/MANUAL.txt
+++ b/MANUAL.txt
@@ -1350,21 +1350,12 @@ Language variables
format stored in the additional variables `babel-lang`,
`polyglossia-lang` (LaTeX) and `context-lang` (ConTeXt).
- Native pandoc `span`s and `div`s with the lang attribute
+ Native pandoc Spans and Divs with the lang attribute
(value in BCP 47) can be used to switch the language in
- that range.
-
-`otherlangs`
-: a list of other languages used in the document
- in the YAML metadata, according to [BCP 47]. For example:
- `otherlangs: [en-GB, fr]`.
- This is automatically generated from the `lang` attributes
- in all `span`s and `div`s but can be overridden.
- Currently only used by LaTeX through the generated
- `babel-otherlangs` and `polyglossia-otherlangs` variables.
- The LaTeX writer outputs polyglossia commands in the text but
- the `babel-newcommands` variable contains mappings for them
- to the corresponding babel.
+ that range. In LaTeX output, `babel-otherlangs` and
+ `polyglossia-otherlangs` variables will be generated
+ automatically based on the `lang` attributes of Spans
+ and Divs in the document.
`dir`
: the base direction of the document, either `rtl` (right-to-left)