diff options
author | Norbert Preining <norbert@preining.info> | 2022-03-20 03:00:57 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-03-20 03:00:57 +0000 |
commit | 932716f98734dec3d6502355f5618e5895729499 (patch) | |
tree | 327459c3a9a27ca994d0d2b6f6416ae9d93c9c54 /macros/latex/contrib/thuthesis/thuthesis-numeric.bbx | |
parent | 964a2d4f61e066388beb5d776bf9c163a3f4fd98 (diff) |
CTAN sync 202203200300
Diffstat (limited to 'macros/latex/contrib/thuthesis/thuthesis-numeric.bbx')
-rw-r--r-- | macros/latex/contrib/thuthesis/thuthesis-numeric.bbx | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/macros/latex/contrib/thuthesis/thuthesis-numeric.bbx b/macros/latex/contrib/thuthesis/thuthesis-numeric.bbx index f0d6234eff..fb7dcdff68 100644 --- a/macros/latex/contrib/thuthesis/thuthesis-numeric.bbx +++ b/macros/latex/contrib/thuthesis/thuthesis-numeric.bbx @@ -25,3 +25,33 @@ \renewcommand*{\makelabel}[1]{\hss##1}} {\endlist} {\item} + +% +% 重设专利title的输出,将文献类型标识符输出出去 +% +\renewbibmacro*{patenttitle}{%原输出来自biblatex.def文件 + \ifboolexpr{% + test{\iffieldundef{title}}% + and% + test{\iffieldundef{subtitle}}% + }% + {}% + {\printtext[title]{\bibtitlefont% + \printfield[titlecase]{title}% + \ifboolexpr{test {\iffieldundef{subtitle}}} + {}{\setunit{\subtitlepunct}% + \printfield[titlecase]{subtitle}}% + \iffieldundef{titleaddon}{} + {\setunit{\subtitlepunct}\printfield{titleaddon}}% + % \setunit{\subtitlepunct}\printfield{number}%写专利号 + \setunit{\subtitlepunct}% + \iflistundef{location}{} + {\printlist{location}\setunit{\addcomma\space}}% 专利国别 + \printfield{number}%写专利号 + \iftoggle{bbx:gbtype}{\printfield[gbtypeflag]{usera}}{}% + %\iffieldundef{booktitle}{\newunit}{}%当title是析出时,不要标点 + %\newunit + }% +}% +\clearlist{location}\clearlist{address}% +} |