gbt7714 BibTeX Style

repository·master·Indexed 23 days ago

https://github.com/zepinglee/gbt7714-bibtex-style

A BibTeX implementation of the Chinese National Standard GB/T 7714. It supports numeric and author-year citation systems, automatic language detection for Chinese and English entries, and is compatible with the natbib package.

Tokens
461
Snippets
2
Records
3
Agent score
31%

What's inside gbt7714-bibtex-style

  1. Overview of the gbt7714 BibTeX package

    master

    The gbt7714 package provides a configurable BibTeX implementation of the Chinese National Standard GB/T 7714 (Information and documentation---Rules for bibliographic references and citations to information resources).

    Key features include:

    • Support for both numeric and author-year citation systems.
    • Full compatibility with the natbib package for advanced citation commands.
    • Automatic language detection (Chinese or English) for each bibliographic entry to apply appropriate localization.
    • Extensive configuration options to adapt output to specific academic journal or institutional requirements.
  2. Compile a LaTeX document with gbt7714 using XeLaTeX

    master

    When using XeLaTeX, you must run the compilation sequence multiple times to correctly process citations and the bibliography. Run the following commands in your terminal:

    1. xelatex main (initial pass)
    2. bibtex main (process bibliography)
    3. xelatex main (incorporate bibliography)
    4. xelatex main (resolve references/citations)
    xelatex main
    bibtex main
    xelatex main
    xelatex main
  3. Use the gbt7714 package in LaTeX

    master

    To use gbt7714 in your LaTeX document, follow these steps:

    1. Load the package in your preamble using \usepackage{gbt7714}.
    2. Select a bibliography style using \bibliographystyle{...} (e.g., gbt7714-numeric).
    3. Cite entries in your text using the \cite{...} command.
    4. Generate the bibliography using \bibliography{bibfile}, where bibfile is the name of your .bib file.

    Note: It is recommended to use ctexart document class for Chinese language support.

    \documentclass[UTF8]{ctexart}
    \usepackage{gbt7714}
    \bibliographystyle{gbt7714-numeric}
    \begin{document}
    \cite{...}
    ...
    \bibliography{bibfile}
    \end{document}