diff options
author | Karl Berry <karl@freefriends.org> | 2013-11-05 01:10:19 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-11-05 01:10:19 +0000 |
commit | 3c765a85506e5e370e6f349eb8fc66141a9f6c36 (patch) | |
tree | 9e853e5d18eea25e0775780bcf02d8997bd20052 /Master/texmf-dist/tex/latex/biblatex-gost/gost-standard.bbx | |
parent | 45c606bee196cd87449612bf1b11df69557f8a03 (diff) |
biblatex-gost (4nov13)
git-svn-id: svn://tug.org/texlive/trunk@32072 c570f23f-e606-0410-a88d-b1316a301751
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 | 30 |
1 files changed, 17 insertions, 13 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 9f40ac74e1b..ded8d97005d 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} -[2013/07/17\space v0.9\space biblatex-gost styles] +[2013/11/04\space v0.9.1\space biblatex-gost styles] -\def\bbx@gost@date{2013/07/17} -\def\bbx@gost@version{0.9} +\def\bbx@gost@date{2013/11/04} +\def\bbx@gost@version{0.9.1} -\@ifpackagelater{biblatex}{2013/07/03} +\@ifpackagelater{biblatex}{2013/10/18} {} {\PackageError{biblatex} {Outdated 'biblatex' package} - {This version of 'biblatex-gost' requires biblatex v2.7 or later.\MessageBreak + {This version of 'biblatex-gost' requires biblatex v2.8 or later.\MessageBreak You are using: '\csuse{ver@biblatex.sty}'.\MessageBreak This is a fatal error. I'm aborting now.}% \endinput} @@ -279,12 +279,12 @@ \ifpunctmark{'}{}{\bibnamedelimc}}% \mkbibhdnamelast{#1}\isdot \ifblank{#4}{}{\bibnamedelimd\mkbibhdnameaffix{#4}\isdot}% - \ifblank{#2}{}{\addcomma\bibnamedelimd\mkbibhdnamefirst{#2}\isdot}} + \ifblank{#2}{}{\revsdnamepunct\bibnamedelimd\mkbibhdnamefirst{#2}\isdot}} {\usebibmacro{name:delim}{#1}% \usebibmacro{name:hook}{#1}% \mkbibhdnamelast{#1}\isdot \ifblank{#4}{}{\bibnamedelimd\mkbibhdnameaffix{#4}\isdot}% - \ifblank{#2#3}{}{\addspace}% + \ifblank{#2#3}{}{\revsdnamepunct}% \ifblank{#2}{}{\bibnamedelimd\mkbibhdnamefirst{#2}\isdot}% \ifblank{#3}{}{\bibnamedelimd\mkbibhdnameprefix{#3}\isdot}}} \DeclareNameAlias{editor}{author} @@ -293,6 +293,8 @@ \DeclareNameAlias{editorc}{editor} \DeclareNameAlias{translator}{author} +\renewcommand*{\revsdnamepunct}{\addspace}% + \DeclareNameFormat{last-first:full}{% \begingroup% \renewcommand*{\revsdnamepunct}{\addspace}% @@ -319,7 +321,11 @@ \newcommand*{\blx@gost@endofstring}{\@\@\@\@\@} % end of string = \\\ \newcommand*{\blx@gost@setunit}{\newunit} -\@ifpackageloaded{babel} +\ifboolexpr{% + test {\@ifpackageloaded{babel}} + or + test {\@ifpackageloaded{polyglossia}} + } {\edef\gostmedialanguage{\csname bbl@main@language\endcsname}% \newcommand*{\select@medialanguage}{\select@language{\gostmedialanguage}}} {\edef\gostmedialanguage{russian}% @@ -1947,8 +1953,6 @@ % Related field -\renewcommand*{\relatedpunct}{\setunit{\addspace}} - \newcounter{bbx:relatedcount} \newcounter{bbx:relatedtotal} @@ -2077,15 +2081,15 @@ % changing the language of citations \gpreto\blx@hook@citekey{% - \ifdef\abx@field@hyphenation + \ifdef\abx@field@langid {\ifdef\blx@thelangenv {\edef\blx@temp@langenv{\noexpand\csname\blx@thelangenv\endcsname% - {\abx@field@hyphenation}}% + {\abx@field@langid}}% \blx@temp@langenv} {}}% {}} \apptocmd{\blx@citeprint}{% - \ifdef\abx@field@hyphenation + \ifdef\abx@field@langid {\ifdef\blx@thelangenv {\csname end\blx@thelangenv\endcsname} {}}% |