diff options
author | Norbert Preining <norbert@preining.info> | 2022-02-04 03:01:19 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-02-04 03:01:19 +0000 |
commit | b7a48c5e229d2c195b6a32bfd73a1036a31f2df3 (patch) | |
tree | 0de52f1cd71e177264b40f03cfcae565537e941c /macros/latex/contrib/biblatex/latex/biblatex.def | |
parent | 5f2b3969a73a6756d3cd224240ae1be6408d5801 (diff) |
CTAN sync 202202040301
Diffstat (limited to 'macros/latex/contrib/biblatex/latex/biblatex.def')
-rw-r--r-- | macros/latex/contrib/biblatex/latex/biblatex.def | 27 |
1 files changed, 22 insertions, 5 deletions
diff --git a/macros/latex/contrib/biblatex/latex/biblatex.def b/macros/latex/contrib/biblatex/latex/biblatex.def index c4ac8d0169..58c7414182 100644 --- a/macros/latex/contrib/biblatex/latex/biblatex.def +++ b/macros/latex/contrib/biblatex/latex/biblatex.def @@ -210,6 +210,11 @@ % \bibsetup is a generic hook controlling the (low-level) layout of % the bibliography and bibliography lists. The default % definition should work fine in most cases. +% There are a few other penalties and parameters that could be adjusted +% here, but we don't do that by default for backwards compatibility +% reasons. +% * \finalhyphendemerits can be set to 0 to allow hyphenation +% in the penultimate line \newcommand*{\bibsetup}{% \interlinepenalty=5000\relax @@ -1469,6 +1474,10 @@ \sort{\citeorder} } +\DeclareSortingTemplate{count}{ + \sort[direction=descending]{\citecount} +} + \DeclareSortingTemplate{debug}{ \sort{ \field{entrykey} @@ -2247,21 +2256,21 @@ \DeclareCiteCommand{\notecite} {\printfield{prenote}% \setunit*{\printdelim{prenotedelim}}} - {\nocite{\thefield{entrykey}}} + {} {} {\printfield{postnote}} \DeclareCiteCommand{\pnotecite}[\mkbibparens] {\printfield{prenote}% \setunit*{\printdelim{prenotedelim}}} - {\nocite{\thefield{entrykey}}} + {} {} {\printfield{postnote}} \DeclareCiteCommand{\fnotecite}[\mkbibfootnote] {\printfield{prenote}% \setunit*{\printdelim{prenotedelim}}} - {\nocite{\thefield{entrykey}}} + {} {} {\printfield{postnote}} @@ -2979,13 +2988,21 @@ {\ifnamesequal{author}{savedauthor} {\clearname{author}} {}}% - \renewbibmacro*{related:init}{}% \DeclareNameAlias{sortname}{default}% + % from authortitle and authoryear + \ifbibmacroundef{bbx:dashcheck} + {} + {\renewbibmacro*{bbx:dashcheck}[2]{##2}}% + % authoryear + \ifbibmacroundef{labeltitle} + {} + {\renewbibmacro*{labeltitle}{}}% \ifbibmacroundef{date+extradate} {} {\renewbibmacro*{date+extradate}{}% \renewbibmacro*{bbx:ifmergeddate}{\@secondoftwo}}% - \renewbibmacro*{pageref}{}} + \renewbibmacro*{pageref}{}% + \renewbibmacro*{related:init}{}} {\thefield{entrytype}}}} \newbibmacro*{related:bytranslator}[1]{% |