summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-sbl
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-12-16 21:52:21 +0000
committerKarl Berry <karl@freefriends.org>2018-12-16 21:52:21 +0000
commit5baa8b8ec1df21574547cd1d1bcb43b7e395923f (patch)
tree2f1b8b3ed094d78e6b59c47cf74af303ed116341 /Master/texmf-dist/tex/latex/biblatex-sbl
parentfdbdef80eba0c9bc973e568e0900c2f29ab170cc (diff)
biblatex-sbl (16dec18)
git-svn-id: svn://tug.org/texlive/trunk@49426 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-sbl')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-sbl/biblatex-sbl.def12
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-sbl/sbl.cbx76
2 files changed, 86 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-sbl/biblatex-sbl.def b/Master/texmf-dist/tex/latex/biblatex-sbl/biblatex-sbl.def
index b7cfe74ca19..aa7301d2801 100644
--- a/Master/texmf-dist/tex/latex/biblatex-sbl/biblatex-sbl.def
+++ b/Master/texmf-dist/tex/latex/biblatex-sbl/biblatex-sbl.def
@@ -15,8 +15,8 @@
% VERSION STRINGS
% ------------------------------------------------------------------
-\def\sbl@abx@date{2018/05/24}
-\def\sbl@abx@version{0.10}
+\def\sbl@abx@date{2018/12/13}
+\def\sbl@abx@version{0.11}
\def\sbl@abx@bbxid{\sbl@abx@date\space v\sbl@abx@version\space biblatex-sbl bibliography style (DCP)}
\def\sbl@abx@cbxid{\sbl@abx@date\space v\sbl@abx@version\space biblatex-sbl citation style (DCP)}
\def\sbl@abx@lbxid{\sbl@abx@date\space v\sbl@abx@version\space biblatex-sbl localization (DCP)}
@@ -846,6 +846,14 @@
\step[fieldset=options, fieldvalue={$1}, append]
}
\map[overwrite]{
+ \pernottype{ancienttext}
+ \pernottype{classictext}
+ \step[fieldsource=related, final]
+ \step[fieldsource=relatedoptions, match=\regexp{(.*)}]
+ \step[fieldset=relatedoptions, fieldvalue={skipbib,skipbiblist=false,}]
+ \step[fieldset=relatedoptions, fieldvalue={$1}, append]
+ }
+ \map[overwrite]{
\pertype{ancienttext}
\pertype{classictext}
\step[fieldsource=related, final]
diff --git a/Master/texmf-dist/tex/latex/biblatex-sbl/sbl.cbx b/Master/texmf-dist/tex/latex/biblatex-sbl/sbl.cbx
index 9d15a05e876..bb745ef0b83 100644
--- a/Master/texmf-dist/tex/latex/biblatex-sbl/sbl.cbx
+++ b/Master/texmf-dist/tex/latex/biblatex-sbl/sbl.cbx
@@ -86,6 +86,29 @@
{\newunit
\printfield{pages}}}}
+\newbibmacro*{cite:suppresslabelname}{%
+ \renewbibmacro*{author}{}%
+ \renewbibmacro*{author+holder}{}%
+ \renewbibmacro*{editor}{%
+ \ifboolexpr{
+ test \ifuseeditor
+ and
+ not test {\ifnameundef{editor}}
+ }
+ {\clearname{editor}}
+ {}}%
+ \renewbibmacro*{editor+others}{\usebibmacro{editor}}%
+ \renewbibmacro*{translator}{%
+ \ifboolexpr{
+ test \ifusetranslator
+ and
+ not test {\ifnameundef{translator}}
+ }
+ {\clearname{translator}}
+ {}}%
+ \renewbibmacro*{translator+others}{\usebibmacro{translator}}%
+}
+
\newbibmacro*{bibentrycite}{%
\citereset
\global\togglefalse{relatedseen}%
@@ -166,12 +189,26 @@
{\multicitedelim}
{\usebibmacro{cite:postnote}}
+\DeclareCiteCommand*{\smartcite}[\iffootnote\mkbibparens\mkbibfootnote]
+ {\usebibmacro{prenote}}
+ {\usebibmacro{cite:suppresslabelname}%
+ \usebibmacro{cite}}
+ {\multicitedelim}
+ {\usebibmacro{cite:postnote}}
+
\DeclareCiteCommand{\cite}
{\usebibmacro{prenote}}
{\usebibmacro{cite}}
{\multicitedelim}
{\usebibmacro{cite:postnote}}
+\DeclareCiteCommand*{\cite}
+ {\usebibmacro{prenote}}
+ {\usebibmacro{cite:suppresslabelname}%
+ \usebibmacro{cite}}
+ {\multicitedelim}
+ {\usebibmacro{cite:postnote}}
+
\DeclareCiteCommand{\bibentrycite}
{}
{\usebibmacro{bibentrycite}}
@@ -190,18 +227,39 @@
{\multicitedelim}
{\usebibmacro{cite:postnote}}
+\DeclareCiteCommand*{\parencite}[\mkbibparens]
+ {\usebibmacro{prenote}}
+ {\usebibmacro{cite:suppresslabelname}%
+ \usebibmacro{cite}}
+ {\multicitedelim}
+ {\usebibmacro{cite:postnote}}
+
\DeclareCiteCommand{\footcite}[\mkbibfootnote]
{\usebibmacro{prenote}}
{\usebibmacro{cite}}
{\multicitedelim}
{\usebibmacro{cite:postnote}}
+\DeclareCiteCommand*{\footcite}[\mkbibfootnote]
+ {\usebibmacro{prenote}}
+ {\usebibmacro{cite:suppresslabelname}%
+ \usebibmacro{cite}}
+ {\multicitedelim}
+ {\usebibmacro{cite:postnote}}
+
\DeclareCiteCommand{\footcitetext}[\mkbibfootnotetext]
{\usebibmacro{prenote}}
{\usebibmacro{cite}}
{\multicitedelim}
{\usebibmacro{cite:postnote}}
+\DeclareCiteCommand*{\footcitetext}[\mkbibfootnotetext]
+ {\usebibmacro{prenote}}
+ {\usebibmacro{cite:suppresslabelname}%
+ \usebibmacro{cite}}
+ {\multicitedelim}
+ {\usebibmacro{cite:postnote}}
+
\DeclareCiteCommand{\fullcite}
{\usebibmacro{prenote}}
{\def\blx@shorthand{false}%
@@ -210,6 +268,15 @@
{\multicitedelim}
{\usebibmacro{cite:postnote}}
+\DeclareCiteCommand*{\fullcite}
+ {\usebibmacro{prenote}}
+ {\def\blx@shorthand{false}%
+ \let\ifciteseen\@secondoftwo
+ \usebibmacro{cite:suppresslabelname}%
+ \usebibmacro{cite}}
+ {\multicitedelim}
+ {\usebibmacro{cite:postnote}}
+
\DeclareCiteCommand{\footfullcite}[\mkbibfootnote]
{\usebibmacro{prenote}}
{\def\blx@shorthand{false}%
@@ -218,6 +285,15 @@
{\multicitedelim}
{\usebibmacro{cite:postnote}}
+\DeclareCiteCommand*{\footfullcite}[\mkbibfootnote]
+ {\usebibmacro{prenote}}
+ {\def\blx@shorthand{false}%
+ \let\ifciteseen\@secondoftwo
+ \usebibmacro{cite:suppresslabelname}%
+ \usebibmacro{cite}}
+ {\multicitedelim}
+ {\usebibmacro{cite:postnote}}
+
\DeclareCiteCommand{\citeseries}
{}
{\usebibmacro{shortseries}}