diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/biblatex-gb7714-2015/example/testallformat.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/biblatex-gb7714-2015/example/testallformat.tex | 594 |
1 files changed, 9 insertions, 585 deletions
diff --git a/Master/texmf-dist/doc/latex/biblatex-gb7714-2015/example/testallformat.tex b/Master/texmf-dist/doc/latex/biblatex-gb7714-2015/example/testallformat.tex index 8af5c2182d0..abbc4173c7b 100644 --- a/Master/texmf-dist/doc/latex/biblatex-gb7714-2015/example/testallformat.tex +++ b/Master/texmf-dist/doc/latex/biblatex-gb7714-2015/example/testallformat.tex @@ -6,7 +6,7 @@ \usepackage{lipsum} \usepackage[top=10pt,bottom=10pt,left=1cm,right=1cm,showframe,showcrop]{geometry} \usepackage{xltxtra,mflogo,texnames} -\usepackage[backend=biber,style=gb7714-2015]{biblatex}%sorting=nyt +\usepackage[backend=biber,style=gb7714-2015ay]{biblatex}%sorting=nyt \usepackage{filecontents} \begin{filecontents}{\jobname.bib} @@ -790,591 +790,15 @@ author={Gom} \begin{document} -\section{测试:根据biblatex版本判断texlive年份} - -judged environment: -\iftoggle{iftlfive}{biblatex<=3.2 maybe texlive<=2015 }{}%处理biblatex3.2之前版本,时间2016-03-01前 -\iftoggle{iftlsix}{3.3<=biblatex<=3.6 maybe texlive2016 }{}%处理biblatex3.3开始改变姓名机制后版本,时间2016-03-01及以后 -\iftoggle{iftlseven}{biblatex 3.7 maybe texlive 2017 }{}%处理biblatex3.7的兼容性,时间2016-12-01后 -\iftoggle{iftleight}{biblatex 3.8-3.9 maybe texlive 2017 }{}%处理biblatex3.8到3.9的兼容性,时间2017-11-01后到2017-12-01前 -\iftoggle{iftlnine}{biblatex 3.10 maybe texlive 2017 }{}%处理biblatex10的兼容性,时间2017-12-01后 -\iftoggle{iftlatest}{biblatex >=3.11 maybe texlive 2018 }{}%假设是最新版biblatex - -biblatex version: \versionofbiblatex - -biblatex-gb7714-2015 version: \versionofgbtstyle - - -\section{测试:间距字体颜色控制} - \begin{refsection} - { - -% 换行的控制 -% -% 选项 block=none , space , par , nbpar , ragged -\renewcommand*{\newblockpunct}{\par\nobreak} - -% 字体的控制:\textit,sl,emph-楷体,\textbf,sf-黑体,\texttt-仿宋,\textsc,md,up-宋体 -% -% 全局字体 -\renewcommand{\bibfont}{\zihao{-5}}%\fangsong -% 标题字体 -\renewcommand{\bibauthorfont}{\bfseries\color{teal}}% -\renewcommand{\bibtitlefont}{\ttfamily\color{blue}}% -\renewcommand{\bibpubfont}{\itshape\color{violet}}% -% url和doi字体 -\def\UrlFont{\ttfamily} %\urlstyle{sf} %\def\UrlFont{\bfseries} - -% 间距的控制 -\setlength{\bibitemsep}{0ex} -\setlength{\bibnamesep}{0ex} -\setlength{\bibinitsep}{0ex} - -% 标点类型的控制(全局字体能控制标点的字体) - -%\renewcommand{\thefootnote}{\textcircled{\tiny\arabic{footnote}}} - - 文献 -\cite{张伯伟2002--} -\cite{白书农1998-146-163} -\cite{杨洪升2013-56-75} -\cite{中华医学会湖北分会1984--} -\cite{雷光春2012--} -\cite{贾东琴2011-45-52} -\cite{汤万金2013-09-30--} -\cite{韩吉人1985-90-99} -\cite{马欢2011-27-27} -\cite{张凯军2012-04-05--} -\cite{国家环境保护局科技标准司1996-2-3} -\cite{中国职工教育研究会1985--} -\cite{丁文祥2000--} -\cite{李强2012-05-03--} - -\cite{OBRIEN1994--} -\cite{FOURNEY1971-17-38} -\cite{Park2010-696-715} -\cite{Babu2014--} -\cite{Calkin2011-8-9} -\cite{CALMS1965--} -\cite{KOSEKI2002--} -\cite{standardinfoiso158} -\cite{Dublin2012-06-14--} - - -%\hyphenation{kurose-gawa} -%\hyphenpenalty=1000 -%\tolerance=500 -\printbibliography[heading=subbibliography,title=【参考文献】] -} - - \end{refsection} - - - - \section{测试:标注命令} - \begin{refsection} - 不带页码的引用(上标,方括号包围): - \cite{FOURNEY1971-17-38}\cite{wang2006another} - - 不带页码的引用(非上标,方括号包围): - \parencite{FOURNEY1971-17-38}\parencite{wang2006another} - \upcite{FOURNEY1971-17-38}\upcite{wang2006another} - - 带页码的引用: - \cite[见][49页]{FOURNEY1971-17-38} \parencite[见][49页]{wang2006another} - \pagescite{FOURNEY1971-17-38}\pagescite[150]{wang2006another} - - 带页码的引用,使用pagescite命令。 -\pagescite{Peebles2001-100-100}\pagescite[][201-301]{Peebles2001-100-100} -\parencite[见][49页]{Miroslav2004--}\cite[见][49页]{蔡敏2006--} - - 同时输出作者和顺序编码的三种引用方式: - - (a)直接的方法:见\citeauthor{FOURNEY1971-17-38}\cite{FOURNEY1971-17-38}, \citeauthor{wang2006another}\cite{wang2006another} - - (b)定义新的标注命令:见\authornumcite{FOURNEY1971-17-38,wang2006another} - - (c)用textcite但没有上标:见\textcite{FOURNEY1971-17-38,wang2006another} - - -作者年制文中已有作者只需给出年份和页码的引用: -见赵耀东\yearpagescite[][205]{FOURNEY1971-17-38}和Simon\yearpagescite[][15]{wang2006another}。 - -作者年制文中已有作者只需给出年份的引用,三种方式: - -见赵耀东\yearcite{FOURNEY1971-17-38},赵耀东\yearcite{wang2006another} - -见赵耀东(\cite*{FOURNEY1971-17-38}),赵耀东(\cite*{wang2006another}) - -见赵耀东(\citeyear{FOURNEY1971-17-38}),赵耀东(\citeyear{wang2006another}) - -作者年制文中无作者需要标注命令给出作者作为主语的引用: -见\textcite{FOURNEY1971-17-38},\textcite{wang2006another} - - 在页脚中引用和打印文献表: - - \footnote{在脚注中引用\footcite{FOURNEY1971-17-38}} \footfullcite{FOURNEY1971-17-38} - \footnote{在脚注中引用\footcite{wang2006another}} \footfullcite{wang2006another} - - 页脚中引用和打印文献表\footnote{参考文献在脚注中引用\footcite{赵学功2001--}} \footfullcite{赵学功2001--} - - \printbibliography - \end{refsection} - - \section{测试:顺序编码制引用多篇文献的标注} - \begin{refsection} - GB/T 7714-2015 标准 10.1.1 节,引用单篇文献: - - 文献\cite{徐伟康2010对}提到。文献\cite{FOURNEY1971-17-38}提到。(use cite)\par - 文献\parencite{徐伟康2010对}提到。文献\parencite{FOURNEY1971-17-38}提到。(use parencite)\par - \textcite{徐伟康2010对}提到。\textcite{FOURNEY1971-17-38}提到。(use textcite)\par - \authornumcite{徐伟康2010对}提到。\authornumcite{FOURNEY1971-17-38}提到。 - (use authornumcite)\par - \textcite{徐伟康2010对}提到。(use textcite) - -\bigskip - GB/T 7714-2015 标准 10.1.2 节,引用多篇文献: - - 文献\cite{杨光2015经济波动,Yi2013--}提到。(use cite)\par - 文献\parencite{杨光2015经济波动,Yi2013--}提到。(use parencite)\par - \textcite{杨光2015经济波动,Yi2013--}提到。(use textcite)\par - \authornumcite{杨光2015经济波动,Yi2013--}提到。(use authornumcite)\par - - -\bigskip - GB/T 7714-2015 标准 10.1.3 节,多次引用文献: - - 文献\pagescite[16]{杨光2015经济波动}提到。 - 文献\pagescite[16]{徐伟康2010对}提到。 - 文献\pagescite[16]{Yi2013--}提到。 - 文献\pagescite[16]{FOURNEY1971-17-38}提到。(use pagescite)\par - \authornumcite{杨光2015经济波动}提到。 - \authornumcite{徐伟康2010对}提到。 - \authornumcite{Yi2013--}提到。 - \authornumcite{FOURNEY1971-17-38}提到。(use authornumcite)\par - -\bigskip - 其它用法: - - 文献\cite[见][49页]{杨光2015经济波动}。 - 文献\parencite[见][49页]{杨光2015经济波动}。 - 见\citeauthor{杨光2015经济波动}\cite{杨光2015经济波动}。 - 文献\footnote{脚注中引用文献\footcite{杨光2015经济波动}。}。 - 文献\footfullcite{杨光2015经济波动}。 - - - \printbibliography - \end{refsection} - - \section{测试:著者年份制引用多篇文献的标注} - \begin{refsection} - GB/T 7714-2015 标准 10.2.1 节,引用单篇文献: - - 文献\cite{徐伟康2010对}提到。文献\cite{FOURNEY1971-17-38}提到。(use cite)\par - 文献\parencite{徐伟康2010对}提到。文献\parencite{FOURNEY1971-17-38}提到。(use parencite)\par - 徐伟康\yearcite{徐伟康2010对}提到。FOURNEY\yearcite[18]{FOURNEY1971-17-38}提到。(use yearcite)\par - \textcite{徐伟康2010对}提到。\textcite{FOURNEY1971-17-38}提到。(use textcite)\par - -\bigskip - GB/T 7714-2015 标准 10.2.2 节,引用单篇文献(多个作者的情况): - - 文献\cite{杨光2015经济波动}提到。文献\cite{Yi2013--}提到。(use cite)\par - 文献\parencite{杨光2015经济波动}提到。文献\parencite{Yi2013--}提到。(use parencite)\par - 杨光\ 等\yearcite{杨光2015经济波动}提到。Yi et al. \yearcite{Yi2013--}提到。(use yearcite)\par - \textcite{杨光2015经济波动}提到。\textcite{Yi2013--}提到。(use textcite)\par - - -\bigskip - GB/T 7714-2015 标准 10.2.4 节,多次引用文献: - - 文献\pagescite[16]{杨光2015经济波动}提到。 - 文献\pagescite[16]{徐伟康2010对}提到。 - 文献\pagescite[16]{Yi2013--}提到。 - 文献\pagescite[16]{FOURNEY1971-17-38}提到。(use pagescite)\par - 杨光\yearpagescite[17]{杨光2015经济波动}提到。 - 徐伟康\yearpagescite[16]{徐伟康2010对}提到。Yi\yearpagescite[17]{Yi2013--}提到。FOURNEY\yearpagescite[17]{FOURNEY1971-17-38}提到。(use yearpagescite)\par - -\bigskip - 其它用法: - - 文献\cite[见][49页]{杨光2015经济波动}。 - 文献\parencite[见][49页]{杨光2015经济波动}。 - 见赵耀东(\cite*{杨光2015经济波动})。 - 见赵耀东(\citeyear{杨光2015经济波动})。 - 文献\footnote{脚注中引用文献\footcite{杨光2015经济波动}。}。 - 文献\footfullcite{杨光2015经济波动}。 - - - \printbibliography - \end{refsection} - - - \section{测试:国标要求的条目类型} - \begin{refsection} - 条目类型:database\cite{databaseeg} - -条目类型:dataset\cite{dataseteg} - -条目类型:archive\cite{archiveeg} - -条目类型:software\cite{softwareeg} - -条目类型:map\cite{mapeg} - -条目类型:Misc\cite{Misceg} - -条目类型:ARTICLE\cite{aritileeg} - -条目类型:ARTICLE\cite{方军雄2007所有制} - -条目类型:Article\cite{abx2007-500-503} - -条目类型:ARTICLE\cite{杨洪升2013-56-75} - -条目类型:ARTICLE\cite{丁文祥2000--} - -条目类型:Book\cite{Yi2014--} - -条目类型:Book\cite{Yi2013--} - -条目类型:BOOK\cite{张伯伟2002--} - -条目类型:BOOK\cite{国家环境保护局科技标准司1996-2-3} - -条目类型:INBOOK\cite{白书农1998-146-163} - -条目类型:Periodical\cite{AAAS1883--} - -条目类型:PERIODICAL\cite{中华医学会湖北分会1984--} - -条目类型:Proceedings\cite{ROSENTHALL1963--} - -条目类型:PROCEEDINGS\cite{雷光春2012--} - -条目类型:Thesis\cite{CALMS1965--} - -条目类型:THESIS\cite{马欢2011-27-27} - -条目类型:Report\cite{WHO1970--} - -条目类型:REPORT\cite{汤万金2013-09-30--} - -条目类型:Inproceedings\cite{FOURNEY1971-17-38} - -条目类型:INPROCEEDINGS\cite{贾东琴2011-45-52} - -条目类型:COLLECTION\cite{中国职工教育研究会1985--} - -条目类型:INCOLLECTION\cite{韩吉人1985-90-99} - -条目类型:PATENT\cite{张凯军2012-04-05--} - - \printbibliography - \end{refsection} - - - - \section{测试:传统条目类型的兼容性} - \begin{refsection} - - 包括:mastersthsis,phdthsis,www,electronic,standard,techreport,conference条目类型,本样式增加的newspaper类型: - - \begin{itemize} - \item newspaper:\cite{张田勤2000--} - \item standard:\cite{全国文献工作标准化委员会第七分委员会1986--,国家标准局信息分类编码研究所1988-59-92} - \item conference:\cite{Li2004-21-24} - \item www:\cite{萧钰2001--} - \item electronic:\cite{OMG2003--} - \item techreport:\cite{Humphrey1971--} - \item mastersthsis:\cite{张志祥1998--} - \item phdthsis:\cite{张若凌2004--} - \end{itemize} - - \printbibliography[heading=subbibliography,title=【兼容phdthsis等条目类型】] -\end{refsection} - - - - - \section{测试:中文文献} - \begin{refsection} - 中文文献测试,主要检查GB/T 7714-2015标准要的中文格式是否实现: - - \cite{中华医学会湖北分会1984--,中国职工教育研究会1985--,abx2007-500-503,张凯军2012-04-05--,张成思2010长期均衡,张伯伟2002--,杨汝岱2015中国制造,杨洪升2013-56-75,杨光2015经济波动,徐伟康2010对,王文甫2010价格粘性,王国静2014金融冲击,汤万金2013-09-30--,马欢2011-27-27, 罗德明2012要素市场扭曲,吕捷2015cpi,楼继伟2016改革,刘凤良2017,李晓西1994转轨过程中的结构性通货膨胀,李强2012-05-03--,雷光春2012--,贾东琴2011-45-52, 韩吉人1985-90-99,国家环境保护局科技标准司1996-2-3,方军雄2007所有制,丁文祥2000--,白书农1998-146-163} - - \printbibliography - \end{refsection} - - - \section{测试:英文文献} - \begin{refsection} - 英文文献测试,主要检查GB/T 7714-2015标准要的英文格式是否实现: - - \cite{dataseteg,Misceg,zhang2009china,databaseeg,mapeg,aritileeg, - softwareeg, archiveeg,Yi2013--,Yi2014--,xu2012role,wang2006another,IEEEexample:uspat, - saiz2010geographic,ROSENTHALL1963--,quadrini2011financial,IEEEexample:unpublished, - WHO1970--,lucas1976econometric,lucas1987money,IEEEexample:frenchpatreq, - kocherlakota2000creating,kiyotaki1997credit,khan2013credit, - IEEEexample:masterstype,jermann2012macroeconomic,iacoviello2005house, - IEEEexample:jppat,hayashi1985tests,greenwood1988investment, - FOURNEY1971-17-38,FOURNEY1971-55,fazzari1993working,enders2009international, - davis2005housing,IEEEexample:repeatedauthorone,IEEEexample:repeatedauthortwo, - calvo2006phoenix,CALMS1965--,bernanke1989agency,AAAS1883--,adam2011house} - - \printbibliography - \end{refsection} - - - \section{测试:中英文混合的文献表} - \begin{refsection} - 中英文混合的文献表测试,主要检查多语言混合时的格式处理: - - \cite{张敏莉2007-500-503,Yi2013--,丁文祥2000--,CALMS1965--,白书农1998-146-163,FOURNEY1971-17-38} - - \printbibliography - \end{refsection} - - \section{测试:中英文对照文献} - \begin{refsection} - \defbibentryset{张敏莉,等,2007}{张敏莉2007-500-503,Zhang2007-500-503} - - 双语文献对照测试,主要检查:条目集方法和关联条目方法是否能实现对照, - 条目集方法是否使用默认样式,关联条目方法是否使用语言判断后选择的样式。 - - - set动态方法\cite{张敏莉,等,2007};\par - related动态方法\cite{易仕和2013--}(biblatex 3.7及以上版本可以使用多个stylesourcemap,进而可以动态的定义related)。 - - \printbibliography - \end{refsection} - - - - - \section{测试:专著/专著中的析出文献/标准} -\begin{refsection} - -\begin{enumerate} - \item 中文文献存在信息缺省的情况测试 -\cite{booknodate,booknolocation,booknopages,booknopublisher,booknopublishernoyear,booknopublisherpage, 余敏2001-179-193,余敏2001-179-193a,余敏2001-179-193b,余敏2001-179-193c,booknoauthor} - \item 英文文献信息缺省情况以及英文个人作者判断测试 -\cite{Parsons2000a--,Parsons2000b--,Parsons2000--,Parsons2000nodate--, -Parsons2000noloc--,Parsons2000nopub--,Parsons2000nopubnoyear--, -Parsons2000nopubpages--,Parsons2000noauthor--} - \item 年份信息有额外说明的文献比较测试\cite{汪昂1912--,汪昂1881--,王夫之1845--} - - \item 专著带前后缀的作者名\cite{Peebles2001-100-100} - - \item 专著更多文献测试 -\cite{GPS1988--}\cite{顾炎武1982--}\cite{PIGGOT1990--}\cite{PEEBLES2001--} -\cite{Poisel2013--}\cite{张伯伟2002--}\cite{2009-155-155} -\cite{GPS1988--,CRANE1972--,CRAWFPRD1995--,Gradshteyn2000--,IFLAI1977--,Kinchy2012-50-50,Lin2004--,Miroslav2004--,Mittelbach2004--,OBRIEN1994--} -\cite{PEEBLES2001--,Peebles2001-100-100,PIGGOT1990--,Poisel2013--,Praetzellis2011-13-13,Proakis2007--,Reed2005--,ROOD2001--,Ross2010--,Simon2004--,Simon2001--,Stueber2001--,Yi2013--,YUFIN2000--, 埃伯哈德$ullet$蔡德勒等2012--,蔡敏2006--,陈希孺2009--,陈志杰2006--,樊昌信2005--,顾炎武1982--,广西壮族自治区林业厅1993--,郭文彬2006--,候文顺2010-119-119,胡承正2010-112-112,胡广书2012--,胡伟2011--,蒋有绪1998--,库恩2012--,李云霞2009--,廖平2012--,刘海洋2013--,罗斯基2009--,美国妇产科医师学会2010-38-39,鸟哥--,孙玉文2000--,唐绪军1999-117-121,同济大学数学系2014--,王雪松2010--,辛希孟1994--,阎毅2013--,杨林2015--} -\cite{张伯伟2002--,赵凯华1995--,赵学功2001--,赵耀东1998--,中国企业投资协会2013--,中国社会科学院语言研究所词典编辑室1996--,庄钊文2007--,1962-50-50,2009-155-155,booknoauthor,Parsons2000noauthor--} -\end{enumerate} -\printbibliography[heading=bibliography,title=【专著】] -\end{refsection} - - -\begin{refsection} -\begin{enumerate} - \item 专著的析出文献\cite{马克思2013-302-302}\cite{王夫之2011-1109-1109} - \cite{BUSECK1980-117-211,MARTIN1996-85-96,WEINSTEIN1974-745-772,白书农1998-146-163,陈晋镳1980-56-114,程根伟1999-32-36,楼梦麟2011-11-12,马克思1982-505-505,马克思2013-302-302,钟文发1996-468-471,1977-49-49,1988-590-590,王夫之2011-1109-1109} -\end{enumerate} -\printbibliography[heading=bibliography,title=【专著中的析出文献】] -\end{refsection} - - -\begin{refsection} - -\begin{enumerate} - \item 标准引用\cite{国家标准局信息分类编码研究所1988-59-92,国家环境保护局科技标准司1996-2-3, 全国广播电视标准化技术委员会2007-1-1,全国文献工作标准化委员会第七分委员会1986--,全国信息文献标准化技术委员会2010-3-3, 中华人民共和国国家质量监督检验检疫总局2015,standardinfoiso158} -\end{enumerate} -\printbibliography[heading=bibliography,title=【标准】] -\end{refsection} - - -\section{测试:汇编文集} -\begin{refsection} -汇编文集类似于book和inbook\cite{韩吉人1985-90-99}\cite{中国职工教育研究会1985--} - -{ -%\hyphenation{kurose-gawa} -%\hyphenpenalty=1000 -%\tolerance=500 -\printbibliography%[heading=subbibintoc,title=【参考文献】] -} - -\end{refsection} - -\section{测试:连续出版物及其析出文献} -\begin{refsection} - -\begin{enumerate} - \item 期刊完整引用\cite{中国地质学会1936--,中国图书馆学会1957--,AAAS1883--,中华医学会湖北分会1984--} -\end{enumerate} - -\printbibliography[heading=bibliography,title=【连续出版物】] -\end{refsection} - -\begin{refsection} - -\begin{enumerate} - \item 期刊文章引用和引用标签测试 - \cite{Chiani1998-2998-3008,Chiani2004-1312-1318,Chiani2004-1312-1318a, -Chiani2004-1312-1318b,Chiani2003-840-845,Chiani2009-231-254} - - \item doi和卷期样式\cite{储大同2010-721-724} - - \item 合期期刊测试\cite{储大同2010-721-724m} - - \item 报纸引用测试\cite{丁文祥2000--,傅刚2000--,刘裕国2013-01-12--,张田勤2000--} - - \item 更多测试 - \cite{Andersen1995-42-49,Andrisano1998-1383-1401,CAPLAN1993-61-66,Chiani1998-2998-3008,Chiani2004-1312-1318,Chiani2009-231-254,CHRISTINE1998-331-332,Coulson2004-2277-2287,Coulson2006-2484-2492,Dardari2004-1557-1567,Dardari1999-1709-1721,DESMARAIS1992-605-609,Franz2013-1053-1062,Giorgetti2005-384-389,Giorgetti2005-2139-2149,Giorgetti2005-1037-1042,Haemaelaeinen2002-1712-1721,HEWITT1984-205-218,Holtzman1992-243-247,Hu2006-1720-1724,KANAMORI1998-2063-2064,KENNEDY1975-311-386,KENNEDY1975-339-360,McEliece1984-44-53,Milstein1982-436-446,Moeneclaey2001-497-505,Molisch2006-3151-3166,Nasri2007-4090-4100,articlemorenames,Park2010-696-715,Pinto2009-1268-1282,Quek2007-2126-2139,Saito2006-169-176,Shi2007-1118-1128,Snow2007-1736-1746,STIEG1981-549-560,Walls2013-399-418,Zhang2007-500-503,Zhao2002-1684-1691, 陈高峰2011-230-232,陈建军2010-93-93,陈金成2001-1861-1864,储大同2010-721-724,储大同2010-721-724m,高光明1998-60-65, 高翔2015-26-31,江向东1999-4-4,李炳穆2000-5-8,李晓东1999-101-106,梁振兴1999-24-32,刘彻东1998-38-39,刘晨2007-400-404, 刘武1999-2481-2488,卢秋红2009-247-251,鲁明羽1998-290-295,莫少强1999-1-6,谭跃进2011-441-445,陶仁骥1984-527-527,王雪峥2013-249-254, 伍江华2010-70-74,亚洲地质图编目组1978-194-208,杨洪升2013-56-75,杨友烈1999-60-65, 于潇2012-1518-1523,詹广平2013-8-10,张敏莉2007-500-503,张庆杰2009-30-33,张晓琴2011--,周学武2013-49-52,郜宪林2001-114-116} -\end{enumerate} - -\printbibliography[heading=bibliography,title=【连续出版物中的析出文献】] -\end{refsection} - -\section{测试:电子资源} -\begin{refsection} -\begin{enumerate} - \item 电子资源\cite{Commonwealth--,HOPKINSON--,OMG2003--,OCLC--,李强2012-05-03--,萧钰2001--,Alliance--,Dublin2012-06-14--,JabRef中文手册--,1989--,JabRefManual--} - - \item 仅有网址的文献 -\cite{1962-50-50,2009-155-155} -\cite{olnoauthorcn} -\cite{olnoauthoren} -\cite{Allianceurlonly} - -\item 注意:对于作者年制,这里有4篇文献都是noauthor,有两篇有年份可以轻易分开,还有两篇没有年份存在歧义,所以在标注中用了[n.d.]加a和b分开,但在参考文献表中,各个版本的biblatex表现是不同的,其中3.4版因为进行newbibmacro*\{date+extrayear\}的定义时候,首先判断iffieldundef\{\textbackslash thefield\{datelabelsource\}year\},当不存在datelabelsource的值+year的域时,就不再添加了。如果需要加extrayear也可以修改出来,但其实并无必要。这与标注中用的newbibmacro*\{cite:labelyear+extrayear\}(在authoryear.cbx文件中)的定义是不一样的。 - -\end{enumerate} - -{ -\hyphenation{kurose-gawa} -%\hyphenpenalty=1000 -%\tolerance=500 -\printbibliography%[heading=subbibintoc,title=【参考文献】] -} -\end{refsection} - -\section{测试:会议论文集及其析出文献} -\begin{refsection} -会议论文集\cite{陈志勇2011--,雷光春2012--,ROSENTHALL1963--,GANZHA2000--,Babu2014--,中国力学学会1999--, 中国社会科学院台湾史研究中心2012--} - -会议论文引用\cite{韩吉人1985-90-99,FOURNEY1971-17-38,FOURNEY1971-17-38a,Nemec1997-209-214, 贾东琴2011-45-52, 裴丽生1981-2-10,汪学军2002-22-25,张忠智1997-33-34} - \cite{Choi2002-1075-1080,Dardari2002-201-206,Firoozbakhsh2003-473-477,Foerster2002-1931-1935, - Fontana2002-309-313,Giorgetti2005-794-798,Giorgetti2006--,Li2004-21-24,Nasri2008-3616-3621,Piazzo2001--} - -{ -%\hyphenation{kurose-gawa} -%\hyphenpenalty=1000 -%\tolerance=500 -\printbibliography%[heading=subbibintoc,title=【参考文献】] -} -\end{refsection} - -\section{测试:报告} -\begin{refsection} -\begin{enumerate} - \item 技术报告引用 - \cite{Calkin2011-8-9,Eggrers--,Humphrey1971--,DTFHA1990--,WHO1970--,汤万金2013-09-30--,中华人民共和国国务院新闻办公室2013-04-16--} - \item 手册引用 - \cite{Lehman2013--,Lehman2015,Mittelbach2015--,Oetiker2011--,Robertson2011--,Sommerfeldt2011--,Umeki2010--, 胡振震2016,吴凌云2007--} - \item 档案引用\cite{中国第一历史档案馆2001--} - \item 未出版物引用\cite{包太雷2013--} -\end{enumerate} - -{ -%\hyphenation{kurose-gawa} -%\hyphenpenalty=1000 -%\tolerance=500 -\printbibliography%[heading=subbibintoc,title=【参考文献】] -} -\end{refsection} - - -\section{测试:学位论文} -\begin{refsection} -\begin{enumerate} - \item 学位论文引用\cite{CALMS1965--,马欢2011-27-27,吴云芳2003--,张若凌2004--,张志祥1998--} -\end{enumerate} - -{ -%\hyphenation{kurose-gawa} -%\hyphenpenalty=1000 -%\tolerance=500 -\printbibliography%[heading=subbibintoc,title=【参考文献】] -} -\end{refsection} - - -\section{测试:专利} -\begin{refsection} -\begin{enumerate} - \item 专利引用\cite{KOSEKI2002--,TACHIBANA2002--,河北绿洲生态环境科技有限公司2001--,姜锡洲1989--,刘加林1993--,西安电子科技大学2002--,张凯军2012-04-05--} - - \item 注意:专利文献\{刘加林1993--\}的location定义了中国,但从GB/T 7714-2015中给出的示例看其实并不需要该域,但这里并没有去掉。因为GB/T 7714-2015中给出的著录格式包括了出版项但没有示例,尽管这里的location是专利地域,但也可以作为出版项来考虑。未来国标完善后再做处理。 -\end{enumerate} - -{ -%\hyphenation{kurose-gawa} -%\hyphenpenalty=1000 -%\tolerance=500 -\printbibliography%[heading=subbibintoc,title=【参考文献】] -} -\end{refsection} - -\section{测试:其它类型} -\begin{refsection} -\begin{enumerate} - \item 其它类型文献引用\cite{gom,gom1,gom2} -\end{enumerate} - -{ -%\hyphenation{kurose-gawa} -%\hyphenpenalty=1000 -%\tolerance=500 -\printbibliography%[heading=subbibintoc,title=【参考文献】] -} -\end{refsection} - - - \section{测试: 中英文判断信息中存在编组时的情况} -\begin{refsection} -当责任者等需要判断中英文的信息中存在编组时的处理 -\cite{IFLAI1977b--,IFLAI1977--} -\cite{r27-BenHadjAlaya-FekiA.2008-1-5,中国企业投资协会2014--,中国企业投资协会2015--} - -\printbibliography[heading=subbibliography,title=【中英文判断信息中存在编组的测试】] -\end{refsection} - - - \section{测试: 参考文献信息中存在\&等特殊字符的情况} -\begin{refsection} -文献中\cite{ref-replace-char}的booktitle域中含有\%,\&,\#符号,样式文件自动处理使其符合tex代码规则。 -\printbibliography[heading=subbibliography,title=【处理参考文献信息中\&等特殊字符】] -\end{refsection} - -\section{测试: 作者年制article中卷信息缺省时的标点情况} -\begin{refsection} -文献\cite{刘彻东1998-38-39}\cite{亚洲地质图编目组1978-194-208} -\cite{高光明1998-60-65} - -\printbibliography[heading=subbibliography,title=【author-year style: article without volume】] -\end{refsection} - -\section{测试: 标题中存在\textbackslash LaTeX\{\}等命令时的情况} - -\begin{refsection} -文献\cite{Peebles2001-100-100}\cite{赵凯华1995--}\cite{蒋有绪1998--} - -\printbibliography[heading=subbibliography,title=【title with \textbackslash LaTeX\{\}】] -\end{refsection} - +\input{fmttest-a.tex} +\input{fmttest-b.tex} +\input{fmttest-c.tex} +\input{fmttest-d.tex} +\input{fmttest-e.tex} +\input{fmttest-f.tex} +\input{fmttest-g.tex} +\input{fmttest-h.tex} \end{document}
\ No newline at end of file |