Skip to content

Commit

Permalink
v1.0i 20171121
Browse files Browse the repository at this point in the history
  • Loading branch information
hushidong committed Nov 21, 2017
1 parent 67a33ca commit c53419e
Show file tree
Hide file tree
Showing 20 changed files with 292 additions and 166 deletions.
20 changes: 14 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<b>Date of last change:2017-04-11 to version v1.0h</b>
<b>Date of last change:2017-11-21 to version v1.0i</b>


# biblatex-gb7714-2015: a biblatex style package
Expand All @@ -13,9 +13,9 @@ Homepage: <https://github.com/hushidong/biblatex-gb7714-2015>
License: LaTeX Project Public License 1.3 or later


A biblatex implementation of the GBT7714-2015 bibliography style for Chinese users
A biblatex implementation of the GB/T7714-2015 bibliography style for Chinese users

The biblatex-gb7714-2015 package provides an implementation of the bibliography style of the GBT7714-2015 bibliography style. This implementation follows GBT7714-2015 standard, and can be used simply by loading biblatex with the appropriate option
The biblatex-gb7714-2015 package provides an implementation of the bibliography style of the GB/T7714-2015 bibliography style. This implementation follows GB/T7714-2015 standard, and can be used simply by loading biblatex with the appropriate option

## usage
%for numerical sequence style
Expand All @@ -42,18 +42,26 @@ The biblatex-gb7714-2015 package provides an implementation of the bibliography

`perl gb7714texttobib.pl in=textfilename out=bibfilename`

A demonstration database is provided to show how to format input for the style. The biblatex-gb7714-2015 style works with texlive2014, texlive2015, texlive2016 and so on.
A demonstration database is provided to show how to format input for the style. The biblatex-gb7714-2015 style works with texlive2014, texlive2015, texlive2016, texlive2017 and so on.

please see the file 'biblatex-gb7714-2015.pdf' for more information!

---------------------------------------------------------

## update history:

### date of change: 2017-11-21 to version v1.0i
* Changes to pkg code:
- "*.bbx": deal compatibility problem of author-year style for biblatex v3.8a, include labeldate->labeldateparts and DeclareSortingScheme -> DeclareSortingTemplate.
- "*.bbx": change the version judgement macro,using macro form pkg xstring.
- "*.bbx": replace the \iffieldundef{year} by \iffieldequalstr{year}{} in \newbibmacro*{modifydate}, for the year field is defined with empty string for biblatex version >3.7 after biber dealing with none date info.



### date of change: 2017-04-11 to version v1.0h, the last version support texlive2015
* Changes to pkg code:
- "*.bbx": deal compatibility problem of author style for texlive2017, because the old cmd printdateextralabel with biblatex3.4 has been replaced by printlabeldateextra with biblatex3.7 in texlive2017.
- "*.bbx": change the seperator between multi-language reference text form cmd par to cmd newline for the gb7714-2015 align style
- "*.bbx": deal compatibility problem of author year style for texlive2017, because the old cmd printdateextralabel with biblatex3.4 has been replaced by printlabeldateextra with biblatex3.7 in texlive2017.
- "*.bbx": change the seperator between multi-language reference text from cmd par to cmd newline for the gb7714-2015 align style
- "*.bbx": fix a flaw reported by Lee Zeping. remove the comma between journaltitle and (number) when the volume is undefined.
- "*.bbx": add an option gbpub to control the publishing info. if gbpub=false, publishing info's format is the biblatex standard style, otherwise is gb7714-2015 style. The origin idea comes from Wayne08.
- "*.bbx": fix a flaw reported by zjsdut@163.com. remove the dot before url when url is the only info available。
Expand Down
Binary file modified biblatex-gb7714-2015-beamer.pdf
Binary file not shown.
102 changes: 81 additions & 21 deletions biblatex-gb7714-2015-content.tex

Large diffs are not rendered by default.

Binary file modified biblatex-gb7714-2015.pdf
Binary file not shown.
Binary file modified biblatex-gb7714-2015ay-beamer.pdf
Binary file not shown.
Binary file modified biblatex-gb7714-2015ay.pdf
Binary file not shown.
Binary file modified egbibenv-gb7714-2015.pdf
Binary file not shown.
Binary file modified egbibenv-left.pdf
Binary file not shown.
Binary file modified egbibenv-right.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion egspecialchar.bib
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%% LaTeX2e file `egspecialchar.bib'
%% generated by the `filecontents' environment
%% from source `biblatex-gb7714-2015ay' on 2017/07/04.
%% from source `biblatex-gb7714-2015' on 2017/11/21.
%%
@Inproceedings{ref-replace-char,
Title = {Cognitive Radio and Cooperative Strategies for Power Saving in Multi-Standard Wireless Devices},
Expand Down
Binary file added egtest.pdf
Binary file not shown.
11 changes: 9 additions & 2 deletions egtest.tex
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
\documentclass[twoside]{article}
\usepackage{ctex}
\usepackage{geometry}
\geometry{paperwidth=21cm,paperheight=29cm,top=1.5cm, bottom=1.5cm, left=1cm,right=1cm}
\geometry{paperwidth=21cm,paperheight=29cm,top=1.5cm, bottom=1.5cm, left=2.54cm,right=2.54cm}
\usepackage{xcolor}
\usepackage[CJKbookmarks,colorlinks,bookmarksnumbered=true,pdfstartview=FitH,linkcolor=blue]{hyperref}
\usepackage[backend=biber,style=gb7714-2015ay]{biblatex}%align=gb7714-2015
Expand All @@ -14,7 +14,8 @@

\begin{document}


%%%测试作者年/biblatex版本兼容性的文件
%%%test file for author year style

\section{文献表}
文献\cite{Saito2006-169-176}
Expand All @@ -23,6 +24,12 @@ \section{文献表}
\cite{Haemaelaeinen2002-1712-1721}
\cite{Oetiker2011--}
\cite{刘彻东1998-38-39}
\cite{Commonwealth--}

{
\hyphenation{kurose-gawa}
%\hyphenpenalty=1000
%\tolerance=500
\printbibliography%[heading=subbibintoc,title=【参考文献】]
}
\end{document}
Loading

0 comments on commit c53419e

Please sign in to comment.