summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-10-30 20:42:52 +0000
committerKarl Berry <karl@freefriends.org>2022-10-30 20:42:52 +0000
commit65f294f0eabddd4a09f422ce1501797e39143c25 (patch)
tree875a70699e61f5409108c2a04bf72d09ea506cd6 /Master/texmf-dist
parent8c818d5d0a8e2599bf7fef62f4619e736dcd7ccc (diff)
biblatex-caspervector (30oct22)
git-svn-id: svn://tug.org/texlive/trunk@64866 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/latex/biblatex-caspervector/ChangeLog.txt5
-rw-r--r--Master/texmf-dist/doc/latex/biblatex-caspervector/caspervector-ay.pdfbin172785 -> 212575 bytes
-rw-r--r--Master/texmf-dist/doc/latex/biblatex-caspervector/caspervector.pdfbin314272 -> 393884 bytes
-rw-r--r--Master/texmf-dist/doc/latex/biblatex-caspervector/caspervector.tex12
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-caspervector/blx-caspervector-base.def29
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-caspervector/blx-caspervector-gbk.def2
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-caspervector/blx-caspervector-utf8.def2
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-caspervector/caspervector-ay.bbx2
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-caspervector/caspervector-ay.cbx2
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-caspervector/caspervector.bbx2
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-caspervector/caspervector.cbx2
11 files changed, 37 insertions, 21 deletions
diff --git a/Master/texmf-dist/doc/latex/biblatex-caspervector/ChangeLog.txt b/Master/texmf-dist/doc/latex/biblatex-caspervector/ChangeLog.txt
index 2de15cc1397..3d308fe0789 100644
--- a/Master/texmf-dist/doc/latex/biblatex-caspervector/ChangeLog.txt
+++ b/Master/texmf-dist/doc/latex/biblatex-caspervector/ChangeLog.txt
@@ -1,3 +1,8 @@
+2022-10-30, v0.3.6
+
+ * API changes:
+ - Add support for backrefs.
+
2020-11-02, v0.3.5
* Changes to documentation:
diff --git a/Master/texmf-dist/doc/latex/biblatex-caspervector/caspervector-ay.pdf b/Master/texmf-dist/doc/latex/biblatex-caspervector/caspervector-ay.pdf
index ddf54b7c8ff..262076de2e8 100644
--- a/Master/texmf-dist/doc/latex/biblatex-caspervector/caspervector-ay.pdf
+++ b/Master/texmf-dist/doc/latex/biblatex-caspervector/caspervector-ay.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/biblatex-caspervector/caspervector.pdf b/Master/texmf-dist/doc/latex/biblatex-caspervector/caspervector.pdf
index 62da3d0589c..4fe8a1d3bff 100644
--- a/Master/texmf-dist/doc/latex/biblatex-caspervector/caspervector.pdf
+++ b/Master/texmf-dist/doc/latex/biblatex-caspervector/caspervector.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/biblatex-caspervector/caspervector.tex b/Master/texmf-dist/doc/latex/biblatex-caspervector/caspervector.tex
index d67aee127a3..601cef3f8b4 100644
--- a/Master/texmf-dist/doc/latex/biblatex-caspervector/caspervector.tex
+++ b/Master/texmf-dist/doc/latex/biblatex-caspervector/caspervector.tex
@@ -1,6 +1,6 @@
% Documentation for biblatex-caspervector
%
-% Copyright (c) 2012-2016,2018-2019 Casper Ti. Vector
+% Copyright (c) 2012-2016,2018-2019,2022 Casper Ti. Vector
%
% This work may be distributed and/or modified under the conditions of the
% LaTeX Project Public License, either version 1.3 of this license or (at
@@ -22,7 +22,7 @@
\usepackage[margin = 2cm, centering, includefoot]{geometry}
\usepackage[
backend = biber, style = caspervector, utf8,
- giveninits = true, sortgiveninits = true
+ giveninits = true, sortgiveninits = true, backref = true
]{biblatex}
\usepackage{iftex, fancyhdr, hyperref, enumitem, fancyvrb, hologo}
@@ -48,13 +48,13 @@
\addbibresource{caspervector.bib}
\begin{document}
-\title{\textbf{biblatex 参考文献和引用样式:\texttt{caspervector} v0.3.5}}
+\title{\textbf{biblatex 参考文献和引用样式:\texttt{caspervector} v0.3.6}}
\author{%
Casper Ti.\ Vector\thanks{\ %
\href{mailto:CasperVector@gmail.com}{\texttt{CasperVector@gmail.com}}.%
}%
}
-\date{2020/11/02}
+\date{2022/10/30}
\maketitle
\section{引言}
@@ -518,7 +518,9 @@ biblatex 3.0--3.3 的功能调整导致分类排序失效。%
这两种方法中更加推荐使用前者,因为前者只须手动实现出版年和期号的排版。
\begin{refcontext}[sorting = none]
-\printbibliography[category = cited, heading = bibnumbered, title = {本文参考文献}]
+\printbibliography[category = cited, heading = bibnumbered, title = {%
+ 本文参考文献(反向引用页码是设定 \texttt{backref = true} 产生的)%
+}]
\end{refcontext}
\begin{refcontext}[sorting = ecnyt]
\printbibliography[notcategory = cited, heading = bibnumbered, title = {%
diff --git a/Master/texmf-dist/tex/latex/biblatex-caspervector/blx-caspervector-base.def b/Master/texmf-dist/tex/latex/biblatex-caspervector/blx-caspervector-base.def
index c23b4b1dadb..4d326af7ce4 100644
--- a/Master/texmf-dist/tex/latex/biblatex-caspervector/blx-caspervector-base.def
+++ b/Master/texmf-dist/tex/latex/biblatex-caspervector/blx-caspervector-base.def
@@ -1,6 +1,6 @@
% Casper Ti. Vector's biblatex style
%
-% Copyright (c) 2012-2019 Casper Ti. Vector
+% Copyright (c) 2012-2019,2022 Casper Ti. Vector
%
% This work may be distributed and/or modified under the conditions of the
% LaTeX Project Public License, either version 1.3 of this license or (at
@@ -23,7 +23,7 @@
% blx-caspervector-utf8.def
\ProvidesFile{blx-caspervector-base.def}%
- [2020/11/02 v0.3.5 Casper Ti. Vector's biblatex library]
+ [2022/10/30 v0.3.6 Casper Ti. Vector's biblatex library]
\RequireBiber[3]
\newtoggle{bbx:gbk}
@@ -113,8 +113,9 @@
\renewcommand*{\finalnamedelim}{\ifcitation{\bbx@citebcomma}{\finallistdelim}}
\renewcommand*{\multinamedelim}{\ifcitation{\bbx@citebcomma}{\multilistdelim}}
\renewcommand*{\postnotedelim}{\bbx@citecomma}
-\renewcommand*{\finentrypunct}%
- {\iffieldundef{addendum}{\bbx@cepunct{\bbx@cnperiod}{.}}{}}
+\renewcommand*{\finentrypunct}{\ifboolexpr{
+ test {\iffieldundef{addendum}} and test {\iflistundef{pageref}}
+}{\bbx@cepunct{\bbx@cnperiod}{.}}{}}
\DefineBibliographyExtras{english}{%
\renewcommand*{\finalandcomma}{}%
}
@@ -135,6 +136,7 @@
{\ifinteger{#1}{{\bbx@cnnr} {#1} {\bbx@cnedition}}{#1}}%
{\ifinteger{#1}{\mkbibordedition{#1}~\bibstring{edition}}{#1\isdot}}%
}
+\DeclareFieldFormat*{mypageref}{\mkbibbrackets{\^{}\,#1}}
\newcommand*{\bbx@print}[1]{\iffieldundef{#1}{}{\printfield{#1}}}
\newbibmacro*{cntypedelim}[1]{\ifandothers{#1}{}{\printtext{\andothersdelim}}}
\newbibmacro*{cein:}%
@@ -243,6 +245,13 @@
\printurldate%
}%
}
+\newbibmacro*{addendum+pageref}{%
+ \printfield{addendum}%
+ \iflistundef{pageref}{}{%
+ \bbx@cepunct{}{\setunit{\addspace}}%
+ \printtext[mypageref]{\printlist[pageref][-\value{listtotal}]{pageref}}%
+ }%
+}
\DeclareBibliographyDriver{book}{%
\usebibmacro{bibindex}\usebibmacro{begentry}%
@@ -256,7 +265,7 @@
\usebibmacro{location+publisher+date+note+pages}%
\printunit{\bbx@ceperiod}\newblock
\usebibmacro{eid+url+urldate}\printunit{\bbx@ceperiod}\newblock
- \printfield{addendum}\usebibmacro{finentry}%
+ \usebibmacro{addendum+pageref}\usebibmacro{finentry}%
}
\DeclareBibliographyDriver{incollection}{%
@@ -274,7 +283,7 @@
\usebibmacro{location+publisher+date+note+pages}%
\printunit{\bbx@ceperiod}\newblock
\usebibmacro{eid+url+urldate}\printunit{\bbx@ceperiod}\newblock
- \printfield{addendum}\usebibmacro{finentry}%
+ \usebibmacro{addendum+pageref}\usebibmacro{finentry}%
}
\DeclareBibliographyDriver{periodical}{%
@@ -290,7 +299,7 @@
\printlist{location}\setunit*{\bbx@cecolon}%
\printlist{publisher}\printunit{\bbx@ceperiod}\newblock
\usebibmacro{eid+url+urldate}\printunit{\bbx@ceperiod}\newblock
- \printfield{addendum}\usebibmacro{finentry}%
+ \usebibmacro{addendum+pageref}\usebibmacro{finentry}%
}
\DeclareBibliographyDriver{article}{%
@@ -304,7 +313,7 @@
\usebibmacro{date+volume+number+note+pages}%
\printunit{\bbx@ceperiod}\newblock
\usebibmacro{eid+url+urldate}\printunit{\bbx@ceperiod}\newblock
- \printfield{addendum}\usebibmacro{finentry}%
+ \usebibmacro{addendum+pageref}\usebibmacro{finentry}%
}
\DeclareBibliographyDriver{patent}{%
@@ -320,12 +329,12 @@
\usebibmacro{date}\setunit*{\bbx@cecomma}%
\printfield{note}\printunit{\bbx@ceperiod}\newblock
\usebibmacro{eid+url+urldate}\printunit{\bbx@ceperiod}\newblock
- \printfield{addendum}\usebibmacro{finentry}%
+ \usebibmacro{addendum+pageref}\usebibmacro{finentry}%
}
\DeclareBibliographyDriver{customf}{%
\usebibmacro{bibindex}\usebibmacro{begentry}%
- \printfield{addendum}\usebibmacro{finentry}%
+ \usebibmacro{addendum+pageref}\usebibmacro{finentry}%
}
\DeclareBibliographyAlias{booklet}{book}
diff --git a/Master/texmf-dist/tex/latex/biblatex-caspervector/blx-caspervector-gbk.def b/Master/texmf-dist/tex/latex/biblatex-caspervector/blx-caspervector-gbk.def
index 429ee5db47a..83650ccb5d8 100644
--- a/Master/texmf-dist/tex/latex/biblatex-caspervector/blx-caspervector-gbk.def
+++ b/Master/texmf-dist/tex/latex/biblatex-caspervector/blx-caspervector-gbk.def
@@ -23,7 +23,7 @@
% blx-caspervector-utf8.def
\ProvidesFile{blx-caspervector-gbk.def}%
- [2020/11/02 v0.3.5 Chinese punctuations and captions in GBK]
+ [2022/10/30 v0.3.6 Chinese punctuations and captions in GBK]
\newcommand*\bbx@cnldquot{}
\newcommand*\bbx@cnrdquot{}
diff --git a/Master/texmf-dist/tex/latex/biblatex-caspervector/blx-caspervector-utf8.def b/Master/texmf-dist/tex/latex/biblatex-caspervector/blx-caspervector-utf8.def
index 872d40567fa..571291605d4 100644
--- a/Master/texmf-dist/tex/latex/biblatex-caspervector/blx-caspervector-utf8.def
+++ b/Master/texmf-dist/tex/latex/biblatex-caspervector/blx-caspervector-utf8.def
@@ -23,7 +23,7 @@
% blx-caspervector-utf8.def
\ProvidesFile{blx-caspervector-utf8.def}%
- [2020/11/02 v0.3.5 Chinese punctuations and captions in UTF-8]
+ [2022/10/30 v0.3.6 Chinese punctuations and captions in UTF-8]
\newcommand*\bbx@cnldquot{“}
\newcommand*\bbx@cnrdquot{”}
diff --git a/Master/texmf-dist/tex/latex/biblatex-caspervector/caspervector-ay.bbx b/Master/texmf-dist/tex/latex/biblatex-caspervector/caspervector-ay.bbx
index 139b83551f1..690d19fe9db 100644
--- a/Master/texmf-dist/tex/latex/biblatex-caspervector/caspervector-ay.bbx
+++ b/Master/texmf-dist/tex/latex/biblatex-caspervector/caspervector-ay.bbx
@@ -23,7 +23,7 @@
% blx-caspervector-utf8.def
\ProvidesFile{caspervector-ay.bbx}%
- [2020/11/02 v0.3.5 Casper Ti. Vector's author-year biblatex bibstyle]
+ [2022/10/30 v0.3.6 Casper Ti. Vector's author-year biblatex bibstyle]
\RequireBibliographyStyle{authoryear-comp}
\input{blx-caspervector-base.def}
diff --git a/Master/texmf-dist/tex/latex/biblatex-caspervector/caspervector-ay.cbx b/Master/texmf-dist/tex/latex/biblatex-caspervector/caspervector-ay.cbx
index 12133338a93..a58fecebe36 100644
--- a/Master/texmf-dist/tex/latex/biblatex-caspervector/caspervector-ay.cbx
+++ b/Master/texmf-dist/tex/latex/biblatex-caspervector/caspervector-ay.cbx
@@ -23,7 +23,7 @@
% blx-caspervector-utf8.def
\ProvidesFile{caspervector-ay.cbx}%
- [2020/11/02 v0.3.5 Casper Ti. Vector's author-year biblatex citestyle]
+ [2022/10/30 v0.3.6 Casper Ti. Vector's author-year biblatex citestyle]
\RequireCitationStyle{authoryear-comp}
\renewcommand*{\compcitedelim}{\bbx@citebcomma}
diff --git a/Master/texmf-dist/tex/latex/biblatex-caspervector/caspervector.bbx b/Master/texmf-dist/tex/latex/biblatex-caspervector/caspervector.bbx
index 80682d4e050..9647c575da5 100644
--- a/Master/texmf-dist/tex/latex/biblatex-caspervector/caspervector.bbx
+++ b/Master/texmf-dist/tex/latex/biblatex-caspervector/caspervector.bbx
@@ -23,7 +23,7 @@
% blx-caspervector-utf8.def
\ProvidesFile{caspervector.bbx}%
- [2020/11/02 v0.3.5 Casper Ti. Vector's numeric biblatex bibstyle]
+ [2022/10/30 v0.3.6 Casper Ti. Vector's numeric biblatex bibstyle]
\RequireBibliographyStyle{numeric-comp}
\input{blx-caspervector-base.def}
diff --git a/Master/texmf-dist/tex/latex/biblatex-caspervector/caspervector.cbx b/Master/texmf-dist/tex/latex/biblatex-caspervector/caspervector.cbx
index 5a3ac392cf1..da4f7b5a70e 100644
--- a/Master/texmf-dist/tex/latex/biblatex-caspervector/caspervector.cbx
+++ b/Master/texmf-dist/tex/latex/biblatex-caspervector/caspervector.cbx
@@ -23,7 +23,7 @@
% blx-caspervector-utf8.def
\ProvidesFile{caspervector.cbx}%
- [2020/11/02 v0.3.5 Casper Ti. Vector's numeric biblatex citestyle]
+ [2022/10/30 v0.3.6 Casper Ti. Vector's numeric biblatex citestyle]
\RequireCitationStyle{numeric-comp}
\ExecuteBibliographyOptions{autocite = superscript}