Skip to content

chinese et al. #291

@kongdd

Description

@kongdd

"et al" in Chinese is "等". In official document, "et al" is not allowed Chinese reference.

<locale xml:lang="zh-CN">
        <date form="text">
            <date-part name="year" suffix="" range-delimiter="&#8212;"/>
            <date-part name="month" form="numeric" suffix="" range-delimiter="&#8212;"/>
            <date-part name="day" suffix="" range-delimiter="&#8212;"/>
        </date>
        <terms>
            <term name="anonymous" form="short">佚名</term>
            <term name="edition" form="short">版</term>
            <term name="open-quote">“</term>
            <term name="close-quote">”</term>
            <term name="open-inner-quote">‘</term>
            <term name="close-inner-quote">’</term>
            <term name="space-et-al">等</term>
        </terms>
    </locale>

csl has the term space-et-al, which supports this function.
However, this term is not allowed in typst.

error: failed to load CSL style (data did not match any variant of untagged enum Term)
   │
83 │   style:"csl/001gb-t-7714-2015-author-date-bilingual.csl")
   │         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Image

This is my case:
References2024.bib:

@article{zhangshenglei_2006_jiyu,
  title = {基于土壤水模型及站点资料的土壤湿度同化方法},
  author = {{张生雷} and {谢正辉} and {田向军} and {师春香} and {陈锋}},
  date = {2006},
  journaltitle = {地球科学进展},
  number = {12},
  pages = {1350--1362},
  issn = {1001-8166},
  langid = {chinese},
  annotation = {CNKICite: 43}
}
#[@zhangshenglei_2006_jiyu]

#v(-2.5em)
#bibliography("References2024.bib", title: "", 
  style:"csl/001gb-t-7714-2015-author-date-bilingual.csl")

This is the csl file:
https://1drv.ms/u/c/e1a801eaec61804c/ESBQ0nxQ0_tBke_F-wyErncBStRBXkPzLI7d9eZ3pAMv_w?e=ZJ29WO

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions