From bf83036c535abbf40fbb93c2c4520ae1beea0b81 Mon Sep 17 00:00:00 2001 From: hushidong Date: Sat, 3 Apr 2021 11:11:55 +0800 Subject: [PATCH] update-2021-0403-to-v1.0x --- README.md | 123 +++++++++++++++++++++++++++- egfigure/egciteaytab.tex | 2 +- egfigure/egciteaytp.tex | 12 +-- egfigure/egcitenumtp.tex | 2 +- egfigure/egcitesay.tex | 3 + egfigure/egcitesnum.tex | 3 + egfigure/egcitetab.tex | 2 +- egfigure/egcontentfmt.tex | 1 + egfigure/egcontentfmtb.tex | 1 + egfigure/egcontentfmtc.tex | 16 ++-- egfigure/egdoublelan.tex | 2 +- egfigure/egdoublelanb.tex | 2 +- egfigure/egfootstyle.tex | 4 +- egfigure/eggbfootstyle.tex | 4 +- egfigure/egmwe.tex | 4 + egfigure/egmxindfrefsec.tex | 123 ++++++++++++++++++++++++++++ egfigure/tgbbiblioms.tex | 2 +- egfigure/tgbcitation.tex | 1 + egfigure/tgbcitationms.tex | 3 +- egfigure/tngbcitationay.tex | 2 +- egfigure/tngbcitationaynew.tex | 2 +- egthesis/thesis-cau-numeric.tex | 2 +- egthesis/thesis-ecnu-numeric.tex | 2 +- egthesis/thesis-fdu-numeric.tex | 2 +- egthesis/thesis-nwafu-ay.tex | 4 + egthesis/thesis-seu-numeric.tex | 3 + egthesis/thesis-sjtu-numeric.tex | 2 +- egthesis/thesis-ustc-all.tex | 2 +- egthesis/thesis-ustc-authoryear.tex | 2 +- egthesis/thesis-ustc-numeric.tex | 2 +- egthesis/thesis-xjtu-numeric.tex | 2 +- egthesis/thesis-zju-numeric.tex | 2 +- example/opt-eg-dblang.tex | 3 + example/updatehistory.tex | 12 ++- gb7714-2015.bbx | 2 +- gb7714-2015.cbx | 2 +- gb7714-2015ay.bbx | 2 +- gb7714-2015ay.cbx | 2 +- gb7714-2015ms.bbx | 2 +- gb7714-2015ms.cbx | 2 +- gb7714-2015mx.bbx | 2 +- gb7714-2015mx.cbx | 2 +- 42 files changed, 321 insertions(+), 49 deletions(-) create mode 100644 egfigure/egmxindfrefsec.tex diff --git a/README.md b/README.md index b7891b6..3808085 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -Date of last change: 2021-01-19 to version v1.0w +Date of last change: 2021-04-03 to version v1.0x # biblatex-gb7714-2015: a biblatex style package @@ -1082,6 +1082,126 @@ biblatex中处理顺序数字编码压缩的代码默认从3个连续编码开 +### 6. 测试文件说明 + ++ egfigure + - ![egciteay.tex](egfigure\egciteay.tex) 测试gb7714-2015ay的标注样式,是否满足GB要求 + - ![egciteaytab.tex](egfigure\egciteaytab.tex) 测试gb7714-2015ay的标注样式,绘制成表用于biblatex-gb7714-2015.pdf + - ![egciteaytp.tex](egfigure\egciteaytp.tex) 测试gb7714-2015ay使用natbib的常用标注命令 + - ![egcitenum.tex](egfigure\egcitenum.tex) 测试gb7714-2015的标注样式,是否满足GB要求 + - ![egcitenumtp.tex](egfigure\egcitenumtp.tex) 测试gb7714-2015使用natbib的常用标注命令 + - ![egcitetab.tex](egfigure\egcitetab.tex) 测试gb7714-2015的标注样式,绘制成表用于biblatex-gb7714-2015.pdf + - ![egcitesay.tex](egfigure\egcitesay.tex) 测试gb7714-2015ay使用复数形式的命令 + - ![egcitesnum.tex](egfigure\egcitesnum.tex) 测试gb7714-2015使用复数形式的命令 + - ![egcontentfmt.tex](egfigure\egcontentfmt.tex) 测试gb7714-2015样式选项gbnamefmt=givenahead,gbbiblabel=dot,gbtitlelink=true + - ![egcontentfmtb.tex](egfigure\egcontentfmtb.tex) 测试gb7714-2015ms样式选项gbnamefmt=lowercase,gbstyle=false,sorting=nyt + - ![egcontentfmtc.tex](egfigure\egcontentfmtc.tex) 测试gb7714-2015ay样式选项maxcitenames=2,mincitenames=1,sorting=gbynta(UCAS-资环类) + - ![egdoublelan.tex](egfigure\egdoublelan.tex) 测试gb7714-2015样式实现的双语对照文献表,关联条目方法 + - ![egdoublelanb.tex](egfigure\egdoublelanb.tex) 测试gb7714-2015样式实现的双语对照文献表,关联条目方法,(gbnamefmt=pinyin 国内某期刊) + - ![eggbfootstyle.tex](egfigure\eggbfootstyle.tex) 测试gb7714-2015样式实现国标要求的脚注文献表 + - ![egfootstyle.tex](egfigure\egfootstyle.tex) 测试gb7714-2015样式一般的脚注文献表 + - ![egmsinabiblio.tex](egfigure\egmsinabiblio.tex) 测试gb7714-2015ms样式在一篇文档中使用两种格式设置,中文:GB,英文:biblatex标准样式 + - ![egmxindfrefsec.tex](egfigure\egmxindfrefsec.tex) 测试gb7714-2015mx样式在不同的参考文献分节中使用顺序编码和作者年制两种不同样式 + - ![egmultilan.tex](egfigure\egmultilan.tex) 测试gb7714-2015样式实现的多语言混合的文献表 + - ![egmwe.tex](egfigure\egmwe.tex) 测试gb7714-2015样式最小示例,用于biblatex-gb7714-2015.PDF + - ![egparfmt.tex](egfigure\egparfmt.tex) 测试gb7714-2015样式文献表段落格式设置,包括缩进,颜色,字体,间距等 + - ![tgbbiblio.tex](egfigure\tgbbiblio.tex) 实现GB/T 7714-2015 标准的附录的文献表示例(gb7714-2015样式) + - ![tgbbiblioms.tex](egfigure\tgbbiblioms.tex) 实现GB/T 7714-2015 标准的附录的文献表示例(gb7714-2015ms样式) + - ![tgbcitation.tex](egfigure\tgbcitation.tex) 实现GB/T 7714-2015 标准2-10节给出的顺序编码制示例(gb7714-2015样式) + - ![tgbcitationms.tex](egfigure\tgbcitationms.tex) 实现GB/T 7714-2015 标准2-10节给出的顺序编码制示例(gb7714-2015ms样式) + - ![tngbcitationay.tex](egfigure\tngbcitationay.tex) 实现GB/T 7714-2015 标准2-10节给出的著者年份制示例(gb7714-2015ay样式) + - ![tngbcitationaynew.tex](egfigure\tngbcitationaynew.tex) 实现GB/T 7714-2015 标准2-10节给出的著者年份制示例(gb7714-2015ay样式,nohashothers=true) ++ egphoto + - ![opt-citexref-false.tex](egphoto\opt-citexref-false.tex) 测试citexref=false选项 + - ![opt-citexref-true.tex](egphoto\opt-citexref-true.tex) 测试citexref=true选项 + - ![opt-gbalign-center.tex](egphoto\opt-gbalign-center.tex) 测试gbalign=center选项 + - ![opt-gbalign-gb.tex](egphoto\opt-gbalign-gb.tex) 测试gbalign=gb7714-2015选项 + - ![opt-gbalign-left.tex](egphoto\opt-gbalign-left.tex) 测试gbalign=left选项 + - ![opt-gbalign-right.tex](egphoto\opt-gbalign-right.tex) 测试gbalign=right选项 + - ![opt-gbannote-false.tex](egphoto\opt-gbannote-false.tex) 测试gbannote=false选项 + - ![opt-gbannote-true.tex](egphoto\opt-gbannote-true.tex) 测试gbannote=true选项 + - ![opt-gbannote-true.tex](egphoto\opt-gbannote-true.tex) 测试gbannote=true选项 + - ![opt-gbbiblabela.tex](egphoto\opt-gbbiblabela.tex) 测试gbbiblabel=box选项 + - ![opt-gbbiblabelb.tex](egphoto\opt-gbbiblabelb.tex) 测试gbbiblabel=bracket选项 + - ![opt-gbbiblabelc.tex](egphoto\opt-gbbiblabelc.tex) 测试gbbiblabel=parens选项 + - ![opt-gbbiblabeld.tex](egphoto\opt-gbbiblabeld.tex) 测试gbbiblabel=dot选项 + - ![opt-gbbiblabele.tex](egphoto\opt-gbbiblabele.tex) 测试gbbiblabel=plain选项 + - ![opt-gbbiblabelf.tex](egphoto\opt-gbbiblabelf.tex) 测试gbbiblabel=circle选项 + - ![opt-gbnoauthor-false.tex](egphoto\opt-gbnoauthor-false.tex) 测试gbnoauthor=false选项 + - ![opt-gbnoauthor-true.tex](egphoto\opt-gbnoauthor-true.tex) 测试gbnoauthor=true选项 + - ![opt-gbpub-false.tex](egphoto\opt-gbpub-false.tex) 测试gbpub=false选项 + - ![opt-gbpub-true.tex](egphoto\opt-gbpub-true.tex) 测试gbpub=true选项 + - ![opt-gbpunctin-false.tex](egphoto\opt-gbpunctin-false.tex) 测试gbpunctin=false选项 + - ![opt-gbpunctin-true.tex](egphoto\opt-gbpunctin-true.tex) 测试gbpunctin=true选项 + - ![opt-gbtitlelink-false.tex](egphoto\opt-gbtitlelink-false.tex) 测试gbtitlelink=false选项 + - ![opt-gbtitlelink-true.tex](egphoto\opt-gbtitlelink-true.tex) 测试gbtitlelink=true选项 + - ![opt-gbtype-false.tex](egphoto\opt-gbtype-false.tex) 测试gbtype=false选项 + - ![opt-gbtype-true.tex](egphoto\opt-gbtype-true.tex) 测试gbtype=true选项 + - ![opt-mergedate-a.tex](egphoto\opt-mergedate-a.tex) 测试mergedate默认选项(gb7714-2015ay) + - ![opt-mergedate-b.tex](egphoto\opt-mergedate-b.tex) 测试mergedate=true选项(gb7714-2015ay) + - ![opt-mergedate-c.tex](egphoto\opt-mergedate-c.tex) 测试mergedate=false选项(gb7714-2015ay) + - ![opt-mergedate-d.tex](egphoto\opt-mergedate-d.tex) 测试mergedate=none选项(gb7714-2015ay) ++ egthesis + - ![thesis-bupt-numeric.tex](egthesis\thesis-bupt-numeric.tex) + - ![thesis-cau-numeric.tex](egthesis\thesis-cau-numeric.tex) + - ![thesis-ecnu-numeric.tex](egthesis\thesis-ecnu-numeric.tex) + - ![thesis-fdu-numeric.tex](egthesis\thesis-fdu-numeric.tex) + - ![thesis-nwafu-ay.tex](egthesis\thesis-nwafu-ay.tex) 测试西北农林科技大学(可以参考:特殊的ay样式调整) + - ![thesis-seu-numeric.tex](egthesis\thesis-seu-numeric.tex) 测试东南大学(可以参考:gb7714-2015样式调整) + - ![thesis-sjtu-numeric.tex](egthesis\thesis-sjtu-numeric.tex) + - ![thesis-thu-author-year.tex](egthesis\thesis-thu-author-year.tex) + - ![thesis-thu-numeric.tex](egthesis\thesis-thu-numeric.tex) + - ![thesis-tongji.tex](egthesis\thesis-tongji.tex) + - ![thesis-ucas-m.tex](egthesis\thesis-ucas-m.tex) 测试中科院大学(可以参考:ay样式调整) + - ![thesis-ucas-x.tex](egthesis\thesis-ucas-x.tex) + - ![thesis-uibe-numeric.tex](egthesis\thesis-uibe-numeric.tex) 测试对外经贸大学(可以参考:中文标点、卷期格式;中英文不同) + - ![thesis-ustc-all.tex](egthesis\thesis-ustc-all.tex) 测试中科大(可以参考:一文中使用两种样式) + - ![thesis-ustc-authoryear.tex](egthesis\thesis-ustc-authoryear.tex) + - ![thesis-ustc-numeric.tex](egthesis\thesis-ustc-numeric.tex) + - ![thesis-xjtu-numeric.tex](egthesis\thesis-xjtu-numeric.tex) + - ![thesis-zju-numeric.tex](egthesis\thesis-zju-numeric.tex) + - ![thesistest.tex](egthesis\thesistest.tex) ++ example + - ![cls-beamer.tex](example\cls-beamer.tex) 测试beamer中的使用(gb7714-2015样式) + - ![cls-beameray.tex](example\cls-beameray.tex) 测试beamer中的使用(gb7714-2015ay样式) + - ![codeopt-gbcodegbk.tex](example\codeopt-gbcodegbk.tex) 测试gb7714-2015、ay样式,对于GBK编码文档的兼容性 + - ![eg-opt-gbstyle.tex](example\eg-opt-gbstyle.tex) 测试gb7714-2015ms样式一篇文档中中英文两种格式设置,多语言对照,多语言混合文献表 + - ![testallformat.tex](example\testallformat.tex) 测试全面的类型、格式 + - ![egtest.tex](example\egtest.tex) 测试示例 + - ![opt-autolang-multilan.tex](example\opt-autolang-multilan.tex) 测试多语言混合的文献表,各语言不同的本地化字符串 + - ![opt-eg-multilan.tex](example\opt-eg-multilan.tex) 测试多语言混合的文献表 + - ![opt-eg-authoryear.tex](example\opt-eg-authoryear.tex) 测试ay样式 + - ![opt-eg-dblang.tex](example\opt-eg-dblang.tex) 测试双语对照文献-两种方法(条目集、关联条目) + - ![opt-gbalign-center.tex](example\opt-gbalign-center.tex) 测试gbalign选项 + - ![opt-gbalign-gb.tex](example\opt-gbalign-gb.tex) 测试gbalign选项 + - ![opt-gbalign-left.tex](example\opt-gbalign-left.tex) 测试gbalign选项 + - ![opt-gbannote.tex](example\opt-gbannote.tex) 测试gbannote选项,在文献表中加上附加信息用以说明三大索引情况 + - ![opt-gbbiblabel.tex](example\opt-gbbiblabel.tex) 测试gbbiblabel选项 + - ![opt-gbctexset.tex](example\opt-gbctexset.tex) 测试gbctexset选项,使可以利用ctex的设置对文献表的标题进行修改 + - ![opt-gbfieldstd.tex](example\opt-gbfieldstd.tex) 测试gbfiledstd选项,著录格式还原为biblatex标准样式的格式 + - ![opt-gbfootbib.tex](example\opt-gbfootbib.tex) 测试实现国标要求的脚注文献表 + - ![opt-gblanorder-chineseahead.tex](example\opt-gblanorder-chineseahead.tex) 测试文献表排序,中文在前 + - ![opt-gblanorder-englishahead.tex](example\opt-gblanorder-englishahead.tex) 测试文献表排序,英文在前 + - ![opt-gblanorder-udforder.tex](example\opt-gblanorder-udforder.tex) 测试文献表排序,自定义顺序 + - ![opt-sorting-multilan.tex](example\opt-sorting-multilan.tex) 测试多语言混合文献表排序 + - ![opt-gblocal.tex](example\opt-gblocal.tex) 测试本地化字符串设置(引用标注标签、文献表) + - ![test-setlocal.tex](example\test-setlocal.tex) 测试本地化字符串设置(多种方法局部调整) + - ![test-setlocal-multilan.tex](example\test-setlocal-multilan.tex) 测试本地化字符串设置(多种语言的局部调整) + - ![opt-gbnamefmt.tex](example\opt-gbnamefmt.tex) 测试gbnamefmt对于作者姓名格式的控制 + - ![opt-gbnamefmt-default.tex](example\opt-gbnamefmt-default.tex) 测试gbnamefmt对于作者姓名格式的控制 + - ![opt-gbnamefmt-quanpin.tex](example\opt-gbnamefmt-quanpin.tex) 测试gbnamefmt对于作者姓名格式的控制 + - ![opt-gbnoauthor-false.tex](example\opt-gbnoauthor-false.tex) 测试gbnoauthor选项 + - ![opt-gbnoauthor-true.tex](example\opt-gbnoauthor-true.tex) 测试gbnoauthor选项 + - ![opt-gbpub-true.tex](example\opt-gbpub-true.tex) 测试gbpub选项 + - ![opt-gbpunctin.tex](example\opt-gbpunctin.tex) 测试gbpunctin选项 + - ![opt-gbtitlelink.tex](example\opt-gbtitlelink.tex) 测试gbtitlelink选项 + - ![opt-gbtype.tex](example\opt-gbtype.tex) 测试gbtype选项 + - ![opt-hyperref-backref.tex](example\opt-hyperref-backref.tex) 测试backrref选项,反向超链接 + - ![teststyleerj.tex](example\teststyleerj.tex) 测试chinese-erj样式 + - ![test-translator-in-other-lan.tex](example\test-translator-in-other-lan.tex) 测试译著的其它语言的译者格式 + - ![test-space-after-citelabel-inCJKline.tex](example\test-space-after-citelabel-inCJKline.tex) 测试删除标注后因为xeCJK加入的空格 + + --------------------------------------------------------- @@ -1307,6 +1427,7 @@ please see the file 'biblatex-gb7714-2015.pdf' for further information! * 2020/03/30 v1.0u * 2020/07/21 v1.0v,ctan * 2021/01/19 v1.0w,ctan +* 2021/04/03 v1.0x,ctan diff --git a/egfigure/egciteaytab.tex b/egfigure/egciteaytab.tex index e221667..c4fd1a8 100644 --- a/egfigure/egciteaytab.tex +++ b/egfigure/egciteaytab.tex @@ -1,6 +1,6 @@ % !Mode:: "TeX:UTF-8" -% 用于测试gb7714-2015ay的标注样式,是否满足GB要求 +% 用于测试gb7714-2015ay的标注样式,绘制成表用于biblatex-gb7714-2015.pdf \documentclass{article} \usepackage{ctex} \usepackage{xcolor} diff --git a/egfigure/egciteaytp.tex b/egfigure/egciteaytp.tex index 485e4d5..cd3ad36 100644 --- a/egfigure/egciteaytp.tex +++ b/egfigure/egciteaytp.tex @@ -1,6 +1,6 @@ % !Mode:: "TeX:UTF-8" -% 用于测试gb7714-2015ay的配合natbib模块,使用natbib的常用标注命令 +% 用于测试gb7714-2015ay使用natbib的常用标注命令 \documentclass{article} \usepackage{ctex} \usepackage{xcolor} @@ -116,16 +116,16 @@ citep命令:\citep{Peebles2001-100-100},\citep{赵学功2001--}, \citep{蔡敏2006--},\citep{Miroslav2004--},\citep[100-108]{蔡敏2006--},\citep[205-208]{蔡敏2006--}。 - + citet命令:\citet[100]{Peebles2001-100-100} ,\citet{赵学功2001--},\citet{蔡敏2006--}, \citet{Miroslav2004--},\citet[100-108]{蔡敏2006--}, \citet[205-208]{蔡敏2006--}。 - + citepns命令:\citepns[205-208]{蔡敏2006--}。 - + citetns命令:\citetns[205-208]{蔡敏2006--}。 ------------------------ @@ -141,9 +141,9 @@ ------------------------ 文献\textcite[205-208]{蔡敏2006--,赵学功2001--}。 - + 文献\textcite[205-208]{蔡敏2006--,蔡敏2006b--,蔡敏2006a--}。 - + 文献\textcite[205-208]{蔡敏2006--,蔡敏2006b--,蔡敏2006a--,赵学功2001--}。 ------------------------ diff --git a/egfigure/egcitenumtp.tex b/egfigure/egcitenumtp.tex index 22b0ce8..e57e242 100644 --- a/egfigure/egcitenumtp.tex +++ b/egfigure/egcitenumtp.tex @@ -1,6 +1,6 @@ % !Mode:: "TeX:UTF-8" -% 用于测试gb7714-2015的配合natbib模块,使用natbib的常用标注命令 +% 用于测试gb7714-2015使用natbib的常用标注命令 \documentclass{article} \usepackage{ctex} \usepackage{xcolor} diff --git a/egfigure/egcitesay.tex b/egfigure/egcitesay.tex index 46fc83b..a7170da 100644 --- a/egfigure/egcitesay.tex +++ b/egfigure/egcitesay.tex @@ -1,3 +1,6 @@ + +% !Mode:: "TeX:UTF-8" +% 用于测试gb7714-2015ay使用复数形式的命令 \documentclass{article} \usepackage{ctex} diff --git a/egfigure/egcitesnum.tex b/egfigure/egcitesnum.tex index c4e5c79..e6edcbe 100644 --- a/egfigure/egcitesnum.tex +++ b/egfigure/egcitesnum.tex @@ -1,3 +1,6 @@ + +% !Mode:: "TeX:UTF-8" +% 用于测试gb7714-2015使用复数形式的命令 \documentclass{article} \usepackage{ctex} diff --git a/egfigure/egcitetab.tex b/egfigure/egcitetab.tex index ea3906a..8f854e0 100644 --- a/egfigure/egcitetab.tex +++ b/egfigure/egcitetab.tex @@ -1,6 +1,6 @@ % !Mode:: "TeX:UTF-8" -% 用于测试gb7714-2015ay的标注样式,是否满足GB要求 +% 用于测试gb7714-2015的标注样式,绘制成表用于biblatex-gb7714-2015.pdf \documentclass{article} \usepackage{ctex} \usepackage{xcolor} diff --git a/egfigure/egcontentfmt.tex b/egfigure/egcontentfmt.tex index dd1f6a6..5658f20 100644 --- a/egfigure/egcontentfmt.tex +++ b/egfigure/egcontentfmt.tex @@ -1,6 +1,7 @@ % !Mode:: "TeX:UTF-8" % 用于测试gb7714-2015样式,利用biblatex和样式定义的各种选项来控制文献表条目内容的格式 +% gbnamefmt=givenahead,gbbiblabel=dot,gbtitlelink=true \documentclass{article} \usepackage{ctex} \usepackage{xcolor} diff --git a/egfigure/egcontentfmtb.tex b/egfigure/egcontentfmtb.tex index d21c42c..1337ee5 100644 --- a/egfigure/egcontentfmtb.tex +++ b/egfigure/egcontentfmtb.tex @@ -1,6 +1,7 @@ % !Mode:: "TeX:UTF-8" % 用于测试gb7714-2015ms样式,利用biblatex和样式定义的各种选项来控制文献表条目内容的格式 +%选项gbnamefmt=lowercase,gbstyle=false,sorting=nyt \documentclass{article} \usepackage{ctex} \usepackage{xcolor} diff --git a/egfigure/egcontentfmtc.tex b/egfigure/egcontentfmtc.tex index 3a75146..ef80cda 100644 --- a/egfigure/egcontentfmtc.tex +++ b/egfigure/egcontentfmtc.tex @@ -12,15 +12,15 @@ \usepackage{xltxtra,mflogo,texnames} %\usepackage[backend=biber,style=gb7714-2015,gbnamefmt=givenahead, %gbpub=false,gbbiblabel=box,gbtitlelink=true]{biblatex}%sorting=nyt -\usepackage[backend=biber,style=gb7714-2015,gbnamefmt=lowercase,maxcitenames=2,mincitenames=1, -sortcites=false,sorting=gbynta,gbcitelocal=english]{biblatex} +\usepackage[backend=biber,style=gb7714-2015ay,gbnamefmt=lowercase,maxcitenames=2,mincitenames=1, +sortcites=false,sorting=gbynta]{biblatex} \renewcommand{\bibauthorfont}{\color{violet}}% -%\DefineBibliographyStrings{english}{ -% andincite = {和}, -% andincitecn = {和}, -% andothersincitecn = {等}, -% andothersincite = {等{\adddot}},%adddot才能避开标点追踪 -%} +\DefineBibliographyStrings{english}{ + andincite = {和}, + andincitecn = {和}, + andothersincitecn = {等}, + andothersincite = {等{\adddot}},%adddot才能避开标点追踪 +} %\renewcommand{\bibfont}{\small} \setlength{\bibitemsep}{2pt} \usepackage{filecontents} diff --git a/egfigure/egdoublelan.tex b/egfigure/egdoublelan.tex index d59cc68..7380290 100644 --- a/egfigure/egdoublelan.tex +++ b/egfigure/egdoublelan.tex @@ -1,6 +1,6 @@ % !Mode:: "TeX:UTF-8" -% 用于测试gb7714-2015样式,实现的双语对照文献表 +% 用于测试gb7714-2015样式,实现的双语对照文献表,关联条目方法 \documentclass{article}% \usepackage{ctex} \usepackage{xcolor} diff --git a/egfigure/egdoublelanb.tex b/egfigure/egdoublelanb.tex index 178835e..02d2622 100644 --- a/egfigure/egdoublelanb.tex +++ b/egfigure/egdoublelanb.tex @@ -1,6 +1,6 @@ % !Mode:: "TeX:UTF-8" -% 用于测试gb7714-2015样式,实现的双语对照文献表 +% 用于测试gb7714-2015样式,实现的双语对照文献表,关联条目方法 % 这是国内某一期刊要求的文献表格式 \documentclass{article} \usepackage{ctex} diff --git a/egfigure/egfootstyle.tex b/egfigure/egfootstyle.tex index 4c5eb2a..60b7de4 100644 --- a/egfigure/egfootstyle.tex +++ b/egfigure/egfootstyle.tex @@ -1,6 +1,6 @@ % !Mode:: "TeX:UTF-8" -% 用于测试gb7714-2015样式,能否对实现国标要求的脚注文献表 +% 用于测试gb7714-2015样式,一般的脚注文献表 \documentclass{article} \usepackage{ctex} \usepackage{xcolor} @@ -9,7 +9,7 @@ \usepackage{lipsum} \usepackage[paperwidth=15cm,paperheight=6.5cm,top=10pt,bottom=10pt,left=0.5cm,right=0.5cm]{geometry} \usepackage{xltxtra,mflogo,texnames} -\usepackage[backend=biber,style=gb7714-2015,gbfootbib=true]{biblatex} +\usepackage[backend=biber,style=gb7714-2015]{biblatex} \addbibresource{example.bib} diff --git a/egfigure/eggbfootstyle.tex b/egfigure/eggbfootstyle.tex index c98989a..91aaae2 100644 --- a/egfigure/eggbfootstyle.tex +++ b/egfigure/eggbfootstyle.tex @@ -1,6 +1,6 @@ % !Mode:: "TeX:UTF-8" -% 用于测试gb7714-2015样式,能否对实现国标要求的脚注文献表 +% 用于测试gb7714-2015样式实现国标要求的脚注文献表 \documentclass{article} \usepackage{ctex} \usepackage{xcolor} @@ -9,7 +9,7 @@ \usepackage{lipsum} \usepackage[paperwidth=15cm,paperheight=6.5cm,top=10pt,bottom=10pt,left=0.5cm,right=0.5cm]{geometry} \usepackage{xltxtra,mflogo,texnames} -\usepackage[backend=biber,style=gb7714-2015]{biblatex} +\usepackage[backend=biber,style=gb7714-2015,gbfootbib=true]{biblatex} \addbibresource{example.bib} diff --git a/egfigure/egmwe.tex b/egfigure/egmwe.tex index 300f440..ea52885 100644 --- a/egfigure/egmwe.tex +++ b/egfigure/egmwe.tex @@ -1,3 +1,7 @@ + +% !Mode:: "TeX:UTF-8" +% 用于 + \documentclass{article} \usepackage{ctex} \usepackage{hyperref} diff --git a/egfigure/egmxindfrefsec.tex b/egfigure/egmxindfrefsec.tex new file mode 100644 index 0000000..3564325 --- /dev/null +++ b/egfigure/egmxindfrefsec.tex @@ -0,0 +1,123 @@ + +% !Mode:: "TeX:UTF-8" +% 用于测试gb7714-2015mx的在不同的参考文献分节中使用不用的样式,主要是顺序编码和作者年制 +%测试gb7714-2015mx样式在不同的参考文献分节中使用顺序编码和作者年制两种不同样式 +\documentclass{article} +\usepackage{ctex} +\usepackage{xcolor} +\usepackage{etoolbox} +\usepackage[colorlinks]{hyperref} +\usepackage{lipsum} +\usepackage[paperwidth=16cm,paperheight=14cm,top=10pt,bottom=10pt,left=0.5cm,right=0.5cm]{geometry} +\usepackage{xltxtra,mflogo,texnames} +\usepackage[backend=biber,style=gb7714-2015mx]{biblatex}%sorting=nyt + +\setaystylesection{2} +\renewcommand{\bibfont}{\small} +\defbibheading{subbibliography}[\refname]{% +\centering\paragraph*{#1}}% +\usepackage{filecontents} +\begin{filecontents}{\jobname.bib} + +@Book{Yi2013--, + Title = {Supersonic and hypersonic nozzle design}, + Address = {Beijing}, + Author = {Yi, Shi he and Zhao, Yu xin and He, Lin and Zhang, Min li}, + Publisher = {National Defense Industry Press}, + Year = {2013}, + aysections ={2}, + styleaysection ={{2}{3}}, +} + +@Report{WHO1970--, + Title = {Factors regulating the immune response}, + Author = {{World Health Organization}}, + Date = {1970}, + Institution = {WHO}, + Location = {Geneva}, + Titleaddon = {report of WHO Scientific Group} +} + +@Inproceedings{FOURNEY1971-17-38, + Title = {Advances in holographic photoelasticity}, + Author = {M E FOURNEY}, + Booktitle = {Symposium on Applications of Holography in Mechanics, August 23-25, 1971, University of Southern California, Los Angeles, California}, + Date = {1971}, + Pages = {17-38}, + Publisher = {ASME}, + Location = {New York} +} + + @Article{abx2007-500-503, + Title = {超声速短化喷管的设计和试验研究}, + Author = {张敏莉 and 易仕和 and 赵玉新 and 李明}, + Journal = {空气动力学报}, + Year = {2007}, + Number = {4}, + Pages = {500-503}, + Volume = {25}, + language = {chinese} + } + + + + @BOOK{张伯伟2002--, + AUTHOR = {张伯伟}, + LOCATION = {南京}, + PUBLISHER = {江苏古籍出版社}, + DATE = {2002}, + KEYWORDS = {张伯伟2002--}, + PAGES = {288}, + TITLE = {全唐五代诗格会考}, + language = {chinese} +} + +\end{filecontents} + +\addbibresource{\jobname.bib} +%\renewcommand{\thefootnote}{\textcircled{\tiny\arabic{footnote}}} + +\begin{document} +%\subsection*{\S 不同文献节采用不同的文献样式} + +\noindent\parbox{15cm}{ +\begin{refsection} +文献\cite{Yi2013--} +\parencite{WHO1970--} +\cite{FOURNEY1971-17-38} + +\vspace{-0.5cm} +\printbibliography[heading=subbibliography,title={节一:用顺序编码制}] +\end{refsection} +} + +\noindent\rule{1.05\linewidth}{0.4pt} + +\noindent\parbox{15cm}{ +\begin{refsection} +文献\cite{FOURNEY1971-17-38}; +\parencite{abx2007-500-503}; +\textcite{张伯伟2002--} + +\vspace{-0.5cm} +\printbibliography[heading=subbibliography,title={节二:用著者年份制}]%[env=bibliographyay] +\end{refsection} +} + +\noindent\rule{1.05\linewidth}{0.4pt} + +\noindent\parbox{15cm}{ +\begin{refsection} +文献\cite{Yi2013--} +\parencite{abx2007-500-503} +\cite{张伯伟2002--} + +\vspace{-0.5cm} +\printbibliography[heading=subbibliography,title={节三:用顺序编码制}] +\end{refsection} +} + + + + +\end{document} \ No newline at end of file diff --git a/egfigure/tgbbiblioms.tex b/egfigure/tgbbiblioms.tex index 211d84e..f2bd215 100644 --- a/egfigure/tgbbiblioms.tex +++ b/egfigure/tgbbiblioms.tex @@ -1,6 +1,6 @@ % !Mode:: "TeX:UTF-8" -% 用于测试gb7714-2015样式,实现GB/T 7714-2015 标准的附录的文献表示例 +% 用于测试gb7714-2015ms样式,实现GB/T 7714-2015 标准的附录的文献表示例 \documentclass{article} \usepackage{ctex} \usepackage{xcolor} diff --git a/egfigure/tgbcitation.tex b/egfigure/tgbcitation.tex index be5906e..916d7e1 100644 --- a/egfigure/tgbcitation.tex +++ b/egfigure/tgbcitation.tex @@ -1,6 +1,7 @@ % !Mode:: "TeX:UTF-8" % 用于测试gb7714-2015样式,实现GB/T 7714-2015 标准说明中给出的顺序编码制示例 +%测试实现GB/T 7714-2015 标准2-10节给出的顺序编码制示例 \documentclass{article} \usepackage{ctex} \usepackage[russian,french,english]{babel} diff --git a/egfigure/tgbcitationms.tex b/egfigure/tgbcitationms.tex index 1608b5d..9a3d52a 100644 --- a/egfigure/tgbcitationms.tex +++ b/egfigure/tgbcitationms.tex @@ -1,6 +1,7 @@ % !Mode:: "TeX:UTF-8" -% 用于测试gb7714-2015样式,实现GB/T 7714-2015 标准说明中给出的顺序编码制示例 +% 用于测试gb7714-2015ms样式,实现GB/T 7714-2015 标准说明中给出的顺序编码制示例 +%测试实现GB/T 7714-2015 标准2-10节给出的顺序编码制示例 \documentclass{article} \usepackage{ctex} \usepackage[russian,french,english]{babel} diff --git a/egfigure/tngbcitationay.tex b/egfigure/tngbcitationay.tex index d83af51..96b760e 100644 --- a/egfigure/tngbcitationay.tex +++ b/egfigure/tngbcitationay.tex @@ -1,6 +1,6 @@ % !Mode:: "TeX:UTF-8" -% 用于测试gb7714-2015样式,实现GB/T 7714-2015 标准说明中给出的著者年份制示例 +% 用于测试gb7714-2015ay样式,实现GB/T 7714-2015 标准说明中给出的著者年份制示例 \documentclass{article} \usepackage{ctex} \usepackage{xcolor} diff --git a/egfigure/tngbcitationaynew.tex b/egfigure/tngbcitationaynew.tex index 9a6d886..8b077a4 100644 --- a/egfigure/tngbcitationaynew.tex +++ b/egfigure/tngbcitationaynew.tex @@ -1,6 +1,6 @@ % !Mode:: "TeX:UTF-8" -% 用于测试gb7714-2015样式,实现GB/T 7714-2015 标准说明中给出的著者年份制示例 +% 用于测试gb7714-2015ay样式,实现GB/T 7714-2015 标准说明中给出的著者年份制示例 \documentclass{article} \usepackage{ctex} \usepackage{xcolor} diff --git a/egthesis/thesis-cau-numeric.tex b/egthesis/thesis-cau-numeric.tex index 21316bf..b50790d 100644 --- a/egthesis/thesis-cau-numeric.tex +++ b/egthesis/thesis-cau-numeric.tex @@ -1,7 +1,7 @@ % !Mode:: "TeX:UTF-8" -% 用于测试ucasthesis中应用biblatex-gb7714-2015的情况 +% 用于测试CAU中应用biblatex-gb7714-2015的情况 % \documentclass[twoside]{article} diff --git a/egthesis/thesis-ecnu-numeric.tex b/egthesis/thesis-ecnu-numeric.tex index 67a48d2..aa0b500 100644 --- a/egthesis/thesis-ecnu-numeric.tex +++ b/egthesis/thesis-ecnu-numeric.tex @@ -1,7 +1,7 @@ % !Mode:: "TeX:UTF-8" -% 用于测试ucasthesis中应用biblatex-gb7714-2015的情况 +% 用于测试ECNU中应用biblatex-gb7714-2015的情况 % \documentclass[twoside]{article} diff --git a/egthesis/thesis-fdu-numeric.tex b/egthesis/thesis-fdu-numeric.tex index 52fade9..3f43f94 100644 --- a/egthesis/thesis-fdu-numeric.tex +++ b/egthesis/thesis-fdu-numeric.tex @@ -1,5 +1,5 @@ % !Mode:: "TeX:UTF-8" -% 用于测试ucasthesis中应用biblatex-gb7714-2015的情况 +% 用于测试FDU中应用biblatex-gb7714-2015的情况 % \documentclass[twoside]{article} diff --git a/egthesis/thesis-nwafu-ay.tex b/egthesis/thesis-nwafu-ay.tex index 4d4fec3..ed550a5 100644 --- a/egthesis/thesis-nwafu-ay.tex +++ b/egthesis/thesis-nwafu-ay.tex @@ -1,3 +1,7 @@ + +% !Mode:: "TeX:UTF-8" +% 用于测试gb7714-2015ay样式,实现一种西北农林科技大学文献表格式 + \documentclass{article} \usepackage{ctex} \usepackage{boxedminipage2e} diff --git a/egthesis/thesis-seu-numeric.tex b/egthesis/thesis-seu-numeric.tex index 5d83ee1..d7eb3d7 100644 --- a/egthesis/thesis-seu-numeric.tex +++ b/egthesis/thesis-seu-numeric.tex @@ -1,3 +1,6 @@ + +% !Mode:: "TeX:UTF-8" +% 用于测试gb7714-2015ms样式,实现一种东南大学文献表格式 \documentclass{article} \usepackage{ctex} diff --git a/egthesis/thesis-sjtu-numeric.tex b/egthesis/thesis-sjtu-numeric.tex index 6db510a..194ff27 100644 --- a/egthesis/thesis-sjtu-numeric.tex +++ b/egthesis/thesis-sjtu-numeric.tex @@ -1,7 +1,7 @@ % !Mode:: "TeX:UTF-8" -% 用于测试ucasthesis中应用biblatex-gb7714-2015的情况 +% 用于测试SJTU中应用biblatex-gb7714-2015的情况 % \documentclass[twoside]{article} diff --git a/egthesis/thesis-ustc-all.tex b/egthesis/thesis-ustc-all.tex index 96876ae..f979ef6 100644 --- a/egthesis/thesis-ustc-all.tex +++ b/egthesis/thesis-ustc-all.tex @@ -1,7 +1,7 @@ % !Mode:: "TeX:UTF-8" -% 用于测试ucasthesis中应用biblatex-gb7714-2015的情况 +% 用于测试ustc中应用biblatex-gb7714-2015的情况 % \documentclass[twoside]{article} diff --git a/egthesis/thesis-ustc-authoryear.tex b/egthesis/thesis-ustc-authoryear.tex index 4852cc3..22ba2bd 100644 --- a/egthesis/thesis-ustc-authoryear.tex +++ b/egthesis/thesis-ustc-authoryear.tex @@ -1,7 +1,7 @@ % !Mode:: "TeX:UTF-8" -% 用于测试ucasthesis中应用biblatex-gb7714-2015的情况 +% 用于测试ustc中应用biblatex-gb7714-2015的情况 % \documentclass[twoside]{article} diff --git a/egthesis/thesis-ustc-numeric.tex b/egthesis/thesis-ustc-numeric.tex index e66911a..15e03c3 100644 --- a/egthesis/thesis-ustc-numeric.tex +++ b/egthesis/thesis-ustc-numeric.tex @@ -1,7 +1,7 @@ % !Mode:: "TeX:UTF-8" -% 用于测试ucasthesis中应用biblatex-gb7714-2015的情况 +% 用于测试ustc中应用biblatex-gb7714-2015的情况 % \documentclass[twoside]{article} diff --git a/egthesis/thesis-xjtu-numeric.tex b/egthesis/thesis-xjtu-numeric.tex index 469b7ee..4f9694a 100644 --- a/egthesis/thesis-xjtu-numeric.tex +++ b/egthesis/thesis-xjtu-numeric.tex @@ -1,5 +1,5 @@ % !Mode:: "TeX:UTF-8" -% 用于测试ucasthesis中应用biblatex-gb7714-2015的情况 +% 用于测试XJTU中应用biblatex-gb7714-2015的情况 % \documentclass[twoside]{article} diff --git a/egthesis/thesis-zju-numeric.tex b/egthesis/thesis-zju-numeric.tex index c3feffe..3874a5b 100644 --- a/egthesis/thesis-zju-numeric.tex +++ b/egthesis/thesis-zju-numeric.tex @@ -1,5 +1,5 @@ % !Mode:: "TeX:UTF-8" -% 用于测试ucasthesis中应用biblatex-gb7714-2015的情况 +% 用于测试zju中应用biblatex-gb7714-2015的情况 % \documentclass[twoside]{article} diff --git a/example/opt-eg-dblang.tex b/example/opt-eg-dblang.tex index 1c788ba..3bcf0fe 100644 --- a/example/opt-eg-dblang.tex +++ b/example/opt-eg-dblang.tex @@ -1,3 +1,6 @@ + +% 测试双语对照文献-两种方法 + \documentclass[twoside]{article} \usepackage{ctex} \usepackage{xcolor} diff --git a/example/updatehistory.tex b/example/updatehistory.tex index c8db77f..3e33332 100644 --- a/example/updatehistory.tex +++ b/example/updatehistory.tex @@ -1,7 +1,11 @@ %更新历史仅给出更新针对的问题,相应的处理代码和解释不在此给出,详见提示对应的说明文档内容 -\updateinfo[latest]{date of update: }\label{up:latest} +%\updateinfo[latest]{date of update: }\label{up:latest} + + +\updateinfo[2021-04-03]{date of update: 2021-04-03 to version v1.0x}\label{up:20210403} + \begin{enumerate} @@ -27,14 +31,14 @@ \item 去除中文行内上标标注后面因xeCJK自动添加的空白。(20210401) remove the space after the superscript citation in chinese line automatically added by xeCJK. - + \end{enumerate} -\updateinfo[2021-01-19]{date of update: 2020-01-19 to version v1.0v}\label{up:2020119} +\updateinfo[2021-01-19]{date of update: 2021-01-19 to version v1.0w}\label{up:20210119} \begin{enumerate} @@ -59,7 +63,7 @@ -\updateinfo[2020-07-21]{date of update: 2020-07-21 to version v1.0v}\label{up:2020721} +\updateinfo[2020-07-21]{date of update: 2020-07-21 to version v1.0v}\label{up:20200721} \begin{enumerate} diff --git a/gb7714-2015.bbx b/gb7714-2015.bbx index f68ff7e..40065b5 100644 --- a/gb7714-2015.bbx +++ b/gb7714-2015.bbx @@ -11,7 +11,7 @@ % % 版本和时间信息 % -\def\versionofgbtstyle{2021/01/19 v1.0w} +\def\versionofgbtstyle{2021/04/03 v1.0x} \def\versionofbiblatex{\abx@version} \ProvidesFile{gb7714-2015.bbx}[\versionofgbtstyle biblatex bibliography style] %\RequireBiber[3]%显式指定用biber后端,当用bibtex时会报错,但其实不会影响编译,只是采用bibtex后无法达成格式需求 diff --git a/gb7714-2015.cbx b/gb7714-2015.cbx index 2322e74..9ce600b 100644 --- a/gb7714-2015.cbx +++ b/gb7714-2015.cbx @@ -7,7 +7,7 @@ %% Released under the LaTeX Project Public License v1.3c or later %% --------------------------------------------------------------- %% -\def\versionofgbtstyle{2021/01/19 v1.0w} +\def\versionofgbtstyle{2021/04/03 v1.0x} \ProvidesFile{gb7714-2015.cbx}[\versionofgbtstyle biblatex citation style] % diff --git a/gb7714-2015ay.bbx b/gb7714-2015ay.bbx index 4ad3c78..098e4b9 100644 --- a/gb7714-2015ay.bbx +++ b/gb7714-2015ay.bbx @@ -10,7 +10,7 @@ % % 版本和时间信息 % -\def\versionofgbtstyle{2021/01/19 v1.0w} +\def\versionofgbtstyle{2021/04/03 v1.0x} \def\versionofbiblatex{\abx@version} \ProvidesFile{gb7714-2015ay.bbx}[\versionofgbtstyle biblatex bibliography style] %\RequireBiber[3]%显式指定用biber后端,当用bibtex时会报错,但其实不会影响编译,只是采用bibtex后无法达成格式需求 diff --git a/gb7714-2015ay.cbx b/gb7714-2015ay.cbx index 0ab97d5..b5c3a34 100644 --- a/gb7714-2015ay.cbx +++ b/gb7714-2015ay.cbx @@ -7,7 +7,7 @@ %% Released under the LaTeX Project Public License v1.3c or later %% --------------------------------------------------------------- %% -\def\versionofgbtstyle{2021/01/19 v1.0w} +\def\versionofgbtstyle{2021/04/03 v1.0x} \ProvidesFile{gb7714-2015ay.cbx}[\versionofgbtstyle biblatex citation style] % diff --git a/gb7714-2015ms.bbx b/gb7714-2015ms.bbx index 3e48e7f..635eeed 100644 --- a/gb7714-2015ms.bbx +++ b/gb7714-2015ms.bbx @@ -11,7 +11,7 @@ % % 版本和时间信息 % -\def\versionofgbtstyle{2021/01/19 v1.0w} +\def\versionofgbtstyle{2021/04/03 v1.0x} \def\versionofbiblatex{\abx@version} \ProvidesFile{gb7714-2015ms.bbx}[\versionofgbtstyle biblatex bibliography style] %\RequireBiber[3]%显式指定用biber后端,当用bibtex时会报错,但其实不会影响编译,只是采用bibtex后无法达成格式需求 diff --git a/gb7714-2015ms.cbx b/gb7714-2015ms.cbx index 8c8adaa..f46151d 100644 --- a/gb7714-2015ms.cbx +++ b/gb7714-2015ms.cbx @@ -7,7 +7,7 @@ %% Released under the LaTeX Project Public License v1.3c or later %% --------------------------------------------------------------- %% -\def\versionofgbtstyle{2021/01/19 v1.0w} +\def\versionofgbtstyle{2021/04/03 v1.0x} \ProvidesFile{gb7714-2015ms.cbx}[\versionofgbtstyle biblatex citation style] % diff --git a/gb7714-2015mx.bbx b/gb7714-2015mx.bbx index 64cb331..99b6847 100644 --- a/gb7714-2015mx.bbx +++ b/gb7714-2015mx.bbx @@ -11,7 +11,7 @@ % % 版本和时间信息 % -\def\versionofgbtstyle{2021/01/19 v1.0w} +\def\versionofgbtstyle{2021/04/03 v1.0x} \def\versionofbiblatex{\abx@version} \ProvidesFile{gb7714-2015mx.bbx}[\versionofgbtstyle biblatex bibliography style] %\RequireBiber[3]%显式指定用biber后端,当用bibtex时会报错,但其实不会影响编译,只是采用bibtex后无法达成格式需求 diff --git a/gb7714-2015mx.cbx b/gb7714-2015mx.cbx index 38ecd40..c33d610 100644 --- a/gb7714-2015mx.cbx +++ b/gb7714-2015mx.cbx @@ -7,7 +7,7 @@ %% Released under the LaTeX Project Public License v1.3c or later %% --------------------------------------------------------------- %% -\def\versionofgbtstyle{2021/01/19 v1.0w} +\def\versionofgbtstyle{2021/04/03 v1.0x} \ProvidesFile{gb7714-2015mx.cbx}[\versionofgbtstyle biblatex citation style] %