summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015-gbk.def3
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015.bbx1205
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015.cbx3
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015ay.bbx1350
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015ay.cbx3
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015ms.bbx1029
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015ms.cbx3
7 files changed, 2005 insertions, 1591 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015-gbk.def b/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015-gbk.def
index c78fd53c7c3..249c3a40773 100644
--- a/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015-gbk.def
+++ b/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015-gbk.def
@@ -17,3 +17,6 @@
\def\str@noaddress{出版地不详}
\def\str@nopublisher{出版者不详}
\def\str@edition{版}
+ \def\str@volumecn{卷}
+ \def\str@numbercn{册}
+ \def\str@serialcn{第}
diff --git a/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015.bbx b/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015.bbx
index 2121eafa7e3..dd3603b3d29 100644
--- a/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015.bbx
+++ b/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015.bbx
@@ -11,16 +11,15 @@
%
% 鐗堟湰鍜屾椂闂翠俊鎭
%
-\ProvidesFile{gb7714-2015.bbx}[2018/11/04 v1.0n biblatex bibliography style]
-\def\versionofgbtstyle{2018/11/04 v1.0n}
+\def\versionofgbtstyle{2019/01/19 v1.0p}
\def\versionofbiblatex{\abx@version}
+\ProvidesFile{gb7714-2015.bbx}[\versionofgbtstyle biblatex bibliography style]
\RequireBiber[3]%鏄惧紡鎸囧畾鐢╞iber鍚庣
%=====================================================================
% 鍔犺浇鏍囧噯鏍峰紡
%=====================================================================
\RequireBibliographyStyle{numeric-comp}
-\RequireBibliographyStyle{standard}
\RequirePackage{xstring}%瑙e喅texlive2015鐨刡iblatex3.0涓嶅姞杞絰string鍖呯殑闂
@@ -39,7 +38,9 @@
\providetoggle{iftleight}\togglefalse{iftleight}%澶勭悊biblatex3.8鍒3.9鐨勫吋瀹规э紝鏃堕棿2017-11-01鍚庡埌2017-12-01鍓
\providetoggle{iftlnine}\togglefalse{iftlnine} %澶勭悊biblatex10鐨勫吋瀹规э紝鏃堕棿2017-12-01鍚
\providetoggle{iftlatest}\toggletrue{iftlatest} %鍋囪鏄渶鏂扮増biblatex
- \@ifpackagelater{biblatex}{2016/03/01}{
+
+ \@ifpackagelater{biblatex}{2014/04/01}{
+ \@ifpackagelater{biblatex}{2016/03/01}{
\@ifpackagelater{biblatex}{2016/12/01}{
\@ifpackagelater{biblatex}{2017/11/01}{
\@ifpackagelater{biblatex}{2017/12/01}{
@@ -48,7 +49,9 @@
{\toggletrue{iftleight}\togglefalse{iftlatest}}}
{\toggletrue{iftlseven}\togglefalse{iftlatest}}}
{\toggletrue{iftlsix}\togglefalse{iftlatest}}}
- {\toggletrue{iftlfive}\togglefalse{iftlatest}}
+ {\toggletrue{iftlfive}\togglefalse{iftlatest}}}
+ {\PackageError{biblatex}{Outdated 'biblatex' package}
+ {Please update biblatex, This is a fatal error.}}
\newcommand\defversion[2]{\csdef{codeversion#1#2}}%瀹氫箟涓嶅悓鐗堟湰鐨勫懡浠
\newcommand\switchversion[2]{\csuse{codeversion#1#2}}%浣跨敤涓嶅悓鐗堟湰鐨勫懡浠
@@ -66,7 +69,7 @@
\providetoggle{ifCJKforgbt}
\def\testCJKfirst#1{%
\iffieldundef{#1}{\togglefalse{ifCJKforgbt}}{%
- \iffieldequalstr{#1}{cn}{\toggletrue{ifCJKforgbt}}{\togglefalse{ifCJKforgbt}}}}
+ \iffieldequalstr{#1}{chinese}{\toggletrue{ifCJKforgbt}}{\togglefalse{ifCJKforgbt}}}}
%
% 2涓嵎鐨勮В鏋愬嚱鏁帮紝鐢ㄤ簬杩炵画鍑虹増鐗
@@ -189,6 +192,7 @@
%瀹氫箟绫诲瀷鍜岃浇浣撴爣璇嗭紝浠巊b鍐呭鐪嬭浇浣撳熀鏈睘浜庝粙璐ㄣ
%涓轰笌lee zeping鐨刡st鐨勬牱寮忕粺涓锛屼娇鐢╩ark鍜宮edium杩欎袱鍩熷悕
%涓哄崟涓潯鐩殑濮撳悕鏍煎紡鎺у埗澧炲姞nameformat鍜宯amefmtid涓や釜鍩
+ %涓虹缉鐣ヤ俊鎭枃鐚〃澧炲姞浜唖hortbooktitle鍩
\DeclareDatamodelFields[type=field,datatype=literal]{mark,medium,nameformat}
\DeclareDatamodelFields[type=field,datatype=integer]{namefmtid}
\DeclareDatamodelFields[type=field,datatype=literal]{shortbooktitle}
@@ -199,6 +203,14 @@
% 璁剧疆瀹忓寘閫夐」
%=====================================================================
%
+ % 澧炲姞涓涓夐」锛岀敤浜庢帶鍒秅b7714鐨勪娇鐢ㄨ寖鍥达紝鍗宠嫳鏂囨枃鐚拰涓枃鏂囩尞浣跨敤涓嶅悓鐨勬牱寮
+ % 20180814锛寁1.0m锛宧zz
+ % 鍘熺悊鏂规硶:
+ % 鍙负鍏煎鎬ц冭檻涓嶅仛浠讳綍澶勭悊
+ \DeclareBibliographyOption{gbstyle}[true]{%biblatex浣庣増鏈
+ }
+
+ %
% 澧炲姞涓涓帶鍒舵槸鍚﹁緭鍑烘枃鐚被鍨嬪拰杞戒綋鏍囪瘑鐨勯夐」
%
% 鍘熺悊鏂规硶:
@@ -236,6 +248,9 @@
\def\str@noaddress{鍑虹増鍦颁笉璇
\def\str@nopublisher{鍑虹増鑰呬笉璇
\def\str@edition{鐗坿
+ \def\str@volumecn{鍗穧
+ \def\str@numbercn{鍐寎
+ \def\str@serialcn{绗瑌
\AtEndOfPackage{%
\iftoggle{bbx:codegbk}{%
@@ -341,6 +356,8 @@
date = year, %鏃ユ湡浠呭啓鍒板勾
maxbibnames = 3,%璁剧疆鍚嶅瓧鏈澶ф暟閲
minbibnames = 3, %璁剧疆缂╁噺鍚庣殑鍚嶅瓧鏈灏忔暟閲
+ maxitems = 1,%璁剧疆鍒楄〃鏈澶ф暟閲
+ minitems = 1, %璁剧疆缂╁噺鍚庣殑鍒楄〃鏈灏忔暟閲
isbn=false,
}
@@ -364,12 +381,9 @@
%涓哄鍚嶆牸寮忛夋嫨澧炲姞鐨勮鏁板櫒
- \newcounter{namefmtcase}
- \def\thenamefmtcase{\the\c@namefmtcase}
-
+ \newcounter{gbnamefmtcase}
+ \def\thegbnamefmtcase{\the\c@gbnamefmtcase}
%涓烘暟瀛楁爣绛炬牸寮忛夋嫨澧炲姞鐨勮鏁板櫒/鍛戒护
- %\newcounter{bibnumlabel}
- %\def\thebibnumlabel{\the\c@bibnumlabel}
\newcommand{\mkgbnumlabel}[1]{\mkbibbrackets{#1}}
\def\gbbiblabelopt@bracket{\renewcommand{\mkgbnumlabel}[1]{\mkbibbrackets{##1}}}
\def\gbbiblabelopt@parens{\renewcommand{\mkgbnumlabel}[1]{\mkbibparens{##1}}}
@@ -377,12 +391,45 @@
\def\gbbiblabelopt@plain{\renewcommand{\mkgbnumlabel}[1]{##1}}
\def\gbbiblabelopt@box{\renewcommand{\mkgbnumlabel}[1]{\framebox{##1}}}
\def\gbbiblabelopt@circle{\renewcommand{\mkgbnumlabel}[1]{\textcircled{##1}}}
- \newcounter{alignlabel}
- \def\thealignlabel{\the\c@alignlabel}
-
+ %涓烘枃鐚〃涓暟瀛楁爣绛惧榻愭柟寮忛夋嫨澧炲姞鐨勮鏁板櫒/鍛戒护
+ \newcounter{gbalignlabel}
+ \def\thegbalignlabel{\the\c@gbalignlabel}
+ %涓哄紩鐢ㄦ爣绛炬爣娉/鏂囩尞琛ㄤ腑鏈湴鍖栧瓧绗︿覆涓嫳鏂囬夋嫨澧炲姞鐨勮鏁板櫒/鍛戒护
+ \newcounter{gbcitelocalcase}
+ \newcounter{gbbiblocalcase}
+ \def\thegbcitelocalcase{\the\c@gbcitelocalcase}
+ \def\thegbbiblocalcase{\the\c@gbbiblocalcase}
\@ifpackagelater{biblatex}{2016/03/27}
{ % 閽堝biblatex>=3.3鐗堟湰鐨勯夐」璁剧疆
+ %
+ % 澧炲姞鏈湴鍖栧瓧绗︿覆鐨勪腑鑻辨枃鍒囨崲閫夐」
+ % gbcitelocal鎸囨爣娉ㄤ腑鐨勬湰鍦板寲瀛楃涓
+ % gbbiblocal 鎸囨枃鐚〃涓殑鏈湴鍖栧瓧绗︿覆
+ % gblocal 鎸囪缃枃鐚〃鍜屾爣娉ㄤ腑鐨勬湰鍦板寲瀛楃涓
+ % v1.0o锛20190103锛宧zz
+ %
+ \DeclareBibliographyOption[string]{gbcitelocal}[gb7714-2015]{%
+ \ifstrequal{#1}{gb7714-2015}{\setcounter{gbcitelocalcase}{0}}{}%
+ \ifstrequal{#1}{chinese}{\setcounter{gbcitelocalcase}{1}}{}%
+ \ifstrequal{#1}{english}{\setcounter{gbcitelocalcase}{2}}{}%
+ }
+ \ExecuteBibliographyOptions{gbcitelocal}
+
+ \DeclareBibliographyOption[string]{gbbiblocal}[gb7714-2015]{%
+ \ifstrequal{#1}{gb7714-2015}{\setcounter{gbbiblocalcase}{0}}{}%
+ \ifstrequal{#1}{chinese}{\setcounter{gbbiblocalcase}{1}}{}%
+ \ifstrequal{#1}{english}{\setcounter{gbbiblocalcase}{2}}{}%
+ }
+ \ExecuteBibliographyOptions{gbbiblocal}
+
+ \DeclareBibliographyOption[string]{gblocal}[gb7714-2015]{%
+ \ExecuteBibliographyOptions{gbbiblocal=#1}%
+ \ExecuteBibliographyOptions{gbcitelocal=#1}%
+ }
+ %\ExecuteBibliographyOptions{gblocal} %榛樿鍊煎凡缁忛氳繃涓や釜鐩稿叧閫夐」璁剧疆
+
+ %
% 澧炲姞搴忓彿鏍囩鏍煎紡澶勭悊閫夐」
% v1.0l锛20180623锛宧zz
%
@@ -395,11 +442,11 @@
% 澧炲姞濮撳悕澶у皬鍐欐牸寮忓鐞嗛夐」
%
\DeclareBibliographyOption[string]{gbnamefmt}[uppercase]{%
- \ifstrequal{#1}{uppercase}{\setcounter{namefmtcase}{0}}{}%
- \ifstrequal{#1}{lowercase}{\setcounter{namefmtcase}{1}}{}%
- \ifstrequal{#1}{givenahead}{\setcounter{namefmtcase}{2}}{}%given-family
- \ifstrequal{#1}{familyahead}{\setcounter{namefmtcase}{3}}{}
- \ifstrequal{#1}{pinyin}{\setcounter{namefmtcase}{4}}{}%family-given
+ \ifstrequal{#1}{uppercase}{\setcounter{gbnamefmtcase}{0}}{}%
+ \ifstrequal{#1}{lowercase}{\setcounter{gbnamefmtcase}{1}}{}%
+ \ifstrequal{#1}{givenahead}{\setcounter{gbnamefmtcase}{2}}{}%given-family
+ \ifstrequal{#1}{familyahead}{\setcounter{gbnamefmtcase}{3}}{}
+ \ifstrequal{#1}{pinyin}{\setcounter{gbnamefmtcase}{4}}{}%family-given
}
\ExecuteBibliographyOptions{gbnamefmt}
@@ -408,9 +455,9 @@
%
% right鏄粯璁ょ殑鍙冲榻愶紝left鏄乏瀵归綈锛実b7714-2015鏄」瀵归綈鏂瑰紡
\DeclareBibliographyOption[string]{gbalign}[right]{%
- \ifstrequal{#1}{right}{\setcounter{alignlabel}{0}}{}
- \ifstrequal{#1}{left}{\setcounter{alignlabel}{1}}{}
- \ifstrequal{#1}{center}{\setcounter{alignlabel}{2}}{}
+ \ifstrequal{#1}{right}{\setcounter{gbalignlabel}{0}}{}
+ \ifstrequal{#1}{left}{\setcounter{gbalignlabel}{1}}{}
+ \ifstrequal{#1}{center}{\setcounter{gbalignlabel}{2}}{}
\ifstrequal{#1}{gb7714-2015}{\setaligngbstyle}{}
}
}
@@ -428,11 +475,11 @@
% 澧炲姞濮撳悕澶у皬鍐欐牸寮忓鐞嗛夐」
%
\DeclareBibliographyOption{gbnamefmt}[uppercase]{%
- \ifstrequal{#1}{uppercase}{\setcounter{namefmtcase}{0}}{}%
- \ifstrequal{#1}{lowercase}{\setcounter{namefmtcase}{1}}{}%
- \ifstrequal{#1}{givenahead}{\setcounter{namefmtcase}{2}}{}%given-family
- \ifstrequal{#1}{familyahead}{\setcounter{namefmtcase}{3}}{}
- \ifstrequal{#1}{pinyin}{\setcounter{namefmtcase}{4}}{}%family-given
+ \ifstrequal{#1}{uppercase}{\setcounter{gbnamefmtcase}{0}}{}%
+ \ifstrequal{#1}{lowercase}{\setcounter{gbnamefmtcase}{1}}{}%
+ \ifstrequal{#1}{givenahead}{\setcounter{gbnamefmtcase}{2}}{}%given-family
+ \ifstrequal{#1}{familyahead}{\setcounter{gbnamefmtcase}{3}}{}
+ \ifstrequal{#1}{pinyin}{\setcounter{gbnamefmtcase}{4}}{}%family-given
}
\ExecuteBibliographyOptions{gbnamefmt}
@@ -443,9 +490,9 @@
% 鍥犱负鍦ㄨ繖绉峛iblatex浣庣増鏈腑锛岃垗寮冧簡list绫荤幆澧冨悗锛屼細鍑洪敊銆
% 娉ㄦ剰:texlive2015涓殑3.0鐗堜腑鐨凞eclareBibliographyOption閫夐」娌℃湁绫诲瀷璇存槑
\DeclareBibliographyOption{gbalign}[right]{%
- \ifstrequal{#1}{right}{\setcounter{alignlabel}{0}}{}
- \ifstrequal{#1}{left}{\setcounter{alignlabel}{1}}{}
- \ifstrequal{#1}{center}{\setcounter{alignlabel}{2}}{}
+ \ifstrequal{#1}{right}{\setcounter{gbalignlabel}{0}}{}
+ \ifstrequal{#1}{left}{\setcounter{gbalignlabel}{1}}{}
+ \ifstrequal{#1}{center}{\setcounter{gbalignlabel}{2}}{}
\ifstrequal{#1}{gb7714-2015}{}{}
}
}
@@ -505,9 +552,21 @@
% 璁剧疆鏈湴鍖栧瓧绗︿覆
%=====================================================================
%
- % 鏂板缓褰撳湴鍖栧瓧绗︿覆锛岀敤鏉ヨ褰曗滅瓑鈥濆瓧绗
+ % 鏂板缓褰撳湴鍖栧瓧绗︿覆锛岀敤鏉ヨ褰曗滅瓑鈥濆瓧绗︺佲滃拰鈥濆瓧绗
%
\NewBibliographyString{andotherscn}
+ \NewBibliographyString{andothersincitecn}
+ \NewBibliographyString{andothersincite}
+ \NewBibliographyString{andcn}
+ \NewBibliographyString{andothersjp}
+ \NewBibliographyString{andotherskr}
+ \NewBibliographyString{andjp}
+ \NewBibliographyString{andkr}
+ \NewBibliographyString{andincitecn}
+ \NewBibliographyString{andincite}
+ \NewBibliographyString{volumecn}
+ \NewBibliographyString{numbercn}
+ \NewBibliographyString{serialcn}
%
% 淇敼涓浜涘綋鍦板寲瀛楃涓
@@ -519,112 +578,197 @@
\DefineBibliographyStrings{english}{
bibliography = {\str@bibliography},
references = {\str@references},
- %bytranslator= {\addcomma\ 璇慭adddot}, %灏唗rans. by 鏀规垚 璇
- bytranslator= {\addcomma\ \str@bytranslator},%\addperiod
- and = {\addcomma},%灏嗙2鍜3浜哄悕瑙佺殑and绗﹀彿鏀规垚 閫楀彿锛岀敤\finalnamedelim鍛戒护涔熷彲浠ュ畾涔夛紝鍙傝3.9.1鑺
- %andothers = {et al.}, %灏嗚秴杩3涓汉鍚嶇殑鐪佺暐锛宔t al.鏀规垚涓 绛
- andotherscn = {\str@andotherscn}, %灏嗚秴杩3涓汉鍚嶇殑鐪佺暐锛宔t al.鏀规垚涓 绛
+ bytranslator= {\addcomma\ \str@bytranslator},%\addperiod锛%灏唗rans. by 鏀规垚 璇
+ and = {\addcomma},%灏嗙2鍜3浜哄悕闂寸殑and绗﹀彿鏀规垚閫楀彿锛岀敤\finalnamedelim鍛戒护涔熷彲浠ュ畾涔夛紝鍙傝3.9.1鑺
+ andcn = {\addcomma},%and鏈湴鍖栧瓧绗︿覆鐨勪腑鏂囧搴旇瘝
+ andincitecn = {\addcomma},%灏嗘爣娉ㄤ腑鐨勫垎寮锛屼究浜庝笌鏂囩尞琛ㄤ腑鐨勫尯鍒
+ andincite = {\addcomma},
+ %andothers = {et al.},%灏嗚秴杩3涓汉鍚嶇殑鐪佺暐锛宔t al.鏀规垚涓 绛
+ andotherscn = {\str@andotherscn},%灏嗚秴杩3涓汉鍚嶇殑鐪佺暐锛宔t al.鏀规垚涓 绛
+ andothersincitecn={\str@andotherscn},%灏嗘爣娉ㄤ腑鐨勫垎寮锛屼究浜庝笌鏂囩尞琛ㄤ腑鐨勫尯鍒
+ andothersincite={et al.},
backrefpage = {\str@backrefpage:},
backrefpages = {\str@backrefpages:},
in={in\intitlepunct},
- }
-
+ volumecn={\str@volumecn},
+ numbercn={\str@numbercn},
+ serialcn={\str@serialcn},
+ andothersjp={浠杴,
+ andotherskr={鞕竲,
+ andjp={鍜寎,
+ andkr={鍜寎,
+}
%=====================================================================
-% 鍔ㄦ佹暟鎹慨鏀癸紝淇敼杈撳叆鐨勬簮鏂囦欢鏁版嵁锛岀敤浜庝腑鏂囧垽鏂瓑
+% 鍔ㄦ佹暟鎹慨鏀
%=====================================================================
%
-% 淇敼杈撳叆鐨勫弬鑰冩枃鐚暟鎹紝婧愭枃浠跺眰鐨勬搷浣
-%
-% 鍘熺悊鏂规硶:澧炲姞鏂囩尞鏍囪瘑绗﹀[M],[J]绛
-% 鎶婁綔鑰呭拰璇戣呬俊鎭噯纭殑璁板綍鍒皍serf锛寀sere涓紝鐢ㄤ簬鍚庨潰鍒ゆ柇鏄惁鏄痗jk瀛楃銆
-% 娉ㄦ剰:杩欓噷鐢╱serf锛寀sere鑰屼笉鏄痭amee锛宯amef锛屾槸鍥犱负鍙湁鎶妌ame鍒楄〃杞垚鍩燂紝鎵嶈兘鏈夋晥璇诲彇濮撳悕涓殑瀛楃锛
-% 濡傛灉鐢╪amee锛宯amef锛宯ame淇℃伅浼氳嚜鍔ㄨВ鏋愶紝鎵浠ュ氨涓嶈兘涓篶jk鍒ゆ柇鎻愪緵闇瑕佺殑淇℃伅
-% 娉ㄦ剰\DeclareSourcemap鍛戒护瀵逛簬biblatex3.11浠ヤ笅鐗堟湰鍙兘鍑虹幇涓娆★紝3.11鐗堝紑濮嬫敮鎸佸涓
+% 鍚勫眰娆$殑鏁版嵁鏄犲皠鍜屽姩鎬佷慨鏀
+%
+% 鍘熺悊鏂规硶:
+% 1. 杩涜璇█鍖呮嫭涓嫳鏂囧垽鏂紝骞惰缃拰璁板綍锛屾瘮濡傝褰曞埌userf锛寀sere涓
+% 2. 澧炲姞鏂囩尞鏍囪瘑绗﹀[M],[J]绛夛紝瀵逛竴浜涘鏄撴贩娣嗙殑鍩熻繘琛岃缃互澧炲己鍏煎鎬
+% 3. \DeclareSourcemap鍛戒护瀵逛簬biblatex3.11浠ヤ笅鐗堟湰鍙兘鍑虹幇涓娆★紝3.11鐗堝紑濮嬫敮鎸佸涓
+% 4. \DeclarestyleSourcemap鍦╞iblatex v3.7鐗堝紑濮嬪彲浠ユ敮鎸佸嚭鐜板娆
+% 5. 鎶婁綔鑰呭拰璇戣呬俊鎭噯纭殑璁板綍鍒皍serf锛寀sere涓紝鐢ㄤ簬鍚庨潰鍒ゆ柇鏄惁鏄痗jk瀛楃銆
+% 娉ㄦ剰:杩欓噷鐢╱serf锛寀sere鑰屼笉鏄痭amee锛宯amef锛屾槸鍥犱负鍙湁鎶妌ame鍒楄〃杞垚鍩燂紝鎵嶈兘鏈夋晥璇诲彇濮撳悕涓殑瀛楃锛
+% 濡傛灉鐢╪amee锛宯amef锛宯ame淇℃伅浼氳嚜鍔ㄨВ鏋愶紝鎵浠ュ氨涓嶈兘涓篶jk鍒ゆ柇鎻愪緵闇瑕佺殑淇℃伅
+%
+% 涓嶅悓鐨勬枃鐚被鍨嬩娇鐢ㄧ浉鍚岀殑椹卞姩杈撳嚭鍙互鏈5绉嶆柟娉曪細
+% 1. 鏄暟鎹簮灞傜殑鏄犲皠锛屽皢鍏跺畠绫诲瀷杞崲涓烘煇涓瑕佷娇鐢ㄩ┍鍔ㄧ殑绫诲瀷
+% 2. 鏄牱寮忓眰鏄犲皠锛屼篃鏄皢鍏跺畠绫诲瀷杞崲涓烘煇涓瑕佷娇鐢ㄩ┍鍔ㄧ殑绫诲瀷
+% 3. 鏄┍鍔ㄥ眰鏄犲皠锛屼篃鏄皢鍏跺畠绫诲瀷杞崲涓烘煇涓瑕佷娇鐢ㄩ┍鍔ㄧ殑绫诲瀷
+% 4. 瀹氫箟椹卞姩绫诲瀷鍒悕DeclareBibliographyAlias锛屽皢鍏跺畠绫诲瀷瀹氫箟涓烘煇涓瑕佷娇鐢ㄩ┍鍔ㄧ殑绫诲瀷鐨勫埆鍚
+% 椹卞姩鍒悕瀹氫箟鏈川涓婃槸鍋氫簡椹卞姩灞傛槧灏
+% 5. 鐩存帴瀹氫箟涓嶅悓鐨勭被鍨嬬殑椹卞姩锛屼絾椹卞姩鍐呭鐩稿悓銆
+%
+% 鍏充簬鏁版嵁鏄犲皠鍜岄┍鍔ㄤ娇鐢ㄧ殑鑰冭檻濡備笅锛
+% 1. 涓洪伩鍏嶅埄鐢╞iber杈撳嚭bib鏂囦欢鏃剁殑鏁版嵁鍙樺姩锛屽敖閲忎笉鍦ㄦ暟鎹簮灞傛槧灏勫仛绫诲瀷杞崲
+% 2. 涓哄噺灏戜唬鐮侀噺锛屽敖閲忓皯鍋氬唴瀹圭浉鍚岀殑涓嶅悓绫诲瀷椹卞姩
+% 3. 鍥犳绫诲瀷鐩稿叧鐨勫鐞嗕富瑕佸湪鏍峰紡灞傛槧灏勩侀┍鍔ㄥ眰鏄犲皠銆侀┍鍔ㄥ埆鍚
+% 4. 鐢变簬biblatex榛樿鍋氱殑椹卞姩鍒悕澶勭悊鍙兘澧炲姞涓浜涗俊鎭瘮濡俶asterthesis杞瑃hesis鏃跺鍔犵殑type
+% 鍙互鍦ㄦ牱寮忓眰鏄犲皠鍋氭煇浜涢渶瑕侀伩鍏嶈繖绉嶉粯璁ゅ缃殑杞崲
+% 5. 褰撴病鏈夐伩鍏嶉粯璁よ涓虹殑闇姹傛椂锛屽叏閮ㄩ噰鐢ㄩ┍鍔ㄥ埆鍚嶇殑鏂瑰紡澶勭悊锛岀瓑浠蜂簬椹卞姩灞傜殑鏄犲皠
+%
+% 鏂囩尞绫诲瀷鍜岄┍鍔ㄨ冭檻濡備笅锛
+% 1. 杩炵画鍑虹増鐗╁強鏋愬嚭鏂囩尞鏈夊叾鐗规畩鎬э紝鍥犳鑰冭檻涓ょ被periodical鍜宎rticle
+% newpaper鏄犲皠涓篴rticle锛屽苟浠ote鍩熷仛鍖哄垎鐗规畩澶勭悊
+% 2. 涓撹憲鍜屼笓钁椾腑鐨勬瀽鍑烘枃鐚槸涓昏鐨勭被鍨嬶紝鍥犳鑰冭檻book鍜宨nbook
+% standard鏄犲皠涓篵ook鎴杋nbook锛屽苟浠ote鍩熷仛鍖哄垎鐗规畩澶勭悊
+% collection鍜宲roceedings鍩烘湰涓巄ook绫讳技锛屽洜姝ゅ仛book椹卞姩鍒悕澶勭悊
+% incollection鍜宨nproceedings鍩烘湰涓巌nbook绫讳技锛屽洜姝ゅ仛inbook椹卞姩鍒悕澶勭悊
+% 3. 涓撳埄绫诲瀷鏈夊叾鐗规畩鎬э紝鑰冭檻patent绫诲瀷
+% 4. 鐢靛瓙璧勬簮绫诲瀷鏈夊叾鐗规畩鎬э紝鑰冭檻online绫诲瀷
+% 5. 鎶ュ憡绫诲瀷涓巄ook鏈夌偣绫讳技锛屽嚭鐗堥」澶勭悊涓巄ook涓鏍凤紝浣嗘湁鏃跺張瑕佹湁淇敼鍜屾洿鏂版棩鏈
+% 鍥犳鑰冭檻鐢ㄤ竴绉嶇被鍨嬫潵杈撳嚭锛屼娇鐢╮eport绫诲瀷
+% 6. 鎵嬪唽/瀛︿綅璁烘枃绛夌被鍨嬩笌book鏈夌偣绫讳技锛屼絾瀵逛簬鍑虹増椤瑰鐞嗘椂锛屾湁缂虹渷鏃讹紝鐩存帴鐪佺暐锛
+% 鍚屾椂鏈塿ersion鍜宔dition鐨勫尯鍒紝鍥犳鑰冭檻鐢ㄤ竴绉嶇被鍨嬫潵杈撳嚭锛屼娇鐢╩anual绫诲瀷
+% 7. 鍖呮嫭鎶ュ憡锛屽浣嶈鏂囧湪鍐呯殑鍏跺畠鎵鏈夌殑绫诲瀷锛岄兘鍋氫竴涓垽鏂紝褰撴病鏈夊嚭鐗堥」鏃讹紝
+% 涓斿瓨鍦ㄧ綉鍧淇℃伅鏃讹紝灏嗗叾杞崲涓簅nline绫诲瀷杈撳嚭锛屽惁鍒欓兘鍋氫负manual绫诲瀷杈撳嚭銆
+
\DeclareSourcemap{
\maps[datatype=bibtex]{%
+ \map{
+ \pernottype{inbook}
+ \pernottype{inproceedings}
+ \pernottype{incollection}
+ \step[notfield=author]%褰揳uthor涓嶅瓨鍦紝灏唀ditor澶嶅埗缁檃uthor
+ \step[fieldsource=editor,fieldtarget=author]%骞跺垹闄ditor
+ }
+ \map{
+ \pernottype{inbook}
+ \pernottype{inproceedings}
+ \pernottype{incollection}
+ \step[notfield=author]%褰揳uthor涓嶅瓨鍦紝灏唗ranslator澶嶅埗缁檃uthor
+ \step[fieldsource=translator,fieldtarget=author]%骞跺垹闄ranslator
+ }
+ \map{
+ \step[notfield=address]%褰揳ddress鍜宭ocation鍚屾
+ \step[fieldsource=location,final]
+ \step[fieldset=address,origfieldval]
+ }
+ \map{
+ \step[notfield=location]%褰揳ddress鍜宭ocation鍚屾
+ \step[fieldsource=address,final]
+ \step[fieldset=location,origfieldval]
+ }
\map[overwrite]{%鐢ㄤ簬澶勭悊zotero浠巆nki瀵煎嚭涓枃鏂囩尞濮撳悕涓瓨鍦ㄩ楀彿鐨勬儏鍐
\step[fieldsource={author}, match=\regexp{([\x{2FF0}-\x{9FA5}])\,\s*}, replace=\regexp{$1}]
- }
- \map{%
+ }%\perdatasource{examples.bib}
+ \map{%澶勭悊鍦╞ib鏂囦欢鐢╩ark鏍囪鏂囩尞绫诲瀷鏍囪瘑绗︾殑鎯呭喌
\step[fieldsource=mark,final]
\step[fieldset=usera, origfieldval]
}
- \map{%
+ \map{%澶勭悊鍦╞ib鏂囦欢涓洿鎺ョ粰鍑烘枃鐚殑濮撳悕鏍煎紡涓簂owercase鐨勬儏鍐
\step[fieldsource=nameformat,match=lowercase,final]
\step[fieldset=namefmtid,fieldvalue={1}]
}
- \map{%
+ \map{%澶勭悊鍦╞ib鏂囦欢涓洿鎺ョ粰鍑烘枃鐚殑濮撳悕鏍煎紡涓篻ivenahead鐨勬儏鍐
\step[fieldsource=nameformat,match=givenahead,final]
\step[fieldset=namefmtid,fieldvalue={2}]
}
- \map{%
+ \map{%澶勭悊鍦╞ib鏂囦欢涓洿鎺ョ粰鍑烘枃鐚殑濮撳悕鏍煎紡涓篺amilyahead鐨勬儏鍐
\step[fieldsource=nameformat,match=familyahead,final]
\step[fieldset=namefmtid,fieldvalue={3}]
}
- \map{%
+ \map{%澶勭悊鍦╞ib鏂囦欢涓洿鎺ョ粰鍑烘枃鐚殑濮撳悕鏍煎紡涓簆inyin鐨勬儏鍐
\step[fieldsource=nameformat,match=pinyin,final]
\step[fieldset=namefmtid,fieldvalue={4}]
}
- \map{%
- %\perdatasource{examples.bib}
+ \map{%鏍规嵁article纭畾鏂囩尞绫诲瀷鏍囪瘑绗
\pertype{article}
\step[fieldset=usera, fieldvalue={J}]
}
- \map{
+ \map{%鏍规嵁periodical纭畾鏂囩尞绫诲瀷鏍囪瘑绗
\pertype{periodical}
\step[fieldset=usera, fieldvalue={J}]
- \step[fieldsource=author] %鏈夋椂浼氭妸author鍜宔ditor娣锋穯锛屽鐞嗗悗閬垮厤璇ラ棶棰
+ \step[fieldsource=author] %鏈夋椂浼氭妸author鍜宔ditor娣锋穯锛屽鐞嗗悗浣跨敤editor
\step[fieldset=editor, origfieldval]
- \step[fieldsource=publisher] %鏈夋椂浼氭妸publisher鍜宨nstitution娣锋穯锛屽鐞嗗悗閬垮厤璇ラ棶棰
+ \step[fieldsource=publisher] %鏈夋椂浼氭妸publisher鍜宨nstitution娣锋穯锛屽鐞嗗悗浣跨敤institution
\step[fieldset=institution, origfieldval]
}
- \map{
- \pertype{newspaper}%澧炲姞涓涓柊闂绘姤绾哥殑绫诲瀷newspaper
- \step[fieldset=usera, fieldvalue={N}]%鍥犱负娌℃湁涓撻棬鐨勯┍鍔紝杩欏彞鐨勭洰鐨勬槸瀹氫箟涓涓猽sera鍩燂紝鏂逛究鏄犲皠涓篴rticle鍚庡垽鏂
- \step[fieldset=note, fieldvalue=news]
+ \map{%鏍规嵁澧炲姞涓涓柊闂绘姤绾哥殑绫诲瀷newspaper纭畾鏂囩尞绫诲瀷鏍囪瘑绗
+ \pertype{newspaper}
+ \step[fieldset=usera, fieldvalue={N}]
+ \step[fieldset=note, fieldvalue=news]%鍥犱负娌℃湁涓撻棬鐨勯┍鍔紝璁板綍note鏂逛究鏄犲皠涓篴rticle鍚庡垽鏂
}
- \map{
- \pertype{database}%瀵瑰簲澧炲姞鐨勪竴涓暟鎹簱绫诲瀷database
- \step[fieldset=usera, fieldvalue={DB}]%娌℃湁涓撻棬鐨勯┍鍔紝瀹氫箟涓涓猽sera鍩燂紝鏂逛究鏄犲皠鍚庝娇鐢
+ \map{%瀵瑰簲澧炲姞鐨勪竴涓暟鎹簱绫诲瀷database纭畾鏂囩尞绫诲瀷鏍囪瘑绗
+ \pertype{database}
+ \step[fieldset=usera, fieldvalue={DB}]
+ \step[fieldsource=publisher] %鏈夋椂浼氭妸publisher鍜宨nstitution娣锋穯锛屽鐞嗗悗浣跨敤institution
+ \step[fieldset=institution, origfieldval]
}
- \map{
- \pertype{dataset}%瀵瑰簲澧炲姞鐨勪竴涓暟鎹泦绫诲瀷dataset
- \step[fieldset=usera, fieldvalue={DS}]%娌℃湁涓撻棬鐨勯┍鍔紝瀹氫箟涓涓猽sera鍩燂紝鏂逛究鏄犲皠鍚庝娇鐢
+ \map{%瀵瑰簲澧炲姞鐨勪竴涓暟鎹泦绫诲瀷dataset纭畾鏂囩尞绫诲瀷鏍囪瘑绗
+ \pertype{dataset}
+ \step[fieldset=usera, fieldvalue={DS}]%
+ \step[fieldsource=publisher] %鏈夋椂浼氭妸publisher鍜宨nstitution娣锋穯锛屽鐞嗗悗浣跨敤institution
+ \step[fieldset=institution, origfieldval]
}
- \map{
- \pertype{software}%瀵瑰簲澧炲姞鐨勪竴涓蒋浠剁被鍨媠oftware
- \step[fieldset=usera, fieldvalue={CP}]%娌℃湁涓撻棬鐨勯┍鍔紝瀹氫箟涓涓猽sera鍩燂紝鏂逛究鏄犲皠鍚庝娇鐢
+ \map{%瀵瑰簲澧炲姞鐨勪竴涓蒋浠剁被鍨媠oftware纭畾鏂囩尞绫诲瀷鏍囪瘑绗
+ \pertype{software}
+ \step[fieldset=usera, fieldvalue={CP}]
+ \step[fieldsource=publisher] %鏈夋椂浼氭妸publisher鍜宨nstitution娣锋穯锛屽鐞嗗悗浣跨敤institution
+ \step[fieldset=institution, origfieldval]
}
- \map{
- \pertype{map}%瀵瑰簲澧炲姞鐨勪竴涓垎鍥剧被鍨媘ap
- \step[fieldset=usera, fieldvalue={CM}]%娌℃湁涓撻棬鐨勯┍鍔紝瀹氫箟涓涓猽sera鍩燂紝鏂逛究鏄犲皠鍚庝娇鐢
+ \map{%瀵瑰簲澧炲姞鐨勪竴涓垎鍥剧被鍨媘ap纭畾鏂囩尞绫诲瀷鏍囪瘑绗
+ \pertype{map}
+ \step[fieldset=usera, fieldvalue={CM}]%
+ \step[fieldsource=publisher] %鏈夋椂浼氭妸publisher鍜宨nstitution娣锋穯锛屽鐞嗗悗浣跨敤institution
+ \step[fieldset=institution, origfieldval]
}
- \map{
- \pertype{archive}%瀵瑰簲澧炲姞鐨勪竴涓。妗堢被鍨媋rchive
- \step[fieldset=usera, fieldvalue={A}]%娌℃湁涓撻棬鐨勯┍鍔紝瀹氫箟涓涓猽sera鍩燂紝鏂逛究鏄犲皠鍚庝娇鐢
+ \map{%瀵瑰簲澧炲姞鐨勪竴涓。妗堢被鍨媋rchive纭畾鏂囩尞绫诲瀷鏍囪瘑绗
+ \pertype{archive}
+ \step[fieldset=usera, fieldvalue={A}]
+ \step[fieldsource=publisher] %鏈夋椂浼氭妸publisher鍜宨nstitution娣锋穯锛屽鐞嗗悗浣跨敤institution
+ \step[fieldset=institution, origfieldval]
}
- \map{
- \pertype{misc}%褰搈isc绫诲瀷甯︽湁缃戝潃鏃讹紝灏嗗叾杞崲涓簅nline绫诲瀷
+ \map{%鍥犱负misc绫诲瀷鏈韩灏辨槸娌℃湁绫诲瀷锛岃屼笉鍍忓叾瀹冩枃鐚湁鏄庣‘鐨勭被鍨嬶紝鎵浠
+ %褰搈isc绫诲瀷甯︽湁缃戝潃鏃讹紝鐩存帴灏嗗叾杞崲涓簅nline绫诲瀷
+ \pertype{misc}
\step[fieldsource=url,final]
\step[typesource=misc,typetarget=online]
}
- \map{
- \pertype{misc}%瀵瑰簲澧炲姞鐨勪竴涓閫夌被鍨媘isc
- \step[fieldset=usera, fieldvalue={Z}]%娌℃湁涓撻棬鐨勯┍鍔紝瀹氫箟涓涓猽sera鍩燂紝鏂逛究鏄犲皠鍚庝娇鐢
+ \map{%瀵瑰簲澧炲姞鐨勪竴涓閫夌被鍨媘isc纭畾鏂囩尞绫诲瀷鏍囪瘑绗
+ \pertype{misc}
+ \step[fieldset=usera, fieldvalue={Z}]%
}
\map{
\pertype{book}
\pertype{inbook}
\step[fieldset=usera, fieldvalue={M}]
- \step[fieldsource=version] %鏈夋椂浼氭妸version鍜宔dition娣锋穯锛屽鐞嗗悗閬垮厤璇ラ棶棰橈紝鍙互鐩存帴鐢╲ersion
+ \step[fieldsource=version] %鏈夋椂浼氭妸version鍜宔dition娣锋穯锛屽鐞嗗悗鐩存帴鐢╡dition
\step[fieldset=edition, origfieldval]
}
\map{
- \pertype{standard}%鍏煎鑰佺殑standard绫诲瀷
- \step[fieldset=usera, fieldvalue={S}]%鍥犱负娌℃湁涓撻棬鐨勯┍鍔紝杩欏彞鐨勭洰鐨勬槸瀹氫箟涓涓猽sera鍩燂紝鏂逛究鏄犲皠涓篵ook鍜宨nbook鍚庡垽鏂
- \step[fieldset=note, fieldvalue=standard]
+ \pertype{inbook}
+ \step[fieldsource=editor]%鏈夋椂浼氭妸editor鍜宐ookauthor娣锋穯锛屽鐞嗗悗浣跨敤bookauthor
+ \step[fieldset=bookauthor, origfieldval]
+ }
+ \map{%鍏煎鑰佺殑standard绫诲瀷锛岀‘瀹氭枃鐚被鍨嬫爣璇嗙
+ \pertype{standard}
+ \step[fieldset=usera, fieldvalue={S}]
+ \step[fieldset=note, fieldvalue=standard]%鍥犱负娌℃湁涓撻棬鐨勯┍鍔紝璁板綍note鏂逛究鏄犲皠涓篵ook鍜宨nbook鍚庡垽鏂
}
\map{
\pertype{patent}
@@ -634,67 +778,81 @@
\pertype{inproceedings}
\pertype{conference}%鍏煎鑰佺殑conference绫诲瀷
\step[fieldset=usera, fieldvalue={C}]
- \step[fieldsource=institution] %鏈夋椂浼氭妸publisher鍜宨nstitution娣锋穯锛屽鐞嗗悗閬垮厤璇ラ棶棰
+ \step[fieldsource=institution]%鏈夋椂浼氭妸publisher鍜宨nstitution娣锋穯锛屽鐞嗗悗浣跨敤institution
\step[fieldset=publisher, origfieldval]
- \step[fieldsource=editor] %
+ \step[fieldsource=editor]%%鏈夋椂浼氭妸editor鍜宐ookauthor娣锋穯锛屽鐞嗗悗浣跨敤bookauthor
\step[fieldset=bookauthor, origfieldval]
}
\map{
\pertype{proceedings}
\step[fieldset=usera, fieldvalue={C}]
- \step[fieldsource=institution] %鏈夋椂浼氭妸publisher鍜宨nstitution娣锋穯锛岃繖閲屽鐞嗗悗灏辨病鏈夎繖涓棶棰
+ \step[fieldsource=institution]%鏈夋椂浼氭妸publisher鍜宨nstitution娣锋穯锛屽鐞嗗悗浣跨敤publisher
+ \step[fieldset=publisher, origfieldval]
+ }
+ \map{
+ \pertype{incollection}
+ \step[fieldset=usera, fieldvalue={G}]
+ \step[fieldsource=institution]%鏈夋椂浼氭妸publisher鍜宨nstitution娣锋穯锛屽鐞嗗悗浣跨敤institution
+ \step[fieldset=publisher, origfieldval]
+ \step[fieldsource=editor]%%鏈夋椂浼氭妸editor鍜宐ookauthor娣锋穯锛屽鐞嗗悗浣跨敤bookauthor
+ \step[fieldset=bookauthor, origfieldval]
+ }
+ \map{
+ \pertype{collection}
+ \step[fieldset=usera, fieldvalue={G}]
+ \step[fieldsource=institution]%鏈夋椂浼氭妸publisher鍜宨nstitution娣锋穯锛屽鐞嗗悗浣跨敤publisher
\step[fieldset=publisher, origfieldval]
- \step[fieldsource=editor] %鏈夌殑鏃跺欏彲鑳藉彧濉啓浜嗙紪鑰咃紝娌℃湁author锛屾妸瀹冨鍒朵竴涓
- \step[fieldset=author, origfieldval]
}
\map{
\pertype{report}
\pertype{techreport}%鍏煎鑰佺殑techreport绫诲瀷
\step[fieldset=usera, fieldvalue={R}]
- \step[fieldsource=publisher] %鏈夋椂浼氭妸publisher鍜宨nstitution娣锋穯锛屽鐞嗗悗閬垮厤璇ラ棶棰
- \step[fieldset=institution, origfieldval]
+ \step[fieldsource=institution]%鏈夋椂浼氭妸publisher鍜宨nstitution娣锋穯锛屽鐞嗗悗浣跨敤publisher
+ \step[fieldset=publisher, origfieldval]
}
\map{
\pertype{thesis}
\pertype{mastersthesis}%鍏煎鑰佺殑mastersthesis鍜宲hdthesis绫诲瀷
\pertype{phdthesis}
\step[fieldset=usera, fieldvalue={D}]
+ \step[fieldsource=publisher]%鏈夋椂浼氭妸publisher鍜宨nstitution娣锋穯锛屽鐞嗗悗浣跨敤institution
+ \step[fieldset=institution, origfieldval]
}
\map{
\pertype{online}
\pertype{electronic}%鍏煎鑰佺殑electronic绫诲瀷
\pertype{www}%鍏煎鑰佺殑www绫诲瀷
\step[fieldset=usera, fieldvalue={EB}]
+ \step[fieldsource=publisher]%鏈夋椂浼氭妸publisher鍜宨nstitution娣锋穯锛屽鐞嗗悗浣跨敤institution
+ \step[fieldset=institution, origfieldval]%鍥犱负online鐨勫嚭鐗堥」澶勭悊绫讳技鎵嬪唽
+ \step[fieldsource=organization]%鏈夋椂浼氭妸organization鍜宨nstitution娣锋穯锛屽鐞嗗悗浣跨敤institution锛屼互澧炲己鍏煎鎬
+ \step[fieldset=institution, origfieldval]
}
\map{
\pertype{manual}
\step[fieldset=usera, fieldvalue={A}]
- \step[fieldsource=edition] %鏈夋椂浼氭妸version鍜宔dition娣锋穯锛屽鐞嗗悗閬垮厤璇ラ棶棰橈紝鍙互鐩存帴鐢╲ersion
+ \step[fieldsource=edition]%鏈夋椂浼氭妸version鍜宔dition娣锋穯锛屽鐞嗗悗浣跨敤version
\step[fieldset=version, origfieldval]
- \step[fieldsource=organization]%鍥犱负鐢ㄧ殑report鐨勯┍鍔紝鎵浠ラ渶瑕乮nstitution鍩燂紝鎶妎rganization杞垚瀹冧互澧炲己鍏煎鎬
+ \step[fieldsource=publisher]%鏈夋椂浼氭妸publisher鍜宨nstitution娣锋穯锛屽鐞嗗悗浣跨敤institution
+ \step[fieldset=institution, origfieldval]
+ \step[fieldsource=organization]%鏈夋椂浼氭妸organization鍜宨nstitution娣锋穯锛屽鐞嗗悗浣跨敤institution锛屼互澧炲己鍏煎鎬
\step[fieldset=institution, origfieldval]
- }
- \map{
- \pertype{incollection}
- \step[fieldset=usera, fieldvalue={G}]
- }
- \map{
- \pertype{collection}
- \step[fieldset=usera, fieldvalue={G}]
- \step[fieldsource=editor] %%鏈夌殑鏃跺欏彲鑳藉彧濉啓浜嗙紪鑰咃紝娌℃湁author锛屾妸瀹冨鍒朵竴涓
- \step[fieldset=author, origfieldval]
}
\map{
\pertype{unpublished}
\step[fieldset=usera, fieldvalue={Z}]
}
- \map{
+ \map{%浣滆呯殑涓枃鍒ゆ柇
\step[fieldsource=author, match=\regexp{[\x{2FF0}-\x{9FA5}]},final]
- \step[fieldset=userf, fieldvalue={cn}]
+ \step[fieldset=userf, fieldvalue={chinese}]
}
- \map{
+ \map{%璇戣呯殑涓枃鍒ゆ柇
\step[fieldsource=translator, match=\regexp{[\x{2FF0}-\x{9FA5}]},final]
- \step[fieldset=usere, fieldvalue={cn}]
+ \step[fieldset=usere, fieldvalue={chinese}]
+ }
+ \map{%缂栬呯殑涓枃鍒ゆ柇
+ \step[fieldsource=editor, match=\regexp{[\x{2FF0}-\x{9FA5}]},final]
+ \step[fieldset=userc, fieldvalue={chinese}]
}
\map{%澶勭悊涓浜涚敤year琛ㄧずdate鐨勬儏鍐
%杩欐牱澶勭悊灏嗕細璁剧疆date鍩燂紝骞朵娇寰條abeldatesource鍙樹负绌猴紝鍥犱负date鐨勫墠缂涓虹┖(濡傛灉鏄痷rldate锛岄偅涔坙abeldatesource灏辨槸url)銆
@@ -702,20 +860,15 @@
\step[fieldsource=year]
\step[fieldset=date, origfieldval]
}
- \map{%灏唗itle淇℃伅淇濆瓨鍒皍serd涓伩鍏嶅洜涓烘爣绛剧敓鎴愬師鍥犲鑷磘itle鍩熻娓呴櫎
- \step[fieldsource=title, match=\regexp{[\x{2FF0}-\x{9FA5}]},final]%}
- \step[fieldset=userd, fieldvalue={cn}]
+ \map{%鏂囩尞棰樺悕鐨勪腑鏂囧垽鏂紝灏嗕俊鎭繚瀛樺埌userd涓紝閬垮厤鍥犱负鏍囩鐢熸垚鍘熷洜瀵艰嚧title鍩熻娓呴櫎鑰屼骇鐢熼棶棰
+ \step[fieldsource=title, match=\regexp{[\x{2FF0}-\x{9FA5}]},final]%
+ \step[fieldset=userd, fieldvalue={chinese}]
}
- \map{%灏唀ntrykey鏀惧叆keywords涓敤浜庡悗鏈熺殑浣跨敤
+ \map{%灏唀ntrykey鏀惧叆keywords涓敤浜庡悗鏈熶娇鐢
\step[fieldsource=entrykey]
\step[fieldset=keywords, origfieldval]
}
- \map[overwrite]{%杩欓噷杩樺繀椤绘湁overwrite锛屾敞鎰忎笉鍚岀増鏈瓨鍦ㄥ樊寮傦紝姣斿texlive2015鍙16鍚巄iber鏈夊彉鍖(20161207淇敼姝g‘)
- \step[fieldsource=note, final]%灏唍ote鍩熶俊鎭鍒剁粰keywords锛岀敤浜庤緭鍑烘椂瀹规槗鍖哄垎鏍囧噯鍜屾姤绾
- \step[fieldset=keywords, fieldvalue={,}, append]
- \step[fieldset=keywords, origfieldval, append]
- }
- \map{%
+ \map{%褰撴枃鐚粰鍑簂anguage鍩熸椂锛岃缃枃鐚浣跨敤鐨勬湰鍦板寲瀛楃涓茬殑璇█
\step[fieldsource=language,match=english,final]
\step[fieldset=langid,fieldvalue={english}]
}
@@ -739,7 +892,8 @@
\step[fieldsource=language,match=korean,final]
\step[fieldset=langid,fieldvalue={english}]
}
- \map{%鎶婅瑷淇℃伅璁剧疆language鍩熷唴锛岃屼笉鍐嶇敤userb鍩(20180525)
+ \map{%褰撴病鏈塴anguage鍩熶俊鎭粰鍑烘椂锛屾牴鎹畉itle鍩熸潵鑷姩鍒ゆ柇璇█骞惰缃湰鍦板寲瀛楃涓茶瑷
+ %鎶婅瑷淇℃伅璁剧疆language鍩熷唴锛岃屼笉鍐嶇敤userb鍩(20180525)
%鎺ョ潃鏍规嵁淇℃伅鍩熷瓧绗︾殑unicode鐮佸垽鏂
\step[fieldsource=title,match=\regexp{[\x{0100}-\x{017F}]},final]%\x80-\xFF
\step[fieldset=language,fieldvalue={french}]%娉曡,0080寮濮嬪埌00ff鐨勫瓧绗︽病娉曞尮閰嶆湁鐐瑰鎬
@@ -776,6 +930,9 @@
\step[fieldset=language,fieldvalue={english}]
\step[fieldset=langid,fieldvalue={english}]
}
+ \map{%灏嗛潪涓枃鐨勮瑷鏀惧叆userd涓紝浠ヤ究杩涜澶氳瑷澶勭悊
+ \step[fieldsource=language,fieldtarget=userd,final]
+ }
}
}
@@ -787,29 +944,87 @@
\defversion{3.0}{map}{
\DeclareStyleSourcemap{
\maps[datatype=bibtex]{
- % \map{%灏濊瘯鏈畾涔夋暟鎹ā鍨嬬殑newspaper绫诲瀷鏄犲皠涓篴rticle锛宯ewspaper瀹屽叏鏄拡瀵筭b7714鐨勬柊绫诲瀷锛屽湪biblatex涓畬鍏ㄦ病鏈夊畾涔
- % %浣嗕粠瀹炶返鐪嬶紝骞舵病鏈変粈涔堝奖鍝嶏紝鏄犲皠杩囨潵灏卞彲浠ヤ簡銆
- % \step[typesource=newspaper, typetarget=article, final]
- % }
- \map{%灏濊瘯鏈畾涔夋暟鎹ā鍨嬬殑standard绫诲瀷鏄犲皠涓篵ook锛宻tandard绫诲瀷鍦╞lx-dm涓湁鍑虹幇锛屼絾浠呭畾涔変簡绫诲瀷锛屽煙鍜岀害鏉熺瓑閮芥病鏈夊畾涔
+ \map{%灏濊瘯鏈畾涔夋暟鎹ā鍨嬬殑standard绫诲瀷鏄犲皠涓哄叾浠栫被鍨媌ook鎴杋nbook锛
+ %standard绫诲瀷鍦╞lx-dm涓湁鍑虹幇锛屼絾浠呭畾涔変簡绫诲瀷锛屽煙鍜岀害鏉熺瓑閮芥病鏈夊畾涔
+ %鍥犱负鍙兘瑕佹槧灏勪袱绉嶇被鍨嬶紝鎵浠ヤ笉鑳藉湪椹卞姩灞傚鐞嗭紝鍥犱负瑕佸仛鍒ゆ柇
\step[fieldsource=booktitle,final]%褰撳瓨鍦╞ooktitle鍩熸槸鏄犲皠涓篿nbook
\step[typesource=standard, typetarget=inbook, final]
}
- \map{%灏濊瘯鏈畾涔夋暟鎹ā鍨嬬殑standard绫诲瀷鏄犲皠涓篵ook锛宻tandard绫诲瀷鍦╞lx-dm涓湁鍑虹幇锛屼絾浠呭畾涔変簡绫诲瀷锛屽煙鍜岀害鏉熺瓑閮芥病鏈夊畾涔
- \step[typesource=standard, typetarget=book, final]%褰撲笉瀛樺湪booktitle鍩熸槸鏄犲皠涓篵ook
+ \map{%鍓╀笅鐨勫叏閮ㄦ槧灏勪负book
+ \step[typesource=standard, typetarget=book, final]
}
- \map{%鍏堜簬鏍囧噯鏍峰紡鐨刣river灞傛槧灏勶紝灏嗗叾鍏堟槧灏勮繃鏉ワ紝骞跺彇娑坱ype璁剧疆
+ \map{%鍏堜簬鏍囧噯鏍峰紡鐨刣river灞傛槧灏勶紝浠ュ彇娑坱ype璁剧疆
\step[typesource=mastersthesis, typetarget=thesis, final]
%\step[fieldset=type, fieldvalue=mathesis]
}
- \map{%鍏堜簬鏍囧噯鏍峰紡鐨刣river灞傛槧灏勶紝灏嗗叾鍏堟槧灏勮繃鏉ワ紝骞跺彇娑坱ype璁剧疆
+ \map{%鍏堜簬鏍囧噯鏍峰紡鐨刣river灞傛槧灏勶紝浠ュ彇娑坱ype璁剧疆
\step[typesource=phdthesis, typetarget=thesis, final]
%\step[fieldset=type, fieldvalue=phdthesis]
}
- \map{%鍏堜簬鏍囧噯鏍峰紡鐨刣river灞傛槧灏勶紝灏嗗叾鍏堟槧灏勮繃鏉ワ紝骞跺彇娑坱ype璁剧疆
+ \map{%鍏堜簬鏍囧噯鏍峰紡鐨刣river灞傛槧灏勶紝浠ュ彇娑坱ype璁剧疆
\step[typesource=techreport, typetarget=report, final]
%\step[fieldset=type, fieldvalue=techreport]
}
+ \map{%
+ \pertype{report}
+ \step[notfield=address,final]%褰揳ddress涓嶅瓨鍦ㄥ垯缁х画
+ \step[fieldsource=url,final]%鍦板潃涓嶅瓨鍦ㄤ笖瀛樺湪url閭d箞杞彉涓簅nline
+ \step[typesource=report,typetarget=online]
+ \step[fieldset=note,fieldvalue={report}]
+ }
+ \map{%
+ \pertype{thesis}
+ \step[notfield=address,final]%褰揳ddress涓嶅瓨鍦ㄥ垯缁х画
+ \step[fieldsource=url,final]%鍦板潃涓嶅瓨鍦ㄤ笖瀛樺湪url閭d箞杞彉涓簅nline
+ \step[typesource=thesis,typetarget=online]
+ }
+ \map{%
+ \pertype{manual}
+ \step[notfield=address,final]%褰揳ddress涓嶅瓨鍦ㄥ垯缁х画
+ \step[fieldsource=url,final]%鍦板潃涓嶅瓨鍦ㄤ笖瀛樺湪url閭d箞杞彉涓簅nline
+ \step[typesource=manual,typetarget=online]
+ }
+ \map{%
+ \pertype{unpublished}
+ \step[notfield=address,final]%褰揳ddress涓嶅瓨鍦ㄥ垯缁х画
+ \step[fieldsource=url,final]%鍦板潃涓嶅瓨鍦ㄤ笖瀛樺湪url閭d箞杞彉涓簅nline
+ \step[typesource=unpublished,typetarget=online]
+ }
+ \map{%
+ \pertype{database}
+ \step[notfield=address,final]%褰揳ddress涓嶅瓨鍦ㄥ垯缁х画
+ \step[fieldsource=url,final]%鍦板潃涓嶅瓨鍦ㄤ笖瀛樺湪url閭d箞杞彉涓簅nline
+ \step[typesource=databasetypetarget=online]
+ }
+ \map{%
+ \pertype{dataset}
+ \step[notfield=address,final]%褰揳ddress涓嶅瓨鍦ㄥ垯缁х画
+ \step[fieldsource=url,final]%鍦板潃涓嶅瓨鍦ㄤ笖瀛樺湪url閭d箞杞彉涓簅nline
+ \step[typesource=dataset,typetarget=online]
+ }
+ \map{%
+ \pertype{software}
+ \step[notfield=address,final]%褰揳ddress涓嶅瓨鍦ㄥ垯缁х画
+ \step[fieldsource=url,final]%鍦板潃涓嶅瓨鍦ㄤ笖瀛樺湪url閭d箞杞彉涓簅nline
+ \step[typesource=software,typetarget=online]
+ }
+ \map{%
+ \pertype{map}
+ \step[notfield=address,final]%褰揳ddress涓嶅瓨鍦ㄥ垯缁х画
+ \step[fieldsource=url,final]%鍦板潃涓嶅瓨鍦ㄤ笖瀛樺湪url閭d箞杞彉涓簅nline
+ \step[typesource=map,typetarget=online]
+ }
+ \map{%
+ \pertype{archive}
+ \step[notfield=address,final]%褰揳ddress涓嶅瓨鍦ㄥ垯缁х画
+ \step[fieldsource=url,final]%鍦板潃涓嶅瓨鍦ㄤ笖瀛樺湪url閭d箞杞彉涓簅nline
+ \step[typesource=archive,typetarget=online]
+ }
+ \map[overwrite]{%杩欓噷杩樺繀椤绘湁overwrite锛屾敞鎰忎笉鍚岀増鏈瓨鍦ㄥ樊寮傦紝姣斿texlive2015鍙16鍚巄iber鏈夊彉鍖(20161207淇敼姝g‘)
+ \step[fieldsource=note, final]%灏唍ote鍩熶俊鎭鍒剁粰keywords锛岀敤浜庤緭鍑烘椂瀹规槗鍖哄垎鏍囧噯鍜屾姤绾
+ \step[fieldset=keywords, fieldvalue={,}, append]
+ \step[fieldset=keywords, origfieldval, append]
+ }
\map[overwrite]{%title,booktitle,journaltitle,journal,publisher,address,location,institution,organization
\step[fieldsource={title}, match=\regexp{([^\\])\x26}, replace=\regexp{$1\\\x26}]
}
@@ -851,29 +1066,87 @@
\defversion{3.4}{map}{
\DeclareStyleSourcemap{
\maps[datatype=bibtex]{
- % \map{%灏濊瘯鏈畾涔夋暟鎹ā鍨嬬殑newspaper绫诲瀷鏄犲皠涓篴rticle锛宯ewspaper瀹屽叏鏄拡瀵筭b7714鐨勬柊绫诲瀷锛屽湪biblatex涓畬鍏ㄦ病鏈夊畾涔
- % %浣嗕粠瀹炶返鐪嬶紝骞舵病鏈変粈涔堝奖鍝嶏紝鏄犲皠杩囨潵灏卞彲浠ヤ簡銆
- % \step[typesource=newspaper, typetarget=article, final]
- % }
- \map{%灏濊瘯鏈畾涔夋暟鎹ā鍨嬬殑standard绫诲瀷鏄犲皠涓篵ook锛宻tandard绫诲瀷鍦╞lx-dm涓湁鍑虹幇锛屼絾浠呭畾涔変簡绫诲瀷锛屽煙鍜岀害鏉熺瓑閮芥病鏈夊畾涔
+ \map{%灏濊瘯鏈畾涔夋暟鎹ā鍨嬬殑standard绫诲瀷鏄犲皠涓哄叾浠栫被鍨媌ook鎴杋nbook锛
+ %standard绫诲瀷鍦╞lx-dm涓湁鍑虹幇锛屼絾浠呭畾涔変簡绫诲瀷锛屽煙鍜岀害鏉熺瓑閮芥病鏈夊畾涔
+ %鍥犱负鍙兘瑕佹槧灏勪袱绉嶇被鍨嬶紝鎵浠ヤ笉鑳藉湪椹卞姩灞傚鐞嗭紝鍥犱负瑕佸仛鍒ゆ柇
\step[fieldsource=booktitle,final]%褰撳瓨鍦╞ooktitle鍩熸槸鏄犲皠涓篿nbook
\step[typesource=standard, typetarget=inbook, final]
}
- \map{%灏濊瘯鏈畾涔夋暟鎹ā鍨嬬殑standard绫诲瀷鏄犲皠涓篵ook锛宻tandard绫诲瀷鍦╞lx-dm涓湁鍑虹幇锛屼絾浠呭畾涔変簡绫诲瀷锛屽煙鍜岀害鏉熺瓑閮芥病鏈夊畾涔
- \step[typesource=standard, typetarget=book, final]%褰撲笉瀛樺湪booktitle鍩熸槸鏄犲皠涓篵ook
+ \map{%鍓╀笅鐨勫叏閮ㄦ槧灏勪负book
+ \step[typesource=standard, typetarget=book, final]
}
- \map{%鍏堜簬鏍囧噯鏍峰紡鐨刣river灞傛槧灏勶紝灏嗗叾鍏堟槧灏勮繃鏉ワ紝骞跺彇娑坱ype璁剧疆
+ \map{%鍏堜簬鏍囧噯鏍峰紡鐨刣river灞傛槧灏勶紝浠ュ彇娑坱ype璁剧疆
\step[typesource=mastersthesis, typetarget=thesis, final]
%\step[fieldset=type, fieldvalue=mathesis]
}
- \map{%鍏堜簬鏍囧噯鏍峰紡鐨刣river灞傛槧灏勶紝灏嗗叾鍏堟槧灏勮繃鏉ワ紝骞跺彇娑坱ype璁剧疆
+ \map{%鍏堜簬鏍囧噯鏍峰紡鐨刣river灞傛槧灏勶紝浠ュ彇娑坱ype璁剧疆
\step[typesource=phdthesis, typetarget=thesis, final]
%\step[fieldset=type, fieldvalue=phdthesis]
}
- \map{%鍏堜簬鏍囧噯鏍峰紡鐨刣river灞傛槧灏勶紝灏嗗叾鍏堟槧灏勮繃鏉ワ紝骞跺彇娑坱ype璁剧疆
+ \map{%鍏堜簬鏍囧噯鏍峰紡鐨刣river灞傛槧灏勶紝浠ュ彇娑坱ype璁剧疆
\step[typesource=techreport, typetarget=report, final]
%\step[fieldset=type, fieldvalue=techreport]
}
+ \map{%
+ \pertype{report}
+ \step[notfield=address,final]%褰揳ddress涓嶅瓨鍦ㄥ垯缁х画
+ \step[fieldsource=url,final]%鍦板潃涓嶅瓨鍦ㄤ笖瀛樺湪url閭d箞杞彉涓簅nline
+ \step[typesource=report,typetarget=online]
+ \step[fieldset=note,fieldvalue={report}]
+ }
+ \map{%
+ \pertype{thesis}
+ \step[notfield=address,final]%褰揳ddress涓嶅瓨鍦ㄥ垯缁х画
+ \step[fieldsource=url,final]%鍦板潃涓嶅瓨鍦ㄤ笖瀛樺湪url閭d箞杞彉涓簅nline
+ \step[typesource=thesis,typetarget=online]
+ }
+ \map{%
+ \pertype{manual}
+ \step[notfield=address,final]%褰揳ddress涓嶅瓨鍦ㄥ垯缁х画
+ \step[fieldsource=url,final]%鍦板潃涓嶅瓨鍦ㄤ笖瀛樺湪url閭d箞杞彉涓簅nline
+ \step[typesource=manual,typetarget=online]
+ }
+ \map{%
+ \pertype{unpublished}
+ \step[notfield=address,final]%褰揳ddress涓嶅瓨鍦ㄥ垯缁х画
+ \step[fieldsource=url,final]%鍦板潃涓嶅瓨鍦ㄤ笖瀛樺湪url閭d箞杞彉涓簅nline
+ \step[typesource=unpublished,typetarget=online]
+ }
+ \map{%
+ \pertype{database}
+ \step[notfield=address,final]%褰揳ddress涓嶅瓨鍦ㄥ垯缁х画
+ \step[fieldsource=url,final]%鍦板潃涓嶅瓨鍦ㄤ笖瀛樺湪url閭d箞杞彉涓簅nline
+ \step[typesource=databasetypetarget=online]
+ }
+ \map{%
+ \pertype{dataset}
+ \step[notfield=address,final]%褰揳ddress涓嶅瓨鍦ㄥ垯缁х画
+ \step[fieldsource=url,final]%鍦板潃涓嶅瓨鍦ㄤ笖瀛樺湪url閭d箞杞彉涓簅nline
+ \step[typesource=dataset,typetarget=online]
+ }
+ \map{%
+ \pertype{software}
+ \step[notfield=address,final]%褰揳ddress涓嶅瓨鍦ㄥ垯缁х画
+ \step[fieldsource=url,final]%鍦板潃涓嶅瓨鍦ㄤ笖瀛樺湪url閭d箞杞彉涓簅nline
+ \step[typesource=software,typetarget=online]
+ }
+ \map{%
+ \pertype{map}
+ \step[notfield=address,final]%褰揳ddress涓嶅瓨鍦ㄥ垯缁х画
+ \step[fieldsource=url,final]%鍦板潃涓嶅瓨鍦ㄤ笖瀛樺湪url閭d箞杞彉涓簅nline
+ \step[typesource=map,typetarget=online]
+ }
+ \map{%
+ \pertype{archive}
+ \step[notfield=address,final]%褰揳ddress涓嶅瓨鍦ㄥ垯缁х画
+ \step[fieldsource=url,final]%鍦板潃涓嶅瓨鍦ㄤ笖瀛樺湪url閭d箞杞彉涓簅nline
+ \step[typesource=archive,typetarget=online]
+ }
+ \map[overwrite]{%杩欓噷杩樺繀椤绘湁overwrite锛屾敞鎰忎笉鍚岀増鏈瓨鍦ㄥ樊寮傦紝姣斿texlive2015鍙16鍚巄iber鏈夊彉鍖(20161207淇敼姝g‘)
+ \step[fieldsource=note, final]%灏唍ote鍩熶俊鎭鍒剁粰keywords锛岀敤浜庤緭鍑烘椂瀹规槗鍖哄垎鏍囧噯鍜屾姤绾
+ \step[fieldset=keywords, fieldvalue={,}, append]
+ \step[fieldset=keywords, origfieldval, append]
+ }
\map[overwrite, foreach={title,booktitle,journaltitle,journal,publisher,address,location,institution,organization}]{
\step[fieldsource=\regexp{$MAPLOOP}, match=\regexp{([^\\])\#}, replace=\regexp{$1\\\#}]
}
@@ -892,8 +1165,17 @@
{\switchversion{3.0}{map}}%%褰撻噰鐢╞iblatex<=3.2鐗堟湰鏃
{\switchversion{3.4}{map}}%%褰撻噰鐢3.3<=biblatex鐗堟湰鏃
-\DeclareBibliographyAlias{newspaper}{article}%瀹氫箟椹卞姩鍒悕锛屽皾璇曚互鏇夸唬椹卞姩灞傛槧灏勶紝瀹炶返琛ㄦ槑鏄彲琛岀殑銆
-\DeclareBibliographyAlias{unpublished}{manual}
+%
+%椹卞姩鍒悕绛変环浜庨┍鍔ㄥ眰鏄犲皠
+%
+\DeclareBibliographyAlias{newspaper}{article}%
+\DeclareBibliographyAlias{inproceedings}{inbook}%浼氳璁烘枃鏂囩尞绫诲瀷椹卞姩
+\DeclareBibliographyAlias{conference}{inbook}%浼氳璁烘枃鏂囩尞绫诲瀷椹卞姩
+\DeclareBibliographyAlias{incollection}{inbook}%鏂囬泦涓瀽鍑烘枃鐚被鍨嬮┍鍔
+\DeclareBibliographyAlias{collection}{book}%%鏂囬泦绫诲瀷椹卞姩
+\DeclareBibliographyAlias{proceedings}{book}%浼氳璁烘枃闆嗘枃鐚被鍨嬮┍鍔
+\DeclareBibliographyAlias{thesis}{manual}%瀛︿綅璁烘枃椹卞姩
+\DeclareBibliographyAlias{unpublished}{manual}%鍏跺畠绫诲瀷椹卞姩
\DeclareBibliographyAlias{database}{manual}
\DeclareBibliographyAlias{dataset}{manual}
\DeclareBibliographyAlias{software}{manual}
@@ -901,6 +1183,7 @@
\DeclareBibliographyAlias{archive}{manual}
+
%=====================================================================
% 鍙傝冩枃鐚〃鐜
%=====================================================================
@@ -909,9 +1192,10 @@
%
% 澧炲姞涓涓猏bibitemindent灏哄鐢ㄤ簬鎺у埗list鐜鐨刬temindent
% v1.0l锛20180615锛宧zz
+\setlength{\bibhang}{\biblabelsep}%
\newlength{\bibitemindent}
\setlength{\bibitemindent}{0pt}
-\setlength{\bibhang}{\biblabelsep}%
+
\defbibenvironment{bibliography}
{\list
@@ -942,7 +1226,7 @@
% \DeclareFieldFormat{shorthandwidth}{\mkbibbrackets{#1}} %婧愭潵鑷猲umeric.BBX
% \DeclareFieldFormat{labelnumberwidth}{\ttfamily\mkbibbrackets{#1}\hfill}
\DeclareFieldFormat{labelnumberwidth}{%
-\ifcase\value{alignlabel}%鍙冲榻愶紝鏁翠釜鏍囩涓哄彸瀵归綈
+\ifcase\value{gbalignlabel}%鍙冲榻愶紝鏁翠釜鏍囩涓哄彸瀵归綈
\mkgbnumlabel{#1}%
\or%宸﹀榻愶紝鏁翠釜鏍囩涓哄乏瀵归綈
\mkgbnumlabel{#1}\hfill%
@@ -1006,7 +1290,7 @@
% 璁剧疆鍗曞厓鎴栧潡绛夌殑鏍囩偣
%=====================================================================
\renewrobustcmd*{\bibinithyphendelim}{\addhighpenspace}%鐢ㄤ簬澶勭悊濮撳悕涓悕閮ㄥ垎瀛樺湪-鐨勬儏鍐碉紝姣斿ZHANG Yu-xin
-\renewcommand*{\subtitlepunct}{\addcolon\space} %淇敼鏍囬鍜屽叾瀹冩爣棰樹俊鎭棿鐨勬爣鐐癸紝鏉ユ簮biblatex.def锛
+\renewcommand*{\subtitlepunct}{\addcolon\addspace} %淇敼鏍囬鍜屽叾瀹冩爣棰樹俊鎭棿鐨勬爣鐐癸紝鏉ユ簮biblatex.def锛
%
% 鍒╃敤set瀹炵幇鐨勫璇█鏂囩尞涓嶅悓璇█闂寸殑鍒嗛殧绗
% 20170411锛屽弻璇箣闂寸敤newline鏇挎崲par锛岄伩鍏嶉噰鐢╣b7714-2015鐨勯」瀵归綈鏂瑰紡绗簩璇█闂村垎娈靛鑷存病鏈夌缉杩
@@ -1015,13 +1299,16 @@
% 杩欓噷璋冩暣涓涓嬩袱绉嶈瑷鍙傝冩枃鐚殑闂撮殧锛屾簮鏉ヨ嚜biblatex.def
\renewcommand*{\entrysetpunct}{\adddot\newline\nobreak}
\renewcommand*{\bibpagespunct}{\addcolon\addthinspace}%%椤电爜寮曠敤鏍煎紡鐨勪慨鏀癸紝淇敼涓虹敤鍐掑彿
-
+%\renewcommand{\relateddelim}{}%\par
%=====================================================================
% 淇敼鍩熺殑鏍煎紡锛岄噸瀹氫箟鍩熺殑杈撳嚭瀹
%=====================================================================
%
% 鏂板鏂囩尞绫诲瀷鏍囪瘑绗︾殑鏍煎紡
+% []鍓嶇殑nobreak锛屼粠GB4.1鑺傜殑渚嬪瓙鐪嬩笉搴旇鍔狅紝鎵浠ュ幓鎺
+% 浣嗗洜涓鸿冭檻鍒癱jk瀛楃鍜孾]涔嬮棿鍙兘娣诲姞绌烘牸锛屾墍浠ヤ粛鐒跺姞涓
+% 鑰孾]涓棿鐨勫唴瀹癸紝浠4.6.2鑺傜殑渚嬪瓙鐪嬩篃鏄彲浠ュ垎鍓茬殑锛屽洜姝ゅ唴閮ㄧ殑nobreak涔熷彲浠ュ幓鎺
%
\DeclareFieldFormat{gbtypeflag}{%
\iftoggle{bbx:url}{\iffieldundef{url}%褰撳瓨鍦╱rl鏃讹紝澧炲姞涓涓狾L鏍囪瘑绗
@@ -1072,6 +1359,11 @@
\setcounter{biburlnumpenalty}{100} %璁﹗rl鍙互鍦ㄦ暟瀛楀悗鏂
\setcounter{biburlucpenalty}{100} %璁﹗rl鍙互鍦ㄥぇ鍐欏瓧姣嶅悗鏂
\setcounter{biburllcpenalty}{100} %璁﹗rl鍙互鍦ㄥ皬鍐欏瓧姣嶅悗鏂
+\DeclareFieldFormat{doi}{%
+ \rmfamily{DOI}\addcolon\space
+ \ifhyperref
+ {\href{https://doi.org/#1}{\nolinkurl{#1}}}
+ {\nolinkurl{#1}}}
%
% 鏍囬鐨勫瓧姣嶅ぇ灏忓啓鏍煎紡淇敼
%
@@ -1134,37 +1426,87 @@
%\setunit{\addspace}%
\printnames[bytranslator]{translator}%
\clearname{translator}%
+ %浠巑acro*{bytranslator+othersstrg}%涓彲浠ョ湅鍒板綋鍦板寲瀛楃涓叉牸寮忕殑寮曠敤鍓嶇殑浠g爜澶勭悊
+ %姣斿鐢熸垚cotranslator绛夌敤浜庤皟鐢╟otranslator鎵浠h〃鐨勫綋鍦板寲瀛楃涓
\usebibmacro{bytranslator+othersstrg}%鈥滆瘧鈥濈殑浣嶇疆鎹㈠埌涓嬮潰鏉ワ紝鍗虫斁鍒拌瘧鑰呭悗闈€
\setunit*{\addspace}%
\newunit}%
\usebibmacro{withothers}}
%
-% 涓嬮潰涓娈垫病鏈夌敤锛屼絾浠庝腑鍙互鐪嬪埌褰撳湴鍖栧瓧绗︿覆鏍煎紡鐨勫紩鐢ㄥ墠鐨勪唬鐮佸鐞
-% 姣斿鐢熸垚cotranslator绛夌敤浜庤皟鐢╟otranslator鎵浠h〃鐨勫綋鍦板寲瀛楃涓
-%\renewbibmacro*{bytranslator+othersstrg}{%
-
-%
% 淇敼浣滆呮暟閲忚秴杩囬檺瀹氬硷紝鍋氱渷鐣ユ椂鐨勫鐞嗘牸寮
+% v1.0,20160701,hzz
+% v1.0O,20190103,hzz,淇敼鍒╃敤鏂板畾涔夌殑涓涓垎闅旂strandothersdelim
%
-% 鍘熺悊鏂规硶:鍒ゆ柇浣滆呮垨璇戣呮槸鍚︿腑鏂囷紝鑻ヤ腑鏂囩敤瀛楃绛夛紝鍚﹀垯鐢╡tcl銆
+% 鍘熺悊鏂规硶:鍒ゆ柇浣滆呮垨璇戣呮槸鍚︿腑鏂囷紝鑻ヤ腑鏂囩敤瀛楃绛夛紝鍚﹀垯鐢╡t al. 銆
\renewbibmacro*{name:andothers}{%
\ifboolexpr{
test {\ifnumequal{\value{listcount}}{\value{liststop}}}
and
test \ifmorenames
- }{%杩欓噷鍋氫竴涓垽鏂槸鍦ㄥ鐞哸uthor杩樻槸translator鐢ㄤ簬涓よ呮槸涓嶅悓璇█鐨勬儏鍐
- \ifcurrentname{translator}{\testCJKfirst{usere}}{\testCJKfirst{userf}}%
- %杩欏彞鍒ゆ柇濡傛灉鏀惧埌\andothersdelim鍚庨潰浼氬湪绛夋垨etc.鍓嶅鍔犱竴涓┖鏍硷紝鎵浠ユ斁鍓嶉潰
- \ifnumgreater{\value{liststop}}{1}
+ }{\ifnumgreater{\value{liststop}}{1}
{\finalandcomma}%
{}%biblatex浣滆呰鍖哄埆鍗曚綔鑰呭姞绛夌殑鎯呭喌锛岃繖閲屼负绗﹀悎gbt7714-2015绗7.2鑺傜殑瑕佹眰鍔犱笂浜嗛楀彿銆
-\printdelim{andothersdelim}\iftoggle{ifCJKforgbt}{\bibstring{andotherscn}}{\bibstring{andothers}}%
-%\andothersdelim\bibstring{andotherscn}
+\printdelim{andothersdelim}\printdelim{strandothersdelim}%
}{}}
%
+% 淇敼鐪佺暐浣滆呭悗鐨勬湰鍦板寲瀛楃涓诧紝姣斿et al.
+% v1.0o,20190103,hzz
+%
+% 鍘熺悊鏂规硶:榛樿鎯呭喌涓嬪垽鏂綔鑰呮垨璇戣呮槸鍚︿腑鏂囷紝鑻ヤ腑鏂囩敤瀛楃andotherscn=鈥滅瓑鈥濓紝鍚﹀垯鐢╝ndothers=鈥渆t al.鈥濄
+% 闈為粯璁ゆ儏鍐碉紝鏍规嵁閫夐」淇℃伅锛岄夋嫨閫夋嫨寮哄埗涓枃鎴栬嫳鏂
+% 棣栧厛璁剧疆鍏ㄥ眬鐨勶紝鐒跺悗璁剧疆鏂囩尞琛ㄤ腑鐨勶紝杩欎竴绛変环浜庡皢鎵鏈夌殑cite鍛戒护鐜閮借缃繃浜
+% 鑰屼笉鐢ㄥ姣忎竴涓紩鐢ㄥ懡浠ゅ崟鐙缃紝姣斿cite锛宲arancite锛宼extcite閮借缃
+\DeclareDelimFormat{strandothersdelim}{%
+ \ifnumgreater{\value{liststop}}{2}{\finalandcomma}{}%
+ \addspace%
+ \ifcurrentname{translator}{\testCJKfirst{usere}}{\testCJKfirst{userf}}%
+ \ifcurrentname{editor}{\testCJKfirst{userc}}{\testCJKfirst{userf}}%
+ \ifcase\value{gbbiblocalcase}%
+ \iftoggle{ifCJKforgbt}{\bibstring{andotherscn}}{%
+ \iffieldequalstr{userd}{korean}{\bibstring{andotherskr}}{}%
+\iffieldequalstr{userd}{japnese}{\bibstring{andothersjp}}{}%
+\iffieldequalstr{userd}{english}{\bibstring{andothers}}{}%
+\iffieldequalstr{userd}{french}{\bibstring{andothers}}{}%
+\iffieldequalstr{userd}{russian}{\bibstring{andothers}}{}%
+}\space%
+ \or%
+ \bibstring{andotherscn}\space%
+ \or%
+ \bibstring{andothers}\space%
+ \fi}
+
+%
+% 淇敼鏈鍚庝竴涓綔鑰呭墠鐨勫瓧绗︿覆锛屾瘮濡 and
+% v1.0o,20190103,hzz
+%
+% 鍘熺悊鏂规硶:榛樿鎯呭喌涓嬪垽鏂綔鑰呮垨璇戣呮槸鍚︿腑鏂囷紝鑻ヤ腑鏂囩敤瀛楃andcn=鈥滃拰鈥濓紝鍚﹀垯鐢╝nd=鈥渁nd鈥濄
+% 闈為粯璁ゆ儏鍐碉紝鏍规嵁閫夐」淇℃伅锛岄夋嫨閫夋嫨寮哄埗涓枃鎴栬嫳鏂
+% 棣栧厛璁剧疆鍏ㄥ眬鐨勶紝鐒跺悗璁剧疆鏂囩尞琛ㄤ腑鐨勶紝杩欎竴绛変环浜庡皢鎵鏈夌殑cite鍛戒护鐜閮借缃繃浜
+% 鑰屼笉鐢ㄥ姣忎竴涓紩鐢ㄥ懡浠ゅ崟鐙缃紝姣斿cite锛宲arancite锛宼extcite閮借缃
+\DeclareDelimFormat{finalnamedelim}{%
+ \ifnumgreater{\value{liststop}}{2}{\finalandcomma}{}%
+ \addspace%
+ \ifcurrentname{translator}{\testCJKfirst{usere}}{\testCJKfirst{userf}}%
+ \ifcurrentname{editor}{\testCJKfirst{userc}}{\testCJKfirst{userf}}%
+ \ifcase\value{gbbiblocalcase}%
+ \iftoggle{ifCJKforgbt}{\bibstring{andcn}}{%
+\iffieldequalstr{userd}{korean}{\bibstring{andkr}}{}%
+\iffieldequalstr{userd}{japnese}{\bibstring{andjp}}{}%
+\iffieldequalstr{userd}{english}{\bibstring{and}}{}%
+\iffieldequalstr{userd}{french}{\bibstring{and}}{}%
+\iffieldequalstr{userd}{russian}{\bibstring{and}}{}%
+}\space%
+ \or%
+ \bibstring{andcn}\space%
+ \or%
+ \bibstring{and}\space%
+ \fi}
+
+
+%
% 閲嶈title鐨勮緭鍑
%
% 20180425锛寁1.0k锛屼负鏍囬澧炲姞瀛椾綋鎺у埗鍛戒护锛孒u Zhenzhen
@@ -1202,8 +1544,8 @@
% 20180603锛寁1.0l锛屽鍔犱娇鐢╪ameformat鍩熸潵閫夋嫨濮撳悕鏍煎紡
\DeclareNameFormat{namefmtselected}{%
\iffieldundef{namefmtid}{}%
-{\defcounter{namefmtcase}{\thefield{namefmtid}}}%
-\ifcase\value{namefmtcase}%
+{\defcounter{gbnamefmtcase}{\thefield{namefmtid}}}%
+\ifcase\value{gbnamefmtcase}%
\ifgiveninits
{\usebibmacro{name:gbuppercase}
{\namepartfamily}
@@ -1281,7 +1623,7 @@
\ifprefchar{}{\bibnamedelimc}}%
\ifdefvoid{#2}{\mkbibnamefamily{\MakeCapital{#1}}}{\mkbibnamefamily{\MakeUppercase{#1}}}\isdot%
\ifdefvoid{#2}{}{\revsdnamepunct\bibnamedelimd\mkbibnamegiven{\MakeUppercase{#2}}\isdot}%\MakeCapital
- \ifdefvoid{#4}{}{\bibnamedelimd\mkbibnamesuffix{#4}\isdot}}%
+ \ifdefvoid{#4}{}{\addcomma\bibnamedelimd\mkbibnamesuffix{#4}\isdot}}%鍚庣紑鍓嶅姞閫楀彿
{\usebibmacro{name:delim}{#1}%
\usebibmacro{name:hook}{#1}%
\ifdefvoid{#2}{\mkbibnamefamily{\MakeCapital{#1}}}{\mkbibnamefamily{\MakeUppercase{#1}}}\isdot%
@@ -1292,7 +1634,7 @@
{}{\revsdnamepunct}%
\ifdefvoid{#2}{}{\bibnamedelimd\mkbibnamegiven{\MakeUppercase{#2}}\isdot}%\MakeCapital
\ifdefvoid{#3}{}{\bibnamedelimd\mkbibnameprefix{#3}\isdot}%
- \ifdefvoid{#4}{}{\bibnamedelimd\mkbibnamesuffix{#4}\isdot}}%
+ \ifdefvoid{#4}{}{\addcomma\bibnamedelimd\mkbibnamesuffix{#4}\isdot}}%%鍚庣紑鍓嶅姞閫楀彿
}
%GB/T 7714-2015 椋庢牸锛屽ぇ灏忓啓涓嶅彉锛屾牴鎹産ib鏂囦欢鍐呰緭鍏ュ師鏍疯緭鍑
@@ -1309,7 +1651,7 @@
\ifprefchar{}{\bibnamedelimc}}%
\ifdefvoid{#2}{\mkbibnamefamily{\MakeCapital{#1}}}{\mkbibnamefamily{{#1}}}\isdot%
\ifdefvoid{#2}{}{\revsdnamepunct\bibnamedelimd\mkbibnamegiven{{#2}}\isdot}%\MakeCapital
- \ifdefvoid{#4}{}{\bibnamedelimd\mkbibnamesuffix{#4}\isdot}}
+ \ifdefvoid{#4}{}{\addcomma\bibnamedelimd\mkbibnamesuffix{#4}\isdot}}%鍚庣紑鍓嶅姞閫楀彿
{\usebibmacro{name:delim}{#1}%
\usebibmacro{name:hook}{#1}%
\ifdefvoid{#2}{\mkbibnamefamily{\MakeCapital{#1}}}{\mkbibnamefamily{{#1}}}\isdot%
@@ -1320,7 +1662,7 @@
{}{\revsdnamepunct}%
\ifdefvoid{#2}{}{\bibnamedelimd\mkbibnamegiven{{#2}}\isdot}%\MakeCapital
\ifdefvoid{#3}{}{\bibnamedelimd\mkbibnameprefix{#3}\isdot}
- \ifdefvoid{#4}{}{\bibnamedelimd\mkbibnamesuffix{#4}\isdot}}%
+ \ifdefvoid{#4}{}{\addcomma\bibnamedelimd\mkbibnamesuffix{#4}\isdot}}%%鍚庣紑鍓嶅姞閫楀彿
}
%涓枃甯歌椋庢牸锛屾眽璇嫾闊冲叏鎷兼ā寮
@@ -1375,7 +1717,7 @@
%\mkbibnamelast{\MakeUppercase{#1}}\isdot
%\ifblank{#4}{}{\bibnamedelimd\mkbibnameaffix{#4}\isdot}%杩欏彞鏀惧埌鍚庨潰
\ifblank{#2}{}{\revsdnamepunct\bibnamedelimd\mkbibnamefirst{\MakeUppercase{#2}}\isdot}%
- \ifblank{#4}{}{\addcomma\addspace\bibnamedelimd\mkbibnameaffix{#4}\isdot}}
+ \ifblank{#4}{}{\addcomma\addspace\bibnamedelimd\mkbibnameaffix{#4}\isdot}}%鍚庣紑鍓嶅姞閫楀彿
{\usebibmacro{name:delim}{#1}%
\usebibmacro{name:hook}{#1}%
%\mkbibnamelast{#1}\isdot %3.9.1 Generic Commands and Hooks锛屽濮撻噸鏂板鐞嗭紝濡備笅鍙: %\mkbibnamelast{\MakeUppercase{#1}}
@@ -1386,7 +1728,7 @@
\ifblank{#2}{}{\bibnamedelimd\mkbibnamefirst{\MakeUppercase{#2}}\isdot}%
\ifblank{#3}{}{\bibnamedelimd\mkbibnameprefix{#3}\isdot}%
\addcomma\addspace%
- \ifblank{#4}{}{\addcomma\addspace\bibnamedelimd\mkbibnameaffix{#4}\isdot}%
+ \ifblank{#4}{}{\addcomma\addspace\bibnamedelimd\mkbibnameaffix{#4}\isdot}%%鍚庣紑鍓嶅姞閫楀彿
}%
}
@@ -1404,7 +1746,7 @@
\ifpunctmark{'}{}{\bibnamedelimc}}%
\ifblank{#2}{\MakeCapital#1}{\mkbibnamelast{{#1}}}\isdot%\MakeUppercase %\mkbibnamelast{\MakeUppercase{#1}} %\MakeSentenceCase
\ifblank{#2}{}{\revsdnamepunct\bibnamedelimd\mkbibnamefirst{{#2}}\isdot}%
- \ifblank{#4}{}{\addcomma\addspace\bibnamedelimd\mkbibnameaffix{#4}\isdot}}
+ \ifblank{#4}{}{\addcomma\addspace\bibnamedelimd\mkbibnameaffix{#4}\isdot}}%鍚庣紑鍓嶅姞閫楀彿
{\usebibmacro{name:delim}{#1}%
\usebibmacro{name:hook}{#1}%
\ifblank{#2}{\MakeCapital#1}{\mkbibnamelast{{#1}}}\isdot %澶у啓锛屽弬鑰4.6.4 Miscellaneous Commands锛孿MakeUppercase %\MakeSentenceCase
@@ -1412,7 +1754,7 @@
\ifblank{#2}{}{\bibnamedelimd\mkbibnamefirst{{#2}}\isdot}%
\ifblank{#3}{}{\bibnamedelimd\mkbibnameprefix{#3}\isdot}%
\addcomma\addspace%
- \ifblank{#4}{}{\addcomma\addspace\bibnamedelimd\mkbibnameaffix{#4}\isdot}%
+ \ifblank{#4}{}{\addcomma\addspace\bibnamedelimd\mkbibnameaffix{#4}\isdot}%%鍚庣紑鍓嶅姞閫楀彿
}%
}
@@ -1446,8 +1788,8 @@
%%biblatex<3.2鐗堢殑鎯呭喌锛屽鍚嶇殑澶勭悊鏍煎紡甯﹀弬鏁
\DeclareNameFormat{namefmtselected}{%
\iffieldundef{namefmtid}{}%
- {\defcounter{namefmtcase}{\thefield{namefmtid}}}%
- \ifcase\value{namefmtcase}%
+ {\defcounter{gbnamefmtcase}{\thefield{namefmtid}}}%
+ \ifcase\value{gbnamefmtcase}%
\iffirstinits
{\usebibmacro{name:gbuppercase}{#1}{#4}{#5}{#7}}
{\usebibmacro{name:gbuppercase}{#1}{#3}{#5}{#7}}%
@@ -1496,14 +1838,18 @@
\iffieldundef{urlmonth}{}{\bibrangedash\printfield{urlmonth}}%
\iffieldundef{urlday}{}{\bibrangedash\printfield{urlday}}\printtext{]}}
- \newbibmacro*{newsdate}{%%鏂板鍔犱竴涓柊闂绘棩鏈
+ \newbibmacro*{newsdate}{%%鏂板鍔犱竴涓叕鍛婃棩鏈燂紝鍏紑鏃ユ湡鎴栨柊闂绘棩鏈
\iffieldundef{year}{}{\printfield{year}%
\iffieldundef{month}{}{\bibrangedash\printtext{\thefield{month}}%
\iffieldundef{day}{}{\bibrangedash\printfield{day}}}}%
}
\newbibmacro*{modifydate}{%鏂板鍔犱竴涓甫鎷彿鐨勬棩鏈燂紝鐢ㄤ簬琛ㄧず鐢靛瓙璧勬簮鐨勬洿鏂板拰淇敼鏃ユ湡锛岃屽叕鍛婃棩鏈熷垯鎸夋棩鏈熸牸寮
- \iffieldequalstr{year}{}{%鏇挎崲\iffieldundef{year}锛屽洜涓簓ear鎬绘槸瀛樺湪锛屼絾涓虹┖
+ \ifboolexpr{%
+ test{\iffieldundef{day}} and test{\iffieldundef{endday}} and test{\iffieldundef{eventday}}%
+ }%
+ {}%鏇存柊鎴栦慨鏀规棩鏈熼氬父鏈塪ay淇℃伅
+ {\iffieldequalstr{year}{}{%鏇挎崲\iffieldundef{year}锛屽洜涓簓ear鎬绘槸瀛樺湪锛屼絾涓虹┖
\iffieldundef{endyear}{%
\iffieldundef{eventyear}{}{\printtext{\mkbibparens{\printtext{\printfield{eventyear}}%
\iffieldundef{eventmonth}{}{\bibrangedash\thefield{eventmonth}}%
@@ -1522,7 +1868,7 @@
\iffieldundef{day}{}{\bibrangedash\printfield{day}}}}%
}%
}%
- }%
+ }}%
}
%
@@ -1545,13 +1891,17 @@
}
\newbibmacro*{modifydate}{%鏂板鍔犱竴涓甫鎷彿鐨勬棩鏈燂紝鐢ㄤ簬琛ㄧず鐢靛瓙璧勬簮鐨勬洿鏂板拰淇敼鏃ユ湡锛岃屽叕鍛婃棩鏈熷垯鎸夋棩鏈熸牸寮
- \iffieldundef{year}{%
+ \ifboolexpr{%
+ test{\iffieldundef{day}} and test{\iffieldundef{endday}} and test{\iffieldundef{eventday}}%
+ }%
+ {}%鏇存柊鎴栦慨鏀规棩鏈熼氬父鏈塪ay淇℃伅
+ {\iffieldundef{year}{%
\iffieldundef{endyear}{\iffieldundef{eventyear}{}{\printtext{(}\printeventdate\printtext{)}}}%
{\printtext{(}\printenddate\printtext{)}}%
}{\iffieldequalstr{year}{}{%鍥犱负year瀛樺湪锛屼絾涓虹┖
}{\printtext{(}\blx@edtfdate{}{}\printtext{)}}%
}%
- }%
+ }}%
}
%
@@ -1576,13 +1926,17 @@
}
\newbibmacro*{modifydate}{%鏂板鍔犱竴涓甫鎷彿鐨勬棩鏈燂紝鐢ㄤ簬琛ㄧず鐢靛瓙璧勬簮鐨勬洿鏂板拰淇敼鏃ユ湡锛岃屽叕鍛婃棩鏈熷垯鎸夋棩鏈熸牸寮
- \iffieldundef{year}{%
+ \ifboolexpr{%
+ test{\iffieldundef{day}} and test{\iffieldundef{endday}} and test{\iffieldundef{eventday}}%
+ }%
+ {}%鏇存柊鎴栦慨鏀规棩鏈熼氬父鏈塪ay淇℃伅
+ {\iffieldundef{year}{%
\iffieldundef{endyear}{\iffieldundef{eventyear}{}{\printtext{(}\printeventdate\printtext{)}}}%
{\printtext{(}\printenddate\printtext{)}}%
}{\iffieldequalstr{year}{}{%鍥犱负year瀛樺湪锛屼絾涓虹┖
}{\printtext{(}\blx@gbdate{}{}\printtext{)}}%
}%
- }%
+ }}%
}
%
@@ -1728,12 +2082,19 @@ test{\iftoggle{iftlnine}}
}
%
-% 鍑虹増绀惧拰鍦板潃鐨勫鐞
+% 褰搇ocation绛夊嚭鐗堥」瓒呰繃maxitem缂╁噺鍚庝笉鍐嶈緭鍑篹tal
+%
+\DeclareListFormat{location}{%
+ \usebibmacro{list:delim}{#1}%
+ #1\isdot}
+\DeclareListAlias{institution}{location}
+\DeclareListAlias{publisher}{location}
+
+% 鏂板涓涓牱寮忕敤浜庤緭鍑鸿繛缁嚭鐗堢墿鐨勫湴鍧锛屽崟浣嶏紝鏃堕棿锛
+% 鐢ㄤ簬periodical杩炵画鍑虹増鐗╃殑鍑虹増绀惧拰鍦板潃鐨勫鐞
%
% v1.0k锛20180425锛屼负鍑虹増淇℃伅澧炲姞瀛椾綋鎺у埗鍛戒护锛宧zz
-% 鍘熺悊鏂规硶:褰撴病鏈夊嚭鐗堢ぞ鍦板潃鏃讹紝鐩存帴鍒ゆ柇title鐨勪俊鎭槸鍚︽槸涓枃锛岃嫢涓轰腑鏂囷紝鍒欏啓鍑虹増鍦颁笉璇︼紝鍚﹀垯鐢ㄨ嫳鏂囩殑瀛楃琛ㄧず銆
-% 浜嬪疄涓妕itle瀵逛簬姣忎釜鏂囩尞鏉ヨ鏄繀椤荤殑锛屾墍浠ョ敤瀹冨垽鏂槸鏈蹇殑锛岃屼笖涓鑸爣棰樺拰鍑虹増绀剧殑璇█鏄竴鏍风殑銆
-% 鏂板涓涓牱寮忕敤浜庤緭鍑鸿繛缁嚭鐗堢墿鐨勫湴鍧锛屽崟浣嶏紝鏃堕棿锛%绫讳技\newbibmacro*{publisher+location+date}
+% %绫讳技\newbibmacro*{publisher+location+date}
\newbibmacro*{location+institution+date}{\bibpubfont%
\iftoggle{bbx:gbpub}%
{\testCJKfirst{userd}%
@@ -1764,30 +2125,27 @@ test {\iflistundef{location}} and test {\iflistundef{institution}}%
\newunit}%
}
%
+% 閫氱敤鐨勫嚭鐗堢ぞ鍜屽湴鍧鐨勫鐞
%
+% 鍘熺悊鏂规硶:褰撴病鏈夊嚭鐗堢ぞ鍦板潃鏃讹紝鐩存帴鍒ゆ柇title鐨勪俊鎭槸鍚︽槸涓枃锛岃嫢涓轰腑鏂囷紝鍒欏啓鍑虹増鍦颁笉璇︼紝鍚﹀垯鐢ㄨ嫳鏂囩殑瀛楃琛ㄧず銆
+% 浜嬪疄涓妕itle瀵逛簬姣忎釜鏂囩尞鏉ヨ鏄繀椤荤殑锛屾墍浠ョ敤瀹冨垽鏂槸鏈蹇殑锛岃屼笖涓鑸爣棰樺拰鍑虹増绀剧殑璇█鏄竴鏍风殑銆
+% 娉ㄦ剰鏍囧噯standard绫诲瀷锛屽洜涓哄綋娌℃湁鍑虹増椤规椂鐩存帴鐪佺暐锛屾墍浠ュ仛鐗规畩澶勭悊
\renewbibmacro*{publisher+location+date}{\bibpubfont%
\iftoggle{bbx:gbpub}%
{\testCJKfirst{userd}%
-\ifboolexpr{%
-test {\iflistundef{location}} and test {\iflistundef{publisher}}%
-}{\iftoggle{ifCJKforgbt}{\printtext{[\str@noaddress}\space :\space\str@nopublisher]}%
-{\printtext{[S.l.\space :\space s.n.\adddot]}}%
-}{%
-\iflistundef{location}{%\adddot
-\iffieldequalstr{note}{standard}{}{%浠巊bt7714-2015鏍囧噯绗19椤电湅鍒帮紝鏍囧噯瀛樺湪鍑虹増椤规椂杈撳嚭锛屾病鏈夋椂瀹屽叏鐪佺暐銆
-\iftoggle{ifCJKforgbt}{\printtext{[\str@noaddress]}\addcolon\addspace}{\printtext{[S.l.\adddot]}\addcolon\addspace}%
-}}% \bibstring{noaddress}
-{\printlist{location}\addcolon\addspace}%
-%\addcolon\addspace%
-\iflistundef{publisher}{%
-\iffieldequalstr{note}{standard}{}{%
-\iftoggle{ifCJKforgbt}{\printtext{[\str@nopublisher]}\setunit{\adddot\addspace}\setunit*{\addcomma\addspace}}%
-{\printtext{\mkbibbrackets{s.n.}}\setunit{\adddot\addspace}\setunit*{\addcomma\addspace}}%
-}}%
-{\printlist{publisher}}}%
+ \ifboolexpr{ test {\iflistundef{location}} and test {\iflistundef{publisher}} }%
+ {\iffieldequalstr{note}{standard}{}{\iftoggle{ifCJKforgbt}{\printtext{[\str@noaddress}\space :\space\str@nopublisher]}{\printtext{[S.l.\space :\space s.n.\adddot]}}}}%
+ {\iflistundef{location}{%\adddot
+ \iffieldequalstr{note}{standard}{}%%浠巊bt7714-2015鏍囧噯绗19椤电湅鍒帮紝鏍囧噯瀛樺湪鍑虹増椤规椂杈撳嚭锛屾病鏈夋椂瀹屽叏鐪佺暐銆
+ {\iftoggle{ifCJKforgbt}{\printtext{[\str@noaddress]}\addcolon\addspace}{\printtext{[S.l.\adddot]}\addcolon\addspace}}}% \bibstring{noaddress}
+ {\printlist{location}\addcolon\addspace}%%\addcolon\addspace%
+ \iflistundef{publisher}{%
+ \iffieldequalstr{note}{standard}{}%
+ {\iftoggle{ifCJKforgbt}{\printtext{[\str@nopublisher]}\setunit{\adddot\addspace}\setunit*{\addcomma\addspace}}%
+ {\printtext{\mkbibbrackets{s.n.}}\setunit{\adddot\addspace}\setunit*{\addcomma\addspace}}}}%
+ {\printlist{publisher}}}%
\setunit*{\addcomma\addspace}%\addcomma\addspace%
-\usebibmacro{date}%
-%\newunit %鍘绘帀杩欎釜鏍囩偣
+\usebibmacro{date}%%\newunit %鍘绘帀杩欎釜鏍囩偣
}%
{\printlist{location}%
\iflistundef{publisher}
@@ -1795,12 +2153,52 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
{\setunit*{\addcolon\space}}%
\printlist{publisher}%
\setunit*{\addcomma\space}%
- \usebibmacro{date}%
- %\newunit
+ \usebibmacro{date}%%\newunit
}%
}
%
+% 淇敼浜嗕竴涓猧nstitution+location+date鐢ㄤ簬manual銆乺eport銆乼hesis绛夌被鍨
+%
+% 20180425锛寁1.0k锛屽鍔犱簡瀛椾綋鎺у埗鍛戒护锛宧zz
+% 20190105锛寁1.0o锛屽姞浜嗕竴涓紪缁勯伩鍏峔usebibmacro{date}鎶妋onth鍜宒ay淇℃伅鍘绘帀
+\renewbibmacro*{institution+location+date}{\bibpubfont%褰撴病鏈塱nstitution鏃朵笉澶勭悊銆
+{\printlist{location}%%鍔犱簡涓涓紪缁勯伩鍏峔usebibmacro{date}鎶妋onth鍜宒ay淇℃伅鍘绘帀
+ \iflistundef{institution}
+ {\setunit*{\addcomma\space}}
+ {\setunit*{\addcolon\space}}%
+ \printlist{institution}%
+ \setunit*{\addcomma\space}%
+ \usebibmacro{date}%
+ %\newunit
+ }}
+
+%
+% 瀵箆olume鍗蜂俊鎭牸寮忓仛鍑轰慨鏀
+% v1.0o,20190105,hzz
+%
+\DeclareFieldFormat{volume}{%
+\testCJKfirst{userd}%
+\iftoggle{ifCJKforgbt}%
+{\bibstring{serialcn}#1\bibstring{volumecn}}%
+{\bibstring{volume}~#1}%
+}% volume of a book
+\DeclareFieldFormat[article,periodical]{volume}{#1}% volume of a journal
+
+%
+% 瀵筺umber鍐屼俊鎭牸寮忓仛鍑轰慨鏀
+% v1.0o,20190105,hzz
+%
+\DeclareFieldFormat{number}{#1}%
+\DeclareFieldFormat[book,collection,inbook,%
+incollection,proceedings,inproceedings]{number}{%
+\testCJKfirst{userd}%
+\iftoggle{ifCJKforgbt}%
+{\bibstring{serialcn}#1\bibstring{numbercn}}%
+{#1}%
+}%
+
+%
% 瀵筫dition鐗堟湰淇℃伅鏍煎紡鍋氬嚭淇敼
%
\DeclareFieldFormat{edition}{%婧愭潵鑷猙iblatex.DEF
@@ -1942,8 +2340,8 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
\renewbibmacro*{editorstrg}{%婧愭潵鑷猙iblatex.DEF
\printtext[editortype]{%
\iffieldundef{editortype}
- {
-% \ifboolexpr{ %杩欎竴娈靛幓鎺
+ {%
+% \ifboolexpr{ %杩欎竴娈靛幓鎺夛紝鏈畾涔夌紪鑰呯被鍨嬫儏鍐典笅涓嶅鐞
% test {\ifnumgreater{\value{editor}}{1}}
% or
% test {\ifandothers{editor}}
@@ -1951,7 +2349,7 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
% {\bibstring{editors}}
% {\bibstring{editor}}
}
- {\ifbibxstring{\thefield{editortype}}
+ {\ifbibxstring{\thefield{editortype}} %瀹氫箟缂栬呯被鍨嬫儏鍐典笅澶勭悊锛屼互鍚庢牴鎹渶瑕佷慨鏀
{\ifboolexpr{
test {\ifnumgreater{\value{editor}}{1}}
or
@@ -1959,7 +2357,8 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
}
{\bibstring{\thefield{editortype}s}}
{\bibstring{\thefield{editortype}}}}
- {\thefield{editortype}}}}}
+ {\thefield{editortype}}}%
+ }}
%
% 淇敼鏈熷垔鐨勬爣棰
@@ -1973,11 +2372,11 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
\ifboolexpr{test {\iffieldundef{subtitle}}}%杩欓噷澧炲姞浜嗗瀛愭爣棰樼殑鍒ゆ柇锛岃В鍐充笉鍒ゆ柇澶氫竴涓偣鐨勯棶棰
{}{\setunit{\subtitlepunct}
\printfield[titlecase]{subtitle}}%
- %
- %\iffieldundef{usera}{}{}%鍦ㄦ爣棰樺悗鐩存帴缁欏嚭鏂囩尞鏍囪瘑瀛楁瘝
- \iftoggle{bbx:gbtype}{\printfield[gbtypeflag]{usera}}{}%
- }%鎶婄紪缁勭粨鏉熺Щ鍒拌繖閲
- }%
+ %}%鎶婄紪缁勭粨鏉熺Щ鍒板悗闈㈠幓
+ \iftoggle{bbx:gbtype}{%
+ \iffieldundef{usera}{}{%鍦ㄦ爣棰樺悗鐩存帴缁欏嚭鏂囩尞鏍囪瘑瀛楁瘝
+ \printfield[gbtypeflag]{usera}}}{}
+ }}
}
%
@@ -2062,21 +2461,7 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
}%
}
-%
-% 淇敼浜嗕竴涓猧nstitution+location+date鐢ㄤ簬report绛夌被鍨
-%
-% 20180425锛寁1.0k锛屽鍔犱簡瀛椾綋鎺у埗鍛戒护锛宧zz
-\renewbibmacro*{institution+location+date}{\bibpubfont%褰撴病鏈塱nstitution鏃朵笉澶勭悊銆
- \printlist{location}%
- \iflistundef{institution}
- {\setunit*{\addcomma\space}}
- {\setunit*{\addcolon\space}}%
- \printlist{institution}%
- \setunit*{\addcomma\space}%
- \usebibmacro{date}%
- %\usebibmacro{modifydate}%
- %\newunit
- }
+
%
% 淇敼in:鐢ㄤ簬inbook銆乮ncollection銆乮nproceedings绛夌被鍨
@@ -2084,7 +2469,7 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
%
% 鍘熺悊鏂规硶:浣跨敤bibmacro{in:}鏀瑰彉浜嗕互鍓嶅湪driver涓洿鎺ヨ緭鍑//鐨勬柟寮忥紝鍚屾椂涔熺畝鍖栦簡鏍囩偣鎺у埗銆
\renewbibmacro*{in:}{%
- \iftoggle{bbx:gbpunctin}{\printtext{\texttt{//}\addthinspace}}%
+ \iftoggle{bbx:gbpunctin}{\printtext{\texttt{//}\allowbreak}}%\addthinspace
{\setunit{\adddot\addspace}\printtext{\bibstring{in}}}}%\newunit\newblock\intitlepunct
@@ -2098,12 +2483,7 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{author/editor+others/translator+others}%
-\ifnameundef{author}{%杩欎竴娈电敤浜庡幓闄や綔鑰呬笉瀛樺湪鏃跺鍑虹殑鏍囩偣
-\ifnameundef{editor}{%
-\ifnameundef{translator}{\relax}%
-{\setunit{\labelnamepunct}\newblock}}%
-{\setunit{\labelnamepunct}\newblock}}%
-{\setunit{\labelnamepunct}\newblock}%杩欎釜娉ㄩ噴鍘婚櫎鏍囬鍓嶇┖鏍
+\ifnameundef{author}{}{\setunit{\labelnamepunct}\newblock}%杩欎竴娈电敤浜庡幓闄や綔鑰呬笉瀛樺湪鏃跺鍑虹殑鏍囩偣
\usebibmacro{maintitle+title}%
\iftoggle{bbx:gbstrict}{}{%
\newunit
@@ -2112,14 +2492,14 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
\usebibmacro{byauthor}%
\newunit\newblock}%
\usebibmacro{byeditor+others}%
-\newunit\newblock%
+\newunit
\printfield{edition}%
-\newunit%
+\newunit\newblock%%
+\iftoggle{bbx:gbstrict}{}{%
\iffieldundef{maintitle}%
{\printfield{volume}%
\printfield{part}}%
{}%
-\iftoggle{bbx:gbstrict}{}{%
\newunit%
\printfield{volumes}%
\newunit\newblock%
@@ -2132,7 +2512,6 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
\usebibmacro{chapter+pages}%
\usebibmacro{doi+eprint+url}%浠庝笅闈㈢Щ鍔ㄥ埌涓婇潰鏉ワ紝鍥犱负gbt2015鐨剈rl闇鐩存帴鏀惧湪椤电爜鍚庨潰銆
\newunit\newblock%
- %\newunit
\printfield{pagetotal}%
\newunit\newblock%
\iftoggle{bbx:isbn}
@@ -2151,69 +2530,6 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
{}%
\usebibmacro{finentry}}
-%
-% 鏂囬泦涓瀽鍑烘枃鐚被鍨嬮┍鍔
-%
-
-
-% 鐩存帴鍒╃敤inbook鍋歩ncollection
-\DeclareBibliographyDriver{incollection}{%
- \usebibmacro{bibindex}%
- \usebibmacro{begentry}%
- \usebibmacro{author/translator+others}%
-\ifnameundef{author}{%杩欎竴娈电敤浜庡幓闄や綔鑰呬笉瀛樺湪鏃跺鍑虹殑鏍囩偣
-\ifnameundef{editor}{%
-\ifnameundef{translator}{\relax}%
-{\setunit{\labelnamepunct}\newblock}}%
-{\setunit{\labelnamepunct}\newblock}}%
-{\setunit{\labelnamepunct}\newblock}%
-%\setunit{\labelnamepunct}\newblock
-\usebibmacro{title}%
-\usebibmacro{in:}%
-%\printtext{\texttt{//}\addthinspace}%
-\usebibmacro{bybookauthor}%
-\ifnameundef{bookauthor}{}{\newunit}%鏇挎崲涓嬩竴鍙
- %\newunit\newblock
- \usebibmacro{maintitle+booktitle}%
- \newunit\newblock
-% \usebibmacro{byeditor+others}%
-% \newunit\newblock
- \printfield{edition}%
- \newunit
- \iffieldundef{maintitle}
- {\printfield{volume}%
- \printfield{part}}
- {}%
- \newunit
- \printfield{volumes}%
- \newunit\newblock
- \usebibmacro{series+number}%
- \newunit\newblock
- %\printfield{note}%
- %\newunit\newblock
- \usebibmacro{publisher+location+date}%
- %\newunit\newblock
- \usebibmacro{chapter+pages}%
- %\newunit\newblock
- \usebibmacro{doi+eprint+url}%
- \newunit\newblock
- \iftoggle{bbx:isbn}
- {\printfield{isbn}}
- {}%
- \newunit\newblock
-% \usebibmacro{doi+eprint+url}%
-% \newunit\newblock
- \usebibmacro{addendum+pubstate}%
- \setunit{\bibpagerefpunct}\newblock
- \usebibmacro{pageref}%
- \newunit\newblock
- \iftoggle{bbx:related}
- {\usebibmacro{related:init}%
- \usebibmacro{related}}
- {}%
- \usebibmacro{finentry}}
-
-
%
% 鏈熷垔鏂囩珷锛岃繛缁嚭鐗堢墿涓殑鏋愬嚭鏂囩尞鐨勬牸寮
@@ -2222,7 +2538,7 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{author/translator+others}%
- \setunit{\labelnamepunct}\newblock
+\ifnameundef{author}{}{\setunit{\labelnamepunct}\newblock}%杩欎竴娈电敤浜庡幓闄や綔鑰呬笉瀛樺湪鏃跺鍑虹殑鏍囩偣
\usebibmacro{title}%
\iftoggle{bbx:gbstrict}{}{%
\newunit%
@@ -2240,6 +2556,7 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
% \usebibmacro{byeditor+others}%
% \newunit
\usebibmacro{note+pages}%
+ \iffieldequalstr{note}{news}{}{\usebibmacro{modifydate}}%甯︽嫭鍙风殑淇敼鎴栨洿鏂版棩鏈燂紝褰撴槸鏂伴椈鏃朵笉杈撳嚭
\usebibmacro{doi+eprint+url}%浠庡悗闈㈢Щ涓婃潵锛岃皟鏁磚rl鍜岄〉鐮佷箣闂寸殑浣嶇疆
\newunit\newblock
\iftoggle{bbx:isbn}
@@ -2303,7 +2620,7 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{author}%
- \setunit{\labelnamepunct}\newblock
+\ifnameundef{author}{}{\setunit{\labelnamepunct}\newblock}%杩欎竴娈电敤浜庡幓闄や綔鑰呬笉瀛樺湪鏃跺鍑虹殑鏍囩偣
%\usebibmacro{title}%
\usebibmacro{patenttitle}%缁欏嚭涓撳埄涓撶敤鐨勬爣棰樿緭鍑
\iftoggle{bbx:gbstrict}{}{%
@@ -2347,13 +2664,7 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{author/editor+others/translator+others}%
- \ifnameundef{author}{%杩欎竴娈电敤浜庡幓闄や綔鑰呬笉瀛樺湪鏃跺鍑虹殑鏍囩偣
-\ifnameundef{editor}{%
-\ifnameundef{translator}{\relax}%
-{\setunit{\labelnamepunct}\newblock}}%
-{\setunit{\labelnamepunct}\newblock}}%
-{\setunit{\labelnamepunct}\newblock}%
- %\setunit{\labelnamepunct}\newblock
+\ifnameundef{author}{}{\setunit{\labelnamepunct}\newblock}%杩欎竴娈电敤浜庡幓闄や綔鑰呬笉瀛樺湪鏃跺鍑虹殑鏍囩偣
\usebibmacro{title}%
\iftoggle{bbx:gbstrict}{}{%
\newunit%
@@ -2361,16 +2672,17 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
\newunit\newblock
\usebibmacro{byauthor}%
\newunit\newblock
- \usebibmacro{byeditor+others}}%
+ \usebibmacro{byeditor+others}%
\newunit\newblock
- \printfield{version}%
+ \printfield{note}}%
\newunit
- \printfield{note}%
+ \printfield{version}%
\newunit\newblock
- \printlist{organization}%
+ %\printlist{organization}%
+ \printlist{institution}%
\newunit\newblock
%\usebibmacro{date}%
- \usebibmacro{modifydate}%淇敼涓哄甫鎷彿鐨勬椂闂
+ \usebibmacro{modifydate}%淇敼鎴栨洿鏂版棩鏈燂紝涓哄甫鎷彿鐨勬椂闂
\usebibmacro{url+urldate}%浠庝笅闈㈢Щ涓婃潵
\newunit\newblock
\iftoggle{bbx:eprint}
@@ -2390,58 +2702,15 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
\usebibmacro{finentry}}
-
-%
-% 瀛︿綅璁烘枃淇敼
-%
- \DeclareBibliographyDriver{thesis}{%婧愭潵鑷猻tandard.BBX
- \usebibmacro{bibindex}%
- \usebibmacro{begentry}%
- \usebibmacro{author}%
- \setunit{\labelnamepunct}\newblock
- \usebibmacro{title}%
- \iftoggle{bbx:gbstrict}{}{%
- \newunit%
- \printlist{language}%
- \newunit\newblock
- \usebibmacro{byauthor}%
- \newunit\newblock
- \printfield{note}%
- \newunit\newblock
- \printfield{type}}%
- \newunit\newblock
- \usebibmacro{institution+location+date}%
- %\newunit\newblock
- \usebibmacro{chapter+pages}%
- \usebibmacro{doi+eprint+url}%
- \newunit
- \printfield{pagetotal}%
- \newunit\newblock
- \iftoggle{bbx:isbn}
- {\printfield{isbn}}
- {}%
- \newunit\newblock
-% \usebibmacro{doi+eprint+url}%
-% \newunit\newblock
- \usebibmacro{addendum+pubstate}%
- \setunit{\bibpagerefpunct}\newblock
- \usebibmacro{pageref}%
- \newunit\newblock
- \iftoggle{bbx:related}
- {\usebibmacro{related:init}%
- \usebibmacro{related}}
- {}%
- \usebibmacro{finentry}}
-
%
% 鎶ュ憡绫诲瀷椹卞姩
-% 2016-11-11锛屽鍔犱簡璇戣呬俊鎭
+% 褰撴湁缃戝潃鏃犲嚭鐗堥」鏃讹紝鐢╫nline杈撳嚭
%
\DeclareBibliographyDriver{report}{%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{author}%
- \setunit{\labelnamepunct}\newblock
+\ifnameundef{author}{}{\setunit{\labelnamepunct}\newblock}%杩欎竴娈电敤浜庡幓闄や綔鑰呬笉瀛樺湪鏃跺鍑虹殑鏍囩偣
\usebibmacro{title}%
\iftoggle{bbx:gbstrict}{}{%
\newunit%
@@ -2459,7 +2728,7 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
\newunit
\printfield{note}%
\newunit\newblock
- \usebibmacro{institution+location+date}%
+ \usebibmacro{publisher+location+date}%
%\newunit\newblock
\usebibmacro{chapter+pages}%
\usebibmacro{doi+eprint+url}%
@@ -2483,15 +2752,14 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
\usebibmacro{finentry}}
%
-% 鎵嬪唽绫诲瀷椹卞姩
+% 璁烘枃銆佹墜鍐岀被鍨嬮┍鍔
% 2016-11-11锛屽鍔犱簡璇戣呬俊鎭
%
-% 鐩存帴鍒╃敤report鍋歮anual
\DeclareBibliographyDriver{manual}{%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{author}%
- \setunit{\labelnamepunct}\newblock
+\ifnameundef{author}{}{\setunit{\labelnamepunct}\newblock}%杩欎竴娈电敤浜庡幓闄や綔鑰呬笉瀛樺湪鏃跺鍑虹殑鏍囩偣
\usebibmacro{title}%
\iftoggle{bbx:gbstrict}{}{%
\newunit%
@@ -2512,6 +2780,7 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
\usebibmacro{institution+location+date}%
%\newunit\newblock
\usebibmacro{chapter+pages}%
+ \usebibmacro{modifydate}%淇敼鎴栨洿鏂版棩鏈燂紝涓哄甫鎷彿鐨勬椂闂
\usebibmacro{doi+eprint+url}%
\newunit
\printfield{pagetotal}%
@@ -2540,7 +2809,7 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{author/editor+others/translator+others}%
- \setunit{\printdelim{nametitledelim}}\newblock
+\ifnameundef{author}{}{\setunit{\labelnamepunct}\newblock}%杩欎竴娈电敤浜庡幓闄や綔鑰呬笉瀛樺湪鏃跺鍑虹殑鏍囩偣
\usebibmacro{title}%
\iftoggle{bbx:gbstrict}{}{%
\newunit
@@ -2573,120 +2842,6 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
{}%
\usebibmacro{finentry}}
-%
-% 浼氳璁烘枃鏂囩尞绫诲瀷椹卞姩
-%
- \DeclareBibliographyDriver{inproceedings}{%婧愭潵鑷猻tandard.BBX
- \usebibmacro{bibindex}%
- \usebibmacro{begentry}%
- \usebibmacro{author/translator+others}%
- \setunit{\labelnamepunct}\newblock
- \usebibmacro{title}%
-% \newunit
-% \printlist{language}%
-% \newunit\newblock
-% \usebibmacro{byauthor}%
-% \newunit\newblock
-\usebibmacro{in:}%
-%\printtext{\texttt{//}\addthinspace}%
- \usebibmacro{bybookauthor}%鐢ㄧ被浼糹nbook鐨勬柟寮忓鐞
- \ifnameundef{bookauthor}{}{\newunit}%鏇挎崲涓嬩竴鍙
- %\newunit\newblock
- \usebibmacro{maintitle+booktitle}%
- \newunit\newblock
- \usebibmacro{event+venue+date}%
- \newunit\newblock
-% \usebibmacro{byeditor+others}%
-% \newunit\newblock
- \iffieldundef{maintitle}
- {\printfield{volume}%
- \printfield{part}}
- {}%
- \newunit
- \printfield{volumes}%
- \newunit\newblock
- \iftoggle{bbx:gbstrict}{}{%
- \usebibmacro{series+number}%
- \newunit\newblock
- \printfield{note}%
- \newunit\newblock
- \printlist{organization}%
- \newunit}
- \usebibmacro{publisher+location+date}%
- %\newunit\newblock
- \usebibmacro{chapter+pages}%
- \newunit\newblock
- \iftoggle{bbx:isbn}
- {\printfield{isbn}}
- {}%
- \newunit\newblock
- \usebibmacro{doi+eprint+url}%
- \newunit\newblock
- \usebibmacro{addendum+pubstate}%
- \setunit{\bibpagerefpunct}\newblock
- \usebibmacro{pageref}%
- \newunit\newblock
- \iftoggle{bbx:related}
- {\usebibmacro{related:init}%
- \usebibmacro{related}}
- {}%
- \usebibmacro{finentry}}
-
-%
-% 浼氳璁烘枃闆嗘枃鐚被鍨嬮┍鍔
-%
-\DeclareBibliographyDriver{proceedings}{%婧愭潵鑷猻tandard.BBX
- \usebibmacro{bibindex}%
- \usebibmacro{begentry}%
- %\usebibmacro{editor+others}%
- \usebibmacro{author/translator+others}%
- \setunit{\labelnamepunct}\newblock
- \usebibmacro{maintitle+title}%
- \iftoggle{bbx:gbstrict}{}{%
- \newunit%
- \printlist{language}}%
- \newunit\newblock
- \usebibmacro{event+venue+date}%
- \newunit\newblock
-% \usebibmacro{byeditor+others}%
-% \newunit\newblock
- \iffieldundef{maintitle}
- {\printfield{volume}%
- \printfield{part}}
- {}%
- \newunit
- \printfield{volumes}%
- \newunit\newblock
- \iftoggle{bbx:gbstrict}{}{%
- \usebibmacro{series+number}%
- \newunit\newblock
- \printfield{note}%
- \newunit\newblock
- \printlist{organization}%
- \newunit}
- \usebibmacro{publisher+location+date}%
- %\newunit\newblock
- \usebibmacro{chapter+pages}%
- \usebibmacro{doi+eprint+url}%浠庝笅闈㈢Щ涓婃潵
- \newunit
- \printfield{pagetotal}%
- \newunit\newblock
- \iftoggle{bbx:isbn}
- {\printfield{isbn}}
- {}%
- \newunit\newblock
-% \usebibmacro{doi+eprint+url}%
-% \newunit\newblock
- \usebibmacro{addendum+pubstate}%
- \setunit{\bibpagerefpunct}\newblock
- \usebibmacro{pageref}%
- \newunit\newblock
- \iftoggle{bbx:related}
- {\usebibmacro{related:init}%
- \usebibmacro{related}}
- {}%
- \usebibmacro{finentry}}
-
%
% 涓撹憲涓殑鏋愬嚭鏂囩尞鐨勬牸寮忎慨鏀
@@ -2695,31 +2850,26 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{author/translator+others}%
-\ifnameundef{author}{%杩欎竴娈电敤浜庡幓闄や綔鑰呬笉瀛樺湪鏃跺鍑虹殑鏍囩偣
-\ifnameundef{editor}{%
-\ifnameundef{translator}{\relax}%
-{\setunit{\labelnamepunct}\newblock}}%
-{\setunit{\labelnamepunct}\newblock}}%
-{\setunit{\labelnamepunct}\newblock}%
-%\setunit{\labelnamepunct}\newblock
+\ifnameundef{author}{}{\setunit{\labelnamepunct}\newblock}%杩欎竴娈电敤浜庡幓闄や綔鑰呬笉瀛樺湪鏃跺鍑虹殑鏍囩偣
\usebibmacro{title}%
\usebibmacro{in:}%
-%\printtext{\texttt{//}\addthinspace}%%\texttt{//}\addnbthinspace
-\usebibmacro{bybookauthor}%
-\ifnameundef{bookauthor}{}{\newunit}%鏇挎崲涓嬩竴鍙newblock
-%\newunit\newblock
-\usebibmacro{maintitle+booktitle}%}%
- \newunit\newblock
+%\printtext{\texttt{//}\addthinspace}%
+ \usebibmacro{bybookauthor}%
+ \ifnameundef{bookauthor}{}{\newunit}%鏇挎崲涓嬩竴鍙
+ %\newunit\newblock
+ \usebibmacro{maintitle+booktitle}%
+ \setunit{\addcolon}\printfield{volume}\printfield{number}%澧炲姞鍗峰拰鍐屼俊鎭
+ \newunit\newblock%
% \usebibmacro{byeditor+others}%
% \newunit\newblock
\printfield{edition}%
\newunit
- \iffieldundef{maintitle}
- {\printfield{volume}%
- \printfield{part}}
- {}%
\iftoggle{bbx:gbstrict}{}{%
- \newunit
+% \iffieldundef{maintitle}
+% {\printfield{volume}%
+% \printfield{part}}
+% {}%
+% \newunit
\printfield{volumes}%
\newunit\newblock
\usebibmacro{series+number}}%
@@ -2727,7 +2877,7 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
%\printfield{note}%
%\newunit\newblock
\usebibmacro{publisher+location+date}%
-%\newunit\newblock
+ %\newunit\newblock
\usebibmacro{chapter+pages}%
%\newunit\newblock
\usebibmacro{doi+eprint+url}%绉诲埌涓婇潰鏉
@@ -2736,7 +2886,7 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
{\printfield{isbn}}
{}%
\newunit\newblock
- %\usebibmacro{doi+eprint+url}%
+% \usebibmacro{doi+eprint+url}%
% \newunit\newblock
\usebibmacro{addendum+pubstate}%
\setunit{\bibpagerefpunct}\newblock
@@ -2747,64 +2897,3 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
\usebibmacro{related}}
{}%
\usebibmacro{finentry}}
-
-
-%
-%
-% 鏂囬泦绫诲瀷椹卞姩
-%
-% 鐩存帴鍒╃敤book鍋歝ollection
- \DeclareBibliographyDriver{collection}{%
- \usebibmacro{bibindex}%
- \usebibmacro{begentry}%
-\usebibmacro{author/editor+others/translator+others}
-\ifnameundef{author}{%杩欎竴娈电敤浜庡幓闄や綔鑰呬笉瀛樺湪鏃跺鍑虹殑鏍囩偣
- \ifnameundef{editor}{%
- \ifnameundef{translator}{\relax}%
- {\setunit{\labelnamepunct}\newblock}}%
- {\setunit{\labelnamepunct}\newblock}}%
- {\setunit{\labelnamepunct}\newblock}%
- \usebibmacro{maintitle+title}
- \iftoggle{bbx:gbstrict}{}{%
- \newunit%
- \printlist{language}%
- \newunit\newblock
- \usebibmacro{byauthor}}%
- \newunit\newblock
- \usebibmacro{byeditor+others}%
- \newunit\newblock
- \printfield{edition}%
- \newunit
- \iffieldundef{maintitle}
- {\printfield{volume}%
- \printfield{part}}
- {}%
- \newunit
- \printfield{volumes}%
- \newunit\newblock
- \usebibmacro{series+number}%
- \newunit\newblock
- %\printfield{note}%
- %\newunit\newblock
- \usebibmacro{publisher+location+date}%
- %\newunit\newblock %杩欓噷鏍囩偣鍘绘帀
- \usebibmacro{chapter+pages}%
- \usebibmacro{doi+eprint+url}%浠庝笅闈㈢Щ鍔ㄥ埌涓婇潰鏉ワ紝鍥犱负gbt2015鐨剈rl闇鐩存帴鏀惧湪椤电爜鍚庨潰銆
- \newunit\newblock
- \printfield{pagetotal}%
- \newunit\newblock
- \iftoggle{bbx:isbn}
- {\printfield{isbn}}
- {}%
- \newunit\newblock
- %\usebibmacro{doi+eprint+url}%
- %\newunit\newblock
- \usebibmacro{addendum+pubstate}%
- \setunit{\bibpagerefpunct}\newblock
- \usebibmacro{pageref}%
- \newunit\newblock
- \iftoggle{bbx:related}
- {\usebibmacro{related:init}%
- \usebibmacro{related}}
- {}%
- \usebibmacro{finentry}}
diff --git a/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015.cbx b/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015.cbx
index efa60d6750d..e63eddf2792 100644
--- a/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015.cbx
+++ b/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015.cbx
@@ -7,7 +7,8 @@
%% Released under the LaTeX Project Public License v1.3c or later
%% ---------------------------------------------------------------
%%
-\ProvidesFile{gb7714-2015.cbx}[2018/11/04 v1.0n biblatex citation style]
+\def\versionofgbtstyle{2019/01/19 v1.0p}
+\ProvidesFile{gb7714-2015.cbx}[\versionofgbtstyle biblatex citation style]
%
% 鍔犺浇鏍囧噯鏍峰紡
diff --git a/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015ay.bbx b/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015ay.bbx
index 47d9b9883f6..b2d3e61a9fe 100644
--- a/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015ay.bbx
+++ b/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015ay.bbx
@@ -10,9 +10,9 @@
%
% 鐗堟湰鍜屾椂闂翠俊鎭
%
-\ProvidesFile{gb7714-2015ay.bbx}[2018/11/04 v1.0n biblatex bibliography style]
-\def\versionofgbtstyle{2018/11/04 v1.0n}
+\def\versionofgbtstyle{2019/01/19 v1.0p}
\def\versionofbiblatex{\abx@version}
+\ProvidesFile{gb7714-2015ay.bbx}[\versionofgbtstyle biblatex bibliography style]
\RequireBiber[3]%鏄惧紡鎸囧畾鐢╞iber鍚庣
%=====================================================================
@@ -37,7 +37,8 @@
\providetoggle{iftleight}\togglefalse{iftleight}%澶勭悊biblatex3.8鍒3.9鐨勫吋瀹规э紝鏃堕棿2017-11-01鍚庡埌2017-12-01鍓
\providetoggle{iftlnine}\togglefalse{iftlnine} %澶勭悊biblatex10鐨勫吋瀹规э紝鏃堕棿2017-12-01鍚
\providetoggle{iftlatest}\toggletrue{iftlatest} %鍋囪鏄渶鏂扮増biblatex
- \@ifpackagelater{biblatex}{2016/03/01}{
+ \@ifpackagelater{biblatex}{2014/04/01}{
+ \@ifpackagelater{biblatex}{2016/03/01}{
\@ifpackagelater{biblatex}{2016/12/01}{
\@ifpackagelater{biblatex}{2017/11/01}{
\@ifpackagelater{biblatex}{2017/12/01}{
@@ -46,7 +47,9 @@
{\toggletrue{iftleight}\togglefalse{iftlatest}}}
{\toggletrue{iftlseven}\togglefalse{iftlatest}}}
{\toggletrue{iftlsix}\togglefalse{iftlatest}}}
- {\toggletrue{iftlfive}\togglefalse{iftlatest}}
+ {\toggletrue{iftlfive}\togglefalse{iftlatest}}}
+ {\PackageError{biblatex}{Outdated 'biblatex' package}
+ {Please update biblatex, This is a fatal error.}}
\newcommand\defversion[2]{\csdef{codeversion#1#2}}%瀹氫箟涓嶅悓鐗堟湰鐨勫懡浠
\newcommand\switchversion[2]{\csuse{codeversion#1#2}}%浣跨敤涓嶅悓鐗堟湰鐨勫懡浠
@@ -64,7 +67,7 @@
\providetoggle{ifCJKforgbt}
\def\testCJKfirst#1{%
\iffieldundef{#1}{\togglefalse{ifCJKforgbt}}{%
- \iffieldequalstr{#1}{cn}{\toggletrue{ifCJKforgbt}}{\togglefalse{ifCJKforgbt}}}}
+ \iffieldequalstr{#1}{chinese}{\toggletrue{ifCJKforgbt}}{\togglefalse{ifCJKforgbt}}}}
%
% 2涓嵎鐨勮В鏋愬嚱鏁帮紝鐢ㄤ簬杩炵画鍑虹増鐗
@@ -186,6 +189,7 @@
%瀹氫箟绫诲瀷鍜岃浇浣撴爣璇嗭紝浠巊b鍐呭鐪嬭浇浣撳熀鏈睘浜庝粙璐ㄣ
%涓轰笌lee zeping鐨刡st鐨勬牱寮忕粺涓锛屼娇鐢╩ark鍜宮edium杩欎袱鍩熷悕
%涓哄崟涓潯鐩殑濮撳悕鏍煎紡鎺у埗澧炲姞nameformat鍜宯amefmtid涓や釜鍩
+ %涓虹缉鐣ヤ俊鎭枃鐚〃澧炲姞浜唖hortbooktitle鍩
\DeclareDatamodelFields[type=field,datatype=literal]{mark,medium,nameformat}
\DeclareDatamodelFields[type=field,datatype=integer]{namefmtid}
\DeclareDatamodelFields[type=field,datatype=literal]{shortbooktitle}
@@ -196,6 +200,14 @@
% 璁剧疆瀹忓寘閫夐」
%=====================================================================
%
+ % 澧炲姞涓涓夐」锛岀敤浜庢帶鍒秅b7714鐨勪娇鐢ㄨ寖鍥达紝鍗宠嫳鏂囨枃鐚拰涓枃鏂囩尞浣跨敤涓嶅悓鐨勬牱寮
+ % 20180814锛寁1.0m锛宧zz
+ % 鍘熺悊鏂规硶:
+ % 鍙负鍏煎鎬ц冭檻涓嶅仛浠讳綍澶勭悊
+ \DeclareBibliographyOption{gbstyle}[true]{%biblatex浣庣増鏈
+ }
+
+ %
% 澧炲姞涓涓帶鍒舵槸鍚﹁緭鍑烘枃鐚被鍨嬪拰杞戒綋鏍囪瘑鐨勯夐」
%
% 鍘熺悊鏂规硶:
@@ -233,6 +245,9 @@
\def\str@noaddress{鍑虹増鍦颁笉璇
\def\str@nopublisher{鍑虹増鑰呬笉璇
\def\str@edition{鐗坿
+ \def\str@volumecn{鍗穧
+ \def\str@numbercn{鍐寎
+ \def\str@serialcn{绗瑌
\AtEndOfPackage{%
\iftoggle{bbx:codegbk}{%
@@ -288,6 +303,12 @@
}
}{}}
+ %
+ %澧炲姞涓涓鐞嗕綒鍚嶆垨noauthor鐨勬帶鍒堕夐」
+ \DeclareBibliographyOption{gbnoauthor}[true]{%
+ \ifstrequal{#1}{false}{}{\dealnoathor}}
+ %\ExecuteBibliographyOptions{gbnoauthor=true}%瀵逛簬闇瑕佸睍寮杈冩棭(灞曞紑灞傜骇浼樺厛)鐨勯夐」锛岃繖涓鎵ц鏃犳晥锛屽彧鑳界敤瀹忓寘鍔犺浇鏃剁粰鍑虹殑閫夐」銆
+
%
% 澧炲姞涓涓仮澶嶅煙鏍煎紡涓烘爣鍑嗘牱寮忕殑鎺у埗閫夐」
@@ -320,7 +341,7 @@
\settoggle{bbx:gbpunctin}{#1}}
\ExecuteBibliographyOptions{gbpunctin}
- %
+
% 閫夐」璁剧疆
%
\ExecuteBibliographyOptions{
@@ -328,9 +349,11 @@
date = year, %鏃ユ湡浠呭啓鍒板勾
maxbibnames=3, %灏嗘枃鐚垪琛ㄥ拰寮曠敤涓渶澶у悕瀛楁暟閲忓尯鍒嗗紑
minbibnames=3,
+ maxitems = 1,%璁剧疆鍒楄〃鏈澶ф暟閲
+ minitems = 1, %璁剧疆缂╁噺鍚庣殑鍒楄〃鏈灏忔暟閲
isbn=false,
sorting=gb7714-2015,
- sortlocale=zh__pinyin,
+ sortlocale=zh__pinyin,%zh__big5han,%zh__stroke,%zh__gb2312han,%zh__pinyin,
}
%
@@ -352,15 +375,47 @@
\iffieldundef{#2#3day}{}{\hyphen\blx@imc@forcezerosmdt{\thefield{#2#3day}}}}
%涓哄鍚嶆牸寮忛夋嫨澧炲姞鐨勮鏁板櫒
- \newcounter{namefmtcase}
- \def\thenamefmtcase{\the\c@namefmtcase}
+ \newcounter{gbnamefmtcase}
+ \def\thegbnamefmtcase{\the\c@gbnamefmtcase}
+ %涓哄紩鐢ㄦ爣绛炬爣娉/鏂囩尞琛ㄤ腑鏈湴鍖栧瓧绗︿覆涓嫳鏂囬夋嫨澧炲姞鐨勮鏁板櫒/鍛戒护
+ \newcounter{gbcitelocalcase}
+ \newcounter{gbbiblocalcase}
+ \def\thegbcitelocalcase{\the\c@gbcitelocalcase}
+ \def\thegbbiblocalcase{\the\c@gbbiblocalcase}
\@ifpackagelater{biblatex}{2016/03/27}
- {
+ { % 閽堝biblatex>=3.3鐗堟湰鐨勯夐」璁剧疆
+ % 澧炲姞鏈湴鍖栧瓧绗︿覆鐨勪腑鑻辨枃鍒囨崲閫夐」
+ % gbcitelocal鎸囨爣娉ㄤ腑鐨勬湰鍦板寲瀛楃涓
+ % gbbiblocal 鎸囨枃鐚〃涓殑鏈湴鍖栧瓧绗︿覆
+ % gblocal 鎸囪缃枃鐚〃鍜屾爣娉ㄤ腑鐨勬湰鍦板寲瀛楃涓
+ % v1.0o锛20190103锛宧zz
+ %
+ \DeclareBibliographyOption[string]{gbcitelocal}[gb7714-2015]{%
+ \ifstrequal{#1}{gb7714-2015}{\setcounter{gbcitelocalcase}{0}}{}%
+ \ifstrequal{#1}{chinese}{\setcounter{gbcitelocalcase}{1}}{}%
+ \ifstrequal{#1}{english}{\setcounter{gbcitelocalcase}{2}}{}%
+ }
+ \ExecuteBibliographyOptions{gbcitelocal}
+
+ \DeclareBibliographyOption[string]{gbbiblocal}[gb7714-2015]{%
+ \ifstrequal{#1}{gb7714-2015}{\setcounter{gbbiblocalcase}{0}}{}%
+ \ifstrequal{#1}{chinese}{\setcounter{gbbiblocalcase}{1}}{}%
+ \ifstrequal{#1}{english}{\setcounter{gbbiblocalcase}{2}}{}%
+ }
+ \ExecuteBibliographyOptions{gbbiblocal}
+
+ \DeclareBibliographyOption[string]{gblocal}[gb7714-2015]{%
+ \ExecuteBibliographyOptions{gbbiblocal=#1}%
+ \ExecuteBibliographyOptions{gbcitelocal=#1}%
+ }
+ %\ExecuteBibliographyOptions{gblocal} %榛樿鍊煎凡缁忛氳繃涓や釜鐩稿叧閫夐」璁剧疆
+
+
%
% 澧炲姞搴忓彿鏍囩鏍煎紡澶勭悊閫夐」锛屼綔鑰呭勾鍒朵笉鍋氬鐞嗭紝缁欏嚭鍙负鍏煎閫夐」鑰冭檻
- % v1.0l锛20180623锛宧zz
+ % v1.0l,20180623,hzz
%
\DeclareBibliographyOption[string]{gbbiblabel}[bracket]{}
@@ -368,25 +423,23 @@
% 澧炲姞濮撳悕澶у皬鍐欐牸寮忓鐞嗛夐」
%
\DeclareBibliographyOption[string]{gbnamefmt}[uppercase]{%
- \ifstrequal{#1}{uppercase}{\setcounter{namefmtcase}{0}}{}%
- \ifstrequal{#1}{lowercase}{\setcounter{namefmtcase}{1}}{}%
- \ifstrequal{#1}{givenahead}{\setcounter{namefmtcase}{2}}{}%given-family
- \ifstrequal{#1}{familyahead}{\setcounter{namefmtcase}{3}}{}
- \ifstrequal{#1}{pinyin}{\setcounter{namefmtcase}{4}}{}%family-given
+ \ifstrequal{#1}{uppercase}{\setcounter{gbnamefmtcase}{0}}{}%
+ \ifstrequal{#1}{lowercase}{\setcounter{gbnamefmtcase}{1}}{}%
+ \ifstrequal{#1}{givenahead}{\setcounter{gbnamefmtcase}{2}}{}%given-family
+ \ifstrequal{#1}{familyahead}{\setcounter{gbnamefmtcase}{3}}{}
+ \ifstrequal{#1}{pinyin}{\setcounter{gbnamefmtcase}{4}}{}%family-given
}
\ExecuteBibliographyOptions{gbnamefmt}
%
% 澧炲姞鏍囩瀵归綈閫夐」
%
-
%鍥犱负鍦ㄤ綔鑰呭勾鍒朵腑锛屼笉闇瑕佷娇鐢紝杩欓噷涔熷鍔狅紝涓轰簡涓庨『搴忕紪鐮佸埗鐨勫吋瀹规ц冭檻銆
\DeclareBibliographyOption[string]{gbalign}[right]{}%
- %澧炲姞涓涓鐞嗕綒鍚嶆垨noauthor鐨勬帶鍒堕夐」
- \DeclareBibliographyOption{gbnoauthor}[true]{%
- \ifstrequal{#1}{false}{}{\dealnoathor}}
- %\ExecuteBibliographyOptions{gbnoauthor=true}%瀵逛簬闇瑕佸睍寮杈冩棭(灞曞紑灞傜骇浼樺厛)鐨勯夐」锛岃繖涓鎵ц鏃犳晥锛屽彧鑳界敤瀹忓寘鍔犺浇鏃剁粰鍑虹殑閫夐」銆
+
+
+
}
{
%
@@ -399,11 +452,11 @@
% 澧炲姞濮撳悕澶у皬鍐欐牸寮忓鐞嗛夐」
%
\DeclareBibliographyOption{gbnamefmt}[uppercase]{%
- \ifstrequal{#1}{uppercase}{\setcounter{namefmtcase}{0}}{}%
- \ifstrequal{#1}{lowercase}{\setcounter{namefmtcase}{1}}{}%
- \ifstrequal{#1}{givenahead}{\setcounter{namefmtcase}{2}}{}%given-family
- \ifstrequal{#1}{familyahead}{\setcounter{namefmtcase}{3}}{}
- \ifstrequal{#1}{pinyin}{\setcounter{namefmtcase}{4}}{}%family-given
+ \ifstrequal{#1}{uppercase}{\setcounter{gbnamefmtcase}{0}}{}%
+ \ifstrequal{#1}{lowercase}{\setcounter{gbnamefmtcase}{1}}{}%
+ \ifstrequal{#1}{givenahead}{\setcounter{gbnamefmtcase}{2}}{}%given-family
+ \ifstrequal{#1}{familyahead}{\setcounter{gbnamefmtcase}{3}}{}
+ \ifstrequal{#1}{pinyin}{\setcounter{gbnamefmtcase}{4}}{}%family-given
}
\ExecuteBibliographyOptions{gbnamefmt}
@@ -413,10 +466,6 @@
%鍥犱负鍦ㄤ綔鑰呭勾鍒朵腑锛屼笉闇瑕佷娇鐢紝杩欓噷涔熷鍔狅紝涓轰簡涓庨『搴忓勾鍒剁殑鍏煎鎬ц冭檻銆
\DeclareBibliographyOption{gbalign}[right]{}%
- %澧炲姞涓涓鐞嗕綒鍚嶆垨noauthor鐨勬帶鍒堕夐」
- \DeclareBibliographyOption{gbnoauthor}[true]{%
- \ifstrequal{#1}{false}{}{\dealnoathor}}
- %\ExecuteBibliographyOptions{gbnoauthor=true}%瀵逛簬闇瑕佸睍寮杈冩棭(灞曞紑灞傜骇浼樺厛)鐨勯夐」锛岃繖涓鎵ц鏃犳晥锛屽彧鑳界敤瀹忓寘鍔犺浇鏃剁粰鍑虹殑閫夐」銆
}
@@ -474,9 +523,21 @@
%璁剧疆鏈湴鍖栧瓧绗︿覆
%=====================================================================
%
- % 鏂板缓褰撳湴鍖栧瓧绗︿覆锛岀敤鏉ヨ褰曗滅瓑鈥濆瓧绗
+ % 鏂板缓褰撳湴鍖栧瓧绗︿覆锛岀敤鏉ヨ褰曗滅瓑鈥濆瓧绗︺佲滃拰鈥濆瓧绗
%
\NewBibliographyString{andotherscn}
+ \NewBibliographyString{andothersincitecn}
+ \NewBibliographyString{andothersincite}
+ \NewBibliographyString{andcn}
+ \NewBibliographyString{andothersjp}
+ \NewBibliographyString{andotherskr}
+ \NewBibliographyString{andjp}
+ \NewBibliographyString{andkr}
+ \NewBibliographyString{andincitecn}
+ \NewBibliographyString{andincite}
+ \NewBibliographyString{volumecn}
+ \NewBibliographyString{numbercn}
+ \NewBibliographyString{serialcn}
%
% 淇敼涓浜涘綋鍦板寲瀛楃涓
@@ -489,108 +550,195 @@
references = {\str@references},
bytranslator= {\addcomma\ \str@bytranslator\adddot}, %灏唗rans. by 鏀规垚 璇
and = {\addcomma},%灏嗙2鍜3浜哄悕瑙佺殑and绗﹀彿鏀规垚 閫楀彿锛岀敤\finalnamedelim鍛戒护涔熷彲浠ュ畾涔夛紝鍙傝3.9.1鑺
+ andcn = {\addcomma},%\str@andcn\ and鏈湴鍖栧瓧绗︿覆鐨勪腑鏂囧搴旇瘝
+ andincitecn = {\addcomma},%灏嗘爣娉ㄤ腑鐨勫垎寮锛屼究浜庝笌鏂囩尞琛ㄤ腑鐨勫尯鍒
+ andincite = {\addcomma},
%andothers = {et al.}, %灏嗚秴杩3涓汉鍚嶇殑鐪佺暐锛宔t al.鏀规垚涓 绛
- andotherscn = {\str@andotherscn}, %灏嗚秴杩3涓汉鍚嶇殑鐪佺暐锛宔t al.鏀规垚涓 绛
+ andotherscn = {\str@andotherscn},%灏嗚秴杩3涓汉鍚嶇殑鐪佺暐锛宔t al.鏀规垚涓 绛
+ andothersincitecn={\str@andotherscn},%灏嗘爣娉ㄤ腑鐨勫垎寮锛屼究浜庝笌鏂囩尞琛ㄤ腑鐨勫尯鍒
+ andothersincite={et al.},
backrefpage = {\str@backrefpage:},
backrefpages = {\str@backrefpages:},
in={in\intitlepunct},
+ volumecn={\str@volumecn},
+ numbercn={\str@numbercn},
+ serialcn={\str@serialcn},
+ andothersjp={浠杴,
+ andotherskr={鞕竲,
+ andjp={鍜寎,
+ andkr={鍜寎,
}
%=====================================================================
-%鍔ㄦ佹暟鎹慨鏀癸紝淇敼杈撳叆鐨勬簮鏂囦欢鏁版嵁锛岀敤浜庝腑鏂囧垽鏂瓑鎿嶄綔
+% 鍔ㄦ佹暟鎹慨鏀
%=====================================================================
%
-% 淇敼杈撳叆鐨勫弬鑰冩枃鐚暟鎹紝婧愭枃浠跺眰鐨勬搷浣
-%
-% 鍘熺悊鏂规硶:澧炲姞鏂囩尞鏍囪瘑绗﹀[M],[J]绛
-% 鎶婁綔鑰呭拰璇戣呬俊鎭噯纭殑璁板綍鍒皍serf锛寀sere涓紝鐢ㄤ簬鍚庨潰鍒ゆ柇鏄惁鏄痗jk瀛楃銆
-% 娉ㄦ剰:杩欓噷鐢╱serf锛寀sere鑰屼笉鏄痭amee锛宯amef锛屾槸鍥犱负鍙湁鎶妌ame鍒楄〃杞垚鍩燂紝鎵嶈兘鏈夋晥璇诲彇濮撳悕涓殑瀛楃锛
-% 濡傛灉鐢╪amee锛宯amef锛宯ame淇℃伅浼氳嚜鍔ㄨВ鏋愶紝鎵浠ュ氨涓嶈兘涓篶jk鍒ゆ柇鎻愪緵闇瑕佺殑淇℃伅
-% 娉ㄦ剰\DeclareSourcemap鍛戒护瀵逛簬biblatex3.11浠ヤ笅鐗堟湰鍙兘鍑虹幇涓娆★紝3.11鐗堝紑濮嬫敮鎸佸涓
+% 鍚勫眰娆$殑鏁版嵁鏄犲皠鍜屽姩鎬佷慨鏀
+%
+% 鍘熺悊鏂规硶:
+% 1. 杩涜璇█鍖呮嫭涓嫳鏂囧垽鏂紝骞惰缃拰璁板綍锛屾瘮濡傝褰曞埌userf锛寀sere涓
+% 2. 澧炲姞鏂囩尞鏍囪瘑绗﹀[M],[J]绛夛紝瀵逛竴浜涘鏄撴贩娣嗙殑鍩熻繘琛岃缃互澧炲己鍏煎鎬
+% 3. \DeclareSourcemap鍛戒护瀵逛簬biblatex3.11浠ヤ笅鐗堟湰鍙兘鍑虹幇涓娆★紝3.11鐗堝紑濮嬫敮鎸佸涓
+% 4. \DeclarestyleSourcemap鍦╞iblatex v3.7鐗堝紑濮嬪彲浠ユ敮鎸佸嚭鐜板娆
+% 5. 鎶婁綔鑰呭拰璇戣呬俊鎭噯纭殑璁板綍鍒皍serf锛寀sere涓紝鐢ㄤ簬鍚庨潰鍒ゆ柇鏄惁鏄痗jk瀛楃銆
+% 娉ㄦ剰:杩欓噷鐢╱serf锛寀sere鑰屼笉鏄痭amee锛宯amef锛屾槸鍥犱负鍙湁鎶妌ame鍒楄〃杞垚鍩燂紝鎵嶈兘鏈夋晥璇诲彇濮撳悕涓殑瀛楃锛
+% 濡傛灉鐢╪amee锛宯amef锛宯ame淇℃伅浼氳嚜鍔ㄨВ鏋愶紝鎵浠ュ氨涓嶈兘涓篶jk鍒ゆ柇鎻愪緵闇瑕佺殑淇℃伅
+%
+% 涓嶅悓鐨勬枃鐚被鍨嬩娇鐢ㄧ浉鍚岀殑椹卞姩杈撳嚭鍙互鏈5绉嶆柟娉曪細
+% 1. 鏄暟鎹簮灞傜殑鏄犲皠锛屽皢鍏跺畠绫诲瀷杞崲涓烘煇涓瑕佷娇鐢ㄩ┍鍔ㄧ殑绫诲瀷
+% 2. 鏄牱寮忓眰鏄犲皠锛屼篃鏄皢鍏跺畠绫诲瀷杞崲涓烘煇涓瑕佷娇鐢ㄩ┍鍔ㄧ殑绫诲瀷
+% 3. 鏄┍鍔ㄥ眰鏄犲皠锛屼篃鏄皢鍏跺畠绫诲瀷杞崲涓烘煇涓瑕佷娇鐢ㄩ┍鍔ㄧ殑绫诲瀷
+% 4. 瀹氫箟椹卞姩绫诲瀷鍒悕DeclareBibliographyAlias锛屽皢鍏跺畠绫诲瀷瀹氫箟涓烘煇涓瑕佷娇鐢ㄩ┍鍔ㄧ殑绫诲瀷鐨勫埆鍚
+% 椹卞姩鍒悕瀹氫箟鏈川涓婃槸鍋氫簡椹卞姩灞傛槧灏
+% 5. 鐩存帴瀹氫箟涓嶅悓鐨勭被鍨嬬殑椹卞姩锛屼絾椹卞姩鍐呭鐩稿悓銆
+%
+% 鍏充簬鏁版嵁鏄犲皠鍜岄┍鍔ㄤ娇鐢ㄧ殑鑰冭檻濡備笅锛
+% 1. 涓洪伩鍏嶅埄鐢╞iber杈撳嚭bib鏂囦欢鏃剁殑鏁版嵁鍙樺姩锛屽敖閲忎笉鍦ㄦ暟鎹簮灞傛槧灏勫仛绫诲瀷杞崲
+% 2. 涓哄噺灏戜唬鐮侀噺锛屽敖閲忓皯鍋氬唴瀹圭浉鍚岀殑涓嶅悓绫诲瀷椹卞姩
+% 3. 鍥犳绫诲瀷鐩稿叧鐨勫鐞嗕富瑕佸湪鏍峰紡灞傛槧灏勩侀┍鍔ㄥ眰鏄犲皠銆侀┍鍔ㄥ埆鍚
+% 4. 鐢变簬biblatex榛樿鍋氱殑椹卞姩鍒悕澶勭悊鍙兘澧炲姞涓浜涗俊鎭瘮濡俶asterthesis杞瑃hesis鏃跺鍔犵殑type
+% 鍙互鍦ㄦ牱寮忓眰鏄犲皠鍋氭煇浜涢渶瑕侀伩鍏嶈繖绉嶉粯璁ゅ缃殑杞崲
+% 5. 褰撴病鏈夐伩鍏嶉粯璁よ涓虹殑闇姹傛椂锛屽叏閮ㄩ噰鐢ㄩ┍鍔ㄥ埆鍚嶇殑鏂瑰紡澶勭悊锛岀瓑浠蜂簬椹卞姩灞傜殑鏄犲皠
+%
+% 鏂囩尞绫诲瀷鍜岄┍鍔ㄨ冭檻濡備笅锛
+% 1. 杩炵画鍑虹増鐗╁強鏋愬嚭鏂囩尞鏈夊叾鐗规畩鎬э紝鍥犳鑰冭檻涓ょ被periodical鍜宎rticle
+% newpaper鏄犲皠涓篴rticle锛屽苟浠ote鍩熷仛鍖哄垎鐗规畩澶勭悊
+% 2. 涓撹憲鍜屼笓钁椾腑鐨勬瀽鍑烘枃鐚槸涓昏鐨勭被鍨嬶紝鍥犳鑰冭檻book鍜宨nbook
+% standard鏄犲皠涓篵ook鎴杋nbook锛屽苟浠ote鍩熷仛鍖哄垎鐗规畩澶勭悊
+% collection鍜宲roceedings鍩烘湰涓巄ook绫讳技锛屽洜姝ゅ仛book椹卞姩鍒悕澶勭悊
+% incollection鍜宨nproceedings鍩烘湰涓巌nbook绫讳技锛屽洜姝ゅ仛inbook椹卞姩鍒悕澶勭悊
+% 3. 涓撳埄绫诲瀷鏈夊叾鐗规畩鎬э紝鑰冭檻patent绫诲瀷
+% 4. 鐢靛瓙璧勬簮绫诲瀷鏈夊叾鐗规畩鎬э紝鑰冭檻online绫诲瀷
+% 5. 鎶ュ憡绫诲瀷涓巄ook鏈夌偣绫讳技锛屽嚭鐗堥」澶勭悊涓巄ook涓鏍凤紝浣嗘湁鏃跺張瑕佹湁淇敼鍜屾洿缁嗘棩鏈
+% 鍥犳鑰冭檻鐢ㄤ竴绉嶇被鍨嬫潵杈撳嚭锛屼娇鐢╮eport绫诲瀷
+% 6. 鎵嬪唽/瀛︿綅璁烘枃绛夌被鍨嬩笌book鏈夌偣绫讳技锛屼絾瀵逛簬鍑虹増椤瑰鐞嗘椂锛屾湁缂虹渷鏃讹紝鐩存帴鐪佺暐锛
+% 鍚屾椂鏈塿ersion鍜宔dition鐨勫尯鍒紝鍥犳鑰冭檻鐢ㄤ竴绉嶇被鍨嬫潵杈撳嚭锛屼娇鐢╩anual绫诲瀷
+% 7. 鍖呮嫭鎶ュ憡锛屽浣嶈鏂囧湪鍐呯殑鍏跺畠鎵鏈夌殑绫诲瀷锛岄兘鍋氫竴涓垽鏂紝褰撴病鏈夊嚭鐗堥」鏃讹紝
+% 涓斿瓨鍦ㄧ綉鍧淇℃伅鏃讹紝灏嗗叾杞崲涓簅nline绫诲瀷杈撳嚭锛屽惁鍒欓兘鍋氫负manual绫诲瀷杈撳嚭銆
+
\DeclareSourcemap{
\maps[datatype=bibtex]{
+ \map{
+ \pernottype{inbook}
+ \pernottype{inproceedings}
+ \pernottype{incollection}
+ \step[notfield=author]%褰揳uthor涓嶅瓨鍦紝灏唀ditor澶嶅埗缁檃uthor
+ \step[fieldsource=editor,fieldtarget=author]%骞跺垹闄ditor
+ }
+ \map{
+ \pernottype{inbook}
+ \pernottype{inproceedings}
+ \pernottype{incollection}
+ \step[notfield=author]%褰揳uthor涓嶅瓨鍦紝灏唗ranslator澶嶅埗缁檃uthor
+ \step[fieldsource=translator,fieldtarget=author]%骞跺垹闄ranslator
+ }
+ \map{
+ \step[notfield=address]%褰揳ddress鍜宭ocation鍚屾
+ \step[fieldsource=location,final]
+ \step[fieldset=address,origfieldval]
+ }
+ \map{
+ \step[notfield=location]%褰揳ddress鍜宭ocation鍚屾
+ \step[fieldsource=address,final]
+ \step[fieldset=location,origfieldval]
+ }
\map[overwrite]{%鐢ㄤ簬澶勭悊zotero浠巆nki瀵煎嚭涓枃鏂囩尞濮撳悕涓瓨鍦ㄩ楀彿鐨勬儏鍐
\step[fieldsource={author}, match=\regexp{([\x{2FF0}-\x{9FA5}])\,\s*}, replace=\regexp{$1}]
- }
- \map{%
+ }%\perdatasource{examples.bib}
+ \map{%澶勭悊鍦╞ib鏂囦欢鐢╩ark鏍囪鏂囩尞绫诲瀷鏍囪瘑绗︾殑鎯呭喌
\step[fieldsource=mark,final]
\step[fieldset=usera, origfieldval]
}
- \map{%
+ \map{%澶勭悊鍦╞ib鏂囦欢涓洿鎺ョ粰鍑烘枃鐚殑濮撳悕鏍煎紡涓簂owercase鐨勬儏鍐
\step[fieldsource=nameformat,match=lowercase,final]
\step[fieldset=namefmtid,fieldvalue={1}]
}
- \map{%
+ \map{%澶勭悊鍦╞ib鏂囦欢涓洿鎺ョ粰鍑烘枃鐚殑濮撳悕鏍煎紡涓篻ivenahead鐨勬儏鍐
\step[fieldsource=nameformat,match=givenahead,final]
\step[fieldset=namefmtid,fieldvalue={2}]
}
- \map{%
+ \map{%澶勭悊鍦╞ib鏂囦欢涓洿鎺ョ粰鍑烘枃鐚殑濮撳悕鏍煎紡涓篺amilyahead鐨勬儏鍐
\step[fieldsource=nameformat,match=familyahead,final]
\step[fieldset=namefmtid,fieldvalue={3}]
}
- \map{%
+ \map{%澶勭悊鍦╞ib鏂囦欢涓洿鎺ョ粰鍑烘枃鐚殑濮撳悕鏍煎紡涓簆inyin鐨勬儏鍐
\step[fieldsource=nameformat,match=pinyin,final]
\step[fieldset=namefmtid,fieldvalue={4}]
}
- \map{%
- %\perdatasource{examples.bib}
+ \map{%鏍规嵁article纭畾鏂囩尞绫诲瀷鏍囪瘑绗
\pertype{article}
\step[fieldset=usera, fieldvalue={J}]
}
- \map{
+ \map{%鏍规嵁periodical纭畾鏂囩尞绫诲瀷鏍囪瘑绗
\pertype{periodical}
\step[fieldset=usera, fieldvalue={J}]
- \step[fieldsource=author] %鏈夋椂浼氭妸author鍜宔ditor娣锋穯锛屽鐞嗗悗閬垮厤璇ラ棶棰
+ \step[fieldsource=author] %鏈夋椂浼氭妸author鍜宔ditor娣锋穯锛屽鐞嗗悗浣跨敤editor
\step[fieldset=editor, origfieldval]
- \step[fieldsource=publisher] %鏈夋椂浼氭妸publisher鍜宨nstitution娣锋穯锛屽鐞嗗悗閬垮厤璇ラ棶棰
+ \step[fieldsource=publisher] %鏈夋椂浼氭妸publisher鍜宨nstitution娣锋穯锛屽鐞嗗悗浣跨敤institution
\step[fieldset=institution, origfieldval]
}
- \map{
- \pertype{newspaper}%澧炲姞涓涓柊闂绘姤绾哥殑绫诲瀷newspaper
- \step[fieldset=usera, fieldvalue={N}]%鍥犱负娌℃湁涓撻棬鐨勯┍鍔紝杩欏彞鐨勭洰鐨勬槸瀹氫箟涓涓猽sera鍩燂紝鏂逛究鏄犲皠涓篴rticle鍚庡垽鏂
- \step[fieldset=note, fieldvalue=news]
+ \map{%鏍规嵁澧炲姞涓涓柊闂绘姤绾哥殑绫诲瀷newspaper纭畾鏂囩尞绫诲瀷鏍囪瘑绗
+ \pertype{newspaper}
+ \step[fieldset=usera, fieldvalue={N}]
+ \step[fieldset=note, fieldvalue=news]%鍥犱负娌℃湁涓撻棬鐨勯┍鍔紝璁板綍note鏂逛究鏄犲皠涓篴rticle鍚庡垽鏂
}
- \map{
- \pertype{database}%瀵瑰簲澧炲姞鐨勪竴涓暟鎹簱绫诲瀷database
- \step[fieldset=usera, fieldvalue={DB}]%娌℃湁涓撻棬鐨勯┍鍔紝瀹氫箟涓涓猽sera鍩燂紝鏂逛究鏄犲皠鍚庝娇鐢
+ \map{%瀵瑰簲澧炲姞鐨勪竴涓暟鎹簱绫诲瀷database纭畾鏂囩尞绫诲瀷鏍囪瘑绗
+ \pertype{database}
+ \step[fieldset=usera, fieldvalue={DB}]
+ \step[fieldsource=publisher] %鏈夋椂浼氭妸publisher鍜宨nstitution娣锋穯锛屽鐞嗗悗浣跨敤institution
+ \step[fieldset=institution, origfieldval]
}
- \map{
- \pertype{dataset}%瀵瑰簲澧炲姞鐨勪竴涓暟鎹泦绫诲瀷dataset
- \step[fieldset=usera, fieldvalue={DS}]%娌℃湁涓撻棬鐨勯┍鍔紝瀹氫箟涓涓猽sera鍩燂紝鏂逛究鏄犲皠鍚庝娇鐢
+ \map{%瀵瑰簲澧炲姞鐨勪竴涓暟鎹泦绫诲瀷dataset纭畾鏂囩尞绫诲瀷鏍囪瘑绗
+ \pertype{dataset}
+ \step[fieldset=usera, fieldvalue={DS}]%
+ \step[fieldsource=publisher] %鏈夋椂浼氭妸publisher鍜宨nstitution娣锋穯锛屽鐞嗗悗浣跨敤institution
+ \step[fieldset=institution, origfieldval]
}
- \map{
- \pertype{software}%瀵瑰簲澧炲姞鐨勪竴涓蒋浠剁被鍨媠oftware
- \step[fieldset=usera, fieldvalue={CP}]%娌℃湁涓撻棬鐨勯┍鍔紝瀹氫箟涓涓猽sera鍩燂紝鏂逛究鏄犲皠鍚庝娇鐢
+ \map{%瀵瑰簲澧炲姞鐨勪竴涓蒋浠剁被鍨媠oftware纭畾鏂囩尞绫诲瀷鏍囪瘑绗
+ \pertype{software}
+ \step[fieldset=usera, fieldvalue={CP}]
+ \step[fieldsource=publisher] %鏈夋椂浼氭妸publisher鍜宨nstitution娣锋穯锛屽鐞嗗悗浣跨敤institution
+ \step[fieldset=institution, origfieldval]
}
- \map{
- \pertype{map}%瀵瑰簲澧炲姞鐨勪竴涓垎鍥剧被鍨媘ap
- \step[fieldset=usera, fieldvalue={CM}]%娌℃湁涓撻棬鐨勯┍鍔紝瀹氫箟涓涓猽sera鍩燂紝鏂逛究鏄犲皠鍚庝娇鐢
+ \map{%瀵瑰簲澧炲姞鐨勪竴涓垎鍥剧被鍨媘ap纭畾鏂囩尞绫诲瀷鏍囪瘑绗
+ \pertype{map}
+ \step[fieldset=usera, fieldvalue={CM}]%
+ \step[fieldsource=publisher] %鏈夋椂浼氭妸publisher鍜宨nstitution娣锋穯锛屽鐞嗗悗浣跨敤institution
+ \step[fieldset=institution, origfieldval]
}
- \map{
- \pertype{archive}%瀵瑰簲澧炲姞鐨勪竴涓。妗堢被鍨媋rchive
- \step[fieldset=usera, fieldvalue={A}]%娌℃湁涓撻棬鐨勯┍鍔紝瀹氫箟涓涓猽sera鍩燂紝鏂逛究鏄犲皠鍚庝娇鐢
+ \map{%瀵瑰簲澧炲姞鐨勪竴涓。妗堢被鍨媋rchive纭畾鏂囩尞绫诲瀷鏍囪瘑绗
+ \pertype{archive}
+ \step[fieldset=usera, fieldvalue={A}]
+ \step[fieldsource=publisher] %鏈夋椂浼氭妸publisher鍜宨nstitution娣锋穯锛屽鐞嗗悗浣跨敤institution
+ \step[fieldset=institution, origfieldval]
}
- \map{
- \pertype{misc}%褰搈isc绫诲瀷甯︽湁缃戝潃鏃讹紝灏嗗叾杞崲涓簅nline绫诲瀷
+ \map{%鍥犱负misc绫诲瀷鏈韩灏辨槸娌℃湁绫诲瀷锛岃屼笉鍍忓叾瀹冩枃鐚湁鏄庣‘鐨勭被鍨嬶紝鎵浠
+ %褰搈isc绫诲瀷甯︽湁缃戝潃鏃讹紝鐩存帴灏嗗叾杞崲涓簅nline绫诲瀷
+ \pertype{misc}
\step[fieldsource=url,final]
\step[typesource=misc,typetarget=online]
}
- \map{
- \pertype{misc}%瀵瑰簲澧炲姞鐨勪竴涓閫夌被鍨媘isc
- \step[fieldset=usera, fieldvalue={Z}]%娌℃湁涓撻棬鐨勯┍鍔紝瀹氫箟涓涓猽sera鍩燂紝鏂逛究鏄犲皠鍚庝娇鐢
+ \map{%瀵瑰簲澧炲姞鐨勪竴涓閫夌被鍨媘isc纭畾鏂囩尞绫诲瀷鏍囪瘑绗
+ \pertype{misc}
+ \step[fieldset=usera, fieldvalue={Z}]%
}
\map{
\pertype{book}
\pertype{inbook}
\step[fieldset=usera, fieldvalue={M}]
- \step[fieldsource=version] %鏈夋椂浼氭妸version鍜宔dition娣锋穯锛屽鐞嗗悗閬垮厤璇ラ棶棰橈紝鍙互鐩存帴鐢╲ersion
+ \step[fieldsource=version] %鏈夋椂浼氭妸version鍜宔dition娣锋穯锛屽鐞嗗悗鐩存帴鐢╡dition
\step[fieldset=edition, origfieldval]
}
\map{
- \pertype{standard}%鍏煎鑰佺殑standard绫诲瀷
- \step[fieldset=usera, fieldvalue={S}]%鍥犱负娌℃湁涓撻棬鐨勯┍鍔紝杩欏彞鐨勭洰鐨勬槸瀹氫箟涓涓猽sera鍩燂紝鏂逛究鏄犲皠涓篵ook鍜宨nbook鍚庡垽鏂
- \step[fieldset=note, fieldvalue=standard]
+ \pertype{inbook}
+ \step[fieldsource=editor]%鏈夋椂浼氭妸editor鍜宐ookauthor娣锋穯锛屽鐞嗗悗浣跨敤bookauthor
+ \step[fieldset=bookauthor, origfieldval]
+ }
+ \map{%鍏煎鑰佺殑standard绫诲瀷锛岀‘瀹氭枃鐚被鍨嬫爣璇嗙
+ \pertype{standard}
+ \step[fieldset=usera, fieldvalue={S}]
+ \step[fieldset=note, fieldvalue=standard]%鍥犱负娌℃湁涓撻棬鐨勯┍鍔紝璁板綍note鏂逛究鏄犲皠涓篵ook鍜宨nbook鍚庡垽鏂
}
\map{
\pertype{patent}
@@ -600,67 +748,81 @@
\pertype{inproceedings}
\pertype{conference}%鍏煎鑰佺殑conference绫诲瀷
\step[fieldset=usera, fieldvalue={C}]
- \step[fieldsource=institution] %鏈夋椂浼氭妸publisher鍜宨nstitution娣锋穯锛屽鐞嗗悗閬垮厤璇ラ棶棰
+ \step[fieldsource=institution]%鏈夋椂浼氭妸publisher鍜宨nstitution娣锋穯锛屽鐞嗗悗浣跨敤institution
\step[fieldset=publisher, origfieldval]
- \step[fieldsource=editor] %
+ \step[fieldsource=editor]%%鏈夋椂浼氭妸editor鍜宐ookauthor娣锋穯锛屽鐞嗗悗浣跨敤bookauthor
\step[fieldset=bookauthor, origfieldval]
}
\map{
\pertype{proceedings}
\step[fieldset=usera, fieldvalue={C}]
- \step[fieldsource=institution] %鏈夋椂浼氭妸publisher鍜宨nstitution娣锋穯锛岃繖閲屽鐞嗗悗灏辨病鏈夎繖涓棶棰
+ \step[fieldsource=institution]%鏈夋椂浼氭妸publisher鍜宨nstitution娣锋穯锛屽鐞嗗悗浣跨敤publisher
+ \step[fieldset=publisher, origfieldval]
+ }
+ \map{
+ \pertype{incollection}
+ \step[fieldset=usera, fieldvalue={G}]
+ \step[fieldsource=institution]%鏈夋椂浼氭妸publisher鍜宨nstitution娣锋穯锛屽鐞嗗悗浣跨敤institution
+ \step[fieldset=publisher, origfieldval]
+ \step[fieldsource=editor]%%鏈夋椂浼氭妸editor鍜宐ookauthor娣锋穯锛屽鐞嗗悗浣跨敤bookauthor
+ \step[fieldset=bookauthor, origfieldval]
+ }
+ \map{
+ \pertype{collection}
+ \step[fieldset=usera, fieldvalue={G}]
+ \step[fieldsource=institution]%鏈夋椂浼氭妸publisher鍜宨nstitution娣锋穯锛屽鐞嗗悗浣跨敤publisher
\step[fieldset=publisher, origfieldval]
- \step[fieldsource=editor] %%鏈夌殑鏃跺欏彲鑳藉彧濉啓浜嗙紪鑰咃紝娌℃湁author锛屾妸瀹冨鍒朵竴涓
- \step[fieldset=author, origfieldval]
}
\map{
\pertype{report}
\pertype{techreport}%鍏煎鑰佺殑techreport绫诲瀷
\step[fieldset=usera, fieldvalue={R}]
- \step[fieldsource=publisher] %鏈夋椂浼氭妸publisher鍜宨nstitution娣锋穯锛屽鐞嗗悗閬垮厤璇ラ棶棰
- \step[fieldset=institution, origfieldval]
+ \step[fieldsource=institution]%鏈夋椂浼氭妸publisher鍜宨nstitution娣锋穯锛屽鐞嗗悗浣跨敤publisher
+ \step[fieldset=publisher, origfieldval]
}
\map{
\pertype{thesis}
\pertype{mastersthesis}%鍏煎鑰佺殑mastersthesis鍜宲hdthesis绫诲瀷
\pertype{phdthesis}
\step[fieldset=usera, fieldvalue={D}]
+ \step[fieldsource=publisher]%鏈夋椂浼氭妸publisher鍜宨nstitution娣锋穯锛屽鐞嗗悗浣跨敤institution
+ \step[fieldset=institution, origfieldval]
}
\map{
\pertype{online}
\pertype{electronic}%鍏煎鑰佺殑electronic绫诲瀷
\pertype{www}%鍏煎鑰佺殑www绫诲瀷
\step[fieldset=usera, fieldvalue={EB}]
+ \step[fieldsource=publisher]%鏈夋椂浼氭妸publisher鍜宨nstitution娣锋穯锛屽鐞嗗悗浣跨敤institution
+ \step[fieldset=institution, origfieldval]%鍥犱负online鐨勫嚭鐗堥」澶勭悊绫讳技鎵嬪唽
+ \step[fieldsource=organization]%鏈夋椂浼氭妸organization鍜宨nstitution娣锋穯锛屽鐞嗗悗浣跨敤institution锛屼互澧炲己鍏煎鎬
+ \step[fieldset=institution, origfieldval]
}
\map{
\pertype{manual}
\step[fieldset=usera, fieldvalue={A}]
- \step[fieldsource=edition] %鏈夋椂浼氭妸version鍜宔dition娣锋穯锛屽鐞嗗悗閬垮厤璇ラ棶棰橈紝鍙互鐩存帴鐢╲ersion
+ \step[fieldsource=edition]%鏈夋椂浼氭妸version鍜宔dition娣锋穯锛屽鐞嗗悗浣跨敤version
\step[fieldset=version, origfieldval]
- \step[fieldsource=organization]%鍥犱负鐢ㄧ殑report鐨勯┍鍔紝鎵浠ラ渶瑕乮nstitution鍩燂紝鎶妎rganization杞垚瀹冧互澧炲己鍏煎鎬
+ \step[fieldsource=publisher]%鏈夋椂浼氭妸publisher鍜宨nstitution娣锋穯锛屽鐞嗗悗浣跨敤institution
+ \step[fieldset=institution, origfieldval]
+ \step[fieldsource=organization]%鏈夋椂浼氭妸organization鍜宨nstitution娣锋穯锛屽鐞嗗悗浣跨敤institution锛屼互澧炲己鍏煎鎬
\step[fieldset=institution, origfieldval]
- }
- \map{
- \pertype{incollection}
- \step[fieldset=usera, fieldvalue={G}]
- }
- \map{
- \pertype{collection}
- \step[fieldset=usera, fieldvalue={G}]
- \step[fieldsource=editor] %%鏈夌殑鏃跺欏彲鑳藉彧濉啓浜嗙紪鑰咃紝娌℃湁author锛屾妸瀹冨鍒朵竴涓
- \step[fieldset=author, origfieldval]
}
\map{
\pertype{unpublished}
\step[fieldset=usera, fieldvalue={Z}]
}
- \map{
+ \map{%浣滆呯殑涓枃鍒ゆ柇
\step[fieldsource=author, match=\regexp{[\x{2FF0}-\x{9FA5}]},final]
- \step[fieldset=userf, fieldvalue={cn}]
+ \step[fieldset=userf, fieldvalue={chinese}]
}
- \map{
+ \map{%璇戣呯殑涓枃鍒ゆ柇
\step[fieldsource=translator, match=\regexp{[\x{2FF0}-\x{9FA5}]},final]
- \step[fieldset=usere, fieldvalue={cn}]
+ \step[fieldset=usere, fieldvalue={chinese}]
+ }
+ \map{%缂栬呯殑涓枃鍒ゆ柇
+ \step[fieldsource=editor, match=\regexp{[\x{2FF0}-\x{9FA5}]},final]
+ \step[fieldset=userc, fieldvalue={chinese}]
}
\map{%澶勭悊涓浜涚敤year琛ㄧずdate鐨勬儏鍐
%杩欐牱澶勭悊灏嗕細璁剧疆date鍩燂紝骞朵娇寰條abeldatesource鍙樹负绌猴紝鍥犱负date鐨勫墠缂涓虹┖(濡傛灉鏄痷rldate锛岄偅涔坙abeldatesource灏辨槸url)銆
@@ -668,24 +830,15 @@
\step[fieldsource=year]
\step[fieldset=date, origfieldval]
}
- \map{%灏唗itle淇℃伅淇濆瓨鍒皍serd涓伩鍏嶅洜涓烘爣绛剧敓鎴愬師鍥犲鑷磘itle鍩熻娓呴櫎
- \step[fieldsource=title, match=\regexp{[\x{2FF0}-\x{9FA5}]},final]%}
- \step[fieldset=userd, fieldvalue={cn}]
+ \map{%鏂囩尞棰樺悕鐨勪腑鏂囧垽鏂紝灏嗕俊鎭繚瀛樺埌userd涓紝閬垮厤鍥犱负鏍囩鐢熸垚鍘熷洜瀵艰嚧title鍩熻娓呴櫎鑰屼骇鐢熼棶棰
+ \step[fieldsource=title, match=\regexp{[\x{2FF0}-\x{9FA5}]},final]%
+ \step[fieldset=userd, fieldvalue={chinese}]
}
- \map{%灏唀ntrykey鏀惧叆keywords涓敤浜庡悗鏈熺殑浣跨敤
+ \map{%灏唀ntrykey鏀惧叆keywords涓敤浜庡悗鏈熶娇鐢
\step[fieldsource=entrykey]
\step[fieldset=keywords, origfieldval]
}
- \map[overwrite]{%杩欓噷杩樺繀椤绘湁overwrite锛屾敞鎰忎笉鍚岀増鏈瓨鍦ㄥ樊寮傦紝姣斿texlive2015鍙16鍚巄iber鏈夊彉鍖(20161207淇敼姝g‘)
- \step[fieldsource=note, final]%灏唍ote鍩熶俊鎭鍒剁粰keywords锛岀敤浜庤緭鍑烘椂瀹规槗鍖哄垎鏍囧噯鍜屾姤绾
- \step[fieldset=keywords, fieldvalue={,}, append]
- \step[fieldset=keywords, origfieldval, append]
- }
- \map{%鍥犱负瑕佸author杩涜鍒ゆ柇锛屾墍浠ヨ繖閲屽厛瀵规湁浜涘彧鏈夌紪鑰呰屾病鏈変綔鑰呯殑鎯呭喌杩涜澶勭悊
- \step[fieldsource=editor]
- \step[fieldset=author,origfieldval]
- }
- \map{%
+ \map{%褰撴枃鐚粰鍑簂anguage鍩熸椂锛岃缃枃鐚浣跨敤鐨勬湰鍦板寲瀛楃涓茬殑璇█
\step[fieldsource=language,match=english,final]
\step[fieldset=langid,fieldvalue={english}]
}
@@ -709,7 +862,8 @@
\step[fieldsource=language,match=korean,final]
\step[fieldset=langid,fieldvalue={english}]
}
- \map{%鎶婅瑷淇℃伅璁剧疆language鍩熷唴锛岃屼笉鍐嶇敤userb鍩(20180525)
+ \map{%褰撴病鏈塴anguage鍩熶俊鎭粰鍑烘椂锛屾牴鎹畉itle鍩熸潵鑷姩鍒ゆ柇璇█骞惰缃湰鍦板寲瀛楃涓茶瑷
+ %鎶婅瑷淇℃伅璁剧疆language鍩熷唴锛岃屼笉鍐嶇敤userb鍩(20180525)
%鎺ョ潃鏍规嵁淇℃伅鍩熷瓧绗︾殑unicode鐮佸垽鏂
\step[fieldsource=title,match=\regexp{[\x{0100}-\x{017F}]},final]%\x80-\xFF
\step[fieldset=language,fieldvalue={french}]%娉曡,0080寮濮嬪埌00ff鐨勫瓧绗︽病娉曞尮閰嶆湁鐐瑰鎬
@@ -739,39 +893,99 @@
\step[fieldsource=author,match=\regexp{[\x{2FF0}-\x{9FA5}]},final]
\step[fieldset=language,fieldvalue={chinese}]
}
- \map{\step[fieldsource=title,match=\regexp{[\x{2FF0}-\x{9FA5}]},final]
+ \map{
+ \step[fieldsource=title,match=\regexp{[\x{2FF0}-\x{9FA5}]},final]
\step[fieldset=language,fieldvalue={chinese}]
}%濡傛灉娌℃湁浣滆呭拰鏍囬锛岄偅涔堝墿涓嬬殑鏈鍙兘鏈夋剰涔夌殑鍙湁缃戝潃浜嗭紝鑰岀綉鍧閫氬父鏄嫳鏂囩殑锛屽洜姝や笉鐢ㄥ啀杩涗竴姝ュ鍏跺畠鍩熻繘琛屽垽鏂簡銆
\map{%灏嗘病鏈夎缃殑language璁剧疆鎴恊n锛屽嵆璁や负涓嶆槸涓枃鐨勫氨鏄嫳鏂囩殑銆
\step[fieldset=language,fieldvalue={english}]
\step[fieldset=langid,fieldvalue={english}]
}
- %鏈潵鍚庨潰杩欎簺鏄斁鍒癉eclareStyleSourcemap涓鐞嗙殑锛屼絾鏄洜涓簍exlive2016鐨刡iblatex3.4涓嶆敮鎸佸涓狣eclareStyleSourcemap锛
- %浣嗗張鏈夊鐞嗙壒娈婂瓧绗﹀拰澶勭悊gbnoauthor閫夐」涓や釜闇姹傦紝浣唃bnoauthor闇瑕佺敤DeclareStyleSourcemap鎵浠ユ妸杩欎簺鎻愬埌杩欐潵锛
- %浠ュ悗灏嗚繖涓や釜鍔熻兘缁撳悎鍒颁竴涓狣eclareStyleSourcemap鏃讹紝涓嶇敤澶嶅埗濡備笅娈典唬鐮佷簡銆
- \map{%灏濊瘯鏈畾涔夋暟鎹ā鍨嬬殑newspaper绫诲瀷鏄犲皠涓篴rticle锛宯ewspaper瀹屽叏鏄拡瀵筭b7714鐨勬柊绫诲瀷锛屽湪biblatex涓畬鍏ㄦ病鏈夊畾涔
- %浣嗕粠瀹炶返鐪嬶紝骞舵病鏈変粈涔堝奖鍝嶏紝鏄犲皠杩囨潵灏卞彲浠ヤ簡銆
- \step[typesource=newspaper, typetarget=article, final]
- }
- \map{%灏濊瘯鏈畾涔夋暟鎹ā鍨嬬殑standard绫诲瀷鏄犲皠涓篵ook锛宻tandard绫诲瀷鍦╞lx-dm涓湁鍑虹幇锛屼絾浠呭畾涔変簡绫诲瀷锛屽煙鍜岀害鏉熺瓑閮芥病鏈夊畾涔
+ \map{%灏嗛潪涓枃鐨勮瑷鏀惧叆userd涓紝浠ヤ究杩涜澶氳瑷澶勭悊
+ \step[fieldsource=language]%,notmatch={chinese},final
+ \step[fieldset=userd,origfieldval]
+ }%
+ \map{%灏濊瘯鏈畾涔夋暟鎹ā鍨嬬殑standard绫诲瀷鏄犲皠涓哄叾浠栫被鍨媌ook鎴杋nbook锛
+ %standard绫诲瀷鍦╞lx-dm涓湁鍑虹幇锛屼絾浠呭畾涔変簡绫诲瀷锛屽煙鍜岀害鏉熺瓑閮芥病鏈夊畾涔
+ %鍥犱负鍙兘瑕佹槧灏勪袱绉嶇被鍨嬶紝鎵浠ヤ笉鑳藉湪椹卞姩灞傚鐞嗭紝鍥犱负瑕佸仛鍒ゆ柇
\step[fieldsource=booktitle,final]%褰撳瓨鍦╞ooktitle鍩熸槸鏄犲皠涓篿nbook
\step[typesource=standard, typetarget=inbook, final]
}
- \map{%灏濊瘯鏈畾涔夋暟鎹ā鍨嬬殑standard绫诲瀷鏄犲皠涓篵ook锛宻tandard绫诲瀷鍦╞lx-dm涓湁鍑虹幇锛屼絾浠呭畾涔変簡绫诲瀷锛屽煙鍜岀害鏉熺瓑閮芥病鏈夊畾涔
- \step[typesource=standard, typetarget=book, final]%褰撲笉瀛樺湪booktitle鍩熸槸鏄犲皠涓篵ook
+ \map{%鍓╀笅鐨勫叏閮ㄦ槧灏勪负book
+ \step[typesource=standard, typetarget=book, final]
}
- \map{%鍏堜簬鏍囧噯鏍峰紡鐨刣river灞傛槧灏勶紝灏嗗叾鍏堟槧灏勮繃鏉ワ紝骞跺彇娑坱ype璁剧疆
+ \map{%鍏堜簬鏍囧噯鏍峰紡鐨刣river灞傛槧灏勶紝浠ュ彇娑坱ype璁剧疆
\step[typesource=mastersthesis, typetarget=thesis, final]
%\step[fieldset=type, fieldvalue=mathesis]
}
- \map{%鍏堜簬鏍囧噯鏍峰紡鐨刣river灞傛槧灏勶紝灏嗗叾鍏堟槧灏勮繃鏉ワ紝骞跺彇娑坱ype璁剧疆
+ \map{%鍏堜簬鏍囧噯鏍峰紡鐨刣river灞傛槧灏勶紝浠ュ彇娑坱ype璁剧疆
\step[typesource=phdthesis, typetarget=thesis, final]
%\step[fieldset=type, fieldvalue=phdthesis]
}
- \map{%鍏堜簬鏍囧噯鏍峰紡鐨刣river灞傛槧灏勶紝灏嗗叾鍏堟槧灏勮繃鏉ワ紝骞跺彇娑坱ype璁剧疆
+ \map{%鍏堜簬鏍囧噯鏍峰紡鐨刣river灞傛槧灏勶紝浠ュ彇娑坱ype璁剧疆
\step[typesource=techreport, typetarget=report, final]
%\step[fieldset=type, fieldvalue=techreport]
}
+ \map{%
+ \pertype{report}
+ \step[notfield=address,final]%褰揳ddress涓嶅瓨鍦ㄥ垯缁х画
+ \step[fieldsource=url,final]%鍦板潃涓嶅瓨鍦ㄤ笖瀛樺湪url閭d箞杞彉涓簅nline
+ \step[typesource=report,typetarget=online]
+ \step[fieldset=note,fieldvalue={report}]
+ }
+ \map{%
+ \pertype{thesis}
+ \step[notfield=address,final]%褰揳ddress涓嶅瓨鍦ㄥ垯缁х画
+ \step[fieldsource=url,final]%鍦板潃涓嶅瓨鍦ㄤ笖瀛樺湪url閭d箞杞彉涓簅nline
+ \step[typesource=thesis,typetarget=online]
+ }
+ \map{%
+ \pertype{manual}
+ \step[notfield=address,final]%褰揳ddress涓嶅瓨鍦ㄥ垯缁х画
+ \step[fieldsource=url,final]%鍦板潃涓嶅瓨鍦ㄤ笖瀛樺湪url閭d箞杞彉涓簅nline
+ \step[typesource=manual,typetarget=online]
+ }
+ \map{%
+ \pertype{unpublished}
+ \step[notfield=address,final]%褰揳ddress涓嶅瓨鍦ㄥ垯缁х画
+ \step[fieldsource=url,final]%鍦板潃涓嶅瓨鍦ㄤ笖瀛樺湪url閭d箞杞彉涓簅nline
+ \step[typesource=unpublished,typetarget=online]
+ }
+ \map{%
+ \pertype{database}
+ \step[notfield=address,final]%褰揳ddress涓嶅瓨鍦ㄥ垯缁х画
+ \step[fieldsource=url,final]%鍦板潃涓嶅瓨鍦ㄤ笖瀛樺湪url閭d箞杞彉涓簅nline
+ \step[typesource=databasetypetarget=online]
+ }
+ \map{%
+ \pertype{dataset}
+ \step[notfield=address,final]%褰揳ddress涓嶅瓨鍦ㄥ垯缁х画
+ \step[fieldsource=url,final]%鍦板潃涓嶅瓨鍦ㄤ笖瀛樺湪url閭d箞杞彉涓簅nline
+ \step[typesource=dataset,typetarget=online]
+ }
+ \map{%
+ \pertype{software}
+ \step[notfield=address,final]%褰揳ddress涓嶅瓨鍦ㄥ垯缁х画
+ \step[fieldsource=url,final]%鍦板潃涓嶅瓨鍦ㄤ笖瀛樺湪url閭d箞杞彉涓簅nline
+ \step[typesource=software,typetarget=online]
+ }
+ \map{%
+ \pertype{map}
+ \step[notfield=address,final]%褰揳ddress涓嶅瓨鍦ㄥ垯缁х画
+ \step[fieldsource=url,final]%鍦板潃涓嶅瓨鍦ㄤ笖瀛樺湪url閭d箞杞彉涓簅nline
+ \step[typesource=map,typetarget=online]
+ }
+ \map{%
+ \pertype{archive}
+ \step[notfield=address,final]%褰揳ddress涓嶅瓨鍦ㄥ垯缁х画
+ \step[fieldsource=url,final]%鍦板潃涓嶅瓨鍦ㄤ笖瀛樺湪url閭d箞杞彉涓簅nline
+ \step[typesource=archive,typetarget=online]
+ }
+ \map[overwrite]{%杩欓噷杩樺繀椤绘湁overwrite锛屾敞鎰忎笉鍚岀増鏈瓨鍦ㄥ樊寮傦紝姣斿texlive2015鍙16鍚巄iber鏈夊彉鍖(20161207淇敼姝g‘)
+ \step[fieldsource=note, final]%灏唍ote鍩熶俊鎭鍒剁粰keywords锛岀敤浜庤緭鍑烘椂瀹规槗鍖哄垎鏍囧噯鍜屾姤绾
+ \step[fieldset=keywords, fieldvalue={,}, append]
+ \step[fieldset=keywords, origfieldval, append]
+ }
\map[overwrite]{%title,booktitle,journaltitle,journal,publisher,address,location,institution,organization
\step[fieldsource={title}, match=\regexp{([^\\])\x26}, replace=\regexp{$1\\\x26}]
}
@@ -823,11 +1037,11 @@
\def\dealnoathor{
\DeclareStyleSourcemap{
\maps[datatype=bibtex]{
- \map{%榛樿鎯呭喌涓嬪皢绌虹己浣滆呰缃负浣氬悕
+ \map{%榛樿鎯呭喌涓嬪皢绌虹己浣滆呯殑涓枃鏂囩尞璁剧疆涓轰綒鍚
\step[fieldsource=language,match={chinese},final]
\step[fieldset=author, fieldvalue={浣氬悕}]
}
- \map{%榛樿鎯呭喌涓嬪皢绌虹己浣滆呰缃负浣氬悕
+ \map{%榛樿鎯呭喌涓嬪皢绌虹己浣滆呯殑鑻辨枃鏂囩尞璁剧疆涓篈{non}
\step[fieldsource=language,match={english},final]
\step[fieldset=author, fieldvalue={A{non}}]%noauthor鎹㈡垚Anon锛屽悓鏃朵负閬垮厤澶у啓杩樺姞浜唟}
}
@@ -836,6 +1050,22 @@
}
+%
+%椹卞姩鍒悕绛変环浜庨┍鍔ㄥ眰鏄犲皠
+%
+\DeclareBibliographyAlias{newspaper}{article}%
+\DeclareBibliographyAlias{inproceedings}{inbook}%浼氳璁烘枃鏂囩尞绫诲瀷椹卞姩
+\DeclareBibliographyAlias{conference}{inbook}%浼氳璁烘枃鏂囩尞绫诲瀷椹卞姩
+\DeclareBibliographyAlias{incollection}{inbook}%鏂囬泦涓瀽鍑烘枃鐚被鍨嬮┍鍔
+\DeclareBibliographyAlias{collection}{book}%%鏂囬泦绫诲瀷椹卞姩
+\DeclareBibliographyAlias{proceedings}{book}%浼氳璁烘枃闆嗘枃鐚被鍨嬮┍鍔
+\DeclareBibliographyAlias{thesis}{manual}%瀛︿綅璁烘枃椹卞姩
+\DeclareBibliographyAlias{unpublished}{manual}%鍏跺畠绫诲瀷椹卞姩
+\DeclareBibliographyAlias{database}{manual}
+\DeclareBibliographyAlias{dataset}{manual}
+\DeclareBibliographyAlias{software}{manual}
+
+
%=====================================================================
% 璁剧疆鎺掑簭鏍煎紡
%=====================================================================
@@ -874,13 +1104,107 @@
\literal{0000}%3.7鐗堟槸\literal{0}
}
}
+
+ %闄嶅簭鐨刵yt
+ \DeclareSortingScheme{gbnytd}{
+ \sort{
+ \field{presort}
+ }
+ \sort[final]{
+ \field{sortkey}
+ }
+ \sort{
+ \field{language}
+ }
+ \sort[direction=descending]{
+ \field{sortname}
+ \field{author}
+ \field{editor}
+ \field{translator}
+ \field{sorttitle}
+ \field{title}
+ }
+ \sort{
+ \field{sortyear}
+ \field{year}
+ }
+ \sort{
+ \field{sorttitle}
+ \field{title}
+ }
+ \sort{
+ \field[padside=left,padwidth=4,padchar=0]{volume}%3.7鐗堟槸\field{volume}
+ \literal{0000}%3.7鐗堟槸\literal{0}
+ }
+ }
+
+ %闄嶅簭鐨剏nt
+ \DeclareSortingScheme{gbyntd}{
+ \sort{
+ \field{presort}
+ }
+ \sort[final]{
+ \field{sortkey}
+ }
+ \sort{
+ \field{language}
+ }
+ \sort[direction=descending]{
+ \field{sortyear}
+ \field{year}
+ }
+ \sort{
+ \field{sortname}
+ \field{author}
+ \field{editor}
+ \field{translator}
+ \field{sorttitle}
+ \field{title}
+ }
+ \sort{
+ \field{sorttitle}
+ \field{title}
+ }
+ \sort{
+ \field[padside=left,padwidth=4,padchar=0]{volume}%3.7鐗堟槸\field{volume}
+ \literal{0000}%3.7鐗堟槸\literal{0}
+ }
+ }
+
+ %鍗囧簭鐨剏nt
+ \DeclareSortingScheme{gbynta}{
+ \sort{
+ \field{presort}
+ }
+ \sort[final]{
+ \field{sortkey}
+ }
+ \sort{
+ \field{language}
+ }
+ \sort{
+ \field{sortyear}
+ \field{year}
+ }
+ \sort{
+ \field{sortname}
+ \field{author}
+ \field{editor}
+ \field{translator}
+ \field{sorttitle}
+ \field{title}
+ }
+ \sort{
+ \field{sorttitle}
+ \field{title}
+ }
+ \sort{
+ \field[padside=left,padwidth=4,padchar=0]{volume}%3.7鐗堟槸\field{volume}
+ \literal{0000}%3.7鐗堟槸\literal{0}
+ }
+ }
}
-\DeclareBibliographyAlias{unpublished}{manual}
-\DeclareBibliographyAlias{database}{manual}
-\DeclareBibliographyAlias{dataset}{manual}
-\DeclareBibliographyAlias{software}{manual}
-\DeclareBibliographyAlias{map}{manual}
-\DeclareBibliographyAlias{archive}{manual}
+
%
% 鎺掑簭鏍煎紡锛岀敤闄嶅簭锛屽強userb鍩燂紝閽堝biblatex3.8鍙婁互涓婄増鏈
@@ -918,6 +1242,105 @@
}
}
+ %闄嶅簭鐨刵yt
+ \DeclareSortingTemplate{gbnytd}{
+ \sort{
+ \field{presort}
+ }
+ \sort[final]{
+ \field{sortkey}
+ }
+ \sort{
+ \field{language}
+ }
+ \sort[direction=descending]{%
+ \field{sortname}
+ \field{author}
+ \field{editor}
+ \field{translator}
+ \field{sorttitle}
+ \field{title}
+ }
+ \sort{
+ \field{sortyear}
+ \field{year}
+ }
+ \sort{
+ \field{sorttitle}
+ \field{title}
+ }
+ \sort{
+ \field{volume}
+ \literal{0}
+ }
+ }
+
+ %闄嶅簭鐨剏nt
+ \DeclareSortingTemplate{gbyntd}{
+ \sort{
+ \field{presort}
+ }
+ \sort[final]{
+ \field{sortkey}
+ }
+ \sort{
+ \field{language}
+ }
+ \sort[direction=descending]{
+ \field{sortyear}
+ \field{year}
+ }
+ \sort{%
+ \field{sortname}
+ \field{author}
+ \field{editor}
+ \field{translator}
+ \field{sorttitle}
+ \field{title}
+ }
+ \sort{
+ \field{sorttitle}
+ \field{title}
+ }
+ \sort{
+ \field{volume}
+ \literal{0}
+ }
+ }
+
+ %鍗囧簭鐨剏nt
+ \DeclareSortingTemplate{gbynta}{
+ \sort{
+ \field{presort}
+ }
+ \sort[final]{
+ \field{sortkey}
+ }
+ \sort{
+ \field{language}
+ }
+ \sort{%[direction=ascending]
+ \field{sortyear}
+ \field{year}
+ }
+ \sort{%
+ \field{sortname}
+ \field{author}
+ \field{editor}
+ \field{translator}
+ \field{sorttitle}
+ \field{title}
+ }
+ \sort{
+ \field{sorttitle}
+ \field{title}
+ }
+ \sort{
+ \field{volume}
+ \literal{0}
+ }
+ }
+
%
% 瀹氫箟鍛戒护\defdoublelangentry锛岀敤浜巄iblatex>v3.8鐗堝埄鐢╮elated瀹炵幇鍙岃鏂囩尞鐨勫鐞
%
@@ -949,7 +1372,7 @@ test {\iftoggle{iftlseven}}%biblatex<=3.7
%=====================================================================
-%鍙傝冩枃鐚垪琛ㄧ幆澧
+%鍙傝冩枃鐚〃鐜
%=====================================================================
%
@@ -991,6 +1414,9 @@ test {\iftoggle{iftlseven}}%biblatex<=3.7
%=====================================================================
%
% 鏂板鏂囩尞绫诲瀷鏍囪瘑绗︾殑鏍煎紡
+% []鍓嶇殑nobreak锛屼粠GB4.1鑺傜殑渚嬪瓙鐪嬩笉搴旇鍔狅紝鎵浠ュ幓鎺
+% 浣嗗洜涓鸿冭檻鍒癱jk瀛楃鍜孾]涔嬮棿鍙兘娣诲姞绌烘牸锛屾墍浠ヤ粛鐒跺姞涓
+% 鑰孾]涓棿鐨勫唴瀹癸紝浠4.6.2鑺傜殑渚嬪瓙鐪嬩篃鏄彲浠ュ垎鍓茬殑锛屽洜姝ゅ唴閮ㄧ殑nobreak涔熷彲浠ュ幓鎺
%
\DeclareFieldFormat{gbtypeflag}{%
\iftoggle{bbx:url}{\iffieldundef{url}%褰撳瓨鍦╱rl鏃讹紝澧炲姞涓涓狾L鏍囪瘑绗
@@ -1039,6 +1465,11 @@ test {\iftoggle{iftlseven}}%biblatex<=3.7
\setcounter{biburlnumpenalty}{100} %璁﹗rl鍙互鍦ㄦ暟瀛楀悗鏂
\setcounter{biburlucpenalty}{100} %璁﹗rl鍙互鍦ㄥぇ鍐欏瓧姣嶅悗鏂
\setcounter{biburllcpenalty}{100} %璁﹗rl鍙互鍦ㄥ皬鍐欏瓧姣嶅悗鏂
+\DeclareFieldFormat{doi}{%
+ \rmfamily{DOI}\addcolon\space
+ \ifhyperref
+ {\href{https://doi.org/#1}{\nolinkurl{#1}}}
+ {\nolinkurl{#1}}}
%
% 鏍囬鐨勫瓧姣嶅ぇ灏忓啓鏍煎紡淇敼
%
@@ -1101,37 +1532,123 @@ test {\iftoggle{iftlseven}}%biblatex<=3.7
%\setunit{\addspace}%
\printnames[bytranslator]{translator}%
\clearname{translator}%
+ %浠巑acro*{bytranslator+othersstrg}%涓彲浠ョ湅鍒板綋鍦板寲瀛楃涓叉牸寮忕殑寮曠敤鍓嶇殑浠g爜澶勭悊
+ %姣斿鐢熸垚cotranslator绛夌敤浜庤皟鐢╟otranslator鎵浠h〃鐨勫綋鍦板寲瀛楃涓
\usebibmacro{bytranslator+othersstrg}%鈥滆瘧鈥濈殑浣嶇疆鎹㈠埌涓嬮潰鏉ワ紝鍗虫斁鍒拌瘧鑰呭悗闈€
\setunit{\addspace}%
\newunit}%
\usebibmacro{withothers}}
-%
-% 涓嬮潰涓娈垫病鏈夌敤锛屼絾浠庝腑鍙互鐪嬪埌褰撳湴鍖栧瓧绗︿覆鏍煎紡鐨勫紩鐢ㄥ墠鐨勪唬鐮佸鐞
-% 姣斿鐢熸垚cotranslator绛夌敤浜庤皟鐢╟otranslator鎵浠h〃鐨勫綋鍦板寲瀛楃涓
-% \renewbibmacro*{bytranslator+othersstrg}{%
%
% 淇敼浣滆呮暟閲忚秴杩囬檺瀹氬硷紝鍋氱渷鐣ユ椂鐨勫鐞嗘牸寮
+% v1.0,20160701,hzz
+% v1.0O,20190103,hzz,淇敼鍒╃敤鏂板畾涔夌殑涓涓垎闅旂strandothersdelim
%
-% 鍘熺悊鏂规硶:鍒ゆ柇浣滆呮垨璇戣呮槸鍚︿腑鏂囷紝鑻ヤ腑鏂囩敤瀛楃绛夛紝鍚﹀垯鐢╡tcl銆
+% 鍘熺悊鏂规硶:鍒ゆ柇浣滆呮垨璇戣呮槸鍚︿腑鏂囷紝鑻ヤ腑鏂囩敤瀛楃绛夛紝鍚﹀垯鐢╡t al. 銆
\renewbibmacro*{name:andothers}{%
\ifboolexpr{
test {\ifnumequal{\value{listcount}}{\value{liststop}}}
and
test \ifmorenames
- }{%杩欓噷鍋氫竴涓垽鏂槸鍦ㄥ鐞哸uthor杩樻槸translator鐢ㄤ簬涓よ呮槸涓嶅悓璇█鐨勬儏鍐
- \ifcurrentname{translator}{\testCJKfirst{usere}}{\testCJKfirst{userf}}%
- %杩欏彞鍒ゆ柇濡傛灉鏀惧埌\andothersdelim鍚庨潰浼氬湪绛夋垨etc.鍓嶅鍔犱竴涓┖鏍硷紝鎵浠ユ斁鍓嶉潰
- \ifnumgreater{\value{liststop}}{1}
+ }{\ifnumgreater{\value{liststop}}{1}%
{\finalandcomma}%
{}%\finalandcomma
-\printdelim{andothersdelim}\iftoggle{ifCJKforgbt}{\bibstring{andotherscn}}{\bibstring{andothers}}
-%\andothersdelim\bibstring{andotherscn}
+\printdelim{andothersdelim}\printdelim{strandothersdelim}%
}{}}
+% 淇敼鐪佺暐浣滆呭悗鐨勬湰鍦板寲瀛楃涓诧紝姣斿et al.
+% v1.0o,20190103,hzz
+%
+% 鍘熺悊鏂规硶:榛樿鎯呭喌涓嬪垽鏂綔鑰呮垨璇戣呮槸鍚︿腑鏂囷紝鑻ヤ腑鏂囩敤瀛楃andotherscn=鈥滅瓑鈥濓紝鍚﹀垯鐢╝ndothers=鈥渆t al.鈥濄
+% 闈為粯璁ゆ儏鍐碉紝鏍规嵁閫夐」淇℃伅锛岄夋嫨閫夋嫨寮哄埗涓枃鎴栬嫳鏂
+% 棣栧厛璁剧疆鍏ㄥ眬鐨勶紝鐒跺悗璁剧疆鏂囩尞琛ㄤ腑鐨勶紝杩欎竴绛変环浜庡皢鎵鏈夌殑cite鍛戒护鐜閮借缃繃浜
+% 鑰屼笉鐢ㄥ姣忎竴涓紩鐢ㄥ懡浠ゅ崟鐙缃紝姣斿cite锛宲arancite锛宼extcite閮借缃
+\DeclareDelimFormat{strandothersdelim}{%
+ \ifnumgreater{\value{liststop}}{2}{\finalandcomma}{}%
+ \addspace%%鍋氫竴涓垽鏂槸鍦ㄥ鐞哸uthor杩樻槸translator锛岀敤浜庝袱鑰呮槸涓嶅悓璇█鐨勬儏鍐
+ \ifcurrentname{translator}{\testCJKfirst{usere}}{\testCJKfirst{userf}}%
+ \ifcurrentname{editor}{\testCJKfirst{userc}}{\testCJKfirst{userf}}%
+ \ifcase\value{gbcitelocalcase}%
+ \iftoggle{ifCJKforgbt}{\bibstring{andothersincitecn}}{%
+\iffieldequalstr{userd}{korean}{\bibstring{andotherskr}}{}%
+\iffieldequalstr{userd}{japnese}{\bibstring{andothersjp}}{}%
+\iffieldequalstr{userd}{english}{\bibstring{andothersincite}}{}%
+\iffieldequalstr{userd}{french}{\bibstring{andothers}}{}%
+\iffieldequalstr{userd}{russian}{\bibstring{andothers}}{}%
+}\space%
+ \or%
+ \bibstring{andothersincitecn}\space%
+ \or%
+ \bibstring{andothersincite}\space%
+ \fi}
+\DeclareDelimFormat[bib,biblist]{strandothersdelim}{%
+ \ifnumgreater{\value{liststop}}{2}{\finalandcomma}{}%
+ \addspace%
+ \ifcurrentname{translator}{\testCJKfirst{usere}}{\testCJKfirst{userf}}%
+ \ifcurrentname{editor}{\testCJKfirst{userc}}{\testCJKfirst{userf}}%
+ \ifcase\value{gbbiblocalcase}%
+ \iftoggle{ifCJKforgbt}{\bibstring{andotherscn}}{%
+\iffieldequalstr{userd}{korean}{\bibstring{andotherskr}}{}%
+\iffieldequalstr{userd}{japnese}{\bibstring{andothersjp}}{}%
+\iffieldequalstr{userd}{english}{\bibstring{andothers}}{}%
+\iffieldequalstr{userd}{french}{\bibstring{andothers}}{}%
+\iffieldequalstr{userd}{russian}{\bibstring{andothers}}{}%
+}\space%
+ \or%
+ \bibstring{andotherscn}\space%
+ \or%
+ \bibstring{andothers}\space%
+ \fi}
+
+%
+% 淇敼鏈鍚庝竴涓綔鑰呭墠鐨勫瓧绗︿覆锛屾瘮濡 and
+% v1.0o,20190103,hzz
+%
+% 鍘熺悊鏂规硶:榛樿鎯呭喌涓嬪垽鏂綔鑰呮垨璇戣呮槸鍚︿腑鏂囷紝鑻ヤ腑鏂囩敤瀛楃andcn=鈥滃拰鈥濓紝鍚﹀垯鐢╝nd=鈥渁nd鈥濄
+% 闈為粯璁ゆ儏鍐碉紝鏍规嵁閫夐」淇℃伅锛岄夋嫨閫夋嫨寮哄埗涓枃鎴栬嫳鏂
+% 棣栧厛璁剧疆鍏ㄥ眬鐨勶紝鐒跺悗璁剧疆鏂囩尞琛ㄤ腑鐨勶紝杩欎竴绛変环浜庡皢鎵鏈夌殑cite鍛戒护鐜閮借缃繃浜
+% 鑰屼笉鐢ㄥ姣忎竴涓紩鐢ㄥ懡浠ゅ崟鐙缃紝姣斿cite锛宲arancite锛宼extcite閮借缃
+\DeclareDelimFormat{finalnamedelim}{%
+ \ifnumgreater{\value{liststop}}{2}{\finalandcomma}{}%
+ \addspace%
+ \ifcurrentname{translator}{\testCJKfirst{usere}}{\testCJKfirst{userf}}%
+ \ifcurrentname{editor}{\testCJKfirst{userc}}{\testCJKfirst{userf}}%
+ \ifcase\value{gbcitelocalcase}%
+ \iftoggle{ifCJKforgbt}{\bibstring{andincitecn}}{%
+\iffieldequalstr{userd}{korean}{\bibstring{andkr}}{}%
+\iffieldequalstr{userd}{japnese}{\bibstring{andjp}}{}%
+\iffieldequalstr{userd}{english}{\bibstring{andincite}}{}%
+\iffieldequalstr{userd}{french}{\bibstring{and}}{}%
+\iffieldequalstr{userd}{russian}{\bibstring{and}}{}%
+ }\space%
+ \or%
+ \bibstring{andincitecn}\space%
+ \or%
+ \bibstring{andincite}\space%
+ \fi}
+\DeclareDelimFormat[bib,biblist]{finalnamedelim}{%
+ \ifnumgreater{\value{liststop}}{2}{\finalandcomma}{}%
+ \addspace%
+ \ifcurrentname{translator}{\testCJKfirst{usere}}{\testCJKfirst{userf}}%
+ \ifcurrentname{editor}{\testCJKfirst{userc}}{\testCJKfirst{userf}}%
+ \ifcase\value{gbbiblocalcase}%
+ \iftoggle{ifCJKforgbt}{\bibstring{andcn}}{%
+\iffieldequalstr{userd}{korean}{\bibstring{andkr}}{}%
+\iffieldequalstr{userd}{japnese}{\bibstring{andjp}}{}%
+\iffieldequalstr{userd}{english}{\bibstring{and}}{}%
+\iffieldequalstr{userd}{french}{\bibstring{and}}{}%
+\iffieldequalstr{userd}{russian}{\bibstring{and}}{}%
+}\space%
+ \or%
+ \bibstring{andcn}\space%
+ \or%
+ \bibstring{and}\space%
+ \fi}
+
+%
% 閲嶈title鐨勮緭鍑
%
% 20180425锛寁1.0k锛屼负鏍囬澧炲姞瀛椾綋鎺у埗鍛戒护锛孒u Zhenzhen
@@ -1157,7 +1674,7 @@ test {\iftoggle{iftlseven}}%biblatex<=3.7
{\iffieldequalstr{note}{news}{\printfield[gbtypeflagn]{usera}}%鍒ゆ柇鏄惁涓烘姤绾
{\printfield[gbtypeflag]{usera}}}%鍏跺畠
}}{}%
- \iffieldundef{booktitle}{\newunit}{}%褰搕itle鏄瀽鍑烘椂锛屼笉瑕佹爣鐐
+ %\iffieldundef{booktitle}{\newunit}{}%褰搕itle鏄瀽鍑烘椂锛屼笉瑕佹爣鐐
%\newunit
}%
}}
@@ -1170,8 +1687,8 @@ test {\iftoggle{iftlseven}}%biblatex<=3.7
% 20180603锛寁1.0l锛屽鍔犱娇鐢╪ameformat鍩熸潵閫夋嫨濮撳悕鏍煎紡
\DeclareNameFormat{namefmtselected}{%
\iffieldundef{namefmtid}{}%
-{\defcounter{namefmtcase}{\thefield{namefmtid}}}%
-\ifcase\value{namefmtcase}%
+{\defcounter{gbnamefmtcase}{\thefield{namefmtid}}}%
+\ifcase\value{gbnamefmtcase}%
\ifgiveninits
{\usebibmacro{name:gbuppercase}
{\namepartfamily}
@@ -1236,7 +1753,7 @@ test {\iftoggle{iftlseven}}%biblatex<=3.7
%\DeclareDelimFormat[textcite]{andothersdelim}{\addspace}%
%GB/T 7714-2015 椋庢牸锛屽叏閮ㄥぇ鍐
-\renewbibmacro*{name:gbuppercase}[4]{\bibauthorfont%
+\newbibmacro*{name:gbuppercase}[4]{\bibauthorfont%
\renewrobustcmd*{\bibinitperiod}{}%灏嗗悕瀛楃畝鍐欏悗鐨勭偣鍘绘帀
\renewcommand*{\revsdnamepunct}{}%
\ifuseprefix%
@@ -1264,7 +1781,7 @@ test {\iftoggle{iftlseven}}%biblatex<=3.7
}
%GB/T 7714-2015 椋庢牸锛屽ぇ灏忓啓涓嶅彉锛屾牴鎹産ib鏂囦欢鍐呰緭鍏ュ師鏍疯緭鍑
-\renewbibmacro*{name:gblowercase}[4]{\bibauthorfont%
+\newbibmacro*{name:gblowercase}[4]{\bibauthorfont%
\renewrobustcmd*{\bibinitperiod}{}%灏嗗悕瀛楃畝鍐欏悗鐨勭偣鍘绘帀
\renewcommand*{\revsdnamepunct}{}%%鏉ユ簮biblatex.def
\ifuseprefix
@@ -1292,7 +1809,7 @@ test {\iftoggle{iftlseven}}%biblatex<=3.7
}
%涓枃甯歌椋庢牸锛屾眽璇嫾闊冲叏鎷兼ā寮
-\renewbibmacro*{name:gbpinyin}[4]{\bibauthorfont%
+\newbibmacro*{name:gbpinyin}[4]{\bibauthorfont%
\renewrobustcmd*{\bibinitperiod}{}%灏嗗悕瀛楃畝鍐欏悗鐨勭偣鍘绘帀锛%鏉ユ簮biblatex2.STY
\renewcommand*{\revsdnamepunct}{}%%鏉ユ簮biblatex.def
\renewrobustcmd*{\bibnamedelima}{\mbox{-}}%
@@ -1414,8 +1931,8 @@ test {\iftoggle{iftlseven}}%biblatex<=3.7
%%biblatex<3.2鐗堢殑鎯呭喌锛屽鍚嶇殑澶勭悊鏍煎紡甯﹀弬鏁
\DeclareNameFormat{namefmtselected}{%
\iffieldundef{namefmtid}{}%
- {\defcounter{namefmtcase}{\thefield{namefmtid}}}%
- \ifcase\value{namefmtcase}%
+ {\defcounter{gbnamefmtcase}{\thefield{namefmtid}}}%
+ \ifcase\value{gbnamefmtcase}%
\iffirstinits
{\usebibmacro{name:gbuppercase}{#1}{#4}{#5}{#7}}
{\usebibmacro{name:gbuppercase}{#1}{#3}{#5}{#7}}%
@@ -1424,7 +1941,7 @@ test {\iftoggle{iftlseven}}%biblatex<=3.7
{\usebibmacro{name:gblowercase}{#1}{#4}{#5}{#7}}
{\usebibmacro{name:gblowercase}{#1}{#3}{#5}{#7}}%
\or
- \iffirstinits
+ \iffirstinits
{\usebibmacro{name:last-first}{#1}{#4}{#5}{#7}}
{\usebibmacro{name:last-first}{#1}{#3}{#5}{#7}}%
\ifblank{#3#5}
@@ -1461,14 +1978,18 @@ test {\iftoggle{iftlseven}}%biblatex<=3.7
\iffieldundef{urlmonth}{}{\bibrangedash\printfield{urlmonth}}%
\iffieldundef{urlday}{}{\bibrangedash\printfield{urlday}}\printtext{]}}
- \newbibmacro*{newsdate}{%%鏂板鍔犱竴涓柊闂绘棩鏈
+ \newbibmacro*{newsdate}{%%鏂板鍔犱竴涓叕鍛婃棩鏈燂紝鍏紑鏃ユ湡鎴栨柊闂绘棩鏈
\iffieldundef{year}{}{\printfield{year}%
\iffieldundef{month}{}{\bibrangedash\printtext{\thefield{month}}%
\iffieldundef{day}{}{\bibrangedash\printfield{day}}}}%
}
\newbibmacro*{modifydate}{%鏂板鍔犱竴涓甫鎷彿鐨勬棩鏈燂紝鐢ㄤ簬琛ㄧず鐢靛瓙璧勬簮鐨勬洿鏂板拰淇敼鏃ユ湡锛岃屽叕鍛婃棩鏈熷垯鎸夋棩鏈熸牸寮
- \iffieldequalstr{year}{}{%鏇挎崲\iffieldundef{year}锛屽洜涓簓ear鎬绘槸瀛樺湪锛屼絾涓虹┖
+ \ifboolexpr{%
+ test{\iffieldundef{day}} and test{\iffieldundef{endday}} and test{\iffieldundef{eventday}}%
+ }%
+ {}%鏇存柊鎴栦慨鏀规棩鏈熼氬父鏈塪ay淇℃伅
+ {\iffieldequalstr{year}{}{%鏇挎崲\iffieldundef{year}锛屽洜涓簓ear鎬绘槸瀛樺湪锛屼絾涓虹┖
\iffieldundef{endyear}{%
\iffieldundef{eventyear}{}{\printtext{\mkbibparens{\printtext{\printfield{eventyear}}%
\iffieldundef{eventmonth}{}{\bibrangedash\thefield{eventmonth}}%
@@ -1487,7 +2008,7 @@ test {\iftoggle{iftlseven}}%biblatex<=3.7
\iffieldundef{day}{}{\bibrangedash\printfield{day}}}}%
}%
}%
- }%
+ }}%
}
%
@@ -1510,13 +2031,17 @@ test {\iftoggle{iftlseven}}%biblatex<=3.7
}
\newbibmacro*{modifydate}{%鏂板鍔犱竴涓甫鎷彿鐨勬棩鏈燂紝鐢ㄤ簬琛ㄧず鐢靛瓙璧勬簮鐨勬洿鏂板拰淇敼鏃ユ湡锛岃屽叕鍛婃棩鏈熷垯鎸夋棩鏈熸牸寮
- \iffieldundef{year}{%
+ \ifboolexpr{%
+ test{\iffieldundef{day}} and test{\iffieldundef{endday}} and test{\iffieldundef{eventday}}%
+ }%
+ {}%鏇存柊鎴栦慨鏀规棩鏈熼氬父鏈塪ay淇℃伅
+ {\iffieldundef{year}{%
\iffieldundef{endyear}{\iffieldundef{eventyear}{}{\printtext{(}\printeventdate\printtext{)}}}%
{\printtext{(}\printenddate\printtext{)}}%
}{\iffieldequalstr{year}{}{%鍥犱负year瀛樺湪锛屼絾涓虹┖
}{\printtext{(}\blx@edtfdate{}{}\printtext{)}}%
}%
- }%
+ }}%
}
%
@@ -1533,19 +2058,25 @@ test {\iftoggle{iftlseven}}%biblatex<=3.7
% 20180405锛屼负biblatexv3.10鐗堟湰锛屽嚭鐜板鍑虹偣bug鍋氬鐞嗭紝Hu Zhenzhen
%
% 鍘熺悊鏂规硶:鍔犱笂printtext閬垮厤鐮村潖寮傛鏍囩偣鏈哄埗
- %
+ % 鏈彲浠ョ敤\printdate锛屼絾鐢变簬date閫夐」璁剧疆涓簓ear锛屾墍浠ヤ粎浼氱粰鍑哄勾浠
+ % 鎵浠ユ棤娉曞啀鐢ㄩ夐」璁剧疆鐨勬柟娉曪紝鍗拌薄闇瑕佺敤搴曞眰鐨勫懡浠
+ % 杩欓噷鍙互鐢╘blx@isodate锛屼絾鐢╘blx@gbdate璇曞浘閬垮厤鐗堟湰鍒ゆ柇
\newbibmacro*{newsdate}{%%
- \printtext{\blx@gbdate{}{}}%%
+ \printtext{\blx@gbdate{}{}}%%\blx@isodate{}{}%
}
\newbibmacro*{modifydate}{%鏂板鍔犱竴涓甫鎷彿鐨勬棩鏈燂紝鐢ㄤ簬琛ㄧず鐢靛瓙璧勬簮鐨勬洿鏂板拰淇敼鏃ユ湡锛岃屽叕鍛婃棩鏈熷垯鎸夋棩鏈熸牸寮
- \iffieldundef{year}{%
+ \ifboolexpr{%
+ test{\iffieldundef{day}} and test{\iffieldundef{endday}} and test{\iffieldundef{eventday}}%
+ }%
+ {}%鏇存柊鎴栦慨鏀规棩鏈熼氬父鏈塪ay淇℃伅
+ {\iffieldundef{year}{%
\iffieldundef{endyear}{\iffieldundef{eventyear}{}{\printtext{(}\printeventdate\printtext{)}}}%
{\printtext{(}\printenddate\printtext{)}}%
}{\iffieldequalstr{year}{}{%鍥犱负year瀛樺湪锛屼絾涓虹┖
}{\printtext{(}\blx@gbdate{}{}\printtext{)}}%
}%
- }%
+ }}%
}
%
@@ -1665,12 +2196,19 @@ test{\iftoggle{iftlnine}}
}
%
-% 鍑虹増绀惧拰鍦板潃鐨勫鐞
+% 褰搇ocation绛夊嚭鐗堥」瓒呰繃maxitem缂╁噺鍚庝笉鍐嶈緭鍑篹tal
+%
+\DeclareListFormat{location}{%
+ \usebibmacro{list:delim}{#1}%
+ #1\isdot}
+\DeclareListAlias{institution}{location}
+\DeclareListAlias{publisher}{location}
+
+% 鏂板涓涓牱寮忕敤浜庤緭鍑鸿繛缁嚭鐗堢墿鐨勫湴鍧锛屽崟浣嶏紝鏃堕棿锛
+% 鐢ㄤ簬periodical杩炵画鍑虹増鐗╃殑鍑虹増绀惧拰鍦板潃鐨勫鐞
%
% v1.0k锛20180425锛屼负鍑虹増淇℃伅澧炲姞瀛椾綋鎺у埗鍛戒护锛宧zz
-% 鍘熺悊鏂规硶:褰撴病鏈夊嚭鐗堢ぞ鍦板潃鏃讹紝鐩存帴鍒ゆ柇title鐨勪俊鎭槸鍚︽槸涓枃锛岃嫢涓轰腑鏂囷紝鍒欏啓鍑虹増鍦颁笉璇︼紝鍚﹀垯鐢ㄨ嫳鏂囩殑瀛楃琛ㄧず銆
-% 浜嬪疄涓妕itle瀵逛簬姣忎釜鏂囩尞鏉ヨ鏄繀椤荤殑锛屾墍浠ョ敤瀹冨垽鏂槸鏈蹇殑锛岃屼笖涓鑸爣棰樺拰鍑虹増绀剧殑璇█鏄竴鏍风殑銆
-% 鏂板涓涓牱寮忕敤浜庤緭鍑鸿繛缁嚭鐗堢墿鐨勫湴鍧锛屽崟浣嶏紝鏃堕棿锛%绫讳技\newbibmacro*{publisher+location+date}
+% %绫讳技\newbibmacro*{publisher+location+date}
\newbibmacro*{location+institution+date}{\bibpubfont%
\iftoggle{bbx:gbpub}%
{\testCJKfirst{userd}%
@@ -1701,30 +2239,27 @@ test {\iflistundef{location}} and test {\iflistundef{institution}}%
\newunit}%
}
%
+% 閫氱敤鐨勫嚭鐗堢ぞ鍜屽湴鍧鐨勫鐞
%
+% 鍘熺悊鏂规硶:褰撴病鏈夊嚭鐗堢ぞ鍦板潃鏃讹紝鐩存帴鍒ゆ柇title鐨勪俊鎭槸鍚︽槸涓枃锛岃嫢涓轰腑鏂囷紝鍒欏啓鍑虹増鍦颁笉璇︼紝鍚﹀垯鐢ㄨ嫳鏂囩殑瀛楃琛ㄧず銆
+% 浜嬪疄涓妕itle瀵逛簬姣忎釜鏂囩尞鏉ヨ鏄繀椤荤殑锛屾墍浠ョ敤瀹冨垽鏂槸鏈蹇殑锛岃屼笖涓鑸爣棰樺拰鍑虹増绀剧殑璇█鏄竴鏍风殑銆
+% 娉ㄦ剰鏍囧噯standard绫诲瀷锛屽洜涓哄綋娌℃湁鍑虹増椤规椂鐩存帴鐪佺暐锛屾墍浠ュ仛鐗规畩澶勭悊
\renewbibmacro*{publisher+location+date}{\bibpubfont%
\iftoggle{bbx:gbpub}%
{\testCJKfirst{userd}%
-\ifboolexpr{%
-test {\iflistundef{location}} and test {\iflistundef{publisher}}%
-}{\iftoggle{ifCJKforgbt}{\printtext{[\str@noaddress}\space :\space\str@nopublisher]}%
-{\printtext{[S.l.\space :\space s.n.\adddot]}}%
-}{%
-\iflistundef{location}{%\adddot
-\iffieldequalstr{note}{standard}{}{%浠巊bt7714-2015鏍囧噯绗19椤电湅鍒帮紝鏍囧噯瀛樺湪鍑虹増椤规椂杈撳嚭锛屾病鏈夋椂瀹屽叏鐪佺暐銆
-\iftoggle{ifCJKforgbt}{\printtext{[\str@noaddress]}\addcolon\addspace}{\printtext{[S.l.\adddot]}\addcolon\addspace}%
-}}% \bibstring{noaddress}
-{\printlist{location}\addcolon\addspace}%
-%\addcolon\addspace%
-\iflistundef{publisher}{%
-\iffieldequalstr{note}{standard}{}{%
-\iftoggle{ifCJKforgbt}{\printtext{[\str@nopublisher]}\setunit{\adddot\addspace}\setunit*{\addcomma\addspace}}%
-{\printtext{\mkbibbrackets{s.n.}}\setunit{\adddot\addspace}\setunit*{\addcomma\addspace}}%
-}}%
-{\printlist{publisher}}}%
+ \ifboolexpr{ test {\iflistundef{location}} and test {\iflistundef{publisher}} }%
+ {\iffieldequalstr{note}{standard}{}{\iftoggle{ifCJKforgbt}{\printtext{[\str@noaddress}\space :\space\str@nopublisher]}{\printtext{[S.l.\space :\space s.n.\adddot]}}}}%
+ {\iflistundef{location}{%\adddot
+ \iffieldequalstr{note}{standard}{}%%浠巊bt7714-2015鏍囧噯绗19椤电湅鍒帮紝鏍囧噯瀛樺湪鍑虹増椤规椂杈撳嚭锛屾病鏈夋椂瀹屽叏鐪佺暐銆
+ {\iftoggle{ifCJKforgbt}{\printtext{[\str@noaddress]}\addcolon\addspace}{\printtext{[S.l.\adddot]}\addcolon\addspace}}}% \bibstring{noaddress}
+ {\printlist{location}\addcolon\addspace}%%\addcolon\addspace%
+ \iflistundef{publisher}{%
+ \iffieldequalstr{note}{standard}{}%
+ {\iftoggle{ifCJKforgbt}{\printtext{[\str@nopublisher]}\setunit{\adddot\addspace}\setunit*{\addcomma\addspace}}%
+ {\printtext{\mkbibbrackets{s.n.}}\setunit{\adddot\addspace}\setunit*{\addcomma\addspace}}}}%
+ {\printlist{publisher}}}%
\setunit*{\addcomma\addspace}%\addcomma\addspace%
-\usebibmacro{date}%
-%\newunit %鍘绘帀杩欎釜鏍囩偣
+\usebibmacro{date}%%\newunit %鍘绘帀杩欎釜鏍囩偣
}%
{\printlist{location}%
\iflistundef{publisher}
@@ -1732,21 +2267,63 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
{\setunit*{\addcolon\space}}%
\printlist{publisher}%
\setunit*{\addcomma\space}%
- \usebibmacro{date}%
- %\newunit
+ \usebibmacro{date}%%\newunit
}%
}
+%
+% 淇敼浜嗕竴涓猧nstitution+location+date鐢ㄤ簬manual銆乺eport銆乼hesis绛夌被鍨
+%
+% 20180425锛寁1.0k锛屽鍔犱簡瀛椾綋鎺у埗鍛戒护锛宧zz
+% 20190105锛寁1.0o锛屽姞浜嗕竴涓紪缁勯伩鍏峔usebibmacro{date}鎶妋onth鍜宒ay淇℃伅鍘绘帀
+\renewbibmacro*{institution+location+date}{\bibpubfont%褰撴病鏈塱nstitution鏃朵笉澶勭悊銆
+{\printlist{location}%%鍔犱簡涓涓紪缁勯伩鍏峔usebibmacro{date}鎶妋onth鍜宒ay淇℃伅鍘绘帀
+ \iflistundef{institution}
+ {\setunit*{\addcomma\space}}
+ {\setunit*{\addcolon\space}}%
+ \printlist{institution}%
+ \setunit*{\addcomma\space}%
+ \usebibmacro{date}%
+ %\newunit
+ }}
+
+%
+% 瀵箆olume鍗蜂俊鎭牸寮忓仛鍑轰慨鏀
+% v1.0o,20190105,hzz
+%
+\DeclareFieldFormat{volume}{%
+\testCJKfirst{userd}%
+\iftoggle{ifCJKforgbt}%
+{\bibstring{serialcn}#1\bibstring{volumecn}}%
+{\bibstring{volume}~#1}%
+}% volume of a book
+\DeclareFieldFormat[article,periodical]{volume}{#1}% volume of a journal
+
+%
+% 瀵筺umber鍐屼俊鎭牸寮忓仛鍑轰慨鏀
+% v1.0o,20190105,hzz
+%
+\DeclareFieldFormat{number}{#1}%
+\DeclareFieldFormat[book,collection,inbook,%
+incollection,proceedings,inproceedings]{number}{%
+\testCJKfirst{userd}%
+\iftoggle{ifCJKforgbt}%
+{\bibstring{serialcn}#1\bibstring{numbercn}}%
+{#1}%
+}%
%
% 瀵筫dition鐗堟湰淇℃伅鏍煎紡鍋氬嚭淇敼
%
\DeclareFieldFormat{edition}{%婧愭潵鑷猙iblatex.DEF
\testCJKfirst{userd}%
- \ifinteger{#1}%
- {\iftoggle{ifCJKforgbt}{\printtext{#1\str@edition}}%
- {\mkbibordedition{#1}~\bibstring{edition}}}%
- {#1\isdot}}
+\iftoggle{ifCJKforgbt}%
+{\ifinteger{#1}%
+{\printtext{#1\str@edition}}%
+{#1\isdot}}%
+{\ifinteger{#1}%
+{\mkbibordedition{#1}~\bibstring{edition}}%
+{#1\isdot}}}
%
% 瀵箆ersion鐨勭増鏈俊鎭仛鍑轰慨鏀
@@ -1951,8 +2528,7 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
\printfield{volume}%
%\setunit*{\adddot}%鍘绘帀鐐瑰彿
%\printfield{number}%
- \iffieldundef{number}{}{\printfield[addnumflag]{number}}%
- %\iffieldundef{number}{}{\printtext{\mkbibparens{\printfield{number}}}}%澧炲姞涓涓渾鎷彿
+ \iffieldundef{number}{}{\printfield[addnumflag]{number}}%鍖哄埆浜庨『搴忕紪鐮佸埗
\iffieldundef{eid}{}{%
\setunit{\addcomma\space}%
\printfield{eid}}}}
@@ -2003,7 +2579,7 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
}
{\bibstring{\thefield{editortype}s}}
{\bibstring{\thefield{editortype}}}}
- {\thefield{editortype}}}
+ {\thefield{editortype}}}%
}}
%
@@ -2101,27 +2677,13 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
{\setunit{\subtitlepunct}\printfield{titleaddon}}%
\setunit{\subtitlepunct}\printfield{number}%鍐欎笓鍒╁彿
\iftoggle{bbx:gbtype}{\printfield[gbtypeflag]{usera}}{}%
- \iffieldundef{booktitle}{\newunit}{}%褰搕itle鏄瀽鍑烘椂锛屼笉瑕佹爣鐐
+ %\iffieldundef{booktitle}{\newunit}{}%褰搕itle鏄瀽鍑烘椂锛屼笉瑕佹爣鐐
%\newunit
}%
}%
}
-%
-% 淇敼浜嗕竴涓猧nstitution+location+date鐢ㄤ簬report绛夌被鍨
-%
-% 20180425锛寁1.0k锛屽鍔犱簡瀛椾綋鎺у埗鍛戒护锛宧zz
-\renewbibmacro*{institution+location+date}{\bibpubfont%褰撴病鏈塱nstitution鏃朵笉澶勭悊銆
- \printlist{location}%
- \iflistundef{institution}
- {\setunit*{\addcomma\space}}
- {\setunit*{\addcolon\space}}%
- \printlist{institution}%
- \setunit*{\addcomma\space}%
- \usebibmacro{date}%
- %\usebibmacro{modifydate}%
- %\newunit
- }
+
%
% 淇敼in:鐢ㄤ簬inbook銆乮ncollection銆乮nproceedings绛夌被鍨
@@ -2129,7 +2691,7 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
%
% 鍘熺悊鏂规硶:浣跨敤bibmacro{in:}鏀瑰彉浜嗕互鍓嶅湪driver涓洿鎺ヨ緭鍑//鐨勬柟寮忥紝鍚屾椂涔熺畝鍖栦簡鏍囩偣鎺у埗銆
\renewbibmacro*{in:}{%
- \iftoggle{bbx:gbpunctin}{\printtext{\texttt{//}\addthinspace}}%
+ \iftoggle{bbx:gbpunctin}{\printtext{\texttt{//}\allowbreak}}%\addthinspace
{\setunit{\adddot\addspace}\printtext{\bibstring{in}}}}%\newunit\newblock\intitlepunct
@@ -2142,39 +2704,38 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
\DeclareBibliographyDriver{book}{%婧愭潵鑷猻tandard.bbx鏂囦欢
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
- \usebibmacro{author/editor+others/translator+others}%
- \setunit{\labelnamepunct}\newblock
- \usebibmacro{maintitle+title}%
+\usebibmacro{author/editor+others/translator+others}%
+\ifnameundef{author}{}{\setunit{\labelnamepunct}\newblock}%杩欎竴娈电敤浜庡幓闄や綔鑰呬笉瀛樺湪鏃跺鍑虹殑鏍囩偣
+\usebibmacro{maintitle+title}%
\iftoggle{bbx:gbstrict}{}{%
\newunit
\printlist{language}%
-\newunit\newblock
+\newunit\newblock%
\usebibmacro{byauthor}%
\newunit\newblock}%
\usebibmacro{byeditor+others}%
-\newunit\newblock
-\printfield{edition}%
\newunit
-\iffieldundef{maintitle}
+\printfield{edition}%
+\newunit\newblock%%
+\iftoggle{bbx:gbstrict}{}{%
+\iffieldundef{maintitle}%
{\printfield{volume}%
-\printfield{part}}
+\printfield{part}}%
{}%
-\iftoggle{bbx:gbstrict}{}{%
\newunit%
\printfield{volumes}%
- \newunit\newblock
- \usebibmacro{series+number}}%
- \newunit\newblock
- %\printfield{note}%
- %\newunit\newblock
- \usebibmacro{publisher+location+date}%
- \newunit\newblock
- \usebibmacro{chapter+pages}%
- %\newunit
- \usebibmacro{doi+eprint+url}%浠庝笅闈㈡彁涓婃潵
- \newunit\newblock
+\newunit\newblock%
+\usebibmacro{series+number}}%
+\newunit\newblock%
+%\printfield{note}%
+%\newunit\newblock%
+\usebibmacro{publisher+location+date}%
+%\newunit\newblock %杩欓噷鏍囩偣鍘绘帀
+\usebibmacro{chapter+pages}%
+\usebibmacro{doi+eprint+url}%浠庝笅闈㈢Щ鍔ㄥ埌涓婇潰鏉ワ紝鍥犱负gbt2015鐨剈rl闇鐩存帴鏀惧湪椤电爜鍚庨潰銆
+ \newunit\newblock%
\printfield{pagetotal}%
- \newunit\newblock
+ \newunit\newblock%
\iftoggle{bbx:isbn}
{\printfield{isbn}}
{}%
@@ -2191,59 +2752,6 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
{}%
\usebibmacro{finentry}}
-%
-% 鏂囬泦涓瀽鍑烘枃鐚被鍨嬮┍鍔
-%
-% 鐩存帴鍒╃敤inbook鍋歩ncollection
-\DeclareBibliographyDriver{incollection}{%鐩存帴鐢╥nbook鐨勯┍鍔
- \usebibmacro{bibindex}%
- \usebibmacro{begentry}%
- \usebibmacro{author/translator+others}%
- \setunit{\labelnamepunct}\newblock
- \usebibmacro{title}%
- \usebibmacro{in:}%
- %\printtext{\texttt{//}\addthinspace}%
- \usebibmacro{bybookauthor}%
- \ifnameundef{bookauthor}{}{\newunit}%鏇挎崲涓嬩竴鍙
- %\newunit\newblock
- \usebibmacro{maintitle+booktitle}%
- \newunit\newblock
-% \usebibmacro{byeditor+others}%
-% \newunit\newblock
- \printfield{edition}%
- \newunit
- \iffieldundef{maintitle}
- {\printfield{volume}%
- \printfield{part}}
- {}%
- \newunit
- \printfield{volumes}%
- \newunit\newblock
- \usebibmacro{series+number}%
- \newunit\newblock
- %\printfield{note}%
- %\newunit\newblock
- \usebibmacro{publisher+location+date}%
- \newunit\newblock
- \usebibmacro{chapter+pages}%
- %\newunit\newblock
- \usebibmacro{doi+eprint+url}%
- \newunit\newblock
- \iftoggle{bbx:isbn}
- {\printfield{isbn}}
- {}%
- \newunit\newblock
-% \usebibmacro{doi+eprint+url}%
-% \newunit\newblock
- \usebibmacro{addendum+pubstate}%
- \setunit{\bibpagerefpunct}\newblock
- \usebibmacro{pageref}%
- \newunit\newblock
- \iftoggle{bbx:related}
- {\usebibmacro{related:init}%
- \usebibmacro{related}}
- {}%
- \usebibmacro{finentry}}
@@ -2254,7 +2762,7 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{author/translator+others}%
- \setunit{\labelnamepunct}\newblock
+\ifnameundef{author}{}{\setunit{\labelnamepunct}\newblock}%杩欎竴娈电敤浜庡幓闄や綔鑰呬笉瀛樺湪鏃跺鍑虹殑鏍囩偣
\usebibmacro{title}%
\iftoggle{bbx:gbstrict}{}{%
\newunit%
@@ -2272,6 +2780,7 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
% \usebibmacro{byeditor+others}%
% \newunit
\usebibmacro{note+pages}%
+ \iffieldequalstr{note}{news}{}{\usebibmacro{modifydate}}%甯︽嫭鍙风殑淇敼鎴栨洿鏂版棩鏈燂紝褰撴槸鏂伴椈鏃朵笉杈撳嚭
\usebibmacro{doi+eprint+url}%浠庡悗闈㈢Щ涓婃潵锛岃皟鏁磚rl鍜岄〉鐮佷箣闂寸殑浣嶇疆
\newunit\newblock
\iftoggle{bbx:isbn}
@@ -2301,7 +2810,7 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
%\setunit{\labelnamepunct}\newblock
\newunit\newblock %鍒犻櫎涓婇潰涓琛岋紝娣诲姞杩欎竴琛
\usebibmacro{title+issuetitle}%
- \newunit\newblock
+ \newunit\newblock%
\usebibmacro{location+institution+date}%娣诲姞杩欎竴琛岀敤浜庤緭鍑哄湴鍧锛屽崟浣嶅拰鏃堕棿
\newunit\newblock%娣诲姞杩欎竴琛
\iftoggle{bbx:gbstrict}{}{%
@@ -2334,7 +2843,7 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{author}%
- \setunit{\labelnamepunct}\newblock
+\ifnameundef{author}{}{\setunit{\labelnamepunct}\newblock}%杩欎竴娈电敤浜庡幓闄や綔鑰呬笉瀛樺湪鏃跺鍑虹殑鏍囩偣
%\usebibmacro{title}%
\usebibmacro{patenttitle}%缁欏嚭涓撳埄涓撶敤鐨勬爣棰樿緭鍑
\iftoggle{bbx:gbstrict}{}{%
@@ -2345,7 +2854,7 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
\newunit\newblock
\printfield{type}%
\setunit*{\addspace}%
- %\printfield{number}%%宸叉斁鍒皃atenttitle涓鐞
+ %\printfield{number}%宸叉斁鍒皃atenttitle涓鐞
\iflistundef{location}
{}
{\setunit*{\addspace}%
@@ -2378,7 +2887,7 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{author/editor+others/translator+others}%
- \setunit{\labelnamepunct}\newblock
+\ifnameundef{author}{}{\setunit{\labelnamepunct}\newblock}%杩欎竴娈电敤浜庡幓闄や綔鑰呬笉瀛樺湪鏃跺鍑虹殑鏍囩偣
\usebibmacro{title}%
\iftoggle{bbx:gbstrict}{}{%
\newunit%
@@ -2386,16 +2895,17 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
\newunit\newblock
\usebibmacro{byauthor}%
\newunit\newblock
- \usebibmacro{byeditor+others}}%
+ \usebibmacro{byeditor+others}%
\newunit\newblock
- \printfield{version}%
+ \printfield{note}}%
\newunit
- \printfield{note}%
+ \printfield{version}%
\newunit\newblock
- \printlist{organization}%
+% \printlist{organization}%
+ \printlist{institution}%
\newunit\newblock
%\usebibmacro{date}%
- \usebibmacro{modifydate}%淇敼涓哄甫鎷彿鐨勬椂闂
+ \usebibmacro{modifydate}%淇敼鎴栨洿鏂版棩鏈燂紝涓哄甫鎷彿鐨勬椂闂
\usebibmacro{url+urldate}%浠庝笅闈㈢Щ涓婃潵
\newunit\newblock
\iftoggle{bbx:eprint}
@@ -2416,57 +2926,16 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
-%
-% 瀛︿綅璁烘枃淇敼
-%
- \DeclareBibliographyDriver{thesis}{%婧愭潵鑷猻tandard.BBX
- \usebibmacro{bibindex}%
- \usebibmacro{begentry}%
- \usebibmacro{author}%
- \setunit{\labelnamepunct}\newblock
- \usebibmacro{title}%
- \iftoggle{bbx:gbstrict}{}{%
- \newunit%
- \printlist{language}%
- \newunit\newblock
- \usebibmacro{byauthor}%
- \newunit\newblock
- \printfield{note}%
- \newunit\newblock
- \printfield{type}}%
- \newunit\newblock
- \usebibmacro{institution+location+date}%
- %\newunit\newblock
- \usebibmacro{chapter+pages}%
- \usebibmacro{doi+eprint+url}%
- \newunit
- \printfield{pagetotal}%
- \newunit\newblock
- \iftoggle{bbx:isbn}
- {\printfield{isbn}}
- {}%
- \newunit\newblock
-% \usebibmacro{doi+eprint+url}%
-% \newunit\newblock
- \usebibmacro{addendum+pubstate}%
- \setunit{\bibpagerefpunct}\newblock
- \usebibmacro{pageref}%
- \newunit\newblock
- \iftoggle{bbx:related}
- {\usebibmacro{related:init}%
- \usebibmacro{related}}
- {}%
- \usebibmacro{finentry}}
%
% 鎶ュ憡绫诲瀷椹卞姩
-% 2016-11-11锛屽鍔犱簡璇戣呬俊鎭
+% 褰撴湁缃戝潃鏃犲嚭鐗堥」鏃讹紝鐢╫nline杈撳嚭
%
\DeclareBibliographyDriver{report}{%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{author}%
- \setunit{\labelnamepunct}\newblock
+\ifnameundef{author}{}{\setunit{\labelnamepunct}\newblock}%杩欎竴娈电敤浜庡幓闄や綔鑰呬笉瀛樺湪鏃跺鍑虹殑鏍囩偣
\usebibmacro{title}%
\iftoggle{bbx:gbstrict}{}{%
\newunit%
@@ -2484,7 +2953,7 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
\newunit
\printfield{note}%
\newunit\newblock
- \usebibmacro{institution+location+date}%
+ \usebibmacro{publisher+location+date}%
%\newunit\newblock
\usebibmacro{chapter+pages}%
\usebibmacro{doi+eprint+url}%
@@ -2508,15 +2977,14 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
\usebibmacro{finentry}}
%
-% 鎵嬪唽绫诲瀷椹卞姩
+% 璁烘枃銆佹墜鍐岀被鍨嬮┍鍔
% 2016-11-11锛屽鍔犱簡璇戣呬俊鎭
%
-% 鐩存帴鍒╃敤report鍋歮anual
\DeclareBibliographyDriver{manual}{%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{author}%
- \setunit{\labelnamepunct}\newblock
+\ifnameundef{author}{}{\setunit{\labelnamepunct}\newblock}%杩欎竴娈电敤浜庡幓闄や綔鑰呬笉瀛樺湪鏃跺鍑虹殑鏍囩偣
\usebibmacro{title}%
\iftoggle{bbx:gbstrict}{}{%
\newunit%
@@ -2524,7 +2992,7 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
\newunit\newblock
\usebibmacro{byauthor}}%
\newunit\newblock
- \usebibmacro{byeditor+others}%
+ \usebibmacro{byeditor+others}%澧炲姞鐨勮瘧鑰呬俊鎭
\newunit\newblock
\printfield{type}%
\setunit*{\addspace}%
@@ -2537,6 +3005,7 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
\usebibmacro{institution+location+date}%
%\newunit\newblock
\usebibmacro{chapter+pages}%
+ \usebibmacro{modifydate}%淇敼鎴栨洿鏂版棩鏈燂紝涓哄甫鎷彿鐨勬椂闂
\usebibmacro{doi+eprint+url}%
\newunit
\printfield{pagetotal}%
@@ -2565,7 +3034,7 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{author/editor+others/translator+others}%
- \setunit{\printdelim{nametitledelim}}\newblock
+\ifnameundef{author}{}{\setunit{\labelnamepunct}\newblock}%杩欎竴娈电敤浜庡幓闄や綔鑰呬笉瀛樺湪鏃跺鍑虹殑鏍囩偣
\usebibmacro{title}%
\iftoggle{bbx:gbstrict}{}{%
\newunit
@@ -2599,142 +3068,36 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
\usebibmacro{finentry}}
-%
-% 浼氳璁烘枃鏂囩尞绫诲瀷椹卞姩
-%
- \DeclareBibliographyDriver{inproceedings}{%婧愭潵鑷猻tandard.BBX
- \usebibmacro{bibindex}%
- \usebibmacro{begentry}%
- \usebibmacro{author/translator+others}%
- \setunit{\labelnamepunct}\newblock
- \usebibmacro{title}%
- \usebibmacro{in:}%
- %\printtext{\texttt{//}\addthinspace}%
- \usebibmacro{bybookauthor}%鐢ㄧ被浼糹nbook鐨勬柟寮忓鐞
- \ifnameundef{bookauthor}{}{\newunit}%鏇挎崲涓嬩竴鍙
- %\newunit\newblock
- \usebibmacro{maintitle+booktitle}%
- \newunit\newblock
- \usebibmacro{event+venue+date}%
- \newunit\newblock
-% \usebibmacro{byeditor+others}%
-% \newunit\newblock
- \iffieldundef{maintitle}
- {\printfield{volume}%
- \printfield{part}}
- {}%
- \newunit
- \printfield{volumes}%
- \newunit\newblock
- \iftoggle{bbx:gbstrict}{}{%
- \usebibmacro{series+number}%
- \newunit\newblock
- \printfield{note}%
- \newunit\newblock
- \printlist{organization}%
- \newunit}
- \usebibmacro{publisher+location+date}%
- %\newunit\newblock
- \usebibmacro{chapter+pages}%
- \newunit\newblock
- \iftoggle{bbx:isbn}
- {\printfield{isbn}}
- {}%
- \newunit\newblock
- \usebibmacro{doi+eprint+url}%
- \newunit\newblock
- \usebibmacro{addendum+pubstate}%
- \setunit{\bibpagerefpunct}\newblock
- \usebibmacro{pageref}%
- \newunit\newblock
- \iftoggle{bbx:related}
- {\usebibmacro{related:init}%
- \usebibmacro{related}}
- {}%
- \usebibmacro{finentry}}
-%
-% 浼氳璁烘枃闆嗘枃鐚被鍨嬮┍鍔
-%
-\DeclareBibliographyDriver{proceedings}{%婧愭潵鑷猻tandard.BBX
- \usebibmacro{bibindex}%
- \usebibmacro{begentry}%
- %\usebibmacro{editor+others}%
- \usebibmacro{author/translator+others}%
- \setunit{\labelnamepunct}\newblock
- \usebibmacro{maintitle+title}%
- \iftoggle{bbx:gbstrict}{}{%
- \newunit%
- \printlist{language}}%
- \newunit\newblock
- \usebibmacro{event+venue+date}%
- \newunit\newblock
-% \usebibmacro{byeditor+others}%
-% \newunit\newblock
- \iffieldundef{maintitle}
- {\printfield{volume}%
- \printfield{part}}
- {}%
- \newunit
- \printfield{volumes}%
- \newunit\newblock
- \iftoggle{bbx:gbstrict}{}{%
- \usebibmacro{series+number}%
- \newunit\newblock
- \printfield{note}%
- \newunit\newblock
- \printlist{organization}%
- \newunit}
- \usebibmacro{publisher+location+date}%
- %\newunit\newblock
- \usebibmacro{chapter+pages}%
- \usebibmacro{doi+eprint+url}%
- \newunit
- \printfield{pagetotal}%
- \newunit\newblock
- \iftoggle{bbx:isbn}
- {\printfield{isbn}}
- {}%
- \newunit\newblock
-% \usebibmacro{doi+eprint+url}%
-% \newunit\newblock
- \usebibmacro{addendum+pubstate}%
- \setunit{\bibpagerefpunct}\newblock
- \usebibmacro{pageref}%
- \newunit\newblock
- \iftoggle{bbx:related}
- {\usebibmacro{related:init}%
- \usebibmacro{related}}
- {}%
- \usebibmacro{finentry}}
%
% 涓撹憲涓殑鏋愬嚭鏂囩尞鐨勬牸寮忎慨鏀
%
-\DeclareBibliographyDriver{inbook}{%婧愭潵鑷猻tandard.BBX
+\DeclareBibliographyDriver{inbook}{%婧愭潵鑷猻tandard.bbx
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{author/translator+others}%
- \setunit{\labelnamepunct}\newblock%
- \usebibmacro{title}%
+\ifnameundef{author}{}{\setunit{\labelnamepunct}\newblock}%杩欎竴娈电敤浜庡幓闄や綔鑰呬笉瀛樺湪鏃跺鍑虹殑鏍囩偣
+\usebibmacro{title}%
\usebibmacro{in:}%
%\printtext{\texttt{//}\addthinspace}%
\usebibmacro{bybookauthor}%
\ifnameundef{bookauthor}{}{\newunit}%鏇挎崲涓嬩竴鍙
%\newunit\newblock
\usebibmacro{maintitle+booktitle}%
+ \setunit{\addcolon}\printfield{volume}\printfield{number}%澧炲姞鍗峰拰鍐屼俊鎭
\newunit\newblock%
% \usebibmacro{byeditor+others}%
% \newunit\newblock
\printfield{edition}%
\newunit
- \iffieldundef{maintitle}
- {\printfield{volume}%
- \printfield{part}}
- {}%
\iftoggle{bbx:gbstrict}{}{%
- \newunit
+% \iffieldundef{maintitle}
+% {\printfield{volume}%
+% \printfield{part}}
+% {}%
+% \newunit
\printfield{volumes}%
\newunit\newblock
\usebibmacro{series+number}}%
@@ -2762,58 +3125,3 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
\usebibmacro{related}}
{}%
\usebibmacro{finentry}}
-
-
-%
-% 鏂囬泦绫诲瀷椹卞姩
-%
-% 鐩存帴鍒╃敤book鍋歝ollection
-\DeclareBibliographyDriver{collection}{%鐩存帴鐢╞ook鐨勯┍鍔
- \usebibmacro{bibindex}%
- \usebibmacro{begentry}%
- \usebibmacro{author/editor+others/translator+others}%
- \setunit{\labelnamepunct}\newblock
- \usebibmacro{maintitle+title}%
-\iftoggle{bbx:gbstrict}{}{%
- \newunit
- \printlist{language}%
- \newunit\newblock
- \usebibmacro{byauthor}}%
- \newunit\newblock
- \usebibmacro{byeditor+others}%
- \newunit\newblock
- \printfield{edition}%
- \newunit
- \iffieldundef{maintitle}
- {\printfield{volume}%
- \printfield{part}}
- {}%
- \newunit
- \printfield{volumes}%
- \newunit\newblock
- \usebibmacro{series+number}%
- \newunit\newblock
- %\printfield{note}%
- %\newunit\newblock
- \usebibmacro{publisher+location+date}%
- %\newunit\newblock
- \usebibmacro{chapter+pages}%
- \usebibmacro{doi+eprint+url}%浠庝笅闈㈢Щ鍔ㄥ埌涓婇潰鏉ワ紝鍥犱负gbt2015鐨剈rl闇鐩存帴鏀惧湪椤电爜鍚庨潰銆
- \newunit\newblock
- \printfield{pagetotal}%
- \newunit\newblock
- \iftoggle{bbx:isbn}
- {\printfield{isbn}}
- {}%
- \newunit\newblock
- %\usebibmacro{doi+eprint+url}%
- %\newunit\newblock
- \usebibmacro{addendum+pubstate}%
- \setunit{\bibpagerefpunct}\newblock
- \usebibmacro{pageref}%
- \newunit\newblock
- \iftoggle{bbx:related}
- {\usebibmacro{related:init}%
- \usebibmacro{related}}
- {}%
- \usebibmacro{finentry}}
diff --git a/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015ay.cbx b/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015ay.cbx
index 24873296196..c21620cff80 100644
--- a/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015ay.cbx
+++ b/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015ay.cbx
@@ -7,7 +7,8 @@
%% Released under the LaTeX Project Public License v1.3c or later
%% ---------------------------------------------------------------
%%
-\ProvidesFile{gb7714-2015ay.cbx}[2018/11/04 v1.0n biblatex citation style]
+\def\versionofgbtstyle{2019/01/19 v1.0p}
+\ProvidesFile{gb7714-2015ay.cbx}[\versionofgbtstyle biblatex citation style]
%
% 鍔犺浇鏍囧噯鏍峰紡
diff --git a/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015ms.bbx b/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015ms.bbx
index f6b319644de..6a83013c810 100644
--- a/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015ms.bbx
+++ b/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015ms.bbx
@@ -11,17 +11,16 @@
%
% 鐗堟湰鍜屾椂闂翠俊鎭
%
-\ProvidesFile{gb7714-2015ms.bbx}[2018/11/04 v1.0n biblatex bibliography style]
-\def\versionofgbtstyle{2018/11/04 v1.0n}
+\def\versionofgbtstyle{2019/01/19 v1.0p}
\def\versionofbiblatex{\abx@version}
+\ProvidesFile{gb7714-2015ms.bbx}[\versionofgbtstyle biblatex bibliography style]
\RequireBiber[3]%鏄惧紡鎸囧畾鐢╞iber鍚庣
%=====================================================================
% 鍔犺浇鏍囧噯鏍峰紡
%=====================================================================
\RequireBibliographyStyle{numeric-comp}
-\RequireBibliographyStyle{standard}
-
+\RequirePackage{xstring}%瑙e喅texlive2015鐨刡iblatex3.0涓嶅姞杞絰string鍖呯殑闂
%=====================================================================
% 鍔熻兘鍑芥暟
@@ -51,7 +50,7 @@
\providetoggle{ifCJKforgbt}
\def\testCJKfirst#1{%
\iffieldundef{#1}{\togglefalse{ifCJKforgbt}}{%
- \iffieldequalstr{#1}{cn}{\toggletrue{ifCJKforgbt}}{\togglefalse{ifCJKforgbt}}}}
+ \iffieldequalstr{#1}{chinese}{\toggletrue{ifCJKforgbt}}{\togglefalse{ifCJKforgbt}}}}
%
% 2涓嵎鐨勮В鏋愬嚱鏁帮紝鐢ㄤ簬杩炵画鍑虹増鐗
@@ -80,6 +79,7 @@
%瀹氫箟绫诲瀷鍜岃浇浣撴爣璇嗭紝浠巊b鍐呭鐪嬭浇浣撳熀鏈睘浜庝粙璐ㄣ
%涓轰笌lee zeping鐨刡st鐨勬牱寮忕粺涓锛屼娇鐢╩ark鍜宮edium杩欎袱鍩熷悕
%涓哄崟涓潯鐩殑濮撳悕鏍煎紡鎺у埗澧炲姞nameformat鍜宯amefmtid涓や釜鍩
+ %涓虹缉鐣ヤ俊鎭枃鐚〃澧炲姞浜唖hortbooktitle鍩
\DeclareDatamodelFields[type=field,datatype=literal]{mark,medium,nameformat}
\DeclareDatamodelFields[type=field,datatype=integer]{namefmtid}
\DeclareDatamodelFields[type=field,datatype=literal]{shortbooktitle}
@@ -134,6 +134,9 @@
\def\str@noaddress{鍑虹増鍦颁笉璇
\def\str@nopublisher{鍑虹増鑰呬笉璇
\def\str@edition{鐗坿
+ \def\str@volumecn{鍗穧
+ \def\str@numbercn{鍐寎
+ \def\str@serialcn{绗瑌
\AtEndOfPackage{%
\iftoggle{bbx:codegbk}{%
@@ -239,12 +242,9 @@
\iffieldundef{#2#3day}{}{\hyphen\blx@imc@forcezerosmdt{\thefield{#2#3day}}}}
%涓哄鍚嶆牸寮忛夋嫨澧炲姞鐨勮鏁板櫒
- \newcounter{namefmtcase}
- \def\thenamefmtcase{\the\c@namefmtcase}
-
+ \newcounter{gbnamefmtcase}
+ \def\thegbnamefmtcase{\the\c@gbnamefmtcase}
%涓烘暟瀛楁爣绛炬牸寮忛夋嫨澧炲姞鐨勮鏁板櫒/鍛戒护
- %\newcounter{bibnumlabel}
- %\def\thebibnumlabel{\the\c@bibnumlabel}
\newcommand{\mkgbnumlabel}[1]{\mkbibbrackets{#1}}
\def\gbbiblabelopt@bracket{\renewcommand{\mkgbnumlabel}[1]{\mkbibbrackets{##1}}}
\def\gbbiblabelopt@parens{\renewcommand{\mkgbnumlabel}[1]{\mkbibparens{##1}}}
@@ -252,8 +252,38 @@
\def\gbbiblabelopt@plain{\renewcommand{\mkgbnumlabel}[1]{##1}}
\def\gbbiblabelopt@box{\renewcommand{\mkgbnumlabel}[1]{\framebox{##1}}}
\def\gbbiblabelopt@circle{\renewcommand{\mkgbnumlabel}[1]{\textcircled{##1}}}
- \newcounter{alignlabel}
- \def\thealignlabel{\the\c@alignlabel}
+ %涓烘枃鐚〃涓暟瀛楁爣绛惧榻愭柟寮忛夋嫨澧炲姞鐨勮鏁板櫒/鍛戒护
+ \newcounter{gbalignlabel}
+ \def\thegbalignlabel{\the\c@gbalignlabel}
+ %涓哄紩鐢ㄦ爣绛炬爣娉/鏂囩尞琛ㄤ腑鏈湴鍖栧瓧绗︿覆涓嫳鏂囬夋嫨澧炲姞鐨勮鏁板櫒/鍛戒护
+ \newcounter{gbcitelocalcase}
+ \newcounter{gbbiblocalcase}
+ \def\thegbcitelocalcase{\the\c@gbcitelocalcase}
+ \def\thegbbiblocalcase{\the\c@gbbiblocalcase}
+
+ %
+ % 澧炲姞鏈湴鍖栧瓧绗︿覆鐨勪腑鑻辨枃鍒囨崲閫夐」
+ % gbcitelocal鎸囨爣娉ㄤ腑鐨勬湰鍦板寲瀛楃涓
+ % gbbiblocal 鎸囨枃鐚〃涓殑鏈湴鍖栧瓧绗︿覆
+ % gblocal 鎸囪缃枃鐚〃鍜屾爣娉ㄤ腑鐨勬湰鍦板寲瀛楃涓
+ % v1.0o锛20190103锛宧zz
+ %
+ \DeclareBibliographyOption[string]{gbcitelocal}[gb7714-2015]{%
+ \ifstrequal{#1}{gb7714-2015}{\setcounter{gbcitelocalcase}{0}}{}%
+ \ifstrequal{#1}{chinese}{\setcounter{gbcitelocalcase}{1}}{}%
+ \ifstrequal{#1}{english}{\setcounter{gbcitelocalcase}{2}}{}%
+ }
+
+ \DeclareBibliographyOption[string]{gbbiblocal}[gb7714-2015]{%
+ \ifstrequal{#1}{gb7714-2015}{\setcounter{gbbiblocalcase}{0}}{}%
+ \ifstrequal{#1}{chinese}{\setcounter{gbbiblocalcase}{1}}{}%
+ \ifstrequal{#1}{english}{\setcounter{gbbiblocalcase}{2}}{}%
+ }
+
+ \DeclareBibliographyOption[string]{gblocal}[gb7714-2015]{%
+ \ExecuteBibliographyOptions{gbbiblocal=#1}%
+ \ExecuteBibliographyOptions{gbcitelocal=#1}%
+ }
%
% 澧炲姞搴忓彿鏍囩鏍煎紡澶勭悊閫夐」
@@ -267,11 +297,11 @@
% 澧炲姞濮撳悕澶у皬鍐欐牸寮忓鐞嗛夐」
%
\DeclareBibliographyOption[string]{gbnamefmt}[uppercase]{%
- \ifstrequal{#1}{uppercase}{\setcounter{namefmtcase}{0}}{}%
- \ifstrequal{#1}{lowercase}{\setcounter{namefmtcase}{1}}{}%
- \ifstrequal{#1}{givenahead}{\setcounter{namefmtcase}{2}}{}%given-family
- \ifstrequal{#1}{familyahead}{\setcounter{namefmtcase}{3}}{}
- \ifstrequal{#1}{pinyin}{\setcounter{namefmtcase}{4}}{}%family-given
+ \ifstrequal{#1}{uppercase}{\setcounter{gbnamefmtcase}{0}}{}%
+ \ifstrequal{#1}{lowercase}{\setcounter{gbnamefmtcase}{1}}{}%
+ \ifstrequal{#1}{givenahead}{\setcounter{gbnamefmtcase}{2}}{}%given-family
+ \ifstrequal{#1}{familyahead}{\setcounter{gbnamefmtcase}{3}}{}
+ \ifstrequal{#1}{pinyin}{\setcounter{gbnamefmtcase}{4}}{}%family-given
}
@@ -280,9 +310,9 @@
%
% right鏄粯璁ょ殑鍙冲榻愶紝left鏄乏瀵归綈锛実b7714-2015鏄」瀵归綈鏂瑰紡
\DeclareBibliographyOption[string]{gbalign}[right]{%
- \ifstrequal{#1}{right}{\setcounter{alignlabel}{0}}{}
- \ifstrequal{#1}{left}{\setcounter{alignlabel}{1}}{}
- \ifstrequal{#1}{center}{\setcounter{alignlabel}{2}}{}
+ \ifstrequal{#1}{right}{\setcounter{gbalignlabel}{0}}{}
+ \ifstrequal{#1}{left}{\setcounter{gbalignlabel}{1}}{}
+ \ifstrequal{#1}{center}{\setcounter{gbalignlabel}{2}}{}
\ifstrequal{#1}{gb7714-2015}{\setaligngbstyle}{}
}
@@ -298,6 +328,8 @@
date = year, %鏃ユ湡浠呭啓鍒板勾
maxbibnames = 3,%璁剧疆鍚嶅瓧鏈澶ф暟閲
minbibnames = 3, %璁剧疆缂╁噺鍚庣殑鍚嶅瓧鏈灏忔暟閲
+ maxitems = 1,%璁剧疆鍒楄〃鏈澶ф暟閲
+ minitems = 1, %璁剧疆缂╁噺鍚庣殑鍒楄〃鏈灏忔暟閲
isbn=false,
gbstyle=true,
gbtype=true,
@@ -315,6 +347,7 @@
%eventdate =edtf,%閽堝3.7<=biblatex<=3.9鐗堟湰鐨勯夐」璁剧疆锛屾瘮濡倀exlive2017涓殑3.7鐗
urldate =gb7714-2015, %iso锛岄拡瀵3.10<=biblatex鐗堟湰鐨勯夐」璁剧疆锛屾瘮濡倀exlive2018涓殑3.11鐗
eventdate =gb7714-2015,
+ gblocal=gb7714-2015,
}
@@ -322,9 +355,21 @@
% 璁剧疆鏈湴鍖栧瓧绗︿覆
%=====================================================================
%
- % 鏂板缓褰撳湴鍖栧瓧绗︿覆锛岀敤鏉ヨ褰曗滅瓑鈥濆瓧绗
+ % 鏂板缓褰撳湴鍖栧瓧绗︿覆锛岀敤鏉ヨ褰曗滅瓑鈥濆瓧绗︺佲滃拰鈥濆瓧绗
%
\NewBibliographyString{andotherscn}
+ \NewBibliographyString{andothersincitecn}
+ \NewBibliographyString{andothersincite}
+ \NewBibliographyString{andcn}
+ \NewBibliographyString{andothersjp}
+ \NewBibliographyString{andotherskr}
+ \NewBibliographyString{andjp}
+ \NewBibliographyString{andkr}
+ \NewBibliographyString{andincitecn}
+ \NewBibliographyString{andincite}
+ \NewBibliographyString{volumecn}
+ \NewBibliographyString{numbercn}
+ \NewBibliographyString{serialcn}
%
% 淇敼涓浜涘綋鍦板寲瀛楃涓
@@ -335,112 +380,197 @@
\DefineBibliographyStrings{english}{
bibliography = {\str@bibliography},
references = {\str@references},
- %bytranslator= {\addcomma\ 璇慭adddot}, %灏唗rans. by 鏀规垚 璇
- bytranslator= {\addcomma\ \str@bytranslator},%\addperiod
- and = {\addcomma},%灏嗙2鍜3浜哄悕瑙佺殑and绗﹀彿鏀规垚 閫楀彿锛岀敤\finalnamedelim鍛戒护涔熷彲浠ュ畾涔夛紝鍙傝3.9.1鑺
+ bytranslator= {\addcomma\ \str@bytranslator},%\addperiod锛%灏唗rans. by 鏀规垚 璇
+ and = {\addcomma},%灏嗙2鍜3浜哄悕闂寸殑and绗﹀彿鏀规垚閫楀彿锛岀敤\finalnamedelim鍛戒护涔熷彲浠ュ畾涔夛紝鍙傝3.9.1鑺
+ andcn = {\addcomma},%and鏈湴鍖栧瓧绗︿覆鐨勪腑鏂囧搴旇瘝
+ andincitecn = {\addcomma},%灏嗘爣娉ㄤ腑鐨勫垎寮锛屼究浜庝笌鏂囩尞琛ㄤ腑鐨勫尯鍒
+ andincite = {\addcomma},
%andothers = {et al.}, %灏嗚秴杩3涓汉鍚嶇殑鐪佺暐锛宔t al.鏀规垚涓 绛
andotherscn = {\str@andotherscn}, %灏嗚秴杩3涓汉鍚嶇殑鐪佺暐锛宔t al.鏀规垚涓 绛
+ andothersincitecn={\str@andotherscn},%灏嗘爣娉ㄤ腑鐨勫垎寮锛屼究浜庝笌鏂囩尞琛ㄤ腑鐨勫尯鍒
+ andothersincite={et al.},
backrefpage = {\str@backrefpage:},
backrefpages = {\str@backrefpages:},
in={in\intitlepunct},
- }
-
+ volumecn={\str@volumecn},
+ numbercn={\str@numbercn},
+ serialcn={\str@serialcn},
+ andothersjp={浠杴,
+ andotherskr={鞕竲,
+ andjp={鍜寎,
+ andkr={鍜寎,
+}
%=====================================================================
-% 鍔ㄦ佹暟鎹慨鏀癸紝淇敼杈撳叆鐨勬簮鏂囦欢鏁版嵁锛岀敤浜庝腑鏂囧垽鏂瓑
+% 鍔ㄦ佹暟鎹慨鏀
%=====================================================================
- %
- % 淇敼杈撳叆鐨勫弬鑰冩枃鐚暟鎹紝婧愭枃浠跺眰鐨勬搷浣
- %
- % 鍘熺悊鏂规硶:澧炲姞鏂囩尞鏍囪瘑绗﹀[M],[J]绛
- % 鎶婁綔鑰呭拰璇戣呬俊鎭噯纭殑璁板綍鍒皍serf锛寀sere涓紝鐢ㄤ簬鍚庨潰鍒ゆ柇鏄惁鏄痗jk瀛楃銆
- % 娉ㄦ剰:杩欓噷鐢╱serf锛寀sere鑰屼笉鏄痭amee锛宯amef锛屾槸鍥犱负鍙湁鎶妌ame鍒楄〃杞垚鍩燂紝鎵嶈兘鏈夋晥璇诲彇濮撳悕涓殑瀛楃锛
- % 濡傛灉鐢╪amee锛宯amef锛宯ame淇℃伅浼氳嚜鍔ㄨВ鏋愶紝鎵浠ュ氨涓嶈兘涓篶jk鍒ゆ柇鎻愪緵闇瑕佺殑淇℃伅
- % 娉ㄦ剰\DeclareSourcemap鍛戒护瀵逛簬biblatex3.11浠ヤ笅鐗堟湰鍙兘鍑虹幇涓娆★紝3.11鐗堝紑濮嬫敮鎸佸涓
- \DeclareSourcemap{
- \maps[datatype=bibtex]{%
+%
+% 鍚勫眰娆$殑鏁版嵁鏄犲皠鍜屽姩鎬佷慨鏀
+%
+% 鍘熺悊鏂规硶:
+% 1. 杩涜璇█鍖呮嫭涓嫳鏂囧垽鏂紝骞惰缃拰璁板綍锛屾瘮濡傝褰曞埌userf锛寀sere涓
+% 2. 澧炲姞鏂囩尞鏍囪瘑绗﹀[M],[J]绛夛紝瀵逛竴浜涘鏄撴贩娣嗙殑鍩熻繘琛岃缃互澧炲己鍏煎鎬
+% 3. \DeclareSourcemap鍛戒护瀵逛簬biblatex3.11浠ヤ笅鐗堟湰鍙兘鍑虹幇涓娆★紝3.11鐗堝紑濮嬫敮鎸佸涓
+% 4. \DeclarestyleSourcemap鍦╞iblatex v3.7鐗堝紑濮嬪彲浠ユ敮鎸佸嚭鐜板娆
+% 5. 鎶婁綔鑰呭拰璇戣呬俊鎭噯纭殑璁板綍鍒皍serf锛寀sere涓紝鐢ㄤ簬鍚庨潰鍒ゆ柇鏄惁鏄痗jk瀛楃銆
+% 娉ㄦ剰:杩欓噷鐢╱serf锛寀sere鑰屼笉鏄痭amee锛宯amef锛屾槸鍥犱负鍙湁鎶妌ame鍒楄〃杞垚鍩燂紝鎵嶈兘鏈夋晥璇诲彇濮撳悕涓殑瀛楃锛
+% 濡傛灉鐢╪amee锛宯amef锛宯ame淇℃伅浼氳嚜鍔ㄨВ鏋愶紝鎵浠ュ氨涓嶈兘涓篶jk鍒ゆ柇鎻愪緵闇瑕佺殑淇℃伅
+%
+% 涓嶅悓鐨勬枃鐚被鍨嬩娇鐢ㄧ浉鍚岀殑椹卞姩杈撳嚭鍙互鏈5绉嶆柟娉曪細
+% 1. 鏄暟鎹簮灞傜殑鏄犲皠锛屽皢鍏跺畠绫诲瀷杞崲涓烘煇涓瑕佷娇鐢ㄩ┍鍔ㄧ殑绫诲瀷
+% 2. 鏄牱寮忓眰鏄犲皠锛屼篃鏄皢鍏跺畠绫诲瀷杞崲涓烘煇涓瑕佷娇鐢ㄩ┍鍔ㄧ殑绫诲瀷
+% 3. 鏄┍鍔ㄥ眰鏄犲皠锛屼篃鏄皢鍏跺畠绫诲瀷杞崲涓烘煇涓瑕佷娇鐢ㄩ┍鍔ㄧ殑绫诲瀷
+% 4. 瀹氫箟椹卞姩绫诲瀷鍒悕DeclareBibliographyAlias锛屽皢鍏跺畠绫诲瀷瀹氫箟涓烘煇涓瑕佷娇鐢ㄩ┍鍔ㄧ殑绫诲瀷鐨勫埆鍚
+% 椹卞姩鍒悕瀹氫箟鏈川涓婃槸鍋氫簡椹卞姩灞傛槧灏
+% 5. 鐩存帴瀹氫箟涓嶅悓鐨勭被鍨嬬殑椹卞姩锛屼絾椹卞姩鍐呭鐩稿悓銆
+%
+% 鍏充簬鏁版嵁鏄犲皠鍜岄┍鍔ㄤ娇鐢ㄧ殑鑰冭檻濡備笅锛
+% 1. 涓洪伩鍏嶅埄鐢╞iber杈撳嚭bib鏂囦欢鏃剁殑鏁版嵁鍙樺姩锛屽敖閲忎笉鍦ㄦ暟鎹簮灞傛槧灏勫仛绫诲瀷杞崲
+% 2. 涓哄噺灏戜唬鐮侀噺锛屽敖閲忓皯鍋氬唴瀹圭浉鍚岀殑涓嶅悓绫诲瀷椹卞姩
+% 3. 鍥犳绫诲瀷鐩稿叧鐨勫鐞嗕富瑕佸湪鏍峰紡灞傛槧灏勩侀┍鍔ㄥ眰鏄犲皠銆侀┍鍔ㄥ埆鍚
+% 4. 鐢变簬biblatex榛樿鍋氱殑椹卞姩鍒悕澶勭悊鍙兘澧炲姞涓浜涗俊鎭瘮濡俶asterthesis杞瑃hesis鏃跺鍔犵殑type
+% 鍙互鍦ㄦ牱寮忓眰鏄犲皠鍋氭煇浜涢渶瑕侀伩鍏嶈繖绉嶉粯璁ゅ缃殑杞崲
+% 5. 褰撴病鏈夐伩鍏嶉粯璁よ涓虹殑闇姹傛椂锛屽叏閮ㄩ噰鐢ㄩ┍鍔ㄥ埆鍚嶇殑鏂瑰紡澶勭悊锛岀瓑浠蜂簬椹卞姩灞傜殑鏄犲皠
+%
+% 鏂囩尞绫诲瀷鍜岄┍鍔ㄨ冭檻濡備笅锛
+% 1. 杩炵画鍑虹増鐗╁強鏋愬嚭鏂囩尞鏈夊叾鐗规畩鎬э紝鍥犳鑰冭檻涓ょ被periodical鍜宎rticle
+% newpaper鏄犲皠涓篴rticle锛屽苟浠ote鍩熷仛鍖哄垎鐗规畩澶勭悊
+% 2. 涓撹憲鍜屼笓钁椾腑鐨勬瀽鍑烘枃鐚槸涓昏鐨勭被鍨嬶紝鍥犳鑰冭檻book鍜宨nbook
+% standard鏄犲皠涓篵ook鎴杋nbook锛屽苟浠ote鍩熷仛鍖哄垎鐗规畩澶勭悊
+% collection鍜宲roceedings鍩烘湰涓巄ook绫讳技锛屽洜姝ゅ仛book椹卞姩鍒悕澶勭悊
+% incollection鍜宨nproceedings鍩烘湰涓巌nbook绫讳技锛屽洜姝ゅ仛inbook椹卞姩鍒悕澶勭悊
+% 3. 涓撳埄绫诲瀷鏈夊叾鐗规畩鎬э紝鑰冭檻patent绫诲瀷
+% 4. 鐢靛瓙璧勬簮绫诲瀷鏈夊叾鐗规畩鎬э紝鑰冭檻online绫诲瀷
+% 5. 鎶ュ憡绫诲瀷涓巄ook鏈夌偣绫讳技锛屽嚭鐗堥」澶勭悊涓巄ook涓鏍凤紝浣嗘湁鏃跺張瑕佹湁淇敼鍜屾洿缁嗘棩鏈
+% 鍥犳鑰冭檻鐢ㄤ竴绉嶇被鍨嬫潵杈撳嚭锛屼娇鐢╮eport绫诲瀷
+% 6. 鎵嬪唽/瀛︿綅璁烘枃绛夌被鍨嬩笌book鏈夌偣绫讳技锛屼絾瀵逛簬鍑虹増椤瑰鐞嗘椂锛屾湁缂虹渷鏃讹紝鐩存帴鐪佺暐锛
+% 鍚屾椂鏈塿ersion鍜宔dition鐨勫尯鍒紝鍥犳鑰冭檻鐢ㄤ竴绉嶇被鍨嬫潵杈撳嚭锛屼娇鐢╩anual绫诲瀷
+% 7. 鍖呮嫭鎶ュ憡锛屽浣嶈鏂囧湪鍐呯殑鍏跺畠鎵鏈夌殑绫诲瀷锛岄兘鍋氫竴涓垽鏂紝褰撴病鏈夊嚭鐗堥」鏃讹紝
+% 涓斿瓨鍦ㄧ綉鍧淇℃伅鏃讹紝灏嗗叾杞崲涓簅nline绫诲瀷杈撳嚭锛屽惁鍒欓兘鍋氫负manual绫诲瀷杈撳嚭銆
+
+\DeclareSourcemap{
+\maps[datatype=bibtex]{%
+ \map{
+ \pernottype{inbook}
+ \pernottype{inproceedings}
+ \pernottype{incollection}
+ \step[notfield=author]%褰揳uthor涓嶅瓨鍦紝灏唀ditor澶嶅埗缁檃uthor
+ \step[fieldsource=editor,fieldtarget=author]%骞跺垹闄ditor
+ }
+ \map{
+ \pernottype{inbook}
+ \pernottype{inproceedings}
+ \pernottype{incollection}
+ \step[notfield=author]%褰揳uthor涓嶅瓨鍦紝灏唗ranslator澶嶅埗缁檃uthor
+ \step[fieldsource=translator,fieldtarget=author]%骞跺垹闄ranslator
+ }
+ \map{
+ \step[notfield=address]%褰揳ddress鍜宭ocation鍚屾
+ \step[fieldsource=location,final]
+ \step[fieldset=address,origfieldval]
+ }
+ \map{
+ \step[notfield=location]%褰揳ddress鍜宭ocation鍚屾
+ \step[fieldsource=address,final]
+ \step[fieldset=location,origfieldval]
+ }
\map[overwrite]{%鐢ㄤ簬澶勭悊zotero浠巆nki瀵煎嚭涓枃鏂囩尞濮撳悕涓瓨鍦ㄩ楀彿鐨勬儏鍐
\step[fieldsource={author}, match=\regexp{([\x{2FF0}-\x{9FA5}])\,\s*}, replace=\regexp{$1}]
- }
- \map{%
+ }%\perdatasource{examples.bib}
+ \map{%澶勭悊鍦╞ib鏂囦欢鐢╩ark鏍囪鏂囩尞绫诲瀷鏍囪瘑绗︾殑鎯呭喌
\step[fieldsource=mark,final]
\step[fieldset=usera, origfieldval]
}
- \map{%
+ \map{%澶勭悊鍦╞ib鏂囦欢涓洿鎺ョ粰鍑烘枃鐚殑濮撳悕鏍煎紡涓簂owercase鐨勬儏鍐
\step[fieldsource=nameformat,match=lowercase,final]
\step[fieldset=namefmtid,fieldvalue={1}]
}
- \map{%
+ \map{%澶勭悊鍦╞ib鏂囦欢涓洿鎺ョ粰鍑烘枃鐚殑濮撳悕鏍煎紡涓篻ivenahead鐨勬儏鍐
\step[fieldsource=nameformat,match=givenahead,final]
\step[fieldset=namefmtid,fieldvalue={2}]
}
- \map{%
+ \map{%澶勭悊鍦╞ib鏂囦欢涓洿鎺ョ粰鍑烘枃鐚殑濮撳悕鏍煎紡涓篺amilyahead鐨勬儏鍐
\step[fieldsource=nameformat,match=familyahead,final]
\step[fieldset=namefmtid,fieldvalue={3}]
}
- \map{%
+ \map{%澶勭悊鍦╞ib鏂囦欢涓洿鎺ョ粰鍑烘枃鐚殑濮撳悕鏍煎紡涓簆inyin鐨勬儏鍐
\step[fieldsource=nameformat,match=pinyin,final]
\step[fieldset=namefmtid,fieldvalue={4}]
}
- \map{%
- %\perdatasource{examples.bib}
+ \map{%鏍规嵁article纭畾鏂囩尞绫诲瀷鏍囪瘑绗
\pertype{article}
\step[fieldset=usera, fieldvalue={J}]
}
- \map{
+ \map{%鏍规嵁periodical纭畾鏂囩尞绫诲瀷鏍囪瘑绗
\pertype{periodical}
\step[fieldset=usera, fieldvalue={J}]
- \step[fieldsource=author] %鏈夋椂浼氭妸author鍜宔ditor娣锋穯锛屽鐞嗗悗閬垮厤璇ラ棶棰
+ \step[fieldsource=author] %鏈夋椂浼氭妸author鍜宔ditor娣锋穯锛屽鐞嗗悗浣跨敤editor
\step[fieldset=editor, origfieldval]
- \step[fieldsource=publisher] %鏈夋椂浼氭妸publisher鍜宨nstitution娣锋穯锛屽鐞嗗悗閬垮厤璇ラ棶棰
+ \step[fieldsource=publisher] %鏈夋椂浼氭妸publisher鍜宨nstitution娣锋穯锛屽鐞嗗悗浣跨敤institution
\step[fieldset=institution, origfieldval]
}
- \map{
- \pertype{newspaper}%澧炲姞涓涓柊闂绘姤绾哥殑绫诲瀷newspaper
- \step[fieldset=usera, fieldvalue={N}]%鍥犱负娌℃湁涓撻棬鐨勯┍鍔紝杩欏彞鐨勭洰鐨勬槸瀹氫箟涓涓猽sera鍩燂紝鏂逛究鏄犲皠涓篴rticle鍚庡垽鏂
- \step[fieldset=note, fieldvalue=news]
+ \map{%鏍规嵁澧炲姞涓涓柊闂绘姤绾哥殑绫诲瀷newspaper纭畾鏂囩尞绫诲瀷鏍囪瘑绗
+ \pertype{newspaper}
+ \step[fieldset=usera, fieldvalue={N}]
+ \step[fieldset=note, fieldvalue=news]%鍥犱负娌℃湁涓撻棬鐨勯┍鍔紝璁板綍note鏂逛究鏄犲皠涓篴rticle鍚庡垽鏂
}
- \map{
- \pertype{database}%瀵瑰簲澧炲姞鐨勪竴涓暟鎹簱绫诲瀷database
- \step[fieldset=usera, fieldvalue={DB}]%娌℃湁涓撻棬鐨勯┍鍔紝瀹氫箟涓涓猽sera鍩燂紝鏂逛究鏄犲皠鍚庝娇鐢
+ \map{%瀵瑰簲澧炲姞鐨勪竴涓暟鎹簱绫诲瀷database纭畾鏂囩尞绫诲瀷鏍囪瘑绗
+ \pertype{database}
+ \step[fieldset=usera, fieldvalue={DB}]
+ \step[fieldsource=publisher] %鏈夋椂浼氭妸publisher鍜宨nstitution娣锋穯锛屽鐞嗗悗浣跨敤institution
+ \step[fieldset=institution, origfieldval]
}
- \map{
- \pertype{dataset}%瀵瑰簲澧炲姞鐨勪竴涓暟鎹泦绫诲瀷dataset
- \step[fieldset=usera, fieldvalue={DS}]%娌℃湁涓撻棬鐨勯┍鍔紝瀹氫箟涓涓猽sera鍩燂紝鏂逛究鏄犲皠鍚庝娇鐢
+ \map{%瀵瑰簲澧炲姞鐨勪竴涓暟鎹泦绫诲瀷dataset纭畾鏂囩尞绫诲瀷鏍囪瘑绗
+ \pertype{dataset}
+ \step[fieldset=usera, fieldvalue={DS}]%
+ \step[fieldsource=publisher] %鏈夋椂浼氭妸publisher鍜宨nstitution娣锋穯锛屽鐞嗗悗浣跨敤institution
+ \step[fieldset=institution, origfieldval]
}
- \map{
- \pertype{software}%瀵瑰簲澧炲姞鐨勪竴涓蒋浠剁被鍨媠oftware
- \step[fieldset=usera, fieldvalue={CP}]%娌℃湁涓撻棬鐨勯┍鍔紝瀹氫箟涓涓猽sera鍩燂紝鏂逛究鏄犲皠鍚庝娇鐢
+ \map{%瀵瑰簲澧炲姞鐨勪竴涓蒋浠剁被鍨媠oftware纭畾鏂囩尞绫诲瀷鏍囪瘑绗
+ \pertype{software}
+ \step[fieldset=usera, fieldvalue={CP}]
+ \step[fieldsource=publisher] %鏈夋椂浼氭妸publisher鍜宨nstitution娣锋穯锛屽鐞嗗悗浣跨敤institution
+ \step[fieldset=institution, origfieldval]
}
- \map{
- \pertype{map}%瀵瑰簲澧炲姞鐨勪竴涓垎鍥剧被鍨媘ap
- \step[fieldset=usera, fieldvalue={CM}]%娌℃湁涓撻棬鐨勯┍鍔紝瀹氫箟涓涓猽sera鍩燂紝鏂逛究鏄犲皠鍚庝娇鐢
+ \map{%瀵瑰簲澧炲姞鐨勪竴涓垎鍥剧被鍨媘ap纭畾鏂囩尞绫诲瀷鏍囪瘑绗
+ \pertype{map}
+ \step[fieldset=usera, fieldvalue={CM}]%
+ \step[fieldsource=publisher] %鏈夋椂浼氭妸publisher鍜宨nstitution娣锋穯锛屽鐞嗗悗浣跨敤institution
+ \step[fieldset=institution, origfieldval]
}
- \map{
- \pertype{archive}%瀵瑰簲澧炲姞鐨勪竴涓。妗堢被鍨媋rchive
- \step[fieldset=usera, fieldvalue={A}]%娌℃湁涓撻棬鐨勯┍鍔紝瀹氫箟涓涓猽sera鍩燂紝鏂逛究鏄犲皠鍚庝娇鐢
+ \map{%瀵瑰簲澧炲姞鐨勪竴涓。妗堢被鍨媋rchive纭畾鏂囩尞绫诲瀷鏍囪瘑绗
+ \pertype{archive}
+ \step[fieldset=usera, fieldvalue={A}]
+ \step[fieldsource=publisher] %鏈夋椂浼氭妸publisher鍜宨nstitution娣锋穯锛屽鐞嗗悗浣跨敤institution
+ \step[fieldset=institution, origfieldval]
}
- \map{
- \pertype{misc}%褰搈isc绫诲瀷甯︽湁缃戝潃鏃讹紝灏嗗叾杞崲涓簅nline绫诲瀷
+ \map{%鍥犱负misc绫诲瀷鏈韩灏辨槸娌℃湁绫诲瀷锛岃屼笉鍍忓叾瀹冩枃鐚湁鏄庣‘鐨勭被鍨嬶紝鎵浠
+ %褰搈isc绫诲瀷甯︽湁缃戝潃鏃讹紝鐩存帴灏嗗叾杞崲涓簅nline绫诲瀷
+ \pertype{misc}
\step[fieldsource=url,final]
\step[typesource=misc,typetarget=online]
}
- \map{
- \pertype{misc}%瀵瑰簲澧炲姞鐨勪竴涓閫夌被鍨媘isc
- \step[fieldset=usera, fieldvalue={Z}]%娌℃湁涓撻棬鐨勯┍鍔紝瀹氫箟涓涓猽sera鍩燂紝鏂逛究鏄犲皠鍚庝娇鐢
+ \map{%瀵瑰簲澧炲姞鐨勪竴涓閫夌被鍨媘isc纭畾鏂囩尞绫诲瀷鏍囪瘑绗
+ \pertype{misc}
+ \step[fieldset=usera, fieldvalue={Z}]%
}
\map{
\pertype{book}
\pertype{inbook}
\step[fieldset=usera, fieldvalue={M}]
- \step[fieldsource=version] %鏈夋椂浼氭妸version鍜宔dition娣锋穯锛屽鐞嗗悗閬垮厤璇ラ棶棰橈紝鍙互鐩存帴鐢╲ersion
+ \step[fieldsource=version] %鏈夋椂浼氭妸version鍜宔dition娣锋穯锛屽鐞嗗悗鐩存帴鐢╡dition
\step[fieldset=edition, origfieldval]
}
\map{
- \pertype{standard}%鍏煎鑰佺殑standard绫诲瀷
- \step[fieldset=usera, fieldvalue={S}]%鍥犱负娌℃湁涓撻棬鐨勯┍鍔紝杩欏彞鐨勭洰鐨勬槸瀹氫箟涓涓猽sera鍩燂紝鏂逛究鏄犲皠涓篵ook鍜宨nbook鍚庡垽鏂
- \step[fieldset=note, fieldvalue=standard]
+ \pertype{inbook}
+ \step[fieldsource=editor]%鏈夋椂浼氭妸editor鍜宐ookauthor娣锋穯锛屽鐞嗗悗浣跨敤bookauthor
+ \step[fieldset=bookauthor, origfieldval]
+ }
+ \map{%鍏煎鑰佺殑standard绫诲瀷锛岀‘瀹氭枃鐚被鍨嬫爣璇嗙
+ \pertype{standard}
+ \step[fieldset=usera, fieldvalue={S}]
+ \step[fieldset=note, fieldvalue=standard]%鍥犱负娌℃湁涓撻棬鐨勯┍鍔紝璁板綍note鏂逛究鏄犲皠涓篵ook鍜宨nbook鍚庡垽鏂
}
\map{
\pertype{patent}
@@ -450,67 +580,81 @@
\pertype{inproceedings}
\pertype{conference}%鍏煎鑰佺殑conference绫诲瀷
\step[fieldset=usera, fieldvalue={C}]
- \step[fieldsource=institution] %鏈夋椂浼氭妸publisher鍜宨nstitution娣锋穯锛屽鐞嗗悗閬垮厤璇ラ棶棰
+ \step[fieldsource=institution]%鏈夋椂浼氭妸publisher鍜宨nstitution娣锋穯锛屽鐞嗗悗浣跨敤institution
\step[fieldset=publisher, origfieldval]
- \step[fieldsource=editor] %
+ \step[fieldsource=editor]%%鏈夋椂浼氭妸editor鍜宐ookauthor娣锋穯锛屽鐞嗗悗浣跨敤bookauthor
\step[fieldset=bookauthor, origfieldval]
}
\map{
\pertype{proceedings}
\step[fieldset=usera, fieldvalue={C}]
- \step[fieldsource=institution] %鏈夋椂浼氭妸publisher鍜宨nstitution娣锋穯锛岃繖閲屽鐞嗗悗灏辨病鏈夎繖涓棶棰
+ \step[fieldsource=institution]%鏈夋椂浼氭妸publisher鍜宨nstitution娣锋穯锛屽鐞嗗悗浣跨敤publisher
+ \step[fieldset=publisher, origfieldval]
+ }
+ \map{
+ \pertype{incollection}
+ \step[fieldset=usera, fieldvalue={G}]
+ \step[fieldsource=institution]%鏈夋椂浼氭妸publisher鍜宨nstitution娣锋穯锛屽鐞嗗悗浣跨敤institution
+ \step[fieldset=publisher, origfieldval]
+ \step[fieldsource=editor]%%鏈夋椂浼氭妸editor鍜宐ookauthor娣锋穯锛屽鐞嗗悗浣跨敤bookauthor
+ \step[fieldset=bookauthor, origfieldval]
+ }
+ \map{
+ \pertype{collection}
+ \step[fieldset=usera, fieldvalue={G}]
+ \step[fieldsource=institution]%鏈夋椂浼氭妸publisher鍜宨nstitution娣锋穯锛屽鐞嗗悗浣跨敤publisher
\step[fieldset=publisher, origfieldval]
- \step[fieldsource=editor] %鏈夌殑鏃跺欏彲鑳藉彧濉啓浜嗙紪鑰咃紝娌℃湁author锛屾妸瀹冨鍒朵竴涓
- \step[fieldset=author, origfieldval]
}
\map{
\pertype{report}
\pertype{techreport}%鍏煎鑰佺殑techreport绫诲瀷
\step[fieldset=usera, fieldvalue={R}]
- \step[fieldsource=publisher] %鏈夋椂浼氭妸publisher鍜宨nstitution娣锋穯锛屽鐞嗗悗閬垮厤璇ラ棶棰
- \step[fieldset=institution, origfieldval]
+ \step[fieldsource=institution]%鏈夋椂浼氭妸publisher鍜宨nstitution娣锋穯锛屽鐞嗗悗浣跨敤publisher
+ \step[fieldset=publisher, origfieldval]
}
\map{
\pertype{thesis}
\pertype{mastersthesis}%鍏煎鑰佺殑mastersthesis鍜宲hdthesis绫诲瀷
\pertype{phdthesis}
\step[fieldset=usera, fieldvalue={D}]
+ \step[fieldsource=publisher]%鏈夋椂浼氭妸publisher鍜宨nstitution娣锋穯锛屽鐞嗗悗浣跨敤institution
+ \step[fieldset=institution, origfieldval]
}
\map{
\pertype{online}
\pertype{electronic}%鍏煎鑰佺殑electronic绫诲瀷
\pertype{www}%鍏煎鑰佺殑www绫诲瀷
\step[fieldset=usera, fieldvalue={EB}]
+ \step[fieldsource=publisher]%鏈夋椂浼氭妸publisher鍜宨nstitution娣锋穯锛屽鐞嗗悗浣跨敤institution
+ \step[fieldset=institution, origfieldval]%鍥犱负online鐨勫嚭鐗堥」澶勭悊绫讳技鎵嬪唽
+ \step[fieldsource=organization]%鏈夋椂浼氭妸organization鍜宨nstitution娣锋穯锛屽鐞嗗悗浣跨敤institution锛屼互澧炲己鍏煎鎬
+ \step[fieldset=institution, origfieldval]
}
\map{
\pertype{manual}
\step[fieldset=usera, fieldvalue={A}]
- \step[fieldsource=edition] %鏈夋椂浼氭妸version鍜宔dition娣锋穯锛屽鐞嗗悗閬垮厤璇ラ棶棰橈紝鍙互鐩存帴鐢╲ersion
+ \step[fieldsource=edition]%鏈夋椂浼氭妸version鍜宔dition娣锋穯锛屽鐞嗗悗浣跨敤version
\step[fieldset=version, origfieldval]
- \step[fieldsource=organization]%鍥犱负鐢ㄧ殑report鐨勯┍鍔紝鎵浠ラ渶瑕乮nstitution鍩燂紝鎶妎rganization杞垚瀹冧互澧炲己鍏煎鎬
+ \step[fieldsource=publisher]%鏈夋椂浼氭妸publisher鍜宨nstitution娣锋穯锛屽鐞嗗悗浣跨敤institution
+ \step[fieldset=institution, origfieldval]
+ \step[fieldsource=organization]%鏈夋椂浼氭妸organization鍜宨nstitution娣锋穯锛屽鐞嗗悗浣跨敤institution锛屼互澧炲己鍏煎鎬
\step[fieldset=institution, origfieldval]
- }
- \map{
- \pertype{incollection}
- \step[fieldset=usera, fieldvalue={G}]
- }
- \map{
- \pertype{collection}
- \step[fieldset=usera, fieldvalue={G}]
- \step[fieldsource=editor] %%鏈夌殑鏃跺欏彲鑳藉彧濉啓浜嗙紪鑰咃紝娌℃湁author锛屾妸瀹冨鍒朵竴涓
- \step[fieldset=author, origfieldval]
}
\map{
\pertype{unpublished}
\step[fieldset=usera, fieldvalue={Z}]
}
- \map{
+ \map{%浣滆呯殑涓枃鍒ゆ柇
\step[fieldsource=author, match=\regexp{[\x{2FF0}-\x{9FA5}]},final]
- \step[fieldset=userf, fieldvalue={cn}]
+ \step[fieldset=userf, fieldvalue={chinese}]
}
- \map{
+ \map{%璇戣呯殑涓枃鍒ゆ柇
\step[fieldsource=translator, match=\regexp{[\x{2FF0}-\x{9FA5}]},final]
- \step[fieldset=usere, fieldvalue={cn}]
+ \step[fieldset=usere, fieldvalue={chinese}]
+ }
+ \map{%缂栬呯殑涓枃鍒ゆ柇
+ \step[fieldsource=editor, match=\regexp{[\x{2FF0}-\x{9FA5}]},final]
+ \step[fieldset=userc, fieldvalue={chinese}]
}
\map{%澶勭悊涓浜涚敤year琛ㄧずdate鐨勬儏鍐
%杩欐牱澶勭悊灏嗕細璁剧疆date鍩燂紝骞朵娇寰條abeldatesource鍙樹负绌猴紝鍥犱负date鐨勫墠缂涓虹┖(濡傛灉鏄痷rldate锛岄偅涔坙abeldatesource灏辨槸url)銆
@@ -518,20 +662,15 @@
\step[fieldsource=year]
\step[fieldset=date, origfieldval]
}
- \map{%灏唗itle淇℃伅淇濆瓨鍒皍serd涓伩鍏嶅洜涓烘爣绛剧敓鎴愬師鍥犲鑷磘itle鍩熻娓呴櫎
- \step[fieldsource=title, match=\regexp{[\x{2FF0}-\x{9FA5}]},final]%}
- \step[fieldset=userd, fieldvalue={cn}]
+ \map{%鏂囩尞棰樺悕鐨勪腑鏂囧垽鏂紝灏嗕俊鎭繚瀛樺埌userd涓紝閬垮厤鍥犱负鏍囩鐢熸垚鍘熷洜瀵艰嚧title鍩熻娓呴櫎鑰屼骇鐢熼棶棰
+ \step[fieldsource=title, match=\regexp{[\x{2FF0}-\x{9FA5}]},final]%
+ \step[fieldset=userd, fieldvalue={chinese}]
}
- \map{%灏唀ntrykey鏀惧叆keywords涓敤浜庡悗鏈熺殑浣跨敤
+ \map{%灏唀ntrykey鏀惧叆keywords涓敤浜庡悗鏈熶娇鐢
\step[fieldsource=entrykey]
\step[fieldset=keywords, origfieldval]
}
- \map[overwrite]{%杩欓噷杩樺繀椤绘湁overwrite锛屾敞鎰忎笉鍚岀増鏈瓨鍦ㄥ樊寮傦紝姣斿texlive2015鍙16鍚巄iber鏈夊彉鍖(20161207淇敼姝g‘)
- \step[fieldsource=note, final]%灏唍ote鍩熶俊鎭鍒剁粰keywords锛岀敤浜庤緭鍑烘椂瀹规槗鍖哄垎鏍囧噯鍜屾姤绾
- \step[fieldset=keywords, fieldvalue={,}, append]
- \step[fieldset=keywords, origfieldval, append]
- }
- \map{%
+ \map{%褰撴枃鐚粰鍑簂anguage鍩熸椂锛岃缃枃鐚浣跨敤鐨勬湰鍦板寲瀛楃涓茬殑璇█
\step[fieldsource=language,match=english,final]
\step[fieldset=langid,fieldvalue={english}]
}
@@ -555,7 +694,8 @@
\step[fieldsource=language,match=korean,final]
\step[fieldset=langid,fieldvalue={english}]
}
- \map{%鎶婅瑷淇℃伅璁剧疆language鍩熷唴锛岃屼笉鍐嶇敤userb鍩(20180525)
+ \map{%褰撴病鏈塴anguage鍩熶俊鎭粰鍑烘椂锛屾牴鎹畉itle鍩熸潵鑷姩鍒ゆ柇璇█骞惰缃湰鍦板寲瀛楃涓茶瑷
+ %鎶婅瑷淇℃伅璁剧疆language鍩熷唴锛岃屼笉鍐嶇敤userb鍩(20180525)
%鎺ョ潃鏍规嵁淇℃伅鍩熷瓧绗︾殑unicode鐮佸垽鏂
\step[fieldsource=title,match=\regexp{[\x{0100}-\x{017F}]},final]%\x80-\xFF
\step[fieldset=language,fieldvalue={french}]%娉曡,0080寮濮嬪埌00ff鐨勫瓧绗︽病娉曞尮閰嶆湁鐐瑰鎬
@@ -592,6 +732,9 @@
\step[fieldset=language,fieldvalue={english}]
\step[fieldset=langid,fieldvalue={english}]
}
+ \map{%灏嗛潪涓枃鐨勮瑷鏀惧叆userd涓紝浠ヤ究杩涜澶氳瑷澶勭悊
+ \step[fieldsource=language,fieldtarget=userd,final]
+ }
}
}
@@ -602,11 +745,9 @@
% 鍘熺悊鏂规硶:biblatex3.4浠ヤ笂鐗堟湰map鍙娇鐢╢oreach閫夐」鏉ュ鐞嗙壒娈婂瓧绗
\DeclareStyleSourcemap{
\maps[datatype=bibtex]{
- % \map{%灏濊瘯鏈畾涔夋暟鎹ā鍨嬬殑newspaper绫诲瀷鏄犲皠涓篴rticle锛宯ewspaper瀹屽叏鏄拡瀵筭b7714鐨勬柊绫诲瀷锛屽湪biblatex涓畬鍏ㄦ病鏈夊畾涔
- % %浣嗕粠瀹炶返鐪嬶紝骞舵病鏈変粈涔堝奖鍝嶏紝鏄犲皠杩囨潵灏卞彲浠ヤ簡銆
- % \step[typesource=newspaper, typetarget=article, final]
- % }
- \map{%灏濊瘯鏈畾涔夋暟鎹ā鍨嬬殑standard绫诲瀷鏄犲皠涓篵ook锛宻tandard绫诲瀷鍦╞lx-dm涓湁鍑虹幇锛屼絾浠呭畾涔変簡绫诲瀷锛屽煙鍜岀害鏉熺瓑閮芥病鏈夊畾涔
+ \map{%灏濊瘯鏈畾涔夋暟鎹ā鍨嬬殑standard绫诲瀷鏄犲皠涓哄叾浠栫被鍨媌ook鎴杋nbook锛
+ %standard绫诲瀷鍦╞lx-dm涓湁鍑虹幇锛屼絾浠呭畾涔変簡绫诲瀷锛屽煙鍜岀害鏉熺瓑閮芥病鏈夊畾涔
+ %鍥犱负鍙兘瑕佹槧灏勪袱绉嶇被鍨嬶紝鎵浠ヤ笉鑳藉湪椹卞姩灞傚鐞嗭紝鍥犱负瑕佸仛鍒ゆ柇
\step[fieldsource=booktitle,final]%褰撳瓨鍦╞ooktitle鍩熸槸鏄犲皠涓篿nbook
\step[typesource=standard, typetarget=inbook, final]
}
@@ -625,6 +766,66 @@
\step[typesource=techreport, typetarget=report, final]
%\step[fieldset=type, fieldvalue=techreport]
}
+ \map{%
+ \pertype{report}
+ \step[notfield=address,final]%褰揳ddress涓嶅瓨鍦ㄥ垯缁х画
+ \step[fieldsource=url,final]%鍦板潃涓嶅瓨鍦ㄤ笖瀛樺湪url閭d箞杞彉涓簅nline
+ \step[typesource=report,typetarget=online]
+ \step[fieldset=note,fieldvalue={report}]
+ }
+ \map{%
+ \pertype{thesis}
+ \step[notfield=address,final]%褰揳ddress涓嶅瓨鍦ㄥ垯缁х画
+ \step[fieldsource=url,final]%鍦板潃涓嶅瓨鍦ㄤ笖瀛樺湪url閭d箞杞彉涓簅nline
+ \step[typesource=thesis,typetarget=online]
+ }
+ \map{%
+ \pertype{manual}
+ \step[notfield=address,final]%褰揳ddress涓嶅瓨鍦ㄥ垯缁х画
+ \step[fieldsource=url,final]%鍦板潃涓嶅瓨鍦ㄤ笖瀛樺湪url閭d箞杞彉涓簅nline
+ \step[typesource=manual,typetarget=online]
+ }
+ \map{%
+ \pertype{unpublished}
+ \step[notfield=address,final]%褰揳ddress涓嶅瓨鍦ㄥ垯缁х画
+ \step[fieldsource=url,final]%鍦板潃涓嶅瓨鍦ㄤ笖瀛樺湪url閭d箞杞彉涓簅nline
+ \step[typesource=unpublished,typetarget=online]
+ }
+ \map{%
+ \pertype{database}
+ \step[notfield=address,final]%褰揳ddress涓嶅瓨鍦ㄥ垯缁х画
+ \step[fieldsource=url,final]%鍦板潃涓嶅瓨鍦ㄤ笖瀛樺湪url閭d箞杞彉涓簅nline
+ \step[typesource=databasetypetarget=online]
+ }
+ \map{%
+ \pertype{dataset}
+ \step[notfield=address,final]%褰揳ddress涓嶅瓨鍦ㄥ垯缁х画
+ \step[fieldsource=url,final]%鍦板潃涓嶅瓨鍦ㄤ笖瀛樺湪url閭d箞杞彉涓簅nline
+ \step[typesource=dataset,typetarget=online]
+ }
+ \map{%
+ \pertype{software}
+ \step[notfield=address,final]%褰揳ddress涓嶅瓨鍦ㄥ垯缁х画
+ \step[fieldsource=url,final]%鍦板潃涓嶅瓨鍦ㄤ笖瀛樺湪url閭d箞杞彉涓簅nline
+ \step[typesource=software,typetarget=online]
+ }
+ \map{%
+ \pertype{map}
+ \step[notfield=address,final]%褰揳ddress涓嶅瓨鍦ㄥ垯缁х画
+ \step[fieldsource=url,final]%鍦板潃涓嶅瓨鍦ㄤ笖瀛樺湪url閭d箞杞彉涓簅nline
+ \step[typesource=map,typetarget=online]
+ }
+ \map{%
+ \pertype{archive}
+ \step[notfield=address,final]%褰揳ddress涓嶅瓨鍦ㄥ垯缁х画
+ \step[fieldsource=url,final]%鍦板潃涓嶅瓨鍦ㄤ笖瀛樺湪url閭d箞杞彉涓簅nline
+ \step[typesource=archive,typetarget=online]
+ }
+ \map[overwrite]{%杩欓噷杩樺繀椤绘湁overwrite锛屾敞鎰忎笉鍚岀増鏈瓨鍦ㄥ樊寮傦紝姣斿texlive2015鍙16鍚巄iber鏈夊彉鍖(20161207淇敼姝g‘)
+ \step[fieldsource=note, final]%灏唍ote鍩熶俊鎭鍒剁粰keywords锛岀敤浜庤緭鍑烘椂瀹规槗鍖哄垎鏍囧噯鍜屾姤绾
+ \step[fieldset=keywords, fieldvalue={,}, append]
+ \step[fieldset=keywords, origfieldval, append]
+ }
\map[overwrite, foreach={title,booktitle,journaltitle,journal,publisher,address,location,institution,organization}]{
\step[fieldsource=\regexp{$MAPLOOP}, match=\regexp{([^\\])\#}, replace=\regexp{$1\\\#}]
}
@@ -638,8 +839,17 @@
}
}
-\DeclareBibliographyAlias{newspaper}{article}%瀹氫箟椹卞姩鍒悕锛屽皾璇曚互鏇夸唬椹卞姩灞傛槧灏勶紝瀹炶返琛ㄦ槑鏄彲琛岀殑銆
-\DeclareBibliographyAlias{unpublished}{manual}
+%
+%椹卞姩鍒悕绛変环浜庨┍鍔ㄥ眰鏄犲皠
+%
+\DeclareBibliographyAlias{newspaper}{article}%
+\DeclareBibliographyAlias{inproceedings}{inbook}%浼氳璁烘枃鏂囩尞绫诲瀷椹卞姩
+\DeclareBibliographyAlias{conference}{inbook}%浼氳璁烘枃鏂囩尞绫诲瀷椹卞姩
+\DeclareBibliographyAlias{incollection}{inbook}%鏂囬泦涓瀽鍑烘枃鐚被鍨嬮┍鍔
+\DeclareBibliographyAlias{collection}{book}%%鏂囬泦绫诲瀷椹卞姩
+\DeclareBibliographyAlias{proceedings}{book}%浼氳璁烘枃闆嗘枃鐚被鍨嬮┍鍔
+\DeclareBibliographyAlias{thesis}{manual}%瀛︿綅璁烘枃椹卞姩
+\DeclareBibliographyAlias{unpublished}{manual}%鍏跺畠绫诲瀷椹卞姩
\DeclareBibliographyAlias{database}{manual}
\DeclareBibliographyAlias{dataset}{manual}
\DeclareBibliographyAlias{software}{manual}
@@ -655,9 +865,10 @@
%
% 澧炲姞涓涓猏bibitemindent灏哄鐢ㄤ簬鎺у埗list鐜鐨刬temindent
% v1.0l锛20180615锛宧zz
+\setlength{\bibhang}{\biblabelsep}%
\newlength{\bibitemindent}
\setlength{\bibitemindent}{0pt}
-\setlength{\bibhang}{\biblabelsep}%
+
\defbibenvironment{bibliography}
{\list
@@ -688,7 +899,7 @@
% \DeclareFieldFormat{shorthandwidth}{\mkbibbrackets{#1}} %婧愭潵鑷猲umeric.BBX
% \DeclareFieldFormat{labelnumberwidth}{\ttfamily\mkbibbrackets{#1}\hfill}
\DeclareFieldFormat{labelnumberwidth}{%
-\ifcase\value{alignlabel}%鍙冲榻愶紝鏁翠釜鏍囩涓哄彸瀵归綈
+\ifcase\value{gbalignlabel}%鍙冲榻愶紝鏁翠釜鏍囩涓哄彸瀵归綈
\mkgbnumlabel{#1}%
\or%宸﹀榻愶紝鏁翠釜鏍囩涓哄乏瀵归綈
\mkgbnumlabel{#1}\hfill%
@@ -752,7 +963,7 @@
% 璁剧疆鍗曞厓鎴栧潡绛夌殑鏍囩偣
%=====================================================================
\renewrobustcmd*{\bibinithyphendelim}{\addhighpenspace}%鐢ㄤ簬澶勭悊濮撳悕涓悕閮ㄥ垎瀛樺湪-鐨勬儏鍐碉紝姣斿ZHANG Yu-xin
-\renewcommand*{\subtitlepunct}{\addcolon\space} %淇敼鏍囬鍜屽叾瀹冩爣棰樹俊鎭棿鐨勬爣鐐癸紝鏉ユ簮biblatex.def锛
+\renewcommand*{\subtitlepunct}{\addcolon\addspace} %淇敼鏍囬鍜屽叾瀹冩爣棰樹俊鎭棿鐨勬爣鐐癸紝鏉ユ簮biblatex.def锛
%
% 鍒╃敤set瀹炵幇鐨勫璇█鏂囩尞涓嶅悓璇█闂寸殑鍒嗛殧绗
% 20170411锛屽弻璇箣闂寸敤newline鏇挎崲par锛岄伩鍏嶉噰鐢╣b7714-2015鐨勯」瀵归綈鏂瑰紡绗簩璇█闂村垎娈靛鑷存病鏈夌缉杩
@@ -761,13 +972,16 @@
% 杩欓噷璋冩暣涓涓嬩袱绉嶈瑷鍙傝冩枃鐚殑闂撮殧锛屾簮鏉ヨ嚜biblatex.def
\renewcommand*{\entrysetpunct}{\adddot\newline\nobreak}
\renewcommand*{\bibpagespunct}{\addcolon\addthinspace}%%椤电爜寮曠敤鏍煎紡鐨勪慨鏀癸紝淇敼涓虹敤鍐掑彿
-
+%\renewcommand{\relateddelim}{}%\par
%=====================================================================
% 淇敼鍩熺殑鏍煎紡锛岄噸瀹氫箟鍩熺殑杈撳嚭瀹
%=====================================================================
%
% 鏂板鏂囩尞绫诲瀷鏍囪瘑绗︾殑鏍煎紡
+% []鍓嶇殑nobreak锛屼粠GB4.1鑺傜殑渚嬪瓙鐪嬩笉搴旇鍔狅紝鎵浠ュ幓鎺
+% 浣嗗洜涓鸿冭檻鍒癱jk瀛楃鍜孾]涔嬮棿鍙兘娣诲姞绌烘牸锛屾墍浠ヤ粛鐒跺姞涓
+% 鑰孾]涓棿鐨勫唴瀹癸紝浠4.6.2鑺傜殑渚嬪瓙鐪嬩篃鏄彲浠ュ垎鍓茬殑锛屽洜姝ゅ唴閮ㄧ殑nobreak涔熷彲浠ュ幓鎺
%
\DeclareFieldFormat{gbtypeflag}{%
\iftoggle{bbx:url}{\iffieldundef{url}%褰撳瓨鍦╱rl鏃讹紝澧炲姞涓涓狾L鏍囪瘑绗
@@ -808,8 +1022,8 @@
% 20180603锛寁1.0l锛屽鍔犱娇鐢╪ameformat鍩熸潵閫夋嫨濮撳悕鏍煎紡
\DeclareNameFormat{namefmtselected}{%
\iffieldundef{namefmtid}{}%
-{\defcounter{namefmtcase}{\thefield{namefmtid}}}%
-\ifcase\value{namefmtcase}%
+{\defcounter{gbnamefmtcase}{\thefield{namefmtid}}}%
+\ifcase\value{gbnamefmtcase}%
\ifgiveninits
{\usebibmacro{name:gbuppercase}
{\namepartfamily}
@@ -965,6 +1179,11 @@
\setcounter{biburlnumpenalty}{100} %璁﹗rl鍙互鍦ㄦ暟瀛楀悗鏂
\setcounter{biburlucpenalty}{100} %璁﹗rl鍙互鍦ㄥぇ鍐欏瓧姣嶅悗鏂
\setcounter{biburllcpenalty}{100} %璁﹗rl鍙互鍦ㄥ皬鍐欏瓧姣嶅悗鏂
+\DeclareFieldFormat{doi}{%
+ \rmfamily{DOI}\addcolon\space
+ \ifhyperref
+ {\href{https://doi.org/#1}{\nolinkurl{#1}}}
+ {\nolinkurl{#1}}}
\DefineBibliographyExtras{english}{\renewcommand*{\bibrangedash}{-}}%灏嗛〉鐮侀棿闅旂鏇挎崲浼氳嫳鏂囩殑鐭í绾
@@ -1086,7 +1305,7 @@
\AtEveryBibitem{%
\ifboolexpr{
-togl{bbx:gbstyle} or test {\iffieldequalstr{userd}{cn}}
+togl{bbx:gbstyle} or test {\iffieldequalstr{userd}{chinese}}
}
{
@@ -1133,23 +1352,75 @@ togl{bbx:gbstyle} or test {\iffieldequalstr{userd}{cn}}
%
% 淇敼浣滆呮暟閲忚秴杩囬檺瀹氬硷紝鍋氱渷鐣ユ椂鐨勫鐞嗘牸寮
+% v1.0,20160701,hzz
+% v1.0O,20190103,hzz,淇敼鍒╃敤鏂板畾涔夌殑涓涓垎闅旂strandothersdelim
%
-% 鍘熺悊鏂规硶:鍒ゆ柇浣滆呮垨璇戣呮槸鍚︿腑鏂囷紝鑻ヤ腑鏂囩敤瀛楃绛夛紝鍚﹀垯鐢╡tcl銆
+% 鍘熺悊鏂规硶:鍒ゆ柇浣滆呮垨璇戣呮槸鍚︿腑鏂囷紝鑻ヤ腑鏂囩敤瀛楃绛夛紝鍚﹀垯鐢╡t al. 銆
\renewbibmacro*{name:andothers}{%
\ifboolexpr{
test {\ifnumequal{\value{listcount}}{\value{liststop}}}
and
test \ifmorenames
- }{%杩欓噷鍋氫竴涓垽鏂槸鍦ㄥ鐞哸uthor杩樻槸translator鐢ㄤ簬涓よ呮槸涓嶅悓璇█鐨勬儏鍐
- \ifcurrentname{translator}{\testCJKfirst{usere}}{\testCJKfirst{userf}}%
- %杩欏彞鍒ゆ柇濡傛灉鏀惧埌\andothersdelim鍚庨潰浼氬湪绛夋垨etc.鍓嶅鍔犱竴涓┖鏍硷紝鎵浠ユ斁鍓嶉潰
- \ifnumgreater{\value{liststop}}{1}
+ }{\ifnumgreater{\value{liststop}}{1}
{\finalandcomma}%
{}%biblatex浣滆呰鍖哄埆鍗曚綔鑰呭姞绛夌殑鎯呭喌锛岃繖閲屼负绗﹀悎gbt7714-2015绗7.2鑺傜殑瑕佹眰鍔犱笂浜嗛楀彿銆
-\printdelim{andothersdelim}\iftoggle{ifCJKforgbt}{\bibstring{andotherscn}}{\bibstring{andothers}}%
-%\andothersdelim\bibstring{andotherscn}
+\printdelim{andothersdelim}\printdelim{strandothersdelim}%
}{}}
+%
+% 淇敼鐪佺暐浣滆呭悗鐨勬湰鍦板寲瀛楃涓诧紝姣斿et al.
+% v1.0o,20190103,hzz
+%
+% 鍘熺悊鏂规硶:榛樿鎯呭喌涓嬪垽鏂綔鑰呮垨璇戣呮槸鍚︿腑鏂囷紝鑻ヤ腑鏂囩敤瀛楃andotherscn=鈥滅瓑鈥濓紝鍚﹀垯鐢╝ndothers=鈥渆t al.鈥濄
+% 闈為粯璁ゆ儏鍐碉紝鏍规嵁閫夐」淇℃伅锛岄夋嫨閫夋嫨寮哄埗涓枃鎴栬嫳鏂
+% 棣栧厛璁剧疆鍏ㄥ眬鐨勶紝鐒跺悗璁剧疆鏂囩尞琛ㄤ腑鐨勶紝杩欎竴绛変环浜庡皢鎵鏈夌殑cite鍛戒护鐜閮借缃繃浜
+% 鑰屼笉鐢ㄥ姣忎竴涓紩鐢ㄥ懡浠ゅ崟鐙缃紝姣斿cite锛宲arancite锛宼extcite閮借缃
+\DeclareDelimFormat{strandothersdelim}{%
+ \ifnumgreater{\value{liststop}}{2}{\finalandcomma}{}%
+ \addspace%
+ \ifcurrentname{translator}{\testCJKfirst{usere}}{\testCJKfirst{userf}}%
+ \ifcurrentname{editor}{\testCJKfirst{userc}}{\testCJKfirst{userf}}%
+ \ifcase\value{gbbiblocalcase}%
+ \iftoggle{ifCJKforgbt}{\bibstring{andotherscn}}{%
+\iffieldequalstr{userd}{korean}{\bibstring{andotherskr}}{}%
+\iffieldequalstr{userd}{japnese}{\bibstring{andothersjp}}{}%
+\iffieldequalstr{userd}{english}{\bibstring{andothers}}{}%
+\iffieldequalstr{userd}{french}{\bibstring{andothers}}{}%
+\iffieldequalstr{userd}{russian}{\bibstring{andothers}}{}%
+ }\space%
+ \or%
+ \bibstring{andotherscn}\space%
+ \or%
+ \bibstring{andothers}\space%
+ \fi}
+
+%
+% 淇敼鏈鍚庝竴涓綔鑰呭墠鐨勫瓧绗︿覆锛屾瘮濡 and
+% v1.0o,20190103,hzz
+%
+% 鍘熺悊鏂规硶:榛樿鎯呭喌涓嬪垽鏂綔鑰呮垨璇戣呮槸鍚︿腑鏂囷紝鑻ヤ腑鏂囩敤瀛楃andcn=鈥滃拰鈥濓紝鍚﹀垯鐢╝nd=鈥渁nd鈥濄
+% 闈為粯璁ゆ儏鍐碉紝鏍规嵁閫夐」淇℃伅锛岄夋嫨閫夋嫨寮哄埗涓枃鎴栬嫳鏂
+% 棣栧厛璁剧疆鍏ㄥ眬鐨勶紝鐒跺悗璁剧疆鏂囩尞琛ㄤ腑鐨勶紝杩欎竴绛変环浜庡皢鎵鏈夌殑cite鍛戒护鐜閮借缃繃浜
+% 鑰屼笉鐢ㄥ姣忎竴涓紩鐢ㄥ懡浠ゅ崟鐙缃紝姣斿cite锛宲arancite锛宼extcite閮借缃
+\DeclareDelimFormat{finalnamedelim}{%
+ \ifnumgreater{\value{liststop}}{2}{\finalandcomma}{}%
+ \addspace%
+ \ifcurrentname{translator}{\testCJKfirst{usere}}{\testCJKfirst{userf}}%
+ \ifcurrentname{editor}{\testCJKfirst{userc}}{\testCJKfirst{userf}}%
+ \ifcase\value{gbbiblocalcase}%
+ \iftoggle{ifCJKforgbt}{\bibstring{andcn}}{%
+\iffieldequalstr{userd}{korean}{\bibstring{andkr}}{}%
+\iffieldequalstr{userd}{japnese}{\bibstring{andjp}}{}%
+\iffieldequalstr{userd}{english}{\bibstring{and}}{}%
+\iffieldequalstr{userd}{french}{\bibstring{and}}{}%
+\iffieldequalstr{userd}{russian}{\bibstring{and}}{}%
+ }\space%
+ \or%
+ \bibstring{andcn}\space%
+ \or%
+ \bibstring{and}\space%
+ \fi}
+
%
% url鍜寀rl鏃ユ湡鏍煎紡
%
@@ -1234,12 +1505,19 @@ togl{bbx:gbstyle} or test {\iffieldequalstr{userd}{cn}}
}
%
-% 鍑虹増绀惧拰鍦板潃鐨勫鐞
+% 褰搇ocation绛夊嚭鐗堥」瓒呰繃maxitem缂╁噺鍚庝笉鍐嶈緭鍑篹tal
+%
+\DeclareListFormat{location}{%
+ \usebibmacro{list:delim}{#1}%
+ #1\isdot}
+\DeclareListAlias{institution}{location}
+\DeclareListAlias{publisher}{location}
+
+% 鏂板涓涓牱寮忕敤浜庤緭鍑鸿繛缁嚭鐗堢墿鐨勫湴鍧锛屽崟浣嶏紝鏃堕棿锛
+% 鐢ㄤ簬periodical杩炵画鍑虹増鐗╃殑鍑虹増绀惧拰鍦板潃鐨勫鐞
%
% v1.0k锛20180425锛屼负鍑虹増淇℃伅澧炲姞瀛椾綋鎺у埗鍛戒护锛宧zz
-% 鍘熺悊鏂规硶:褰撴病鏈夊嚭鐗堢ぞ鍦板潃鏃讹紝鐩存帴鍒ゆ柇title鐨勪俊鎭槸鍚︽槸涓枃锛岃嫢涓轰腑鏂囷紝鍒欏啓鍑虹増鍦颁笉璇︼紝鍚﹀垯鐢ㄨ嫳鏂囩殑瀛楃琛ㄧず銆
-% 浜嬪疄涓妕itle瀵逛簬姣忎釜鏂囩尞鏉ヨ鏄繀椤荤殑锛屾墍浠ョ敤瀹冨垽鏂槸鏈蹇殑锛岃屼笖涓鑸爣棰樺拰鍑虹増绀剧殑璇█鏄竴鏍风殑銆
-% 鏂板涓涓牱寮忕敤浜庤緭鍑鸿繛缁嚭鐗堢墿鐨勫湴鍧锛屽崟浣嶏紝鏃堕棿锛%绫讳技\newbibmacro*{publisher+location+date}
+% %绫讳技\newbibmacro*{publisher+location+date}
\newbibmacro*{location+institution+date}{\bibpubfont%
\iftoggle{bbx:gbpub}%
{\testCJKfirst{userd}%
@@ -1270,30 +1548,27 @@ test {\iflistundef{location}} and test {\iflistundef{institution}}%
\newunit}%
}
%
+% 閫氱敤鐨勫嚭鐗堢ぞ鍜屽湴鍧鐨勫鐞
%
+% 鍘熺悊鏂规硶:褰撴病鏈夊嚭鐗堢ぞ鍦板潃鏃讹紝鐩存帴鍒ゆ柇title鐨勪俊鎭槸鍚︽槸涓枃锛岃嫢涓轰腑鏂囷紝鍒欏啓鍑虹増鍦颁笉璇︼紝鍚﹀垯鐢ㄨ嫳鏂囩殑瀛楃琛ㄧず銆
+% 浜嬪疄涓妕itle瀵逛簬姣忎釜鏂囩尞鏉ヨ鏄繀椤荤殑锛屾墍浠ョ敤瀹冨垽鏂槸鏈蹇殑锛岃屼笖涓鑸爣棰樺拰鍑虹増绀剧殑璇█鏄竴鏍风殑銆
+% 娉ㄦ剰鏍囧噯standard绫诲瀷锛屽洜涓哄綋娌℃湁鍑虹増椤规椂鐩存帴鐪佺暐锛屾墍浠ュ仛鐗规畩澶勭悊
\renewbibmacro*{publisher+location+date}{\bibpubfont%
\iftoggle{bbx:gbpub}%
{\testCJKfirst{userd}%
-\ifboolexpr{%
-test {\iflistundef{location}} and test {\iflistundef{publisher}}%
-}{\iftoggle{ifCJKforgbt}{\printtext{[\str@noaddress}\space :\space\str@nopublisher]}%
-{\printtext{[S.l.\space :\space s.n.\adddot]}}%
-}{%
-\iflistundef{location}{%\adddot
-\iffieldequalstr{note}{standard}{}{%浠巊bt7714-2015鏍囧噯绗19椤电湅鍒帮紝鏍囧噯瀛樺湪鍑虹増椤规椂杈撳嚭锛屾病鏈夋椂瀹屽叏鐪佺暐銆
-\iftoggle{ifCJKforgbt}{\printtext{[\str@noaddress]}\addcolon\addspace}{\printtext{[S.l.\adddot]}\addcolon\addspace}%
-}}% \bibstring{noaddress}
-{\printlist{location}\addcolon\addspace}%
-%\addcolon\addspace%
-\iflistundef{publisher}{%
-\iffieldequalstr{note}{standard}{}{%
-\iftoggle{ifCJKforgbt}{\printtext{[\str@nopublisher]}\setunit{\adddot\addspace}\setunit*{\addcomma\addspace}}%
-{\printtext{\mkbibbrackets{s.n.}}\setunit{\adddot\addspace}\setunit*{\addcomma\addspace}}%
-}}%
-{\printlist{publisher}}}%
+ \ifboolexpr{ test {\iflistundef{location}} and test {\iflistundef{publisher}} }%
+ {\iffieldequalstr{note}{standard}{}{\iftoggle{ifCJKforgbt}{\printtext{[\str@noaddress}\space :\space\str@nopublisher]}{\printtext{[S.l.\space :\space s.n.\adddot]}}}}%
+ {\iflistundef{location}{%\adddot
+ \iffieldequalstr{note}{standard}{}%%浠巊bt7714-2015鏍囧噯绗19椤电湅鍒帮紝鏍囧噯瀛樺湪鍑虹増椤规椂杈撳嚭锛屾病鏈夋椂瀹屽叏鐪佺暐銆
+ {\iftoggle{ifCJKforgbt}{\printtext{[\str@noaddress]}\addcolon\addspace}{\printtext{[S.l.\adddot]}\addcolon\addspace}}}% \bibstring{noaddress}
+ {\printlist{location}\addcolon\addspace}%%\addcolon\addspace%
+ \iflistundef{publisher}{%
+ \iffieldequalstr{note}{standard}{}%
+ {\iftoggle{ifCJKforgbt}{\printtext{[\str@nopublisher]}\setunit{\adddot\addspace}\setunit*{\addcomma\addspace}}%
+ {\printtext{\mkbibbrackets{s.n.}}\setunit{\adddot\addspace}\setunit*{\addcomma\addspace}}}}%
+ {\printlist{publisher}}}%
\setunit*{\addcomma\addspace}%\addcomma\addspace%
-\usebibmacro{date}%
-%\newunit %鍘绘帀杩欎釜鏍囩偣
+\usebibmacro{date}%%\newunit %鍘绘帀杩欎釜鏍囩偣
}%
{\printlist{location}%
\iflistundef{publisher}
@@ -1301,11 +1576,53 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
{\setunit*{\addcolon\space}}%
\printlist{publisher}%
\setunit*{\addcomma\space}%
- \usebibmacro{date}%
- %\newunit
+ \usebibmacro{date}%%\newunit
}%
}
+
+
+%
+% 淇敼浜嗕竴涓猧nstitution+location+date鐢ㄤ簬manual銆乺eport銆乼hesis绛夌被鍨
+%
+% 20180425锛寁1.0k锛屽鍔犱簡瀛椾綋鎺у埗鍛戒护锛宧zz
+% 20190105锛寁1.0o锛屽姞浜嗕竴涓紪缁勯伩鍏峔usebibmacro{date}鎶妋onth鍜宒ay淇℃伅鍘绘帀
+\renewbibmacro*{institution+location+date}{\bibpubfont%褰撴病鏈塱nstitution鏃朵笉澶勭悊銆
+{\printlist{location}%%鍔犱簡涓涓紪缁勯伩鍏峔usebibmacro{date}鎶妋onth鍜宒ay淇℃伅鍘绘帀
+ \iflistundef{institution}
+ {\setunit*{\addcomma\space}}
+ {\setunit*{\addcolon\space}}%
+ \printlist{institution}%
+ \setunit*{\addcomma\space}%
+ \usebibmacro{date}%
+ %\newunit
+ }}
+
+%
+% 瀵箆olume鍗蜂俊鎭牸寮忓仛鍑轰慨鏀
+% v1.0o,20190105,hzz
+%
+\DeclareFieldFormat{volume}{%
+\testCJKfirst{userd}%
+\iftoggle{ifCJKforgbt}%
+{\bibstring{serialcn}#1\bibstring{volumecn}}%
+{\bibstring{volume}~#1}%
+}% volume of a book
+\DeclareFieldFormat[article,periodical]{volume}{#1}% volume of a journal
+
+%
+% 瀵筺umber鍐屼俊鎭牸寮忓仛鍑轰慨鏀
+% v1.0o,20190105,hzz
+%
+\DeclareFieldFormat{number}{#1}%
+\DeclareFieldFormat[book,collection,inbook,%
+incollection,proceedings,inproceedings]{number}{%
+\testCJKfirst{userd}%
+\iftoggle{ifCJKforgbt}%
+{\bibstring{serialcn}#1\bibstring{numbercn}}%
+{#1}%
+}%
+
%
% 瀵筫dition鐗堟湰淇℃伅鏍煎紡鍋氬嚭淇敼
%
@@ -1400,8 +1717,8 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
{\iffieldequalstr{note}{news}{\usebibmacro{newsdate}}%鍒ゆ柇鏄惁涓烘姤绾
{\usebibmacro{date}}%
}}%
- {\printfield{issue}%
- \setunit*{\addspace}%
+ {\iftoggle{bbx:gbstrict}{}{\printfield{issue}%
+ \setunit*{\addspace}}%
%\usebibmacro{date}
\iffieldundef{note}{\usebibmacro{date}}%鍒ゆ柇涓涓嬶紝鏄惁鏄姤绾
{\iffieldequalstr{note}{news}{\usebibmacro{newsdate}}%鍒ゆ柇鏄惁涓烘姤绾
@@ -1445,8 +1762,8 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
\renewbibmacro*{editorstrg}{%婧愭潵鑷猙iblatex.DEF
\printtext[editortype]{%
\iffieldundef{editortype}
- {
-% \ifboolexpr{ %杩欎竴娈靛幓鎺
+ {%
+% \ifboolexpr{ %杩欎竴娈靛幓鎺夛紝鏈畾涔夌紪鑰呯被鍨嬫儏鍐典笅涓嶅鐞
% test {\ifnumgreater{\value{editor}}{1}}
% or
% test {\ifandothers{editor}}
@@ -1454,7 +1771,7 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
% {\bibstring{editors}}
% {\bibstring{editor}}
}
- {\ifbibxstring{\thefield{editortype}}
+ {\ifbibxstring{\thefield{editortype}} %瀹氫箟缂栬呯被鍨嬫儏鍐典笅澶勭悊锛屼互鍚庢牴鎹渶瑕佷慨鏀
{\ifboolexpr{
test {\ifnumgreater{\value{editor}}{1}}
or
@@ -1462,7 +1779,8 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
}
{\bibstring{\thefield{editortype}s}}
{\bibstring{\thefield{editortype}}}}
- {\thefield{editortype}}}}}
+ {\thefield{editortype}}}%
+ }}
%
% 淇敼鏈熷垔鐨勬爣棰
@@ -1476,11 +1794,11 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
\ifboolexpr{test {\iffieldundef{subtitle}}}%杩欓噷澧炲姞浜嗗瀛愭爣棰樼殑鍒ゆ柇锛岃В鍐充笉鍒ゆ柇澶氫竴涓偣鐨勯棶棰
{}{\setunit{\subtitlepunct}
\printfield[titlecase]{subtitle}}%
- %
- %\iffieldundef{usera}{}{}%鍦ㄦ爣棰樺悗鐩存帴缁欏嚭鏂囩尞鏍囪瘑瀛楁瘝
- \iftoggle{bbx:gbtype}{\printfield[gbtypeflag]{usera}}{}%
- }%鎶婄紪缁勭粨鏉熺Щ鍒拌繖閲
- }%
+ %}%鎶婄紪缁勭粨鏉熺Щ鍒板悗闈㈠幓
+ \iftoggle{bbx:gbtype}{%
+ \iffieldundef{usera}{}{%鍦ㄦ爣棰樺悗鐩存帴缁欏嚭鏂囩尞鏍囪瘑瀛楁瘝
+ \printfield[gbtypeflag]{usera}}}{}
+ }}
}
%
@@ -1524,21 +1842,6 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
\usebibmacro{issue}%
\newunit}
-%
-% 淇敼浜嗕竴涓猧nstitution+location+date鐢ㄤ簬report绛夌被鍨
-%
-% 20180425锛寁1.0k锛屽鍔犱簡瀛椾綋鎺у埗鍛戒护锛宧zz
-\renewbibmacro*{institution+location+date}{\bibpubfont%褰撴病鏈塱nstitution鏃朵笉澶勭悊銆
- \printlist{location}%
- \iflistundef{institution}
- {\setunit*{\addcomma\space}}
- {\setunit*{\addcolon\space}}%
- \printlist{institution}%
- \setunit*{\addcomma\space}%
- \usebibmacro{date}%
- %\usebibmacro{modifydate}%
- %\newunit
- }
%
% 淇敼in:鐢ㄤ簬inbook銆乮ncollection銆乮nproceedings绛夌被鍨
@@ -1546,7 +1849,7 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
%
% 鍘熺悊鏂规硶:浣跨敤bibmacro{in:}鏀瑰彉浜嗕互鍓嶅湪driver涓洿鎺ヨ緭鍑//鐨勬柟寮忥紝鍚屾椂涔熺畝鍖栦簡鏍囩偣鎺у埗銆
\renewbibmacro*{in:}{%
- \iftoggle{bbx:gbpunctin}{\printtext{\texttt{//}\addthinspace}}%
+ \iftoggle{bbx:gbpunctin}{\printtext{\texttt{//}\allowbreak}}%\addthinspace
{\setunit{\adddot\addspace}\printtext{\bibstring{in}}}}%\newunit\newblock\intitlepunct
%
@@ -1556,12 +1859,7 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{author/editor+others/translator+others}%
-\ifnameundef{author}{%杩欎竴娈电敤浜庡幓闄や綔鑰呬笉瀛樺湪鏃跺鍑虹殑鏍囩偣
-\ifnameundef{editor}{%
-\ifnameundef{translator}{\relax}%
-{\setunit{\labelnamepunct}\newblock}}%
-{\setunit{\labelnamepunct}\newblock}}%
-{\setunit{\labelnamepunct}\newblock}%杩欎釜娉ㄩ噴鍘婚櫎鏍囬鍓嶇┖鏍
+\ifnameundef{author}{}{\setunit{\labelnamepunct}\newblock}%杩欎竴娈电敤浜庡幓闄や綔鑰呬笉瀛樺湪鏃跺鍑虹殑鏍囩偣
\usebibmacro{maintitle+title}%
\iftoggle{bbx:gbstrict}{}{%
\newunit
@@ -1570,14 +1868,14 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
\usebibmacro{byauthor}%
\newunit\newblock}%
\usebibmacro{byeditor+others}%
-\newunit\newblock%
+\newunit
\printfield{edition}%
-\newunit%
+\newunit\newblock%%
+\iftoggle{bbx:gbstrict}{}{%
\iffieldundef{maintitle}%
{\printfield{volume}%
\printfield{part}}%
{}%
-\iftoggle{bbx:gbstrict}{}{%
\newunit%
\printfield{volumes}%
\newunit\newblock%
@@ -1590,7 +1888,6 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
\usebibmacro{chapter+pages}%
\usebibmacro{doi+eprint+url}%浠庝笅闈㈢Щ鍔ㄥ埌涓婇潰鏉ワ紝鍥犱负gbt2015鐨剈rl闇鐩存帴鏀惧湪椤电爜鍚庨潰銆
\newunit\newblock%
- %\newunit
\printfield{pagetotal}%
\newunit\newblock%
\iftoggle{bbx:isbn}
@@ -1609,69 +1906,6 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
{}%
\usebibmacro{finentry}}
-%
-% 鏂囬泦涓瀽鍑烘枃鐚被鍨嬮┍鍔
-%
-
-
-% 鐩存帴鍒╃敤inbook鍋歩ncollection
-\csdef{blx@bbx@incollection}{%
- \usebibmacro{bibindex}%
- \usebibmacro{begentry}%
- \usebibmacro{author/translator+others}%
-\ifnameundef{author}{%杩欎竴娈电敤浜庡幓闄や綔鑰呬笉瀛樺湪鏃跺鍑虹殑鏍囩偣
-\ifnameundef{editor}{%
-\ifnameundef{translator}{\relax}%
-{\setunit{\labelnamepunct}\newblock}}%
-{\setunit{\labelnamepunct}\newblock}}%
-{\setunit{\labelnamepunct}\newblock}%
-%\setunit{\labelnamepunct}\newblock
-\usebibmacro{title}%
-\usebibmacro{in:}%
-%\printtext{\texttt{//}\addthinspace}%
-\usebibmacro{bybookauthor}%
-\ifnameundef{bookauthor}{}{\newunit}%鏇挎崲涓嬩竴鍙
- %\newunit\newblock
- \usebibmacro{maintitle+booktitle}%
- \newunit\newblock
-% \usebibmacro{byeditor+others}%
-% \newunit\newblock
- \printfield{edition}%
- \newunit
- \iffieldundef{maintitle}
- {\printfield{volume}%
- \printfield{part}}
- {}%
- \newunit
- \printfield{volumes}%
- \newunit\newblock
- \usebibmacro{series+number}%
- \newunit\newblock
- %\printfield{note}%
- %\newunit\newblock
- \usebibmacro{publisher+location+date}%
- %\newunit\newblock
- \usebibmacro{chapter+pages}%
- %\newunit\newblock
- \usebibmacro{doi+eprint+url}%
- \newunit\newblock
- \iftoggle{bbx:isbn}
- {\printfield{isbn}}
- {}%
- \newunit\newblock
-% \usebibmacro{doi+eprint+url}%
-% \newunit\newblock
- \usebibmacro{addendum+pubstate}%
- \setunit{\bibpagerefpunct}\newblock
- \usebibmacro{pageref}%
- \newunit\newblock
- \iftoggle{bbx:related}
- {\usebibmacro{related:init}%
- \usebibmacro{related}}
- {}%
- \usebibmacro{finentry}}
-
-
%
% 鏈熷垔鏂囩珷锛岃繛缁嚭鐗堢墿涓殑鏋愬嚭鏂囩尞鐨勬牸寮
@@ -1680,7 +1914,7 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{author/translator+others}%
- \setunit{\labelnamepunct}\newblock
+\ifnameundef{author}{}{\setunit{\labelnamepunct}\newblock}%杩欎竴娈电敤浜庡幓闄や綔鑰呬笉瀛樺湪鏃跺鍑虹殑鏍囩偣
\usebibmacro{title}%
\iftoggle{bbx:gbstrict}{}{%
\newunit%
@@ -1698,6 +1932,7 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
% \usebibmacro{byeditor+others}%
% \newunit
\usebibmacro{note+pages}%
+ \iffieldequalstr{note}{news}{}{\usebibmacro{modifydate}}%甯︽嫭鍙风殑淇敼鎴栨洿鏂版棩鏈燂紝褰撴槸鏂伴椈鏃朵笉杈撳嚭
\usebibmacro{doi+eprint+url}%浠庡悗闈㈢Щ涓婃潵锛岃皟鏁磚rl鍜岄〉鐮佷箣闂寸殑浣嶇疆
\newunit\newblock
\iftoggle{bbx:isbn}
@@ -1761,7 +1996,7 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{author}%
- \setunit{\labelnamepunct}\newblock
+\ifnameundef{author}{}{\setunit{\labelnamepunct}\newblock}%杩欎竴娈电敤浜庡幓闄や綔鑰呬笉瀛樺湪鏃跺鍑虹殑鏍囩偣
%\usebibmacro{title}%
\usebibmacro{patenttitle}%缁欏嚭涓撳埄涓撶敤鐨勬爣棰樿緭鍑
\iftoggle{bbx:gbstrict}{}{%
@@ -1805,13 +2040,7 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{author/editor+others/translator+others}%
- \ifnameundef{author}{%杩欎竴娈电敤浜庡幓闄や綔鑰呬笉瀛樺湪鏃跺鍑虹殑鏍囩偣
-\ifnameundef{editor}{%
-\ifnameundef{translator}{\relax}%
-{\setunit{\labelnamepunct}\newblock}}%
-{\setunit{\labelnamepunct}\newblock}}%
-{\setunit{\labelnamepunct}\newblock}%
- %\setunit{\labelnamepunct}\newblock
+\ifnameundef{author}{}{\setunit{\labelnamepunct}\newblock}%杩欎竴娈电敤浜庡幓闄や綔鑰呬笉瀛樺湪鏃跺鍑虹殑鏍囩偣
\usebibmacro{title}%
\iftoggle{bbx:gbstrict}{}{%
\newunit%
@@ -1819,16 +2048,17 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
\newunit\newblock
\usebibmacro{byauthor}%
\newunit\newblock
- \usebibmacro{byeditor+others}}%
+ \usebibmacro{byeditor+others}%
\newunit\newblock
- \printfield{version}%
+ \printfield{note}}%
\newunit
- \printfield{note}%
+ \printfield{version}%
\newunit\newblock
- \printlist{organization}%
+%\printlist{organization}%
+ \printlist{institution}%
\newunit\newblock
%\usebibmacro{date}%
- \usebibmacro{modifydate}%淇敼涓哄甫鎷彿鐨勬椂闂
+ \usebibmacro{modifydate}%淇敼鎴栨洿鏂版棩鏈燂紝涓哄甫鎷彿鐨勬椂闂
\usebibmacro{url+urldate}%浠庝笅闈㈢Щ涓婃潵
\newunit\newblock
\iftoggle{bbx:eprint}
@@ -1850,48 +2080,6 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
%
-% 瀛︿綅璁烘枃淇敼
-%
-\csdef{blx@bbx@thesis}{%婧愭潵鑷猻tandard.BBX
- \usebibmacro{bibindex}%
- \usebibmacro{begentry}%
- \usebibmacro{author}%
- \setunit{\labelnamepunct}\newblock
- \usebibmacro{title}%
- \iftoggle{bbx:gbstrict}{}{%
- \newunit%
- \printlist{language}%
- \newunit\newblock
- \usebibmacro{byauthor}%
- \newunit\newblock
- \printfield{note}%
- \newunit\newblock
- \printfield{type}}%
- \newunit\newblock
- \usebibmacro{institution+location+date}%
- %\newunit\newblock
- \usebibmacro{chapter+pages}%
- \usebibmacro{doi+eprint+url}%
- \newunit
- \printfield{pagetotal}%
- \newunit\newblock
- \iftoggle{bbx:isbn}
- {\printfield{isbn}}
- {}%
- \newunit\newblock
-% \usebibmacro{doi+eprint+url}%
-% \newunit\newblock
- \usebibmacro{addendum+pubstate}%
- \setunit{\bibpagerefpunct}\newblock
- \usebibmacro{pageref}%
- \newunit\newblock
- \iftoggle{bbx:related}
- {\usebibmacro{related:init}%
- \usebibmacro{related}}
- {}%
- \usebibmacro{finentry}}
-
-%
% 鎶ュ憡绫诲瀷椹卞姩
% 2016-11-11锛屽鍔犱簡璇戣呬俊鎭
%
@@ -1899,7 +2087,7 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{author}%
- \setunit{\labelnamepunct}\newblock
+\ifnameundef{author}{}{\setunit{\labelnamepunct}\newblock}%杩欎竴娈电敤浜庡幓闄や綔鑰呬笉瀛樺湪鏃跺鍑虹殑鏍囩偣
\usebibmacro{title}%
\iftoggle{bbx:gbstrict}{}{%
\newunit%
@@ -1917,7 +2105,7 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
\newunit
\printfield{note}%
\newunit\newblock
- \usebibmacro{institution+location+date}%
+ \usebibmacro{publisher+location+date}%
%\newunit\newblock
\usebibmacro{chapter+pages}%
\usebibmacro{doi+eprint+url}%
@@ -1944,12 +2132,12 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
% 鎵嬪唽绫诲瀷椹卞姩
% 2016-11-11锛屽鍔犱簡璇戣呬俊鎭
%
-% 鐩存帴鍒╃敤report鍋歮anual
+%
\csdef{blx@bbx@manual}{%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{author}%
- \setunit{\labelnamepunct}\newblock
+\ifnameundef{author}{}{\setunit{\labelnamepunct}\newblock}%杩欎竴娈电敤浜庡幓闄や綔鑰呬笉瀛樺湪鏃跺鍑虹殑鏍囩偣
\usebibmacro{title}%
\iftoggle{bbx:gbstrict}{}{%
\newunit%
@@ -1970,6 +2158,7 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
\usebibmacro{institution+location+date}%
%\newunit\newblock
\usebibmacro{chapter+pages}%
+ \usebibmacro{modifydate}%淇敼鎴栨洿鏂版棩鏈燂紝涓哄甫鎷彿鐨勬椂闂
\usebibmacro{doi+eprint+url}%
\newunit
\printfield{pagetotal}%
@@ -1998,7 +2187,7 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{author/editor+others/translator+others}%
- \setunit{\printdelim{nametitledelim}}\newblock
+\ifnameundef{author}{}{\setunit{\labelnamepunct}\newblock}%杩欎竴娈电敤浜庡幓闄や綔鑰呬笉瀛樺湪鏃跺鍑虹殑鏍囩偣
\usebibmacro{title}%
\iftoggle{bbx:gbstrict}{}{%
\newunit
@@ -2033,152 +2222,32 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
%
-% 浼氳璁烘枃鏂囩尞绫诲瀷椹卞姩
-%
-\csdef{blx@bbx@inproceedings}{%婧愭潵鑷猻tandard.BBX
- \usebibmacro{bibindex}%
- \usebibmacro{begentry}%
- \usebibmacro{author/translator+others}%
- \setunit{\labelnamepunct}\newblock
- \usebibmacro{title}%
-% \newunit
-% \printlist{language}%
-% \newunit\newblock
-% \usebibmacro{byauthor}%
-% \newunit\newblock
-\usebibmacro{in:}%
-%\printtext{\texttt{//}\addthinspace}%
- \usebibmacro{bybookauthor}%鐢ㄧ被浼糹nbook鐨勬柟寮忓鐞
- \ifnameundef{bookauthor}{}{\newunit}%鏇挎崲涓嬩竴鍙
- %\newunit\newblock
- \usebibmacro{maintitle+booktitle}%
- \newunit\newblock
- \usebibmacro{event+venue+date}%
- \newunit\newblock
-% \usebibmacro{byeditor+others}%
-% \newunit\newblock
- \iffieldundef{maintitle}
- {\printfield{volume}%
- \printfield{part}}
- {}%
- \newunit
- \printfield{volumes}%
- \newunit\newblock
- \iftoggle{bbx:gbstrict}{}{%
- \usebibmacro{series+number}%
- \newunit\newblock
- \printfield{note}%
- \newunit\newblock
- \printlist{organization}%
- \newunit}
- \usebibmacro{publisher+location+date}%
- %\newunit\newblock
- \usebibmacro{chapter+pages}%
- \newunit\newblock
- \iftoggle{bbx:isbn}
- {\printfield{isbn}}
- {}%
- \newunit\newblock
- \usebibmacro{doi+eprint+url}%
- \newunit\newblock
- \usebibmacro{addendum+pubstate}%
- \setunit{\bibpagerefpunct}\newblock
- \usebibmacro{pageref}%
- \newunit\newblock
- \iftoggle{bbx:related}
- {\usebibmacro{related:init}%
- \usebibmacro{related}}
- {}%
- \usebibmacro{finentry}}
-
-%
-% 浼氳璁烘枃闆嗘枃鐚被鍨嬮┍鍔
-%
-\csdef{blx@bbx@proceedings}{%婧愭潵鑷猻tandard.BBX
- \usebibmacro{bibindex}%
- \usebibmacro{begentry}%
- %\usebibmacro{editor+others}%
- \usebibmacro{author/translator+others}%
- \setunit{\labelnamepunct}\newblock
- \usebibmacro{maintitle+title}%
- \iftoggle{bbx:gbstrict}{}{%
- \newunit%
- \printlist{language}}%
- \newunit\newblock
- \usebibmacro{event+venue+date}%
- \newunit\newblock
-% \usebibmacro{byeditor+others}%
-% \newunit\newblock
- \iffieldundef{maintitle}
- {\printfield{volume}%
- \printfield{part}}
- {}%
- \newunit
- \printfield{volumes}%
- \newunit\newblock
- \iftoggle{bbx:gbstrict}{}{%
- \usebibmacro{series+number}%
- \newunit\newblock
- \printfield{note}%
- \newunit\newblock
- \printlist{organization}%
- \newunit}
- \usebibmacro{publisher+location+date}%
- %\newunit\newblock
- \usebibmacro{chapter+pages}%
- \usebibmacro{doi+eprint+url}%浠庝笅闈㈢Щ涓婃潵
- \newunit
- \printfield{pagetotal}%
- \newunit\newblock
- \iftoggle{bbx:isbn}
- {\printfield{isbn}}
- {}%
- \newunit\newblock
-% \usebibmacro{doi+eprint+url}%
-% \newunit\newblock
- \usebibmacro{addendum+pubstate}%
- \setunit{\bibpagerefpunct}\newblock
- \usebibmacro{pageref}%
- \newunit\newblock
- \iftoggle{bbx:related}
- {\usebibmacro{related:init}%
- \usebibmacro{related}}
- {}%
- \usebibmacro{finentry}}
-
-
-%
% 涓撹憲涓殑鏋愬嚭鏂囩尞鐨勬牸寮忎慨鏀
%
\csdef{blx@bbx@inbook}{%婧愭潵鑷猻tandard.bbx
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{author/translator+others}%
-\ifnameundef{author}{%杩欎竴娈电敤浜庡幓闄や綔鑰呬笉瀛樺湪鏃跺鍑虹殑鏍囩偣
-\ifnameundef{editor}{%
-\ifnameundef{translator}{\relax}%
-{\setunit{\labelnamepunct}\newblock}}%
-{\setunit{\labelnamepunct}\newblock}}%
-{\setunit{\labelnamepunct}\newblock}%
-%\setunit{\labelnamepunct}\newblock
+\ifnameundef{author}{}{\setunit{\labelnamepunct}\newblock}%杩欎竴娈电敤浜庡幓闄や綔鑰呬笉瀛樺湪鏃跺鍑虹殑鏍囩偣
\usebibmacro{title}%
\usebibmacro{in:}%
-%\printtext{\texttt{//}\addthinspace}%%\texttt{//}\addnbthinspace
-\usebibmacro{bybookauthor}%
-\ifnameundef{bookauthor}{}{\newunit}%鏇挎崲涓嬩竴鍙newblock
-%\newunit\newblock
-\usebibmacro{maintitle+booktitle}%}%
- \newunit\newblock
+%\printtext{\texttt{//}\addthinspace}%
+ \usebibmacro{bybookauthor}%
+ \ifnameundef{bookauthor}{}{\newunit}%鏇挎崲涓嬩竴鍙
+ %\newunit\newblock
+ \usebibmacro{maintitle+booktitle}%
+ \setunit{\addcolon}\printfield{volume}\printfield{number}%澧炲姞鍗峰拰鍐屼俊鎭
+ \newunit\newblock%
% \usebibmacro{byeditor+others}%
% \newunit\newblock
\printfield{edition}%
\newunit
- \iffieldundef{maintitle}
- {\printfield{volume}%
- \printfield{part}}
- {}%
\iftoggle{bbx:gbstrict}{}{%
- \newunit
+% \iffieldundef{maintitle}
+% {\printfield{volume}%
+% \printfield{part}}
+% {}%
+% \newunit
\printfield{volumes}%
\newunit\newblock
\usebibmacro{series+number}}%
@@ -2208,65 +2277,7 @@ test {\iflistundef{location}} and test {\iflistundef{publisher}}%
\usebibmacro{finentry}}
-%
-%
-% 鏂囬泦绫诲瀷椹卞姩
-%
-% 鐩存帴鍒╃敤book鍋歝ollection
-\csdef{blx@bbx@collection}{%
- \usebibmacro{bibindex}%
- \usebibmacro{begentry}%
-\usebibmacro{author/editor+others/translator+others}
-\ifnameundef{author}{%杩欎竴娈电敤浜庡幓闄や綔鑰呬笉瀛樺湪鏃跺鍑虹殑鏍囩偣
- \ifnameundef{editor}{%
- \ifnameundef{translator}{\relax}%
- {\setunit{\labelnamepunct}\newblock}}%
- {\setunit{\labelnamepunct}\newblock}}%
- {\setunit{\labelnamepunct}\newblock}%
- \usebibmacro{maintitle+title}
- \iftoggle{bbx:gbstrict}{}{%
- \newunit%
- \printlist{language}%
- \newunit\newblock
- \usebibmacro{byauthor}}%
- \newunit\newblock
- \usebibmacro{byeditor+others}%
- \newunit\newblock
- \printfield{edition}%
- \newunit
- \iffieldundef{maintitle}
- {\printfield{volume}%
- \printfield{part}}
- {}%
- \newunit
- \printfield{volumes}%
- \newunit\newblock
- \usebibmacro{series+number}%
- \newunit\newblock
- %\printfield{note}%
- %\newunit\newblock
- \usebibmacro{publisher+location+date}%
- %\newunit\newblock %杩欓噷鏍囩偣鍘绘帀
- \usebibmacro{chapter+pages}%
- \usebibmacro{doi+eprint+url}%浠庝笅闈㈢Щ鍔ㄥ埌涓婇潰鏉ワ紝鍥犱负gbt2015鐨剈rl闇鐩存帴鏀惧湪椤电爜鍚庨潰銆
- \newunit\newblock
- \printfield{pagetotal}%
- \newunit\newblock
- \iftoggle{bbx:isbn}
- {\printfield{isbn}}
- {}%
- \newunit\newblock
- %\usebibmacro{doi+eprint+url}%
- %\newunit\newblock
- \usebibmacro{addendum+pubstate}%
- \setunit{\bibpagerefpunct}\newblock
- \usebibmacro{pageref}%
- \newunit\newblock
- \iftoggle{bbx:related}
- {\usebibmacro{related:init}%
- \usebibmacro{related}}
- {}%
- \usebibmacro{finentry}}
+
}{}
}
diff --git a/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015ms.cbx b/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015ms.cbx
index 165c133a4cd..2011cd03af8 100644
--- a/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015ms.cbx
+++ b/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015ms.cbx
@@ -7,7 +7,8 @@
%% Released under the LaTeX Project Public License v1.3c or later
%% ---------------------------------------------------------------
%%
-\ProvidesFile{gb7714-2015.cbx}[2018/11/04 v1.0n biblatex citation style]
+\def\versionofgbtstyle{2019/01/19 v1.0p}
+\ProvidesFile{gb7714-2015.cbx}[\versionofgbtstyle biblatex citation style]
%
% 鍔犺浇鏍囧噯鏍峰紡