Added proper language mapping for `biblatex`

pull/6/head
Bastian Rieck 2019-04-12 18:48:27 +02:00
parent 0f9e08c1da
commit 173c6d47ea
2 changed files with 1 additions and 28 deletions

View File

@ -1,20 +0,0 @@
\ProvidesFile{bibliography-correct-ordinals.lbx}
\InheritBibliographyExtras{british}
\DeclareBibliographyExtras{%
\protected\def\mkbibordinal#1{%
\begingroup%
\@tempcnta0#1\relax\number\@tempcnta%
\@whilenum\@tempcnta>100\do{\advance\@tempcnta-100\relax}%
\ifnum\@tempcnta>20%
\@whilenum\@tempcnta>9\do{\advance\@tempcnta-10\relax}%
\fi%
\mkbibsuperscript{\ifcase\@tempcnta th\or st\or nd\or rd\else th\fi}%
\endgroup}%
\protected\def\mkbibmascord{\mkbibordinal}%
\protected\def\mkbibfemord{\mkbibordinal}%
\protected\def\mkbibneutord{\mkbibordinal}%
}
\endinput

View File

@ -100,12 +100,6 @@
\newunit%
}
% Do not abbreviate "technical report".
\DefineBibliographyStrings{english}{%
bibliography = {Bibliography},
techreport = {technical report},
}
% Display the label of a bibliographic entry in bare style, without any
% brackets. I like this more than the default.
%
@ -135,5 +129,4 @@
\small
}
\DeclareLanguageMapping{british}{bibliography-correct-ordinals}
\DeclareLanguageMapping{english}{bibliography-correct-ordinals}
\DeclareLanguageMapping{english}{english-mimosis}