summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/biblatex/latex/biblatex.def
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/biblatex/latex/biblatex.def')
-rw-r--r--macros/latex/contrib/biblatex/latex/biblatex.def27
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]{%