diff options
author | Karl Berry <karl@freefriends.org> | 2018-12-16 21:52:21 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-12-16 21:52:21 +0000 |
commit | 5baa8b8ec1df21574547cd1d1bcb43b7e395923f (patch) | |
tree | 2f1b8b3ed094d78e6b59c47cf74af303ed116341 /Master/texmf-dist/tex/latex/biblatex-sbl/sbl.cbx | |
parent | fdbdef80eba0c9bc973e568e0900c2f29ab170cc (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/sbl.cbx')
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex-sbl/sbl.cbx | 76 |
1 files changed, 76 insertions, 0 deletions
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}} |