From f981ead0d5ebfe93234e3ef1eb9c90e387fe2425 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 11 Nov 2016 22:44:29 +0000 Subject: biblatex-gb7714-2015 (11nov16) git-svn-id: svn://tug.org/texlive/trunk@42485 c570f23f-e606-0410-a88d-b1316a301751 --- .../doc/latex/biblatex-gb7714-2015/README.md | 15 +- .../biblatex-gb7714-2015-preamble.tex | 259 +++++++++++ .../biblatex-gb7714-2015/biblatex-gb7714-2015.pdf | Bin 368213 -> 405175 bytes .../biblatex-gb7714-2015/biblatex-gb7714-2015.tex | 503 ++++++++------------- .../source/latex/biblatex-gb7714-2015/gbtclean.bat | 2 + .../tex/latex/biblatex-gb7714-2015/gb7714-2015.bbx | 294 +++--------- .../tex/latex/biblatex-gb7714-2015/gb7714-2015.cbx | 3 +- .../latex/biblatex-gb7714-2015/gb7714-2015ay.bbx | 142 ++---- .../latex/biblatex-gb7714-2015/gb7714-2015ay.cbx | 3 +- 9 files changed, 586 insertions(+), 635 deletions(-) create mode 100644 Master/texmf-dist/doc/latex/biblatex-gb7714-2015/biblatex-gb7714-2015-preamble.tex create mode 100755 Master/texmf-dist/source/latex/biblatex-gb7714-2015/gbtclean.bat (limited to 'Master') diff --git a/Master/texmf-dist/doc/latex/biblatex-gb7714-2015/README.md b/Master/texmf-dist/doc/latex/biblatex-gb7714-2015/README.md index ab065d064e0..42ba45ce96e 100644 --- a/Master/texmf-dist/doc/latex/biblatex-gb7714-2015/README.md +++ b/Master/texmf-dist/doc/latex/biblatex-gb7714-2015/README.md @@ -1,4 +1,4 @@ -Date of last change:2016-10-23 +Date of last change:2016-11-11 to version v1.0b # biblatex-gb7714-2015: a biblatex style package --------------------------------------------------------- @@ -30,7 +30,18 @@ please see the file 'biblatex-gb7714-2015.pdf' for more information! update history: -date of change: 2016-10-23 +date of change: 2016-11-11 to version v1.0b + +* Changes to pkg code:to match the GBT7714-2015 standard +- "*.bbx",: change a few local strings from english.blx such as bibliography,references +- "*.bbx",: set new maxnamenumber for authoryear style +- "*.bbx",: add translator field and modify version format for report and manual driver +- "*.bbx",: remove the space before edition/version field, which was brought in with testCJKfirst function + +* Changes to documentation: +- biblatex-gb7714-2015.tex: correct a few flaws and add more instructions. + +date of change: 2016-10-23 to version v1.0a * Changes to pkg code: - "*.bbx","*.cbx": add some information like version information. diff --git a/Master/texmf-dist/doc/latex/biblatex-gb7714-2015/biblatex-gb7714-2015-preamble.tex b/Master/texmf-dist/doc/latex/biblatex-gb7714-2015/biblatex-gb7714-2015-preamble.tex new file mode 100644 index 00000000000..6ee918d4db9 --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex-gb7714-2015/biblatex-gb7714-2015-preamble.tex @@ -0,0 +1,259 @@ +\usepackage{bbding} + +\usepackage{expl3,etoolbox,ifthen,xstring} +\usepackage{ctex} +\usepackage{xeCJKfntef} +\usepackage[paperwidth=210mm,paperheight=290mm,left=20mm,right=20mm,top=25mm, bottom=15mm]{geometry} %定义版面 + +\usepackage[colorlinks=true,% +pdfstartview=FitH,linkcolor=blue,anchorcolor=violet,citecolor=magenta]{hyperref} %书签功能,选项去掉链接红色方框 +\usepackage{titleref} %标题引用 +%linkcolor=black,linkcolor=green,blue,red,cyan, magenta, +%yellow, black, gray,white, darkgray, lightgray, brown, +%lime, olive, orange, red,purple, teal, violet. +%CJKbookmarks,bookmarksnumbered=true, + +%%%========================参考文献=============================== +%\usepackage[backend=bibtex8,sorting=none,citestyle=authoryear,bibstyle=alphabetic]{biblatex} +%采用分章的参考文献的快捷方法 +\usepackage[backend=biber,bibstyle=gb7714-2015,%nature,% +citestyle=gb7714-2015,backref=true%gb,gbt7714_2005_n, +]{biblatex}%biber,caspervector +%\renewcommand{\bibfont}{\zihao{-5}\songti} +\setlength{\bibitemsep}{2pt} +\defbibheading{bibliography}[\bibname]{% +\phantomsection%解决链接指引出错的问题,相当于加入了一个引导点 +\addcontentsline{toc}{subsection}{#1} + \centering\subsubsection*{#1}}% + +\addbibresource[location=local]{paperone.bib} +%参考文献的bib文件 +% \markboth{#1}{#1}} +%注意在实际使用中用titsec宏包的页眉页脚也有点问题,一旦给出markboth就会出现问题 +%这里因为bibliography给出了markboth所以出错。因此重定义bibliography以消除问题 +%重定义命令中去掉了markboth那一句命令。 +%常用样式 +%style=trad-plain +%style=trad-unsrt +%style=trad-alpha +%style=trad-abbrv +%style=musuos +%style=nature +%style=nejm %New England Journal of Medicine +%style=phys %follows the guidelines of the aip and aps +%bibstyle=publist +%style=science %follows the guidelines of the journal Science + +%style=ieee % follows the guidelines of the ieee. +%style=ieee-alphabetic +%bibstyle=manuscripts,otheroption +%style=chem-acs %American Chemistry Society journals. +%style=chem-angew %Angewandte Chemie Chemistry – A European Journal. +%style=chem-biochem %Biochemistry and a small number of other American Chemistry Society journals. +%style=chem-rsc %Royal Society of Chemistry journals. +%style=authortitle-dw +%style=footnote-dw +%%%================================================================= + +%自定义下划红线和背景颜色 +\usepackage{ulem} +\newcommand\yellowback{\bgroup\markoverwith +{\textcolor{yellow}{\rule[-0.5ex]{2pt}{2.5ex}}}\ULon} +\newcommand\reduline{\bgroup\markoverwith +{\textcolor{red}{\rule[-0.5ex]{2pt}{0.4pt}}}\ULon} + +\usepackage{subfigure} +\usepackage[subfigure]{tocloft} %注意其与titletoc共用时分页会有问题 +\usepackage{ccaption} +\captiondelim{. } %图序图题中间的间隔符号 +\captionnamefont{\zihao{-5}\heiti} %图序样式 +\captiontitlefont{\zihao{-5}} %图题样式 +\captionwidth{0.8\linewidth} %标题宽度 +\changecaptionwidth +%\captionstyle{