MANUAL: Add information about lang and bibliography sorting.

This commit is contained in:
John MacFarlane 2021-04-18 09:09:53 -07:00
parent a478a5c4c8
commit 4f858a6a49

View file

@ -5541,10 +5541,23 @@ A few other metadata fields affect bibliography formatting:
`lang` `lang`
: The `lang` field will affect how the style is localized, : The `lang` field will affect how the style is localized,
for example in the translation of labels and the use for example in the translation of labels, the use
of quotation marks. (For backwards compatibility, of quotation marks, and the way items are sorted.
`locale` may be used instead of `lang`, but this use (For backwards compatibility, `locale` may be used instead
is deprecated.) of `lang`, but this use is deprecated.)
A BCP 47 language tag is expected: for example, `en`,
`de`, `en-US`, `fr-CA`, `ug-Cyrl`. The unicode extension
syntax (after `-u-`) may be used to specify options for
collation (sorting) more precisely. Here are some examples:
- `zh-u-co-pinyin` -- Chinese with the Pinyin collation.
- `es-u-co-trad` -- Spanish with the traditional collation
(with `Ch` sorting after `C`).
- `fr-u-kb` -- French with "backwards" accent sorting
(with `coté` sorting after `côte`).
- `en-US-u-kf-upper` -- English with uppercase letters sorting
before lower (default is lower before upper).
`notes-after-punctuation` `notes-after-punctuation`
: If true (the default), pandoc will put footnote citations : If true (the default), pandoc will put footnote citations
@ -5556,12 +5569,6 @@ A few other metadata fields affect bibliography formatting:
punctuation. punctuation.
# Slide shows # Slide shows
You can use pandoc to produce an HTML + JavaScript slide presentation You can use pandoc to produce an HTML + JavaScript slide presentation