diff options
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.bbx | 47 |
1 files changed, 18 insertions, 29 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 8962185e25e..4e0ecfd47a7 100644 --- a/Master/texmf-dist/tex/latex/biblatex-gost/gost-standard.bbx +++ b/Master/texmf-dist/tex/latex/biblatex-gost/gost-standard.bbx @@ -1,14 +1,14 @@ \ProvidesFile{gost-standard.bbx} -[2017/08/23\space v1.16\space biblatex-gost styles] +[2018/02/20\space v1.17\space biblatex-gost styles] -\def\bbx@gost@date{2017/08/23} -\def\bbx@gost@version{1.16} +\def\bbx@gost@date{2018/02/20} +\def\bbx@gost@version{1.17} -\@ifpackagelater{biblatex}{2016/09/07} +\@ifpackagelater{biblatex}{2016/12/06} {} {\PackageError{biblatex} {Outdated 'biblatex' package} - {This version of 'biblatex-gost' requires biblatex v3.5 or + {This version of 'biblatex-gost' requires biblatex v3.8 or later.\MessageBreak You are using: '\csuse{ver@biblatex.sty}'.\MessageBreak This is a fatal error. I'm aborting now.}% \endinput} @@ -41,6 +41,7 @@ \newtoggle{cbx:eprint} \newtoggle{bbx:related:bib} \newtoggle{bbx:related:cite} +\newtoggle{bbx:gost:otherlangs} \newtoggle{bbx:gostbibliography} \togglefalse{bbx:gostbibliography} @@ -48,28 +49,8 @@ \DeclareBibliographyOption{otherlangs}[true]{% \ifstrequal{#1}{true} - {\DeclareLanguageMapping{brazilian}{brazilian-gost} - \DeclareLanguageMapping{catalan}{catalan-gost} - \DeclareLanguageMapping{croatian}{croatian-gost} - \DeclareLanguageMapping{english}{english-gost} - \DeclareLanguageMapping{galician}{galician-gost} - \DeclareLanguageMapping{greek}{greek-gost} - \DeclareLanguageMapping{icelandic}{icelandic-gost} - \DeclareLanguageMapping{italian}{italian-gost} - \DeclareLanguageMapping{portuguese}{portuguese-gost} - \DeclareLanguageMapping{slovene}{slovene-gost} - \DeclareLanguageMapping{spanish}{spanish-gost}} - {\DeclareLanguageMapping{brazilian}{brazilian} - \DeclareLanguageMapping{catalan}{catalan} - \DeclareLanguageMapping{croatian}{croatian} - \DeclareLanguageMapping{english}{english} - \DeclareLanguageMapping{galician}{galician} - \DeclareLanguageMapping{greek}{greek} - \DeclareLanguageMapping{icelandic}{icelandic} - \DeclareLanguageMapping{italian}{italian} - \DeclareLanguageMapping{portuguese}{portuguese} - \DeclareLanguageMapping{slovene}{slovene} - \DeclareLanguageMapping{spanish}{spanish}} + {\toggletrue{bbx:gost:otherlangs}} + {\togglefalse{bbx:gost:otherlangs}} } \newbibmacro*{bbx:savehash}{% @@ -282,7 +263,8 @@ eventdate=comp, blockpunct=emdash, doublevols=true, - otherlangs=true} + otherlangs=true, +} \newbibmacro*{cbx:bookibid:check}[2]{#2} @@ -545,6 +527,13 @@ \newcommand*{\blx@gost@iflangsequal}[4]{\iffieldsequal{#1}{#2}{#3}{#4}} } +% clear \newblock in citations, not in biblists +\AtUsedriver*{% + \ifcitation{\let\newblock\relax}{}% + \let\finentry\blx@finentry@usedrv + \let\abx@macro@bibindex\@empty + \let\abx@macro@pageref\@empty} + \newbibmacro*{begentry}{% \csundef{savedclearedcredits}% \csundef{savedclearededitor}% @@ -2379,7 +2368,7 @@ {\datecircaprint}% \dateeraprintpre{#1year}% \mkyearzeros{\thefield{#1year}}% - % \printfield{extrayear}% + % \printfield{extradate}% \iffieldsequal{#1dateera}{#1enddateera} {} {\dateeraprint{#1year}}% |