diff options
author | Karl Berry <karl@freefriends.org> | 2022-04-03 20:55:02 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-04-03 20:55:02 +0000 |
commit | b6bf9cdd2f6809a19627da22f310f7490a89bd78 (patch) | |
tree | 586341661e4bba81ff7948410e8c6055f9ec2b9f /Master/texmf-dist | |
parent | 739d9662835e84d455be5e0b7af5b0ee195e102e (diff) |
biblatex-gb7714-2015 (3apr22)
git-svn-id: svn://tug.org/texlive/trunk@62891 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
10 files changed, 152 insertions, 34 deletions
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 d89b8c3664f..f2c49838eb1 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 @@ -<b>Date of last change: 2022-03-13 to version v1.1f</b> +<b>Date of last change: 2022-04-03 to version v1.1g</b> # biblatex-gb7714-2015: a biblatex style package @@ -14,7 +14,7 @@ Homepage: <https://github.com/hushidong/biblatex-gb7714-2015> ctan-pkg: <https://www.ctan.org/pkg/biblatex-gb7714-2015> -License: LaTeX Project Public License 1.3 or later +License: LaTeX Project Public License 1.3c or later A biblatex implementation of the `GB/T 7714-2015` bibliography style for Chinese users @@ -41,11 +41,11 @@ biblatex-gb7714-2015 宏包是中文参考文献著录/标注标准 `GB/T 7714-2 * 注意:ms.bbx样式引入内容时需要特别注意空格的引入 * 注意:mx.cbx样式没有更新一些新的设置(比如2篇文献就压缩等),若有需要可以参考15.cbx和15ay.cbx修改。 * 应该说经过这些年的使用,很多corner case已经处理过了,但还是可能会存在一些,特别是ms和mx两个样式使用的少。 - * special characters in all fields? - * entry without author: the delimiter between title and year? - * TEST FOR texlive 2015,2016,2017 + * special characters in all fields? + * entry without author: the delimiter between title and year? + * TEST FOR texlive 2015,2016,2017 * 标注中包围符号的定义[]、()、圆圈、方框等,有些命令没有去修改。 - + ## Applications @@ -93,7 +93,7 @@ biblatex-gb7714-2015 宏包是中文参考文献著录/标注标准 `GB/T 7714-2 * [biblatex 宏包中文手册 ](https://github.com/hushidong/biblatex-zh-cn) * [biblatex 简明使用手册](https://github.com/hushidong/biblatex-solution-to-latex-bibliography) * [biblatex-tutorial 摘译](https://github.com/hushidong/biblatex-tutorial-cn) -* [biblatex-map bib文件修改工具](https://github.com/hushidong/biblatex-map/) +* [bibmap bib文件批量修改工具](https://github.com/hushidong/biblatex-map/) * [biblatex-check bib文件检查工具](https://github.com/Pezmc/BibLatex-Check) * [biblatex-caspervector: caspervector 设计的中文参考文献样式](https://github.com/CasperVector/biblatex-caspervector) * [gbt7714-bibtex-style: GB/T7714-2015 标准的bst实现版本](https://github.com/CTeX-org/gbt7714-bibtex-style) @@ -777,12 +777,21 @@ biblatex-7714-2015的顺序编码制样式特别设计了这样的环境,以 biblatex的参考文献表的换行是由tex的断行机制决定的,处理行(盒子)溢出就要用tex的方式处理: +直接使用`\sloppy`命令 + +``` +{ +\sloppy +\printbibliography[heading=subbibintoc,title=【参考文献】] +} +``` +或者自己设置具体断行相关的参数 ``` { %\hyphenation{Proce-edings} \hyphenpenalty=5000 %断词阈值, 值越大越不容易出现断词 - \tolerance=500 %丑度, 10000为最大无溢出盒子, 参考the texbook 第6章 - \hbadness=100 %如果丑度超过hbadness这一阀值, 那么就会发出警告 + \tolerance=500 %丑度, 10000为最大无溢出盒子, 参考the texbook 第6章 + \hbadness=100 %如果丑度超过hbadness这一阀值, 那么就会发出警告 \printbibliography[heading=subbibintoc,title=【参考文献】] } ``` @@ -790,6 +799,21 @@ biblatex的参考文献表的换行是由tex的断行机制决定的,处理行 当然如果不想这么设置,可以手动的修改参考文献条目的内容,在需要换行的内容前加上-符号。 见:https://github.com/hushidong/biblatex-gb7714-2015/issues/89 + +* <b>参考文献表的每一页的页面底部不对齐,怎么处理?</b> + +通常是由一条参考文献内部不分页导致的,默认情况下希望一条参考文献条件放在一个页面内,所以在页面底部的文献可能由于放不下跑到下一页。 +这种情况可以通过调整段内的分页阈值改变,即使得一条参考文献(即一个段内)更容易分页即可: + +``` +{ + \interlinepenalty=5000 %分页阈值,越小越容易分页 + \printbibliography[heading=subbibintoc,title=【参考文献】] +} +``` + + + * <b>当参考文献没有作者时,希望用佚名或Anon代替作者时,请问该怎么处理?</b> @@ -841,6 +865,9 @@ biblatex的参考文献表的换行是由tex的断行机制决定的,处理行 \href{\thefield{url}}{#1}}}{#1}}%重设标题格式,将去除首字母大写 ``` +注意:v1.1g版本后不再默认修改标题的字母大小写,若需要修改可以手动修改bib文件,若需要批量修改,可以使用[bibmap](https://github.com/hushidong/biblatex-map/)工具。 + + * <b>请问如何使文献表中的期刊名是单词首字母大写的?</b> @@ -931,7 +958,6 @@ biblatex-gb7714-2015设计了两种多语言对照参考文献的实现方式, * <b>在使用作者年制时,我希望文献表是按作者年份标题排序,而正文某处一个cite命令引用多个参考文献,且这些文献的标签是按年份作者标题排序,该怎么操作?</b> - 有两种方法: @@ -947,13 +973,13 @@ biblatex-gb7714-2015设计了两种多语言对照参考文献的实现方式, 然后在文献打印前加 -```\newrefcontext[sorting=nyt]``` +```\newrefcontext[sorting=gb7714-2015]``` (2) 二是手动给出排序 宏包加载时使用 -```\usepackage[backend=biber,style=gb7714-2015ay]{biblatex}``` +```\usepackage[backend=biber,style=gb7714-2015ay,sortcites=false]{biblatex}``` 引用多个文献时按照年份顺序给出引用关键字,即正文中引用: @@ -1007,9 +1033,9 @@ biblatex-gb7714-2015设计了两种多语言对照参考文献的实现方式, \DefineBibliographyExtras{english}{\def\finalandcomma{}}% ``` - - - + + + * <b>请问希望正文中作者年制的标注(引用)标签中作者数量只能是1个,且只用其作者的姓而不管是否存在歧义时,该怎么处理?</b> @@ -1158,7 +1184,6 @@ biblatex中处理顺序数字编码压缩的代码默认从3个连续编码开 代码见:![tgbbiblio.tex](egfigure/tgbbiblio.tex) - + 姓名的格式更改示例 代码见:![opt-gbnamefmt.tex](example/opt-gbnamefmt.tex) ,![opt-gbnamefmt-default.tex](example/opt-gbnamefmt-default.tex) @@ -1562,7 +1587,7 @@ please see the file 'biblatex-gb7714-2015.pdf' for further information! * 2022/02/22 v1.1d,ctan,github * 2022/03/07 v1.1e,ctan,github * 2022/03/13 v1.1f,ctan,github - +* 2022/04/03 v1.1g,ctan,github --------------------------------------------------------- ## Update history: diff --git a/Master/texmf-dist/doc/latex/biblatex-gb7714-2015/biblatex-gb7714-2015.pdf b/Master/texmf-dist/doc/latex/biblatex-gb7714-2015/biblatex-gb7714-2015.pdf Binary files differindex 940809762f3..8773a3f6f69 100644 --- a/Master/texmf-dist/doc/latex/biblatex-gb7714-2015/biblatex-gb7714-2015.pdf +++ b/Master/texmf-dist/doc/latex/biblatex-gb7714-2015/biblatex-gb7714-2015.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex-gb7714-2015/makeall.py b/Master/texmf-dist/doc/latex/biblatex-gb7714-2015/makeall.py index df45114a81e..69cebb85002 100644 --- a/Master/texmf-dist/doc/latex/biblatex-gb7714-2015/makeall.py +++ b/Master/texmf-dist/doc/latex/biblatex-gb7714-2015/makeall.py @@ -19,7 +19,7 @@ def compileall(): pwd=os.getcwd() - filesneedcopy=['CCNUthesis.bbx','CCNUthesis.cbx','NWAFUthesis.bbx','NWAFUthesis.cbx','SEUthesis.bbx','SEUthesis.cbx', + filesneedcopy=['gb7714-CCNU.bbx','gb7714-CCNU.cbx','gb7714-NWAFU.bbx','gb7714-NWAFU.cbx','gb7714-SEU.bbx','gb7714-SEU.cbx', 'chinese-erj.bbx','chinese-erj.cbx','example.bib', 'gb7714-1987.bbx', 'gb7714-1987.cbx', 'gb7714-1987ay.bbx', 'gb7714-1987ay.cbx', 'gb7714-2005.bbx', 'gb7714-2005.cbx', 'gb7714-2005ay.bbx', 'gb7714-2005ay.cbx', 'gb7714-2015-gbk.def', 'gb7714-2015.bbx', 'gb7714-2015.cbx', 'gb7714-2015ay.bbx', diff --git a/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015.bbx b/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015.bbx index c0ff2bb90ea..5860bd87a9b 100644 --- a/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015.bbx +++ b/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015.bbx @@ -11,7 +11,7 @@ % % 版本和时间信息 % -\def\versionofgbtstyle{2022/03/13 v1.1f} +\def\versionofgbtstyle{2022/04/03 v1.1g} \def\versionofbiblatex{\abx@version} \ProvidesFile{gb7714-2015.bbx}[\versionofgbtstyle biblatex bibliography style] %\RequireBiber[3]%显式指定用biber后端,当用bibtex时会报错,但其实不会影响编译,只是采用bibtex后无法达成格式需求 @@ -2315,8 +2315,8 @@ test {\iftoggle{iftlseven}}%biblatex<=3.7 % 因为titlecase is applied to the contents of the field directly,title is not %\DeclareFieldFormat{titlecase}{\MakeCapital#1}%重设标题格式,将其修改为首字母大写 \DeclareFieldFormat{titlecase}{\iftoggle{bbx:titlelink}{% -\iffieldundef{url}{\MakeCapital#1}{% -\href{\thefield{url}}{#1}}}{\MakeCapital#1}}%重设标题格式,将其修改为首字母大写 +\iffieldundef{url}{#1}{% +\href{\thefield{url}}{#1}}}{#1}}%重设标题格式,将其修改为首字母大写 \DeclareFieldFormat{pages}{#1}%去掉前面引导页码的pp.等字符,\mkpageprefix[bookpagination]{#1} \DefineBibliographyExtras{english}{\renewcommand*{\bibrangedash}{-}}%将页码间隔符替换会英文的短横线 \DefineBibliographyExtras{russian}{\renewcommand*{\bibrangedash}{-}}%将页码间隔符替换会英文的短横线 diff --git a/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015ay.bbx b/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015ay.bbx index af346dd7193..3ef25f0a4c1 100644 --- a/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015ay.bbx +++ b/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015ay.bbx @@ -10,7 +10,7 @@ % % 版本和时间信息 % -\def\versionofgbtstyle{2022/03/13 v1.1f} +\def\versionofgbtstyle{2022/04/03 v1.1g} \def\versionofbiblatex{\abx@version} \ProvidesFile{gb7714-2015ay.bbx}[\versionofgbtstyle biblatex bibliography style] %\RequireBiber[3]%显式指定用biber后端,当用bibtex时会报错,但其实不会影响编译,只是采用bibtex后无法达成格式需求 @@ -2169,8 +2169,8 @@ test {\iftoggle{iftlseven}}%biblatex<=3.7 % 因为titlecase is applied to the contents of the field directly,title is not %\DeclareFieldFormat{titlecase}{\MakeCapital#1}%重设标题格式,将其修改为首字母大写 \DeclareFieldFormat{titlecase}{\iftoggle{bbx:titlelink}{% -\iffieldundef{url}{\MakeCapital#1}{% -\href{\thefield{url}}{#1}}}{\MakeCapital#1}}%重设标题格式,将其修改为首字母大写 +\iffieldundef{url}{#1}{% +\href{\thefield{url}}{#1}}}{#1}}%重设标题格式,将其修改为首字母大写 \DeclareFieldFormat{pages}{#1}%页码引用格式的修改%去掉前面引导页码的pp.等字符 \DefineBibliographyExtras{english}{\renewcommand*{\bibrangedash}{-}} \DefineBibliographyExtras{russian}{\renewcommand*{\bibrangedash}{-}} diff --git a/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015ms.bbx b/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015ms.bbx index 625cb35a20c..c23aa3c1a2a 100644 --- a/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015ms.bbx +++ b/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015ms.bbx @@ -11,7 +11,7 @@ % % 版本和时间信息 % -\def\versionofgbtstyle{2022/03/13 v1.1f} +\def\versionofgbtstyle{2022/04/03 v1.1g} \def\versionofbiblatex{\abx@version} \ProvidesFile{gb7714-2015ms.bbx}[\versionofgbtstyle biblatex bibliography style] %\RequireBiber[3]%显式指定用biber后端,当用bibtex时会报错,但其实不会影响编译,只是采用bibtex后无法达成格式需求 @@ -1887,8 +1887,8 @@ togl{bbx:gbstyle} or test {\iffieldequalstr{userd}{chinese}}% % 因为titlecase is applied to the contents of the field directly,title is not %\DeclareFieldFormat{titlecase}{\MakeCapital##1}%重设标题格式,将其修改为首字母大写 \DeclareFieldFormat{titlecase}{\iftoggle{bbx:titlelink}{% -\iffieldundef{url}{\MakeCapital##1}{% -\href{\thefield{url}}{##1}}}{\MakeCapital##1}}%重设标题格式,将其修改为首字母大写 +\iffieldundef{url}{##1}{% +\href{\thefield{url}}{##1}}}{##1}}%重设标题格式,将其修改为首字母大写 \DeclareFieldFormat{pages}{##1}%去掉前面引导页码的pp.等字符,\mkpageprefix[bookpagination]{##1} }% % diff --git a/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015mx.bbx b/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015mx.bbx index 7b4b33dd6a8..54515d1671e 100644 --- a/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015mx.bbx +++ b/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015mx.bbx @@ -11,7 +11,7 @@ % % 版本和时间信息 % -\def\versionofgbtstyle{2022/03/13 v1.1f} +\def\versionofgbtstyle{2022/04/03 v1.1g} \def\versionofbiblatex{\abx@version} \ProvidesFile{gb7714-2015mx.bbx}[\versionofgbtstyle biblatex bibliography style] %\RequireBiber[3]%显式指定用biber后端,当用bibtex时会报错,但其实不会影响编译,只是采用bibtex后无法达成格式需求 @@ -1784,8 +1784,8 @@ % 因为titlecase is applied to the contents of the field directly,title is not %\DeclareFieldFormat{titlecase}{\MakeCapital#1}%重设标题格式,将其修改为首字母大写 \DeclareFieldFormat{titlecase}{\iftoggle{bbx:titlelink}{% -\iffieldundef{url}{\MakeCapital#1}{% -\href{\thefield{url}}{#1}}}{\MakeCapital#1}}%重设标题格式,将其修改为首字母大写 +\iffieldundef{url}{#1}{% +\href{\thefield{url}}{#1}}}{#1}}%重设标题格式,将其修改为首字母大写 \DeclareFieldFormat{pages}{#1}%去掉前面引导页码的pp.等字符,\mkpageprefix[bookpagination]{#1} \DefineBibliographyExtras{english}{\renewcommand*{\bibrangedash}{-}}%将页码间隔符替换会英文的短横线 \DefineBibliographyExtras{russian}{\renewcommand*{\bibrangedash}{-}} diff --git a/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-CCNU.bbx b/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-CCNU.bbx index ba2d4799716..50840d2dd4c 100644 --- a/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-CCNU.bbx +++ b/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-CCNU.bbx @@ -100,6 +100,7 @@ %设置一些标点格式为中文的标点 %================================================== \DeclareFieldFormat*{title}{\iffieldequalstr{userd}{chinese}{#1}{#1\isdot}} +\DeclareFieldFormat[book]{title}{#1} \def\gbcaselocalset{% \renewrobustcmd*{\bibinitperiod}{}% \renewcommand*{\revsdnamepunct}{}% @@ -205,7 +206,7 @@ % % v1.0k,20180425,为出版信息增加字体控制命令,hzz % %类似\newbibmacro*{publisher+location+date} -\newbibmacro*{location+institution+date}{\bibpubfont% +\renewbibmacro*{location+institution+date}{\bibpubfont% \iftoggle{bbx:gbpub}% {\testCJKfirst{userd}% \ifboolexpr{% @@ -310,7 +311,7 @@ test {\iflistundef{location}} and test {\iflistundef{institution}}% % 增加inbook:parent用于辅助crossref传统功能的实现 % 用在{crosscite}宏中 % 20210216,v1.0w,hzz -\newbibmacro*{inbook:parent}{% +\renewbibmacro*{inbook:parent}{% \usebibmacro{bybookauthor}% %\ifnameundef{bookauthor}{% % \ifnameundef{editor}{}{\newunit}% @@ -339,3 +340,95 @@ test {\iflistundef{location}} and test {\iflistundef{institution}}% {\printtext{\bibstring{incn}}}% {\printtext{\bibstring{in}}}% }}%\newunit\newblock\intitlepunct + + +% +% 对edition版本信息格式做出修改 +% 注意实现逻辑: +% 1. 不是整数时原样输出 +% 2. 当是整数且大于1时按版本格式输出 +\DeclareFieldFormat{edition}{\bibtitlefont%源来自biblatex.DEF + \testCJKfirst{userd}% + \iftoggle{ifCJKforgbt}% + {\ifinteger{#1}% + {\ifnumgreater{#1}{1}{\printtext{#1\str@edition}\newunit}{}}% + {#1\isdot\newunit}}% + {\ifinteger{#1}% + {\ifnumgreater{#1}{1}{\mkbibordedition{#1}~\bibstring{edition}\newunit}{}}% + {#1\isdot\newunit}}% +} + + +% +% 增加inbook:parent用于辅助crossref传统功能的实现 +% 用在{crosscite}宏中 +% 20210216,v1.0w,hzz +\renewbibmacro*{inbook:parent}{% +\usebibmacro{bybookauthor}% +%\ifnameundef{bookauthor}{% +% \ifnameundef{editor}{}{\newunit}% +%}{\newunit}%替换下一句 + %\newunit\newblock +\iffieldundef{series}{}{\usebibmacro{series+number}\setunit{\addcolon\addspace}}%为处理一些存在series的情况而增加 +\usebibmacro{maintitle+booktitle}% +\iffieldundef{volume}{}{\setunit{\addcolon\addspace}\printfield{volume}}% +\iffieldundef{number}{}{\setunit{\addcolon\addspace}\printfield{number}}%增加卷和册信息 + \newunit\newblock% + \printfield{edition}% + \usebibmacro{publisher+location+date}} + + + + +\DeclareBibliographyDriver{book}{%源来自standard.bbx文件 +\usebibmacro{bibindex}% +\usebibmacro{begentry}% +\usebibmacro{author/editor+others/translator+others}% +\ifnameundef{namea}{}{\setunit{\labelnamepunct}\newblock}%这一段用于去除作者不存在时多出的标点 +\usebibmacro{maintitle+title}% +\iftoggle{bbx:gbstrict}{}{% +\newunit% +\printlist{language}% +\newunit\newblock% +\usebibmacro{byauthor}% +\newunit\newblock}% +\usebibmacro{byeditor+others}% +\newunit% +\printfield{edition}% +\newblock%% +\iftoggle{bbx:gbstrict}{}{% +\iffieldundef{maintitle}% +{\printfield{volume}% +\printfield{part}}% +{}% +\newunit% +\printfield{volumes}% +\newunit\newblock% +\usebibmacro{series+number}% +\newunit\newblock}% +%\printfield{note}% +%\newunit\newblock% +\usebibmacro{publisher+location+date}% +%\newunit\newblock %这里标点去掉 +\usebibmacro{chapter+pages}% + \iffieldundef{url}{}{%当没有网址时也不输出 + \usebibmacro{modifydate}}%带括号的修改或更新日期, +\usebibmacro{doi+eprint+url}%从下面移动到上面来,因为gbt2015的url需直接放在页码后面。 + \newunit\newblock% + \printfield{pagetotal}% + \newunit\newblock% + \iftoggle{bbx:isbn} + {\printfield{isbn}} + {}% + \newunit\newblock + %\usebibmacro{doi+eprint+url}% + %\newunit\newblock + \usebibmacro{addendum+pubstate}% + \setunit{\bibpagerefpunct}\newblock + \usebibmacro{pageref}% + \newunit\newblock + \iftoggle{bbx:related} + {\usebibmacro{related:init}% + \usebibmacro{related}} + {}% + \usebibmacro{annotation}\usebibmacro{finentry}} diff --git a/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-NWAFU.bbx b/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-NWAFU.bbx index 917b71a761e..6a93f21b39c 100644 --- a/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-NWAFU.bbx +++ b/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-NWAFU.bbx @@ -143,7 +143,7 @@ % % 重设专利title的输出,将文献类型标识符输出出去 % -\newbibmacro*{patenttitle}{%原输出来自biblatex.def文件 +\renewbibmacro*{patenttitle}{%原输出来自biblatex.def文件 \ifboolexpr{% test{\iffieldundef{title}}% and% diff --git a/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-SEU.bbx b/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-SEU.bbx index 728a2be5ef9..e17deed2b2a 100644 --- a/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-SEU.bbx +++ b/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-SEU.bbx @@ -127,7 +127,7 @@ % % 重设专利title的输出,将文献类型标识符输出出去 % -\newbibmacro*{patenttitle}{%原输出来自biblatex.def文件 +\renewbibmacro*{patenttitle}{%原输出来自biblatex.def文件 \ifboolexpr{% test{\iffieldundef{title}}% and% |