% !Mode:: "TeX:UTF-8" % 用于测试gb7714-2015样式,对于出版项缺省的控制和选项 % 测试gbpub=true选项 \documentclass[twoside]{article} \usepackage{ctex} \usepackage[top=10pt,bottom=10pt,left=1cm,right=1cm,paperheight=4.5cm]{geometry} \usepackage{xcolor} \usepackage[CJKbookmarks,colorlinks,bookmarksnumbered=true,pdfstartview=FitH,linkcolor=blue]{hyperref} \usepackage[backend=biber,style=gb7714-2015,gbpub=true]{biblatex}%align=gb7714-2015,gbpub=false \usepackage{filecontents} \begin{filecontents}{\jobname.bib} @Book{booknolocation, Title = {出版研究}, Author = {余敏}, Date = {2001}, Publisher = {书籍出版社} } @Book{booknopublisher, Title = {出版研究}, Author = {余敏}, Date = {2001}, Location = {北京} } @Book{booknopub, Title = {出版研究}, Author = {余敏}, Date = {2001}, } @Book{Parsons2000noloc--, Title = {Radio}, Author = {Parsons, J. D.}, Publisher = {John Wiley and Sons}, Year = {2000} } @Book{Parsons2000nopublisher, Title = {Radio}, Address = {Hoboken}, Author = {Parsons, J. D.}, Year = {2000} } @Book{Parsons2000nopub, Title = {Radio}, Author = {Parsons, J. D.}, Year = {2000} } \end{filecontents} \addbibresource{\jobname.bib} \renewcommand{\bibfont}{\zihao{-5}} \begin{document} %%%测试作者年/biblatex版本兼容性的文件 %%%test file for author year style %\section{测试gb7714-2015样式对于出版项缺省的控制和gbpub=true选项} \nocite{*} { %\hyphenation{kurose-gawa} %\hyphenpenalty=1000 %\tolerance=500 \printbibliography[heading=none] } \end{document}