diff options
Diffstat (limited to 'macros/latex/contrib/biblatex/latex/blx-compat.def')
-rw-r--r-- | macros/latex/contrib/biblatex/latex/blx-compat.def | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/macros/latex/contrib/biblatex/latex/blx-compat.def b/macros/latex/contrib/biblatex/latex/blx-compat.def index 46272f181f..54dee8e634 100644 --- a/macros/latex/contrib/biblatex/latex/blx-compat.def +++ b/macros/latex/contrib/biblatex/latex/blx-compat.def @@ -6,13 +6,13 @@ \AtBeginDocument{% \renewrobustcmd*{\bibliography}[1]{% \blx@error - {'\string\bibliography' invalid} + {'\string\bibliography' invalid in 'document' env} {Use '\string\addbibresource' instead.\MessageBreak I'm ignoring this command}}} \renewrobustcmd*{\bibliographystyle}[1]{% \blx@error - {'\string\bibliographystyle' invalid} + {'\string\bibliographystyle' invalid for 'biblatex'} {Use the package option 'style' instead.\MessageBreak I'm ignoring this command}} @@ -356,4 +356,18 @@ % and \mkrelatedstring for \mkrelatedstringtext \newcommand{\mkrelatedstring}{\mainlang} +% 3.17 +% ------------------------------------------------------------------ +% Deprecations for ISO8601 year divisions +% ------------------------------------------------------------------ + +% can't use \DeprecateFieldWithReplacement here because we do some +% testing on the field values, so injecting warnings breaks things +\def\do#1{% + \appto\blx@aliasfields{% + \csletcs{abx@field@#1season}{abx@field@#1yeardivision}% + \csletcs{abx@field@#1endseason}{abx@field@#1endyeardivision}}} +\abx@dodatetypes + + \endinput |