summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/gbt7714
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-05-22 20:58:47 +0000
committerKarl Berry <karl@freefriends.org>2018-05-22 20:58:47 +0000
commit12cab12548df582e0a7816b48aae10f79bdf430f (patch)
treea859df308620415524d29b0a40b0b2aa3e1693fb /Master/texmf-dist/tex/latex/gbt7714
parent8877a03ea3c158d7a486d14c9cc37dc2134731ef (diff)
gbt7714 (22may18)
git-svn-id: svn://tug.org/texlive/trunk@47792 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/gbt7714')
-rw-r--r--Master/texmf-dist/tex/latex/gbt7714/gbt7714.sty42
1 files changed, 19 insertions, 23 deletions
diff --git a/Master/texmf-dist/tex/latex/gbt7714/gbt7714.sty b/Master/texmf-dist/tex/latex/gbt7714/gbt7714.sty
index 3397dadc602..266ac210a18 100644
--- a/Master/texmf-dist/tex/latex/gbt7714/gbt7714.sty
+++ b/Master/texmf-dist/tex/latex/gbt7714/gbt7714.sty
@@ -9,21 +9,16 @@
%% Copyright (C) 2016-2018 by Zeping Lee <zepinglee AT gmail.com>
%%
%% This file may be distributed and/or modified under the
-%% conditions of the LaTeX Project Public License, either
-%% version 1.2 of this license or (at your option) any later
-%% version. The latest version of this license is in:
-%%
-%% http://www.latex-project.org/lppl.txt
-%%
-%% and version 1.2 or later is part of all distributions of
-%% LaTeX version 1999/12/01 or later.
-%%
-%% This BibTeX style file is derived from `plainnat.bst' by Patrick W Daly,
-%% which was designed for use with the `natbib.sty' package.
+%% conditions of the LaTeX Project Public License, either version 1.3c
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% https://www.latex-project.org/lppl.txt
+%% and version 1.3c or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{gbt7714}
- [2018/03/16 v1.0.3 GB/T 7714-2015 BibTeX Style]
+ [2018/05/12 v1.0.7 GB/T 7714-2015 BibTeX Style]
\newif\if@gbt@numerical
\newif\if@gbt@super
\DeclareOption{super}{\@gbt@numericaltrue\@gbt@supertrue}
@@ -32,16 +27,6 @@
\DeclareOption*{\PassOptionsToPackage{\CurrentOption}{natbib}}
\ExecuteOptions{super}
\ProcessOptions\relax
-\RequirePackage{url}
-\g@addto@macro\UrlBreaks{%
- \do\a\do\b\do\c\do\d\do\e\do\f\do\g\do\h\do\i\do\j%
- \do\k\do\l\do\m\do\n\do\o\do\p\do\q\do\r\do\s\do\t%
- \do\u\do\v\do\w\do\x\do\y\do\z%
- \do\A\do\B\do\C\do\D\do\E\do\F\do\G\do\H\do\I\do\J%
- \do\K\do\L\do\M\do\N\do\O\do\P\do\Q\do\R\do\S\do\T%
- \do\U\do\V\do\W\do\X\do\Y\do\Z%
- \do\1\do\2\do\3\do\4\do\5\do\6\do\7\do\8\do\9\do\0%
-}
\if@gbt@numerical
\PassOptionsToPackage{sort&compress}{natbib}
\fi
@@ -109,5 +94,16 @@
\def@NAT@last@yr{--\NAT@penalty}%
\fi
}{%
- \def@NAT@last@yr{--\NAT@penalty}%
+ \def@NAT@last@yr{-\NAT@penalty}%
}{}{}
+\renewcommand\@biblabel[1]{[#1]\hfill}
+\RequirePackage{url}
+\g@addto@macro\UrlBreaks{%
+ \do\a\do\b\do\c\do\d\do\e\do\f\do\g\do\h\do\i\do\j%
+ \do\k\do\l\do\m\do\n\do\o\do\p\do\q\do\r\do\s\do\t%
+ \do\u\do\v\do\w\do\x\do\y\do\z%
+ \do\A\do\B\do\C\do\D\do\E\do\F\do\G\do\H\do\I\do\J%
+ \do\K\do\L\do\M\do\N\do\O\do\P\do\Q\do\R\do\S\do\T%
+ \do\U\do\V\do\W\do\X\do\Y\do\Z%
+ \do\1\do\2\do\3\do\4\do\5\do\6\do\7\do\8\do\9\do\0%
+}