Skip to content

Commit

Permalink
update-to-v1.1p
Browse files Browse the repository at this point in the history
  • Loading branch information
hushidong committed Feb 9, 2024
1 parent 15db5aa commit 76f594b
Show file tree
Hide file tree
Showing 10 changed files with 583 additions and 121 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<b>Date of last change: 2023-09-10 to version v1.1o</b>
<b>Date of last change: 2024-02-10 to version v1.1p</b>


# biblatex-gb7714-2015: a biblatex style package
Expand All @@ -22,7 +22,11 @@ A biblatex implementation of the `GB/T 7714-2015` bibliography style for Chinese
The biblatex-gb7714-2015 package provides an implementation of the bibliography style of the `GB/T 7714-2015` bibliography style. This implementation follows `GB/T 7714-2015` standard, and can be used simply by loading biblatex with the appropriate option


biblatex-gb7714-2015 宏包是中文参考文献著录/标注标准 `GB/T 7714-2015` 的 biblatex 实现。它本质上是一个样式包,提供了顺序编码制和著者年份制样式,在 tex 文档中配合 biblatex 宏包使用,以生成满足《GB/T 7714-2015 信息与文献 参考文献著录规则》要求的参考文献。除了具备 biblatex 提供的不同于传统基于 bibtex 的参考文献解决方案的特点外,还具有如下特点:
biblatex-gb7714-2015 宏包是中文参考文献著录/标注标准 `GB/T 7714-2015` 的 biblatex 实现。它本质上是一个样式包,在 tex 文档中配合 biblatex 宏包使用,以生成满足《GB/T 7714-2015 信息与文献 参考文献著录规则》要求的参考文献。
宏包主要提供两种编制样式: 一、顺序编码制(gb7714-2015);二、著者-出版年制(gb7714-2015ay),能够精确实现国标提出的著录和标注格式。
另外提供: 两个老版国标样式(gb7714-2005/gb7714-2005ay、gb7714-1987/gb7714-1987ay);
两个特殊样式(一个文献表内中英文格式不同的gb7714-2015ms、 一个文档内顺序编码和作者年制混用的gb7714-2015mx); 三个典型文科期刊样式(经济学研究的chinese-erj、社会科学的chinese-css、管理世界的chinese-jmw); 以及几个明显有别于国标的特殊学位论文样式(西北农林的gb7714-NWAFU、华中师范的gb7714-CCNU、东南大学的gb7714-SEU)等。
宏包除了具备 biblatex 提供的不同于传统基于 bibtex 的参考文献解决方案外,还具有如下特点:

* 较强的兼容性。能够兼容 biblatex v2.8 以上版本;能够兼容国标样式的一些常用条目类型、数据域。

Expand Down Expand Up @@ -1356,6 +1360,8 @@ biblatex中处理顺序数字编码压缩的代码默认从3个连续编码开
- ![test-gbt-7714-2005.tex](example/test-gbt-7714-2005.tex) 测试GB/T7714-2005标准的样式
测试标注中本地化字符串、标点的中英文切换
- ![test-punct-quanjiao.tex](example/test-punct-quanjiao.tex) 测试标点中英文切换
- ![test-authoryear-date.tex](example/test-authoryear-date.tex) 测试著者-出版年制联机网络文献的“出版年”




Expand Down Expand Up @@ -1602,6 +1608,8 @@ please see the file 'biblatex-gb7714-2015.pdf' for further information!
* 2023/04/24 v1.1m,ctan,github
* 2023/05/24 v1.1n,ctan,github
* 2023/09/10 v1.1o,ctan,github
* 2024/02/10 v1.1p,ctan,github



---------------------------------------------------------
Expand Down
Binary file modified biblatex-gb7714-2015.pdf
Binary file not shown.
227 changes: 132 additions & 95 deletions biblatex-gb7714-2015.tex

Large diffs are not rendered by default.

182 changes: 182 additions & 0 deletions example.bib
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,188 @@ @online{egbookpubdateg--
urldate={2013-11-12},
}


@BOOK{李四1991--,
AUTHOR = {李四},
PUBLISHER = {经济出版社},
DATE = {1991},
TITLE = {论经济},
key={li3}
}

@book{胡长清1997,
title={中国民法总论},
author={胡长清},
authortype={},
publisher={中国民法总论},
year={1997},
pages={20},
}

@book{张新宝2016,
edition = {4},
title = {侵权责任法},
publisher = {中国人民大学出版社},
author = {张新宝},
authortype={主编},
date = {2016},
pages={100},
}

@book{Polo1997,
location = {Hertfordshire},
title = {The travels of Marco Polo},
publisher = {Cumberland House},
author = {Polo, Marco},
translator = {Marsden, William},
date = {1997},
}


@article{季卫东1993,
title = {法律程序的意义:对中国法制建设的另一种思考},
number = {1},
journaltitle = {中国社会科学},
author = {季卫东},
date = {1993},
}

@article{Li1999,
author = {李晓东 and 张庆红 and 叶瑾琳},
title = {气候学研究的若干理论问题},
journal = {北京大学学报: 自然科学版},
year = {1999},
volume = {35},
number = {1},
pages = {101--106}
}

@Article{li2013,
title = {Satellite-derived land surface temperature: Current status and perspectives},
volume = {131},
issn = {0034-4257},
url = {https://www.sciencedirect.com/science/article/pii/S0034425712004749},
doi = {10.1016/j.rse.2012.12.008},
shorttitle = {Satellite-derived land surface temperature},
pages = {14--37},
journaltitle = {Remote Sensing of Environment},
shortjournal = {Remote Sensing of Environment},
author = {Li, Zhaoliang and Tang, Bohui and Wu, Hua and Ren, Huazhong and Yan, Guangjian and Wan, Zhengming and Trigo, Isabel F. and Sobrino, José A.},
urldate = {2024-01-15},
date = {2013-04-15},
}

@article{Chamberlain1993,
title = {On the search for civil society in China},
volume = {19},
doi = {10.1177/009770049301900206},
pages = {199--215},
number = {2},
journaltitle = {Modern China},
shortjournal = {Mod. China},
author = {Chamberlain, Heath B.},
date = {1993-04},
}


@inproceedings{任东来2009,
location = {天津},
title = {对国际体制和国际制度的理解和翻译},
booktitle = {全球化与亚太区域化国际研讨会},
pages = {9},
author = {任东来},
date={2009},
editor={赵玮},
editortype={editor},
publisher={西安电子科技大学出版社}
}



@incollection{Schfield1983,
title = {The impact of scarcity and plenty on population change in England},
shorttitle = {Hunger and History},
pages = {55--88},
booktitle = {Hunger and history: The impact of changing food production and consumption pattern on society},
location = {Cambridge, Mass.},
publisher = {Cambridge University Press},
author = {Schfield, R. S.},
editor = {Rotberg, R. I. and Rabb, T. K.},
editortype={editor},
date = {1983},
}


@inproceedings{萨利斯2000,
author = {萨利斯}, %[美]萨利斯
author+an={1:=paperauthor},
author+an:nation={=American},
title = {想象的真理},
editor={安东尼·弗卢 and others}, %[英]
editor+an:nation={=Britain},
editortype={},
booktitle = {西方哲学演讲录},
translator={李超杰},
publisher={商务印书馆},
date={2000},
pages = {112},
}


@book{富勒2005,
title = {法律的道德性},
publisher = {商务印书馆},
author = {{[美]富勒}},
translator = {{郑戈}},
date = {2005},
pages={55}
}

@Newspaper{余建斌2013,
author = {余建斌},
date = {2013-01-12},
journal = {人民日报},
number = {2},
title = {我们的科技一直在追赶: 访中国工程院院长周济},
year = {2013},
}


@book{庄子天下,
title={庄子·天下},
}


@book{汉语词典,
location = {北京},
edition = {修订本},
title = {现代汉语词典},
publisher = {商务印书馆},
date = {1996},
pages={24}
}


@online{扬之水2007,
title = {两宋茶诗与茶事},
author = {扬之水},
urldate = {2007-09-13},
url = {http://www.literature.org.cn/Article.asp?ID=199},
langid = {pinyin},
}


@thesis{李松锋2015,
title = {游走在上帝与凯撒之间:美国宪法第一修正案中的政教关系研究},
institution = {中国政法大学},
type = {博士学位论文},
author = {李松锋},
date = {2015},
}




@Book{曹凌2011-19-,
author = {曹凌},
title = {中国佛教疑伪经综录},
Expand Down
82 changes: 82 additions & 0 deletions example/test-authoryear-date.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
\documentclass{article}
\usepackage{ctex}
\usepackage[backend=biber,style=gb7714-2015ay,sorting=none]{biblatex}%,mergedate=false

\usepackage{circledtext}
\circledtextset{resize=real,height=1.5ex}
%\DeclareFieldFormat{labelurlyear}{#1}
%\DeclareFieldFormat{labelyear}{【#1】}

\makeatletter
\renewcommand\thefootnote{\textbf{\circledtext*{\@arabic\c@footnote}}}
%\renewcommand\thefootnote{\textcircled{\@arabic\c@footnote}}
\makeatother

\begin{filecontents}[force,noheader]{\jobname.bib}
@legislation{gbt7714.04.6.2:02,
title = {关于转发北京市企业投资项目核准暂行实施办法的通知},
author = {北京市人民政府办公厅},
date = {2005-07-12},
number = {京政办发[2005]37号},
url = {http://china.findlaw.cn/fagui/p_1/39934.html},
urldate = {2011-07-12},
}

@online{gbt7714.04.6.2:04,
title = {About {OCLC}: History of Cooperation},
shorttitle = {About {OCLC}},
author = {{Online Computer Library Center, Inc.}},
url = {http://www.oclc.org/about/cooperation.en.html},
urldate = {2012-03-27},
}

@article{gbt7714.A.09:04,
entrysubtype = {newspaper},
title = {雾霾来袭, 如何突围?},
author = {刘, 裕国 and 杨, 柳 and 张, 洋 and 王, 汉超 and 靳, 博 and 田, 豆豆 and 付, 文},
date = {2013-01-12},
journaltitle = {人民日报},
url = {http://paper.people.com.cn/rmrb/html/2013-01/12/nw.D110000renmrb_20130112_2-04.htm},
urldate = {2013-11-06},
}

@Newspaper{张田勤2000--,
Title = {犯罪DNA库与生命伦理学计划},
Author = {张田勤},
Date = {2000-11-12},
Journaltitle = {大众科技报},
pages = {7}
}

@Article{丁文祥2000--,
Title = {数字革命与竞争国际化},
Author = {丁文祥},
Date = {2000-11-20},
Journaltitle = {中国青年报},
Number = {15},
entrysubtype = {newspaper},
}

@Article{陈建军2010-93-93,
Title = {从数字地球到智慧地球},
Author = {陈建军},
Journal = {国图资源导刊},
Number = {10},
Pages = {93},
Volume = {7},
Doi = {10.3969/j.issn.1672-5603.2010.10.038},
Url = {http://d.g.wanfangdata.com.cn},
Urldate = {2013-03-20},
Year = {2010}
}
\end{filecontents}
\addbibresource{\jobname.bib}


\begin{document}
\nocite{*}
文本\footnote{安保部}
文本\footnote{circledtext}

\printbibliography[heading=bibliography]
\end{document}
27 changes: 27 additions & 0 deletions example/updatehistory.tex
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,33 @@

%\updateinfo[latest]{date of update: }\label{up:latest}

\updateinfo[2024-02-10]{date of update: 2024-02-10 to version v1.1p}\label{up:20240210}
\begin{enumerate}

\item 支持用number或者pages域表示报纸的版面。(20231231)

support using the field number or pages as the Layout Number of newspapers.

\item 修改著者-年份制样式中报纸的出版日期输出。(20231231)

modify the output of newspaper's publication date for author-year style.

\item 著者-年份制中年份标签来自urldate时加上方括号。(20231231)

add bracket of the year label for author-year style when the label comes from urldate.

\item 增加域格式 labelyear 和 labelurlyear 控制著者-年份制中年份标签周围的符号。(20231231)

add field format labelyear and labelurlyear to control the wrapper of the year label for author-year style.

\item 增加支持类型mvbook,legislation。(20231231)

add support of entry types: mvbook, legislation.

\end{enumerate}



\updateinfo[2023-09-10]{date of update: 2023-09-10 to version v1.1o}\label{up:20230910}
\begin{enumerate}

Expand Down
Loading

0 comments on commit 76f594b

Please sign in to comment.