diff options
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex-sbl/biblatex-sbl.def | 12 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex-sbl/sbl.cbx | 76 |
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}} |