odomanov/biblatex-gost

\mkrelatedstring will be deprecated in favour of \mkrelatedstringtext

Closed this issue · 2 comments

Apologies for writing in English.

Due to plk/biblatex#1057 (and in particular plk/biblatex@f5a096a) we are planning to deprecate \mkrelatedstring in favour of the new command \mkrelatedstringtext.

This style uses \mkrelatedstring in https://github.com/odomanov/biblatex-gost/blob/master/tex/latex/biblatex-gost/biblatex-gost.def and https://github.com/odomanov/biblatex-gost/blob/master/tex/latex/biblatex-gost/bbx/gost-standard.bbx.

In order to avoid deprecation warnings it is recommended to switch over to the new command.

This could be done by defining the new \mkrelatedstringtext yourself if it is not defined already (easiest probably with \providecommand)

\providecommand*{\mkrelatedstringtext}[1]{{{\mainlang #1}}}

and
switching all uses of the form

\bibstring[\mkrelatedstring]

to

\bibstring[\mkrelatedstringtext]

and all uses of the form

\begingroup
\mkrelatedstring%
\lbx@initnamehook{#1}%
\endgroup

to

\mkrelatedstringtext{\lbx@initnamehook{#1}}%

See for example what I did for biblatex-ext: moewew/biblatex-ext@df5c2b4.

Done in the version 1.19.