summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-gost/gost-standard.bbx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-gost/gost-standard.bbx')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-gost/gost-standard.bbx17
1 files changed, 11 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-gost/gost-standard.bbx b/Master/texmf-dist/tex/latex/biblatex-gost/gost-standard.bbx
index befce113ae1..2d92933cfa5 100644
--- a/Master/texmf-dist/tex/latex/biblatex-gost/gost-standard.bbx
+++ b/Master/texmf-dist/tex/latex/biblatex-gost/gost-standard.bbx
@@ -1,8 +1,8 @@
\ProvidesFile{gost-standard.bbx}
-[2020/02/23\space v1.18\space biblatex-gost styles]
+[2020/10/25\space v1.19\space biblatex-gost styles]
-\def\bbx@gost@date{2020/02/23}
-\def\bbx@gost@version{1.18}
+\def\bbx@gost@date{2020/10/25}
+\def\bbx@gost@version{1.19}
\@ifpackagelater{biblatex}{2019/09/01}
{}
@@ -35,6 +35,10 @@
\RequireBiber[3] % strictly required
+% workaround for the \mkrelatedstring deprecation.
+% https://github.com/odomanov/biblatex-gost/issues/27
+\providecommand*{\mkrelatedstringtext}[1]{{{\mainlang #1}}}
+
\blx@inputonce{biblatex-gost.def}{biblatex-gost generic definitions}{}{}{}{}
\newtoggle{bbx:isbn}
@@ -535,6 +539,7 @@
% clear \newblock in citations, not in biblists
\AtUsedriver*{%
+ \delimcontext{bib}%
\ifcitation{\let\newblock\relax}{}%
\let\finentry\blx@finentry@usedrv
\let\abx@macro@bibindex\@empty
@@ -2468,14 +2473,14 @@
test {\ifbibxstring{\thefield{relatedtype}s}}
}
{\printtext[\bbx@tempb]{%
- \bibstring[\mkrelatedstring]{\thefield{relatedtype}s}}}
+ \bibstring[\mkrelatedstringtext]{\thefield{relatedtype}s}}}
{\iffieldbibstring{relatedtype}
{\printtext[\bbx@tempb]{%
- \bibstring[\mkrelatedstring]{\thefield{relatedtype}}}}
+ \bibstring[\mkrelatedstringtext]{\thefield{relatedtype}}}}
{}}}
{\iffieldbibstring{relatedstring}
{\printtext[\bbx@tempb]{%
- \bibstring[\mkrelatedstring]{\thefield{relatedstring}}}}
+ \bibstring[\mkrelatedstringtext]{\thefield{relatedstring}}}}
{\printfield[\bbx@tempb]{relatedstring}}}%
\docsvfield{related}%
\usebibmacro{endrelatedloop}}}%