mirror of
https://github.com/typst/typst
synced 2025-06-02 18:26:24 +08:00
Clarify localization of reference labels based on lang setting (#6249)
Signed-off-by: Shunsuke Kimura <kimushun1101@gmail.com>
This commit is contained in:
parent
6e0f48e192
commit
9bbfa5ae05
@ -21,9 +21,10 @@ use crate::text::TextElem;
|
||||
///
|
||||
/// The default, a `{"normal"}` reference, produces a textual reference to a
|
||||
/// label. For example, a reference to a heading will yield an appropriate
|
||||
/// string such as "Section 1" for a reference to the first heading. The
|
||||
/// references are also links to the respective element. Reference syntax can
|
||||
/// also be used to [cite] from a bibliography.
|
||||
/// string such as "Section 1" for a reference to the first heading. The word
|
||||
/// "Section" depends on the [`lang`]($text.lang) setting and is localized
|
||||
/// accordingly. The references are also links to the respective element.
|
||||
/// Reference syntax can also be used to [cite] from a bibliography.
|
||||
///
|
||||
/// As the default form requires a supplement and numbering, the label must be
|
||||
/// attached to a _referenceable element_. Referenceable elements include
|
||||
|
Loading…
x
Reference in New Issue
Block a user