Skip to content

mathwyz/gbt7714-bibtex-style

 
 

Repository files navigation

GB/T 7714—2015 BibTeX Style

CTAN GitHub release GitHub commits Build

Introduction

The gbt7714 package provides a BibTeX implementation for the China's bibliography style standard GB/T 7714—2015. It consists of two bst files for numerical and authoryear styles as well as a LaTeX package which provides the citation style defined in the standard. It is compatible with natbib and supports language detection (Chinese and English) for each biblilography entry.

简介

GB/T 7714—2015 《信息与文献\quad 参考文献著录规则》是中国的参考文献推荐标准。 本宏包是国标的 BibTeX 实现,主要有以下特性:

  • 兼容 natbib
  • 支持“顺序编码制”和“著者-出版年制”两种风格
  • 自动识别语言并进行相应处理
  • 提供了简单的接口供用户修改样式

版本 v2.0 的重要修改

从 v2.0 版本开始(2020-03-04),用户必须在文档中使用 \biblilographystyle 命令选择参考文献样式, 如 gbt7714-numericalgbt7714-author-year。 在早期的版本中,选择文献样式的方法是将 numberssuper 等参数传递给 gbt7714, 而不能使用 \bibliographystyle。 这跟标准的 LaTeX 接口不一致,所以将被弃用。

使用方法

  1. 在导言区调用宏包 gbt7714

  2. 在正文中 \cite 文献;

  3. 使用 \bibliographystyle 选择参考文献表的样式;

  4. 使用 \bibliography 命令生成参考文献表。

注意事项

  1. bib 数据库应使用 UTF-8 编码。
  2. 使用著者-出版年制参考文献表时,中文的文献必须key 域填写 著者姓名的拼音,才能按照拼音排序,比如:
@book{capital,
  author = {马克思 and 恩格斯},
  key    = {ma3 ke4 si1 & en1 ge2 si1},
  ...
}

同一处引用多篇文献时,应将各篇文献的 key 一同写在 \cite 命令中, 如 \cite{knuth84,lamport94,mittelbach04}。 如遇连续编号,可以自动转为起讫序号并用短横线连接。

若需要标出引文的页码,可以标在 \cite 的可选参数中,如 \cite[42]{knuth84}

更多的引用标注方法可以参考 natbib 宏包的使用说明。

本宏包默认情况下可以自动识别文献语言,并自动处理文献类型和载体类型标识, 但是在少数情况下需要用户手动指定,如:

@misc{citekey,
  langid = {japanese},
  mark   = {Z},
  medium = {DK},
  ...
}

可选的语言有 english, chinese, japanese, russian

文献类型

文献类型 标识代码 Entry Type
普通图书 M book
图书的析出文献 M incollection
会议录 C proceedings
会议录的析出文献 C inproceedingsconference
汇编 G collection*
报纸 N newspaper*
期刊的析出文献 J article
学位论文 D mastersthesisphdthesis
报告 R techreport
标准 S standard*
专利 P patent*
数据库 DB database*
计算机程序 CP software*
电子公告 EB online*
档案 A archive*
舆图 CM map*
数据集 DS dataset*
其他 Z misc

注:

  • 带 “*” 的类型不是 BibTeX 的标准文献类型。

著录项目

著录项目(域) Entry Field
主要责任者 author
题名 title
文献类型标识 mark*
载体类型标识 medium*
翻译者 translator*
编辑 editor
组织(用于会议) organization
图书题名 booktitle
系列 series
期刊题名 journal
版本 edition
出版地 address
出版者 publisher
学校(用于phdthesis) school
机构(用于techreport) institution
出版年 year
volume
期(或者专利号) number
引文页码 pages
更新或修改日期 date*
引用日期 urldate*
获取和访问路径 url
数字对象唯一标识符 doi
语言 langid*
拼音(用于排序) key

注:

  • 其中带星号的不是 BibTeX/natbib 的标准著录项目。
  • 不支持的 BibTeX 标准著录项目有 annote, chapter, crossref, month, type

参考文献著录标准

相关讨论

相关项目

About

GB/T 7714-2015 BibTeX Style

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TeX 96.0%
  • Shell 1.7%
  • Lua 1.2%
  • Other 1.1%