summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-gost
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-07-18 23:29:16 +0000
committerKarl Berry <karl@freefriends.org>2013-07-18 23:29:16 +0000
commit549f87a2032890440c9d3fc9faa568628588e2b3 (patch)
treea3f51974b1e68ac611e7a047d82c369e5ad8a64e /Master/texmf-dist/tex/latex/biblatex-gost
parent16369bdd3c6726591b6196400880febbfb529a2e (diff)
biblatex-gost (18jul13)
git-svn-id: svn://tug.org/texlive/trunk@31233 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-gost')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-gost/biblatex-gost.def62
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-gost/gost-alphabetic-min.bbx2
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-gost/gost-alphabetic-min.cbx2
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-gost/gost-alphabetic.bbx2
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-gost/gost-alphabetic.cbx72
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-gost/gost-authoryear-min.bbx2
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-gost/gost-authoryear-min.cbx2
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-gost/gost-authoryear.bbx14
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-gost/gost-authoryear.cbx113
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-gost/gost-footnote-min.bbx2
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-gost/gost-footnote-min.cbx2
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-gost/gost-footnote.bbx2
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-gost/gost-footnote.cbx2
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-gost/gost-inline-min.bbx2
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-gost/gost-inline-min.cbx2
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-gost/gost-inline.bbx4
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-gost/gost-inline.cbx448
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-gost/gost-numeric-min.bbx2
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-gost/gost-numeric-min.cbx2
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-gost/gost-numeric.bbx4
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-gost/gost-numeric.cbx12
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-gost/gost-standard.bbx395
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-gost/russian-gost.lbx419
23 files changed, 706 insertions, 863 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-gost/biblatex-gost.def b/Master/texmf-dist/tex/latex/biblatex-gost/biblatex-gost.def
index 31a30d94633..5c08d2ebdee 100644
--- a/Master/texmf-dist/tex/latex/biblatex-gost/biblatex-gost.def
+++ b/Master/texmf-dist/tex/latex/biblatex-gost/biblatex-gost.def
@@ -1,5 +1,5 @@
\ProvidesFile{biblatex-gost.def}
-[2013/04/03\space v0.8\space biblatex-gost styles]
+[2013/07/17\space v0.9\space biblatex-gost styles]
% these declarations should be here, not in lbx, to be initialized for all languages
\NewBibliographyString{
@@ -96,8 +96,6 @@
mediatext,
mediabraille,
mediaeresource,
- langpolish,
- frompolish,
updated,
systemreq,
countryru,countryussr,patentru,patentussr,patreqru,patrequssr,invcert,
@@ -559,3 +557,61 @@
\inherit{credits}{bookcredits}
\noinherit{pagetotal}}
+% Related
+
+\renewbibmacro*{related:bytranslator}[1]{%
+ \entrydata{#1}{%
+ \renewbibmacro*{name:hook}[1]{%
+ \ifnumequal{\value{listcount}}{1}
+ {\begingroup
+ \mkrelatedstring%
+ \lbx@initnamehook{#1}%
+ \endgroup}
+ {}}%
+ \printnames[bytranslator]{translator}%
+ \setunit*{\addspace\bibstring[\mkrelatedstring]{astitle}\space}%
+ \usebibmacro{author}%
+ \setunit*{\labelnamepunct}%
+ \usebibmacro{title}%
+ \setunit{\addspace}%
+ \printtext[parens]{%
+ \printlist{location}%
+ \iflistundef{publisher}
+ {\setunit*{\addcomma\space}}
+ {\setunit*{\addcolon\space}}%
+ \printlist{publisher}%
+ \setunit*{\addcomma\space}%
+ \printdate}}}
+
+\renewbibmacro*{related:multivolume}[1]{%
+ \entrydata*{#1}{%
+ \usebibmacro{volume+parts}{\newunit}%
+ \setunit{\addcolondelim}%
+ \ifboolexpr{
+ test {\ifnamesequal{author}{savedauthor}}
+ or
+ test {\ifnameundef{author}}
+ }
+ {}
+ {\usebibmacro{author}%
+ \setunit*{\labelnamepunct}}%
+ \usebibmacro{title}%
+ \setunit{\respdelim}%
+ \iflistsequal{credits}{savedcredits}
+ {}
+ {\usebibmacro{credits}}%
+ \setunit*{\resppunct}%
+ \ifnamesequal{editor}{savededitor}
+ {}
+ {\usebibmacro{byeditor}}%
+ \setunit*{\resppunct}%
+ \ifnamesequal{translator}{savedtranslator}
+ {}
+ {\usebibmacro{bytranslator+others}}%
+ \newunit\newblock
+ \usebibmacro{date}%
+ \newunit\newblock
+ \printfield{pagetotal}%
+ \usebibmacro{finentry}}}
+
+\endinput
diff --git a/Master/texmf-dist/tex/latex/biblatex-gost/gost-alphabetic-min.bbx b/Master/texmf-dist/tex/latex/biblatex-gost/gost-alphabetic-min.bbx
index 3a19c659708..cb77e55bb2a 100644
--- a/Master/texmf-dist/tex/latex/biblatex-gost/gost-alphabetic-min.bbx
+++ b/Master/texmf-dist/tex/latex/biblatex-gost/gost-alphabetic-min.bbx
@@ -1,5 +1,5 @@
\ProvidesFile{gost-alphabetic-min.bbx}
-[2013/04/03\space v0.8\space biblatex-gost styles]
+[2013/07/17\space v0.9\space biblatex-gost styles]
\RequireBibliographyStyle{gost-alphabetic}
\AtEveryBibitem{%
diff --git a/Master/texmf-dist/tex/latex/biblatex-gost/gost-alphabetic-min.cbx b/Master/texmf-dist/tex/latex/biblatex-gost/gost-alphabetic-min.cbx
index 4464fb303c2..0781b33ca61 100644
--- a/Master/texmf-dist/tex/latex/biblatex-gost/gost-alphabetic-min.cbx
+++ b/Master/texmf-dist/tex/latex/biblatex-gost/gost-alphabetic-min.cbx
@@ -1,5 +1,5 @@
\ProvidesFile{gost-alphabetic-min.cbx}
-[2013/04/03\space v0.8\space biblatex-gost styles]
+[2013/07/17\space v0.9\space biblatex-gost styles]
\RequireCitationStyle{gost-alphabetic}
diff --git a/Master/texmf-dist/tex/latex/biblatex-gost/gost-alphabetic.bbx b/Master/texmf-dist/tex/latex/biblatex-gost/gost-alphabetic.bbx
index 941fa69a725..9d169f7c462 100644
--- a/Master/texmf-dist/tex/latex/biblatex-gost/gost-alphabetic.bbx
+++ b/Master/texmf-dist/tex/latex/biblatex-gost/gost-alphabetic.bbx
@@ -1,5 +1,5 @@
\ProvidesFile{gost-alphabetic.bbx}
-[2013/04/03\space v0.8\space biblatex-gost styles]
+[2013/07/17\space v0.9\space biblatex-gost styles]
\RequireBibliographyStyle{gost-standard}
\ExecuteBibliographyOptions{labelalpha,sorting=anyvt}
diff --git a/Master/texmf-dist/tex/latex/biblatex-gost/gost-alphabetic.cbx b/Master/texmf-dist/tex/latex/biblatex-gost/gost-alphabetic.cbx
index 6d49861dab3..1cb4d2cce33 100644
--- a/Master/texmf-dist/tex/latex/biblatex-gost/gost-alphabetic.cbx
+++ b/Master/texmf-dist/tex/latex/biblatex-gost/gost-alphabetic.cbx
@@ -1,75 +1,7 @@
\ProvidesFile{gost-alphabetic.cbx}
-[2013/04/03\space v0.8\space biblatex-gost styles]
+[2013/07/17\space v0.9\space biblatex-gost styles]
+\RequireCitationStyle{alphabetic}
\ExecuteBibliographyOptions{labelalpha,autocite=inline}
-\newbibmacro*{cite}{%
- \printtext[bibhyperref]{%
- \printfield{prefixnumber}%
- \printfield{labelalpha}%
- \printfield{extraalpha}}}
-
-\newbibmacro*{textcite}{%
- \iffieldequals{namehash}{\cbx@lasthash}
- {\multicitedelim}
- {\cbx@tempa
- \ifnameundef{labelname}
- {}
- {\printnames{labelname}\space}%
- \bibopenbracket}%
- \ifnumequal{\value{citecount}}{1}
- {\usebibmacro{prenote}}
- {}%
- \usebibmacro{cite}%
- \savefield{namehash}{\cbx@lasthash}%
- \gdef\cbx@tempa{\bibclosebracket\multicitedelim}}
-
-\DeclareCiteCommand{\cite}[\mkbibbrackets]
- {\usebibmacro{prenote}}
- {\usebibmacro{citeindex}%
- \usebibmacro{cite}}
- {\multicitedelim}
- {\usebibmacro{postnote}}
-
-\DeclareCiteCommand{\parencite}[\mkbibbrackets]
- {\usebibmacro{prenote}}
- {\usebibmacro{citeindex}%
- \usebibmacro{cite}}
- {\multicitedelim}
- {\usebibmacro{postnote}}
-
-\DeclareCiteCommand{\footcite}[\mkbibfootnote]
- {\usebibmacro{prenote}}
- {\usebibmacro{citeindex}%
- \usebibmacro{cite}}
- {\multicitedelim}
- {\usebibmacro{postnote}}
-
-\DeclareCiteCommand{\footcitetext}[\mkbibfootnotetext]
- {\usebibmacro{prenote}}
- {\usebibmacro{citeindex}%
- \usebibmacro{cite}}
- {\multicitedelim}
- {\usebibmacro{postnote}}
-
-\DeclareCiteCommand{\smartcite}[\iffootnote\mkbibbrackets\mkbibfootnote]
- {\usebibmacro{prenote}}
- {\usebibmacro{citeindex}%
- \usebibmacro{cite}}
- {\multicitedelim}
- {\usebibmacro{postnote}}
-
-\DeclareCiteCommand{\textcite}
- {\let\cbx@tempa=\empty
- \undef\cbx@lasthash}
- {\usebibmacro{citeindex}%
- \usebibmacro{textcite}}
- {}
- {\usebibmacro{postnote}%
- \bibclosebracket}
-
-\DeclareMultiCiteCommand{\cites}[\mkbibbrackets]{\cite}{\multicitedelim}
-\DeclareMultiCiteCommand{\parencites}[\mkbibbrackets]{\parencite}{\multicitedelim}
-\DeclareMultiCiteCommand{\smartcites}[\iffootnote\mkbibbrackets\mkbibfootnote]{\smartcite}{\multicitedelim}
-
\endinput
diff --git a/Master/texmf-dist/tex/latex/biblatex-gost/gost-authoryear-min.bbx b/Master/texmf-dist/tex/latex/biblatex-gost/gost-authoryear-min.bbx
index e445d6189fb..912a0c193f4 100644
--- a/Master/texmf-dist/tex/latex/biblatex-gost/gost-authoryear-min.bbx
+++ b/Master/texmf-dist/tex/latex/biblatex-gost/gost-authoryear-min.bbx
@@ -1,5 +1,5 @@
\ProvidesFile{gost-authoryear-min.bbx}
-[2013/04/03\space v0.8\space biblatex-gost styles]
+[2013/07/17\space v0.9\space biblatex-gost styles]
\RequireBibliographyStyle{gost-authoryear}
\AtEveryBibitem{%
diff --git a/Master/texmf-dist/tex/latex/biblatex-gost/gost-authoryear-min.cbx b/Master/texmf-dist/tex/latex/biblatex-gost/gost-authoryear-min.cbx
index eafa9b3f6ab..2b8bcfd9695 100644
--- a/Master/texmf-dist/tex/latex/biblatex-gost/gost-authoryear-min.cbx
+++ b/Master/texmf-dist/tex/latex/biblatex-gost/gost-authoryear-min.cbx
@@ -1,5 +1,5 @@
\ProvidesFile{gost-authoryear-min.cbx}
-[2013/04/03\space v0.8\space biblatex-gost styles]
+[2013/07/17\space v0.9\space biblatex-gost styles]
\RequireCitationStyle{gost-authoryear}
diff --git a/Master/texmf-dist/tex/latex/biblatex-gost/gost-authoryear.bbx b/Master/texmf-dist/tex/latex/biblatex-gost/gost-authoryear.bbx
index 9c3ab565cdc..35100eacc73 100644
--- a/Master/texmf-dist/tex/latex/biblatex-gost/gost-authoryear.bbx
+++ b/Master/texmf-dist/tex/latex/biblatex-gost/gost-authoryear.bbx
@@ -1,5 +1,5 @@
\ProvidesFile{gost-authoryear.bbx}
-[2013/04/03\space v0.8\space biblatex-gost styles]
+[2013/07/17\space v0.9\space biblatex-gost styles]
\RequireBibliographyStyle{gost-standard}
@@ -226,7 +226,7 @@
\setlength{\labelauthoryearsep}{\biblabelsep}%
}
-\ExecuteBibliographyOptions{labelyear,labeltitleyear,sorting=nyt,pagetracker,mergedate=gostletter,
+\ExecuteBibliographyOptions{labeldate,labeltitleyear,sorting=nyt,pagetracker,mergedate=gostletter,
bibisbn,biburl,bibdoi,bibeprint}
\DeclareFieldFormat{shorthandwidth}{#1}
@@ -294,7 +294,7 @@
\usebibmacro{bbx:savehash}}%
\usebibmacro{#1}%
\clearname{editor}%
- \setunit*{\addspace}}
+ \setunit*{\addspace}}%
{\global\undef\bbx@lasthash%
\usebibmacro{labeltitle}%
\setunit*{\addspace}}%
@@ -317,17 +317,11 @@
\usebibmacro{bbx:savehash}}%
\usebibmacro{#1}%
\clearname{translator}%
- \setunit*{\addspace}}
+ \setunit*{\addspace}}%
{\global\undef\bbx@lasthash%
\usebibmacro{labeltitle}%
\setunit*{\addspace}}%
\usebibmacro{date+extrayear}}
-%\def\blx@numalph\blx@asbuk%
-%\def\blx@asbuk#1{%
-% \ifcase#1\relax\blx@warning@entry{Value out of range}\number#1\or
-% а\or б\or в\or г\or д\or е\or ж\or з\or и\or к\or л\or м\or н\or
-% о\or п\or р\or с\or т\or у\or ф\or х\or ц\or ч\or ш\or щ\or ы\else
-% \blx@warning@entry{Value out of range}\number#1\fi}
\endinput
diff --git a/Master/texmf-dist/tex/latex/biblatex-gost/gost-authoryear.cbx b/Master/texmf-dist/tex/latex/biblatex-gost/gost-authoryear.cbx
index 4c7dcd74c49..3546d7a9b5a 100644
--- a/Master/texmf-dist/tex/latex/biblatex-gost/gost-authoryear.cbx
+++ b/Master/texmf-dist/tex/latex/biblatex-gost/gost-authoryear.cbx
@@ -1,12 +1,14 @@
\ProvidesFile{gost-authoryear.cbx}
-[2013/04/03\space v0.8\space biblatex-gost styles]
+[2013/07/17\space v0.9\space biblatex-gost styles]
\ExecuteBibliographyOptions{dashed=false,citetracker=constrict,loccittracker=constrict,
- singletitle=false,labelyear,labeltitleyear,uniquename=init,
+ singletitle=false,labeldate,labeltitleyear,uniquename=init,
uniquelist,ibidtracker=constrict,pagetracker,sortcites,autocite=inline,
citeisbn,citeurl,citedoi,citeeprint}
\providecommand*{\mkibid}[1]{#1}
+\renewcommand*{\iffinalcitedelim}{%
+ \ifnumequal{\value{textcitecount}}{\value{textcitetotal}-1}}
\newbool{cbx:parens}
\newbool{cbx:loccit}
@@ -21,27 +23,28 @@
\renewcommand*{\bibleftparen}{\blx@postpunct\ifcitation{[\bibsentence}{(}}
\renewcommand*{\bibrightparen}{\blx@postpunct\ifcitation{]}{)}\midsentence}
-% changing the language of citation
-\gpreto\blx@hook@citekey{%
- \ifdef\abx@field@hyphenation
- {\ifdef\blx@thelangenv
- {\edef\blx@temp@langenv{\noexpand\csname\blx@thelangenv\endcsname%
- {\abx@field@hyphenation}}%
- \blx@temp@langenv}
- {}}%
- {}}
-\apptocmd{\blx@citeprint}{%
- \ifdef\abx@field@hyphenation
- {\ifdef\blx@thelangenv
- {\csname end\blx@thelangenv\endcsname}
- {}}%
- {}%
-}{}{\blx@err@patch{citeprint command}}
-
\DeclareFieldFormat*{citetitle}{\mkbibemph{#1}}
-\DeclareFieldFormat{extratitleyear}{\mknumalph{#1}}
+\DeclareFieldFormat{extratitleyear}{%
+ \iffieldnums{labelyear}
+ {\mknumalph{#1}}
+ {\printtext{(}\mknumalph{#1}\printtext{)}}}
\DeclareFieldFormat{citeheading}{#1}
+\newbibmacro*{cite:init}{%
+ \global\boolfalse{cbx:loccit}%
+ \ifnumless{\value{multicitecount}}{2}
+ {\global\boolfalse{cbx:parens}%
+ \global\undef\cbx@lasthash
+ \global\undef\cbx@lastyear}
+ {\iffieldundef{prenote}
+ {}
+ {\global\undef\cbx@lasthash
+ \global\undef\cbx@lastyear}}}
+
+\newbibmacro*{cite:reinit}{%
+ \global\undef\cbx@lasthash
+ \global\undef\cbx@lastyear}
+
\newbibmacro*{cite}{%
\iffieldundef{shorthand}
{\ifthenelse{\ifciteibid\AND\NOT\iffirstonpage}
@@ -104,21 +107,6 @@
\printfield{labelyear}%
\usebibmacro{cite:extras}}}}}
-\newbibmacro*{cite:init}{%
- \global\boolfalse{cbx:loccit}%
- \ifnumless{\value{multicitecount}}{2}
- {\global\boolfalse{cbx:parens}%
- \global\undef\cbx@lasthash
- \global\undef\cbx@lastyear}
- {\iffieldundef{prenote}
- {}
- {\global\undef\cbx@lasthash
- \global\undef\cbx@lastyear}}}
-
-\newbibmacro*{cite:reinit}{%
- \global\undef\cbx@lasthash
- \global\undef\cbx@lastyear}
-
\newbibmacro*{citeyear}{%
\iffieldundef{shorthand}
{\ifthenelse{\ifciteibid\AND\NOT\iffirstonpage}
@@ -182,13 +170,14 @@
{\usebibmacro{cite:labelyear+extrayear}}}%
\savefield{labelyear}{\cbx@lastyear}}
{\usebibmacro{cite:shorthand}%
- \global\undef\cbx@lastyear}%
- \savefield{namehash}{\cbx@lasthash}}}%
+ \global\undef\cbx@lastyear}}%
+ \stepcounter{textcitecount}%
+ \savefield{namehash}{\cbx@lasthash}}%
\setunit{%
\ifbool{cbx:parens}
{\bibcloseparen\global\boolfalse{cbx:parens}}
{}%
- \multicitedelim}}
+ \textcitedelim}}
\newbibmacro*{cite:heading}[1]{%
\printtext[#1]{\printfield[citeheading]{heading}}}
@@ -238,7 +227,7 @@
\ifbool{cbx:parens}
{\bibcloseparen\global\boolfalse{cbx:parens}}
{}%
- \multicitedelim}}}
+ \textcitedelim}}}
\DeclareCiteCommand{\cite}
{\usebibmacro{cite:init}%
@@ -296,19 +285,51 @@
{}
{\usebibmacro{cite:postnote}}
-\DeclareCiteCommand{\textcite}
+\DeclareCiteCommand{\cbx@textcite}
{\usebibmacro{cite:init}}
{\usebibmacro{citeindex}%
\usebibmacro{textcite}}
{}
{\usebibmacro{textcite:postnote}}
+\DeclareCiteCommand{\textcite}[\cbx@textcite@init\cbx@textcite]
+ {\gdef\cbx@savedkeys{}%
+ \citetrackerfalse%
+ \pagetrackerfalse%
+ \DeferNextCitekeyHook%
+ \usebibmacro{cite:init}}
+ {\ifthenelse{\iffirstcitekey\AND\value{multicitetotal}>0}
+ {\protected@xappto\cbx@savedcites{()(\thefield{multipostnote})}%
+ \global\clearfield{multipostnote}}
+ {}%
+ \xappto\cbx@savedkeys{\thefield{entrykey},}%
+ \iffieldequals{namehash}{\cbx@lasthash}
+ {}
+ {\stepcounter{textcitetotal}%
+ \savefield{namehash}{\cbx@lasthash}}}
+ {}
+ {\protected@xappto\cbx@savedcites{%
+ [\thefield{prenote}][\thefield{postnote}]{\cbx@savedkeys}}}
+
+\newrobustcmd{\cbx@textcite@init}[2]{%
+ \setcounter{textcitetotal}{0}%
+ \setcounter{textcitecount}{0}%
+ \def\cbx@savedcites{#1}#2\cbx@savedcites\empty}
+
+\DeclareMultiCiteCommand{\cbx@textcites}{\cbx@textcite}{}
+\DeclareMultiCiteCommand{\textcites}[\cbx@textcites@init\cbx@textcites]{\textcite}{}
+
+\let\cbx@textcites@init\cbx@textcite@init
+\pretocmd{\cbx@textcites@init}{\UseNextMultiCiteHook}{}{}
+
\DeclareMultiCiteCommand{\cites}{\cite}{\setunit{\multicitedelim}}
-\DeclareMultiCiteCommand{\parencites}[\mkbibparens]{\parencite}{\setunit{\multicitedelim}}
-\DeclareMultiCiteCommand{\footcites}[\mkbibfootnote]{\footcite}{\setunit{\multicitedelim}}
-\DeclareMultiCiteCommand{\footcitetexts}[\mkbibfootnotetext]{\footcitetext}{\setunit{\multicitedelim}}
-\DeclareMultiCiteCommand{\smartcites}[\iffootnote\mkbibparens\mkbibfootnote]{\smartcite}
- {\setunit{\multicitedelim}}
-\DeclareMultiCiteCommand{\textcites}{\textcite}{}
+\DeclareMultiCiteCommand{\parencites}[\mkbibparens]
+ {\parencite}{\setunit{\multicitedelim}}
+\DeclareMultiCiteCommand{\footcites}[\mkbibfootnote]
+ {\footcite}{\setunit{\multicitedelim}}
+\DeclareMultiCiteCommand{\footcitetexts}[\mkbibfootnotetext]
+ {\footcitetext}{\setunit{\multicitedelim}}
+\DeclareMultiCiteCommand{\smartcites}[\iffootnote\mkbibparens\mkbibfootnote]
+ {\smartcite}{\setunit{\multicitedelim}}
\endinput
diff --git a/Master/texmf-dist/tex/latex/biblatex-gost/gost-footnote-min.bbx b/Master/texmf-dist/tex/latex/biblatex-gost/gost-footnote-min.bbx
index 7b680bcdc76..a0563d4515e 100644
--- a/Master/texmf-dist/tex/latex/biblatex-gost/gost-footnote-min.bbx
+++ b/Master/texmf-dist/tex/latex/biblatex-gost/gost-footnote-min.bbx
@@ -1,5 +1,5 @@
\ProvidesFile{gost-footnote-min.bbx}
-[2013/04/03\space v0.8\space biblatex-gost styles]
+[2013/07/17\space v0.9\space biblatex-gost styles]
\RequireBibliographyStyle{gost-inline-min}
diff --git a/Master/texmf-dist/tex/latex/biblatex-gost/gost-footnote-min.cbx b/Master/texmf-dist/tex/latex/biblatex-gost/gost-footnote-min.cbx
index 3638d143742..1024069d533 100644
--- a/Master/texmf-dist/tex/latex/biblatex-gost/gost-footnote-min.cbx
+++ b/Master/texmf-dist/tex/latex/biblatex-gost/gost-footnote-min.cbx
@@ -1,5 +1,5 @@
\ProvidesFile{gost-footnote-min.cbx}
-[2013/04/03\space v0.8\space biblatex-gost styles]
+[2013/07/17\space v0.9\space biblatex-gost styles]
\RequireCitationStyle{gost-footnote}
\renewbibmacro*{cite:clearfields}{%
diff --git a/Master/texmf-dist/tex/latex/biblatex-gost/gost-footnote.bbx b/Master/texmf-dist/tex/latex/biblatex-gost/gost-footnote.bbx
index 6cba58c0c2b..16bd50f82c2 100644
--- a/Master/texmf-dist/tex/latex/biblatex-gost/gost-footnote.bbx
+++ b/Master/texmf-dist/tex/latex/biblatex-gost/gost-footnote.bbx
@@ -1,5 +1,5 @@
\ProvidesFile{gost-footnote.bbx}
-[2013/04/03\space v0.8\space biblatex-gost styles]
+[2013/07/17\space v0.9\space biblatex-gost styles]
\RequireBibliographyStyle{gost-inline}
diff --git a/Master/texmf-dist/tex/latex/biblatex-gost/gost-footnote.cbx b/Master/texmf-dist/tex/latex/biblatex-gost/gost-footnote.cbx
index 8c61a42bcd2..0cf4e03b322 100644
--- a/Master/texmf-dist/tex/latex/biblatex-gost/gost-footnote.cbx
+++ b/Master/texmf-dist/tex/latex/biblatex-gost/gost-footnote.cbx
@@ -1,5 +1,5 @@
\ProvidesFile{gost-footnote.cbx}
-[2013/04/03\space v0.8\space biblatex-gost styles]
+[2013/07/17\space v0.9\space biblatex-gost styles]
\RequireCitationStyle{gost-inline}
diff --git a/Master/texmf-dist/tex/latex/biblatex-gost/gost-inline-min.bbx b/Master/texmf-dist/tex/latex/biblatex-gost/gost-inline-min.bbx
index d94e4a65bde..f23226eff2d 100644
--- a/Master/texmf-dist/tex/latex/biblatex-gost/gost-inline-min.bbx
+++ b/Master/texmf-dist/tex/latex/biblatex-gost/gost-inline-min.bbx
@@ -1,5 +1,5 @@
\ProvidesFile{gost-inline-min.bbx}
-[2013/04/03\space v0.8\space biblatex-gost styles]
+[2013/07/17\space v0.9\space biblatex-gost styles]
\RequireBibliographyStyle{gost-inline}
\AtEveryBibitem{%
diff --git a/Master/texmf-dist/tex/latex/biblatex-gost/gost-inline-min.cbx b/Master/texmf-dist/tex/latex/biblatex-gost/gost-inline-min.cbx
index fb9e5f974d9..1c2d123facf 100644
--- a/Master/texmf-dist/tex/latex/biblatex-gost/gost-inline-min.cbx
+++ b/Master/texmf-dist/tex/latex/biblatex-gost/gost-inline-min.cbx
@@ -1,5 +1,5 @@
\ProvidesFile{gost-inline-min.cbx}
-[2013/04/03\space v0.8\space biblatex-gost styles]
+[2013/07/17\space v0.9\space biblatex-gost styles]
\RequireCitationStyle{gost-inline}
\renewbibmacro*{cite:clearfields}{%
diff --git a/Master/texmf-dist/tex/latex/biblatex-gost/gost-inline.bbx b/Master/texmf-dist/tex/latex/biblatex-gost/gost-inline.bbx
index a20aa4d9874..b974ca55f79 100644
--- a/Master/texmf-dist/tex/latex/biblatex-gost/gost-inline.bbx
+++ b/Master/texmf-dist/tex/latex/biblatex-gost/gost-inline.bbx
@@ -1,9 +1,9 @@
\ProvidesFile{gost-inline.bbx}
-[2013/04/03\space v0.8\space biblatex-gost styles]
+[2013/07/17\space v0.9\space biblatex-gost styles]
\RequireBibliographyStyle{gost-standard}
-\ExecuteBibliographyOptions{labelyear,sorting=ntvy,pagetracker,dashed=false,
+\ExecuteBibliographyOptions{labeldate,sorting=ntvy,pagetracker,dashed=false,
bibisbn,biburl,bibdoi,bibeprint}
\DeclareFieldFormat{shorthandwidth}{#1}
diff --git a/Master/texmf-dist/tex/latex/biblatex-gost/gost-inline.cbx b/Master/texmf-dist/tex/latex/biblatex-gost/gost-inline.cbx
index 5491eea6a82..1e01516a8ba 100644
--- a/Master/texmf-dist/tex/latex/biblatex-gost/gost-inline.cbx
+++ b/Master/texmf-dist/tex/latex/biblatex-gost/gost-inline.cbx
@@ -1,5 +1,5 @@
\ProvidesFile{gost-inline.cbx}
-[2013/04/03\space v0.8\space biblatex-gost styles]
+[2013/07/17\space v0.9\space biblatex-gost styles]
\DeclareLabelname
[inbook,incollection,inproceedings,inreference,suppbook,suppcollection,suppperiodical,bookinbook]
@@ -10,9 +10,11 @@
\DeclareFieldFormat{bibhypertarget}{%
\bibhypertarget{\thefield{entrykey}:\the\value{instcount}}{#1}}
\providecommand*{\mkibid}[1]{#1}
-\newtoggle{cbx:loccit}
-\newtoggle{cbx:t:bookibid} % for .. // Ibid. in inbook, incollection,..
-\newtoggle{cbx:f:bookibid}
+\renewcommand*{\iffinalcitedelim}{%
+ \ifnumequal{\value{textcitecount}}{\value{textcitetotal}-1}}
+
+\newtoggle{cbx:loccit} % needed because \blx@loccittracker is executed before 'postnote'
+\newtoggle{cbx:xrefloccit}
\newtoggle{cbx:opt:inbookibid}
\DeclareBibliographyOption{strict}[true]{%
@@ -74,9 +76,9 @@
test {\ifnumequal{\value{citecount}}{\value{citetotal}}}
and
(
- not test {\iffieldundef{pages}}
- or
- not test {\iffieldundef{pagetotal}}
+ not test {\iffieldundef{pages}}
+ or
+ not test {\iffieldundef{pagetotal}}
)
}
{\usebibmacro{cite:postnote:pages}}
@@ -93,58 +95,292 @@
{\def\blx@mincrossrefs{1}}
{}}
-\AtEveryCitekey{%
- \ifcsdef{abx@field@hyphenation}{%
- \edef\blx@languagename{\abx@field@hyphenation}%
- \select@language{\abx@field@hyphenation}%
- \blx@hyphenreset}%
- {}%
-}
-
\DeclareNameAlias{labelname}{author}
\DeclareFieldFormat*{citetitle}{#1}
\renewcommand{\postnotedelim}{\addperiod\space}
\renewcommand{\multicitedelim}{\addsemicolondelim\space}
+% two xref trackers below should go before the option execution
+%
+% xref ibidem tracker
+
+\appto\blx@ibidtracker@gobal{%
+ \ifbool{citetracker}
+ {\blx@imc@iffieldundef{crossref}
+ {\blx@imc@iffieldundef{xref}
+ {\global\undef\blx@lastxref@text}
+ {\blx@imc@savefield{xref}{\blx@lastxref@text}}}
+ {\blx@imc@savefield{crossref}{\blx@lastxref@text}}}
+ {}}
+
+\appto\blx@ibidtracker@context{%
+ \ifbool{citetracker}
+ {\iftoggle{blx@footnote}
+ {\blx@imc@iffieldundef{crossref}
+ {\blx@imc@iffieldundef{xref}
+ {\global\undef\blx@lastxref@foot}
+ {\blx@imc@savefield{xref}{\blx@lastxref@foot}}}
+ {\blx@imc@savefield{crossref}{\blx@lastxref@foot}}}
+ {\blx@imc@iffieldundef{crossref}
+ {\blx@imc@iffieldundef{xref}
+ {\global\undef\blx@lastxref@text}
+ {\blx@imc@savefield{xref}{\blx@lastxref@text}}}
+ {\blx@imc@savefield{crossref}{\blx@lastxref@text}}}}
+ {}}
+
+\appto\blx@ibidreset@force{%
+ \global\undef\blx@lastxref@text%
+ \global\undef\blx@lastxref@foot}
+
+\appto\blx@ibidreset@gobal{%
+ \global\undef\blx@lastxref@text}
+
+\appto\blx@ibidreset@context{%
+ \iftoggle{blx@footnote}
+ {\global\undef\blx@lastxref@foot}
+ {\global\undef\blx@lastxref@text}}
+
+\protected\appto\abx@savetrackers{%
+ \global\let\blx@saved@lastxref@text\blx@lastxref@text%
+ \global\let\blx@saved@lastxref@foot\blx@lastxref@foot}
+
+\protected\appto\abx@resttrackers{%
+ \global\let\blx@lastxref@text\blx@saved@lastxref@text%
+ \global\let\blx@lastxref@foot\blx@saved@lastxref@foot}
+
+\protected\appto\abx@cleartrackers{%
+ \global\undef\blx@saved@lastxref@text%
+ \global\undef\blx@saved@lastxref@foot}
+
+% {<true>}{<false>}
+
+\def\blx@xrefibid@check#1{%
+ \ifboolexpr{
+ test {\blx@imc@iffieldequalcs{crossref}{blx@lastxref@#1}}
+ or
+ test {\blx@imc@iffieldequals{xref}{blx@lastxref@#1}}
+ }}
+
+\def\blx@ifxrefibid@global{%
+ \blx@xrefibid@check{text}}
+
+\def\blx@ifxrefibid@context{%
+ \iftoggle{blx@footnote}
+ {\blx@xrefibid@check{foot}}
+ {\blx@xrefibid@check{text}}}
+
+\def\blx@ifxrefibid@strict{%
+ \blx@ifcitesingle
+ {\blx@ifciteibid@global}
+ {\@secondoftwo}}%
+
+\def\blx@ifxrefibid@constrict{%
+ \blx@ifcitesingle
+ {\iftoggle{blx@footnote}
+ {\blx@ifmpfncheck
+ {\blx@xrefibid@check{foot}}
+ {\@secondoftwo}}
+ {\blx@xrefibid@check{text}}}
+ {\@secondoftwo}}%
+
+\blx@regimcs{\ifxrefibid}
+
+\appto\blx@blxinit{%
+ \appto\blx@TE@hook{%
+ \def\ifxrefibid{\blx@TE\blx@imc@ifxrefibid}}}
+
+\appto\blx@opt@ibidtracker@true{%
+ \let\blx@imc@ifxrefibid\blx@ifxrefibid@global}
+\appto\blx@opt@ibidtracker@false{%
+ \let\blx@imc@ifxrefibid\@secondoftwo}
+\appto\blx@opt@ibidtracker@context{%
+ \let\blx@imc@ifxrefibid\blx@ifxrefibid@context}
+\appto\blx@opt@ibidtracker@strict{%
+ \let\blx@imc@ifxrefibid\blx@ifxrefibid@strict}
+\appto\blx@opt@ibidtracker@constrict{%
+ \let\blx@imc@ifxrefibid\blx@ifxrefibid@constrict}
+
+% end of xref ibidem tracker code
+
+% xrefloccit tracker
+% {<true>}{<false>}
+
+\def\blx@ifxrefloccit@global{%
+ \blx@xrefloccit@check{text}}
+
+\def\blx@ifxrefloccit@context{%
+ \iftoggle{blx@footnote}
+ {\blx@xrefloccit@check{foot}}
+ {\blx@xrefloccit@check{text}}}
+
+\def\blx@ifxrefloccit@strict{%
+ \blx@ifcitesingle
+ {\blx@xrefloccit@numcheck{text}}
+ {\@secondoftwo}}%
+
+\def\blx@ifxrefloccit@constrict{%
+ \blx@ifcitesingle
+ {\iftoggle{blx@footnote}
+ {\blx@ifmpfncheck
+ {\blx@xrefloccit@numcheck{foot}}
+ {\@secondoftwo}}
+ {\blx@xrefloccit@numcheck{text}}}
+ {\@secondoftwo}}
+
+\def\blx@xrefloccit@check#1{%
+ \blx@imc@ifxrefibid
+ {\blx@imc@iffieldundef{postnote}
+ {\@secondoftwo}
+ {\blx@imc@iffieldequalcs{postnote}{blx@xreflastnote@#1}}}
+ {\@secondoftwo}}
+
+\def\blx@xrefloccit@numcheck#1{%
+ \blx@imc@ifxrefibid
+ {\blx@imc@iffieldundef{postnote}
+ {\@secondoftwo}
+ {\expandafter\blx@imc@ifpages
+ \expandafter{\abx@field@postnote}
+ {\blx@imc@iffieldequalcs{postnote}{blx@xreflastnote@#1}}
+ {\@secondoftwo}}}
+ {\@secondoftwo}}
+
+\blx@regimcs{\ifxrefloccit}
+
+% loccit tracker patching
+
+\appto\blx@loccittracker@gobal{%
+ \ifbool{citetracker}
+ {\blx@xrefloccit@tracker{text}}
+ {}}
+
+\appto\blx@loccittracker@context{%
+ \ifbool{citetracker}
+ {\iftoggle{blx@footnote}
+ {\blx@xrefloccit@tracker{foot}}
+ {\blx@xrefloccit@tracker{text}}}
+ {}}
+
+\appto\blx@loccittracker@strict{%
+ \ifbool{citetracker}
+ {\blx@xrefloccit@stricttracker{text}}
+ {}}
+
+\appto\blx@loccittracker@constrict{%
+ \ifbool{citetracker}
+ {\iftoggle{blx@footnote}
+ {\blx@mpfnsave
+ \blx@xrefloccit@stricttracker{foot}}
+ {\blx@xrefloccit@stricttracker{text}}}
+ {}}
+
+\def\blx@xrefloccit@tracker#1{%
+ \global\csundef{blx@xreflastnote@#1}%
+ \blx@imc@iffieldundef{postnote}
+ {}
+ {\global\cslet{blx@xreflastnote@#1}\abx@field@postnote}}
+
+\def\blx@xrefloccit@stricttracker#1{%
+ \global\csundef{blx@xreflastnote@#1}%
+ \blx@imc@iffieldundef{postnote}
+ {}
+ {\blx@ifcitesingle
+ {\expandafter\blx@imc@ifpages
+ \expandafter{\abx@field@postnote}
+ {\global\cslet{blx@xreflastnote@#1}\abx@field@postnote}
+ {}}
+ {}}}
+
+\apptocmd\blx@loccit@reset{% #1
+ \begingroup
+ \global\csundef{blx@xreflastnote@#1}%
+ \endgroup}
+ {}
+ {}
+
+\protected\appto\abx@savetrackers{%
+ \begingroup
+ \global\csletcs{blx@saved@xreflastnote@text}{blx@xreflastnote@text}%
+ \global\csletcs{blx@saved@xreflastnote@foot}{blx@xreflastnote@foot}%
+ \endgroup}
+
+\protected\appto\abx@resttrackers{%
+ \begingroup
+ %\blx@loccit@reset{text}%
+ \global\csletcs{blx@xreflastnote@text}{blx@saved@xreflastnote@text}%
+ %\blx@loccit@reset{foot}%
+ \global\csletcs{blx@xreflastnote@foot}{blx@saved@xreflastnote@foot}%
+ \endgroup}
+
+\protected\appto\abx@cleartrackers{%
+ \begingroup
+ \global\csundef{blx@saved@xreflastnote@text}%
+ \global\csundef{blx@saved@xreflastnote@foot}%
+ \endgroup}
+
+\appto\blx@blxinit{%
+ \appto\blx@TE@hook{%
+ \def\ifxrefloccit{\blx@TE\blx@imc@ifxrefloccit}}}
+
+\appto\blx@opt@loccittracker@true{%
+ \let\blx@imc@ifxrefloccit\blx@ifxrefloccit@global}
+\appto\blx@opt@loccittracker@false{%
+ \let\blx@imc@ifxrefloccit\@secondoftwo}
+\appto\blx@opt@loccittracker@context{%
+ \let\blx@imc@ifxrefloccit\blx@ifxrefloccit@context}
+\appto\blx@opt@loccittracker@strict{%
+ \let\blx@imc@ifxrefloccit\blx@ifxrefloccit@strict}
+\appto\blx@opt@loccittracker@constrict{%
+ \let\blx@imc@ifxrefloccit\blx@ifxrefloccit@constrict}
+
+% end of xrefloccit tracker code
+
\ExecuteBibliographyOptions{citetracker=constrict,autocite=inline,inbookibid=false,
citepages=omit,strict,opcittracker=constrict,labeltitle,
citeisbn=false,citeurl=false,citedoi=false,citeeprint=false}
+\newbibmacro*{set:cbx:loccit:toggles}{%
+ \ifloccit
+ {\global\toggletrue{cbx:loccit}}
+ {\global\togglefalse{cbx:loccit}}%
+ \ifxrefloccit
+ {\global\toggletrue{cbx:xrefloccit}}
+ {\global\togglefalse{cbx:xrefloccit}}}
+
\newbibmacro*{cite:seen}{% the same for cite and footcite
- \ifciteibid
- {\ifloccit{\global\toggletrue{cbx:loccit}}{}%
- \usebibmacro{cite:ibid}}
- {\ifopcit
- {\ifloccit{\global\toggletrue{cbx:loccit}}{}%
- \usebibmacro{cite:opcit}}
+ \iffirstonpage
+ {\iffieldundef{shorthand}
+ {\usebibmacro{cite:short}}
+ {\usebibmacro{cite:shorthand}}}
+ {\ifciteibid
+ {\usebibmacro{cite:ibid}}
+ {\ifopcit
+ {\usebibmacro{cite:opcit}}
{\iffieldundef{shorthand}
{\usebibmacro{cite:short}}
- {\usebibmacro{cite:shorthand}}}}%
-}
+ {\usebibmacro{cite:shorthand}}}}}}
\newbibmacro*{cite}{%
\usebibmacro{cite:citepages}%
- \global\togglefalse{cbx:loccit}%
- \ifboolexpr{%
- not test {\ifdefvoid{\cbx@t@lastcrossref}}
- and
- test {\iffieldequals{crossref}{\cbx@t@lastcrossref}}
- }%
- {\global\toggletrue{cbx:t:bookibid}}
- {\global\togglefalse{cbx:t:bookibid}%
- \savefield{crossref}{\cbx@t@lastcrossref}%
- \global\xdef\cbx@t@bookref{\thefield{entrykey}:\the\value{instcount}}}%
+ \usebibmacro{set:cbx:loccit:toggles}%
\ifciteseen
- {\global\togglefalse{cbx:t:bookibid}%
- \global\undef\cbx@t@lastcrossref%
- \global\undef\cbx@t@bookref%
- \usebibmacro{cite:seen}}
+ {\usebibmacro{cite:seen}}
{\usebibmacro{cite:full}%
- \usebibmacro{cite:save}}}
+ \usebibmacro{cite:save}{t}}}
-\newbibmacro*{cite:save}{%
- \csxdef{cbx@t@\thefield{entrykey}}{\the\value{instcount}}}%
+\newbibmacro*{cite:save:bookref}[1]{%
+ \usebibmacro{cbx:bookibid:check}
+ {}
+ {\iffieldundef{crossref}
+ {\iffieldundef{xref}
+ {}
+ {\csxdef{cbx@#1@bookref@\thefield{xref}}{\thefield{entrykey}:\the\value{instcount}}}}
+ {\csxdef{cbx@#1@bookref@\thefield{crossref}}{\thefield{entrykey}:\the\value{instcount}}}}}
+
+\newbibmacro*{cite:save}[1]{%
+ \csxdef{cbx@#1@\thefield{entrykey}}{\the\value{instcount}}%
+ \label{cbx@\the\value{instcount}}% what for?
+ \usebibmacro{cite:save:bookref}{#1}}
\newbibmacro{cite:clearfields}{%
\renewbibmacro*{series+number}{}%
@@ -161,6 +397,8 @@
\usebibmacro{shorthandintro}}
\newbibmacro*{cite:short}{%
+ \global\togglefalse{cbx:loccit}% always print postnote after short citation
+ \global\togglefalse{cbx:xrefloccit}%
\ifnameundef{labelname}
{\printfield{label}}
{\printnames{labelname}}%
@@ -201,33 +439,21 @@
\printfield[bibhyperlink]{shorthand}}
\newbibmacro*{cite:postnote:ibidpage}{%
- \iftoggle{cbx:loccit}
+ \ifboolexpr{
+ togl {cbx:loccit}
+ or
+ togl {cbx:xrefloccit}
+ }
{}
{\usebibmacro{postnote}}}
\newbibmacro*{footcite}{%
\usebibmacro{cite:citepages}%
- \global\togglefalse{cbx:loccit}%
- \ifboolexpr{%
- not test {\ifdefvoid{\cbx@f@lastcrossref}} % undef, \relax, or empty
- and
- test {\iffieldequals{crossref}{\cbx@f@lastcrossref}}
- }%
- {\global\toggletrue{cbx:f:bookibid}}
- {\global\togglefalse{cbx:f:bookibid}%
- \savefield{crossref}{\cbx@f@lastcrossref}%
- \global\xdef\cbx@f@bookref{\thefield{entrykey}:\the\value{instcount}}}%
+ \usebibmacro{set:cbx:loccit:toggles}%
\ifciteseen
- {\global\togglefalse{cbx:f:bookibid}%
- \global\undef\cbx@f@lastcrossref%
- \global\undef\cbx@f@bookref%
- \usebibmacro{cite:seen}}
+ {\usebibmacro{cite:seen}}
{\usebibmacro{cite:full}%
- \usebibmacro{footcite:save}}}
-
-\newbibmacro*{footcite:save}{%
- \csxdef{cbx@f@\thefield{entrykey}}{\the\value{instcount}}%
- \label{cbx@\the\value{instcount}}}
+ \usebibmacro{cite:save}{f}}}
\DeclareCiteCommand{\cite}
{\usebibmacro{prenote}}
@@ -270,35 +496,89 @@
{\multicitedelim}
{\usebibmacro{cite:postnote}}
-\DeclareCiteCommand{\textcite}[\cbx@textcite\footcite]
- {\gdef\cbx@savedkeys{}}
- {\printnames{labelname}%
- \xappto\cbx@savedkeys{\thefield{entrykey},}}
- {\multinamedelim}
- {\protected@xappto\cbx@savedcites{%
- [\thefield{prenote}][\thefield{postnote}]{\cbx@savedkeys}}}
+\newbibmacro*{textcite}{%
+ \ifnameundef{labelname}
+ {\printfield[citetitle]{labeltitle}}
+ {\printnames{labelname}}}
+
+\newbibmacro*{textcite:init}{%
+ \citetrackerfalse%
+ \pagetrackerfalse%
+ \iffirstcitekey
+ {\global\undef\cbx@lasthash}
+ {}}
-\newrobustcmd{\cbx@textcite}[2]{%
- \def\cbx@savedcites{#1}#2\cbx@savedcites}
+\newbibmacro*{textcite:count}{%
+ \stepcounter{textcitetotal}%
+ \ifnumgreater{\value{labelname}}{\value{textcitemaxnames}}
+ {\setcounter{textcitemaxnames}{\value{labelname}}}
+ {}}
-\DeclareMultiCiteCommand{\textcites}[\cbx@textcite\footcites]{\textcite}{\multicitedelim}
+\DeclareCiteCommand{\cbx@textcite}
+ {\usebibmacro{textcite:init}}
+ {\iffieldequals{namehash}{\cbx@lasthash}
+ {}
+ {\iffirstcitekey
+ {}
+ {\textcitedelim}%
+ \stepcounter{textcitecount}%
+ \usebibmacro{textcite}%
+ \savefield{namehash}{\cbx@lasthash}}}
+ {}
+ {}
+
+\DeclareCiteCommand{\textcite}[\cbx@textcite@init\cbx@textcite\footcite]
+ {\usebibmacro{textcite:init}%
+ \gdef\cbx@savedkeys{}%
+ \DeferNextCitekeyHook}
+ {\ifthenelse{\iffirstcitekey\AND\value{multicitetotal}>0}
+ {\protected@xappto\cbx@footcite@args{%
+ (\thefield{multiprenote})(\thefield{multipostnote})}}
+ {}%
+ \xappto\cbx@savedkeys{\thefield{entrykey},}%
+ \iffieldequals{namehash}{\cbx@lasthash}
+ {}
+ {\usebibmacro{textcite:count}%
+ \savefield{namehash}{\cbx@lasthash}}%
+ \ifnumequal{\value{citecount}}{\value{citetotal}}
+ {\protected@xappto\cbx@textcite@args{{\cbx@savedkeys}}%
+ \protected@xappto\cbx@footcite@args{%
+ [\thefield{prenote}][\thefield{postnote}]{\cbx@savedkeys}}%
+ \iflastcitekey
+ {\protected@xappto\cbx@textcite@args{\thefield{postpunct}}%
+ \protected@xappto\cbx@footcite@args{\nopunct}}
+ {}}
+ {}}
+ {}
+ {}
+
+\newrobustcmd{\cbx@textcite@init}[3]{%
+ \setcounter{textcitetotal}{0}%
+ \setcounter{textcitecount}{0}%
+ \setcounter{textcitemaxnames}{0}%
+ \def\cbx@textcite@args{#1}\def\cbx@footcite@args{#2}#3%
+ \cbx@textcite@args\empty\cbx@footcite@args\empty}
+
+\DeclareMultiCiteCommand{\cbx@textcites}{\cbx@textcite}{}
+\DeclareMultiCiteCommand{\textcites}
+ [\cbx@textcites@init\cbx@textcites\footcites]{\textcite}{}
+
+\let\cbx@textcites@init\cbx@textcite@init
+\pretocmd{\cbx@textcites@init}{%
+ \UseNextMultiCiteHook%
+ \AtNextMultiCite{%
+ \renewbibmacro{multiprenote}{}%
+ \renewbibmacro{multipostnote}{}}}{}{}
\renewbibmacro*{cbx:bookibid:check}[2]{%
\ifboolexpr{%
- test {\ifcitation}
- and
- test {\iftoggle{cbx:opt:inbookibid}}
- and
- ( ( test {\iffootnote}
+ togl {cbx:opt:inbookibid}
and
- test {\iftoggle{cbx:f:bookibid}} )
- or
- ( not test {\iffootnote}
- and
- test {\iftoggle{cbx:t:bookibid}} )
- )
- }
- {#1}
- {#2}}
+ test {\ifcitation}
+ and
+ test {\ifxrefibid}
+ }
+ {#1}
+ {#2}}
\endinput
diff --git a/Master/texmf-dist/tex/latex/biblatex-gost/gost-numeric-min.bbx b/Master/texmf-dist/tex/latex/biblatex-gost/gost-numeric-min.bbx
index c2a9c9c3acd..6d20f5e32a6 100644
--- a/Master/texmf-dist/tex/latex/biblatex-gost/gost-numeric-min.bbx
+++ b/Master/texmf-dist/tex/latex/biblatex-gost/gost-numeric-min.bbx
@@ -1,5 +1,5 @@
\ProvidesFile{gost-numeric-min.bbx}
-[2013/04/03\space v0.8\space biblatex-gost styles]
+[2013/07/17\space v0.9\space biblatex-gost styles]
\RequireBibliographyStyle{gost-numeric}
\AtEveryBibitem{%
diff --git a/Master/texmf-dist/tex/latex/biblatex-gost/gost-numeric-min.cbx b/Master/texmf-dist/tex/latex/biblatex-gost/gost-numeric-min.cbx
index e0dba8c317c..6917981cde6 100644
--- a/Master/texmf-dist/tex/latex/biblatex-gost/gost-numeric-min.cbx
+++ b/Master/texmf-dist/tex/latex/biblatex-gost/gost-numeric-min.cbx
@@ -1,5 +1,5 @@
\ProvidesFile{gost-numeric-min.cbx}
-[2013/04/03\space v0.8\space biblatex-gost styles]
+[2013/07/17\space v0.9\space biblatex-gost styles]
\RequireCitationStyle{gost-numeric}
diff --git a/Master/texmf-dist/tex/latex/biblatex-gost/gost-numeric.bbx b/Master/texmf-dist/tex/latex/biblatex-gost/gost-numeric.bbx
index 1d84504d5a4..a9e876c87f9 100644
--- a/Master/texmf-dist/tex/latex/biblatex-gost/gost-numeric.bbx
+++ b/Master/texmf-dist/tex/latex/biblatex-gost/gost-numeric.bbx
@@ -1,5 +1,5 @@
\ProvidesFile{gost-numeric.bbx}
-[2013/04/03\space v0.8\space biblatex-gost styles]
+[2013/07/17\space v0.9\space biblatex-gost styles]
\RequireBibliographyStyle{gost-standard}
\ExecuteBibliographyOptions{labelnumber,bibisbn,biburl,bibdoi,bibeprint}
@@ -45,7 +45,7 @@
\entryset
{\ifbool{bbx:subentry}
{\printfield[bibentrysetcount]{entrysetcount}%
- \setunit*{\addnbspace}}
+ \printunit*{\addnbspace}}
{}}
{}%
\newunit\newblock
diff --git a/Master/texmf-dist/tex/latex/biblatex-gost/gost-numeric.cbx b/Master/texmf-dist/tex/latex/biblatex-gost/gost-numeric.cbx
index 5847e4a1c5d..c70855dc23e 100644
--- a/Master/texmf-dist/tex/latex/biblatex-gost/gost-numeric.cbx
+++ b/Master/texmf-dist/tex/latex/biblatex-gost/gost-numeric.cbx
@@ -1,16 +1,8 @@
\ProvidesFile{gost-numeric.cbx}
-[2013/04/03\space v0.8\space biblatex-gost styles]
+[2013/07/17\space v0.9\space biblatex-gost styles]
\RequireCitationStyle{numeric-comp}
\ExecuteBibliographyOptions{dashed=false,citeisbn,citeurl,citedoi,citeeprint}
-\renewcommand*{\multicitedelim}{\addsemicolon\space}
-
-\AtEveryCitekey{%
- \ifcsdef{abx@field@hyphenation}{%
- \edef\blx@languagename{\abx@field@hyphenation}%
- \select@language{\abx@field@hyphenation}%
- \blx@hyphenreset}%
- {}%
-}
+\renewcommand*{\multicitedelim}{\addsemicolon\space}
\endinput
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 f379e08665b..9f40ac74e1b 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/04/03\space v0.8\space biblatex-gost styles]
+[2013/07/17\space v0.9\space biblatex-gost styles]
-\def\bbx@gost@date{2013/04/03}
-\def\bbx@gost@version{0.8}
+\def\bbx@gost@date{2013/07/17}
+\def\bbx@gost@version{0.9}
-\@ifpackagelater{biblatex}{2013/01/10}
+\@ifpackagelater{biblatex}{2013/07/03}
{}
{\PackageError{biblatex}
{Outdated 'biblatex' package}
- {This version of 'biblatex-gost' requires biblatex v2.5 or later.\MessageBreak
+ {This version of 'biblatex-gost' requires biblatex v2.7 or later.\MessageBreak
You are using: '\csuse{ver@biblatex.sty}'.\MessageBreak
This is a fatal error. I'm aborting now.}%
\endinput}
@@ -123,7 +123,7 @@
movenames=true,
firstinits,
volsorder=vbpi,
- related=bib}
+ related=true}
\newbibmacro*{cbx:bookibid:check}[2]{#2}
@@ -250,11 +250,12 @@
{\bibcpstring{\thefield{prcountry}}}
{#1}}
-\DeclareFieldFormat{relatedstring}{\select@language{\bbl@main@language}#1\relatedpunct}
-
\DeclareNameAlias{sortname}{last-first}
-\DefineBibliographyExtras{french}{\protected\def\mkbibnamelast#1{#1}}
+\DefineBibliographyExtras{french}{\restorecommand\mkbibnamelast}
+
+% format for author is defined separately, because \mkbibnamelast, etc. cannot be
+% used, since they affect all names, not only headings
\DeclareNameFormat{author}{%
\iffirstinits
{\usebibmacro{authorname:last-first}{#1}{#4}{#5}{#7}}
@@ -309,20 +310,40 @@
\renewcommand*{\bibpagespunct}{\addperiod\space}
\renewcommand*{\subtitlepunct}{\addcolon\space}
\renewcommand*{\newblockpunct}{%
- \addnbspace\textemdash\space\bibsentence}% block punctuation
+ \addperiod\addnbspace\textemdash\space\bibsentence}%block punct.,\bibsentence is for vol,etc.
\newcommand*{\respdelim}{\addnbspace/\space}% delimiter before "credits"
\newcommand*{\resppunct}{\addsemicolondelim}% punctuation between "credits" items
+% auxillary macros for volsorder handling
\newcounter{blx@gost@pointer}%
\newcommand*{\blx@gost@endofstring}{\@\@\@\@\@} % end of string = \\\
\newcommand*{\blx@gost@setunit}{\newunit}
\@ifpackageloaded{babel}
- {\edef\gostmedialanguage{\bbl@main@language}%
+ {\edef\gostmedialanguage{\csname bbl@main@language\endcsname}%
\newcommand*{\select@medialanguage}{\select@language{\gostmedialanguage}}}
{\edef\gostmedialanguage{russian}%
\newcommand*{\select@medialanguage}{}}
+% macros and formats for printing origlanguage and bookoriglanguage.
+% made special to simplify making them lists
+
+\DeclareFieldFormat{origlanguage}{%
+ \bibstring{from#1}}
+
+\newcommand*{\lbx@gost@lfromlang}[1]{%
+ \iffieldundef{#1}
+ {\unspace}
+ {\printfield[origlanguage]{#1}}}
+\newcommand*{\lbx@gost@sfromlang}[1]{%
+ \iffieldundef{#1}
+ {\unspace}
+ {\printfield[origlanguage]{#1}}}
+% \renewcommand*{\lbx@lfromlang}{\lbx@gost@lfromlang{origlanguage}}
+% \renewcommand*{\lbx@sfromlang}{\lbx@gost@sfromlang{origlanguage}}
+\newcommand*{\blx@gost@iflangundef}[3]{\iffieldundef{#1}{#2}{#3}}
+\newcommand*{\blx@gost@iflangsequal}[4]{\iffieldsequal{#1}{#2}{#3}{#4}}
+
\newbibmacro*{begentry}{}
\newbibmacro*{finentry}{\finentry}
%
@@ -344,34 +365,47 @@
\iffieldundef{journaltitle} % no journaltitle means electronic publication
{\newunit}
{\usebibmacro{//}%
- \usebibmacro{journal}%
- \setunit{\respdelim}%
- \usebibmacro{credits}%
- \setunit*{\resppunct}%
- \usebibmacro{byeditor}%
- \newunit\newblock
- \printlist[semicolondelim]{specdata}%
- \newunit\newblock
- \printlist{location}% ???
- \setunit*{\addcomma\space}%
- \usebibmacro{jour:date}%
- \newunit\newblock
- \usebibmacro{jour:volume+parts+issuetitle}%
- \newunit\newblock
- \printfield{pages}%
- \newunit\newblock
- \iffieldundef{series}
- {}
- {\printtext{(\printfield{series})}}%
+ \usebibmacro{cbx:bookibid:check}
+ {\bibsentence\printtext{%
+ \bibhyperlink{\csuse{%
+ cbx@\iffootnote{f}{t}@bookref@%
+ \iffieldundef{crossref}
+ {\iffieldundef{xref}
+ {}
+ {\thefield{xref}}}
+ {\thefield{crossref}}}}
+ {\bibstring[\mkibid]{ibidem}}}%
+ \newunit\newblock
+ \usebibmacro{chapter+pages}}
+ {\usebibmacro{journal}%
+ \setunit{\respdelim}%
+ \usebibmacro{credits}%
+ \setunit*{\resppunct}%
+ \usebibmacro{byeditor}%
+ \newunit\newblock
+ \printlist[semicolondelim]{specdata}%
+ \newunit\newblock
+ \printlist{location}% ???
+ \setunit*{\addcomma\space}%
+ \usebibmacro{jour:date}%
+ \newunit\newblock
+ \usebibmacro{jour:volume+parts+issuetitle}%
+ \newunit\newblock
+ \printfield{pages}%
+ \newunit\newblock
+ \iffieldundef{series}
+ {}
+ {\printtext{(\printfield{series})}}%
+ \newunit\newblock
+ \usebibmacro{issn}%
+ \newunit\newblock}%
+ \usebibmacro{doi+eprint+url+note}%
\newunit\newblock
- \usebibmacro{issn}%
- \newunit\newblock}%
- \usebibmacro{doi+eprint+url+note}%
- \newunit\newblock
- \usebibmacro{addendum+pubstate}%
- \setunit{\bibpagerefpunct}\newblock
- \usebibmacro{pageref}%
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{pageref}}%
\newunit\newblock
+ \usebibmacro{related:init}%
\usebibmacro{related}%
\usebibmacro{finentry}}
@@ -416,6 +450,7 @@
\setunit{\bibpagerefpunct}\newblock
\usebibmacro{pageref}%
\newunit\newblock
+ \usebibmacro{related:init}%
\usebibmacro{related}%
\usebibmacro{finentry}}
@@ -454,6 +489,7 @@
\setunit{\bibpagerefpunct}\newblock
\usebibmacro{pageref}%
\newunit\newblock
+ \usebibmacro{related:init}%
\usebibmacro{related}%
\usebibmacro{finentry}}
@@ -494,6 +530,7 @@
\setunit{\bibpagerefpunct}\newblock
\usebibmacro{pageref}%
\newunit\newblock
+ \usebibmacro{related:init}%
\usebibmacro{related}%
\usebibmacro{finentry}}
@@ -515,7 +552,14 @@
\usebibmacro{//}%
\usebibmacro{cbx:bookibid:check}
{\bibsentence\printtext{%
- \bibhyperlink{\csuse{cbx@\iffootnote{f}{t}@bookref}}{\bibstring[\mkibid]{ibidem}}}%
+ \bibhyperlink{\csuse{%
+ cbx@\iffootnote{f}{t}@bookref@%
+ \iffieldundef{crossref}
+ {\iffieldundef{xref}
+ {}
+ {\thefield{xref}}}
+ {\thefield{crossref}}}}
+ {\bibstring[\mkibid]{ibidem}}}%
\newunit\newblock
\usebibmacro{chapter+pages}}
{\usebibmacro{maintitle+volumes+parts+booktitle}%
@@ -550,6 +594,7 @@
\setunit{\bibpagerefpunct}\newblock
\usebibmacro{pageref}}%
\newunit\newblock
+ \usebibmacro{related:init}%
\usebibmacro{related}%
\usebibmacro{finentry}}
@@ -571,7 +616,14 @@
\usebibmacro{//}%
\usebibmacro{cbx:bookibid:check}
{\bibsentence\printtext{%
- \bibhyperlink{\csuse{cbx@\iffootnote{f}{t}@bookref}}{\bibstring[\mkibid]{ibidem}}}%
+ \bibhyperlink{\csuse{%
+ cbx@\iffootnote{f}{t}@bookref@%
+ \iffieldundef{crossref}
+ {\iffieldundef{xref}
+ {}
+ {\thefield{xref}}}
+ {\thefield{crossref}}}}
+ {\bibstring[\mkibid]{ibidem}}}%
\newunit\newblock
\usebibmacro{chapter+pages}}
{\usebibmacro{maintitle+volumes+parts+booktitle}%
@@ -602,6 +654,7 @@
\setunit{\bibpagerefpunct}\newblock
\usebibmacro{pageref}}%
\newunit\newblock
+ \usebibmacro{related:init}%
\usebibmacro{related}%
\usebibmacro{finentry}}
@@ -623,7 +676,14 @@
\usebibmacro{//}%
\usebibmacro{cbx:bookibid:check}
{\bibsentence\printtext{%
- \bibhyperlink{\csuse{cbx@\iffootnote{f}{t}@bookref}}{\bibstring[\mkibid]{ibidem}}}%
+ \bibhyperlink{\csuse{%
+ cbx@\iffootnote{f}{t}@bookref@%
+ \iffieldundef{crossref}
+ {\iffieldundef{xref}
+ {}
+ {\thefield{xref}}}
+ {\thefield{crossref}}}}
+ {\bibstring[\mkibid]{ibidem}}}%
\newunit\newblock
\usebibmacro{chapter+pages}}
{\usebibmacro{maintitle+volumes+parts+booktitle}%
@@ -654,6 +714,7 @@
\setunit{\bibpagerefpunct}\newblock
\usebibmacro{pageref}}%
\newunit\newblock
+ \usebibmacro{related:init}%
\usebibmacro{related}%
\usebibmacro{finentry}}
@@ -699,6 +760,7 @@
\setunit{\bibpagerefpunct}\newblock
\usebibmacro{pageref}%
\newunit\newblock
+ \usebibmacro{related:init}%
\usebibmacro{related}%
\usebibmacro{finentry}}
@@ -733,6 +795,7 @@
\setunit{\bibpagerefpunct}\newblock
\usebibmacro{pageref}%
\newunit\newblock
+ \usebibmacro{related:init}%
\usebibmacro{related}%
\usebibmacro{finentry}}
@@ -775,6 +838,7 @@
\setunit{\bibpagerefpunct}\newblock
\usebibmacro{pageref}%
\newunit\newblock
+ \usebibmacro{related:init}%
\usebibmacro{related}%
\usebibmacro{finentry}}
@@ -831,6 +895,7 @@
\setunit{\bibpagerefpunct}\newblock
\usebibmacro{pageref}%
\newunit\newblock
+ \usebibmacro{related:init}%
\usebibmacro{related}%
\usebibmacro{finentry}}
@@ -867,6 +932,7 @@
\setunit{\bibpagerefpunct}\newblock
\usebibmacro{pageref}%
\newunit\newblock
+ \usebibmacro{related:init}%
\usebibmacro{related}%
\usebibmacro{finentry}}
@@ -907,6 +973,7 @@
\setunit{\bibpagerefpunct}\newblock
\usebibmacro{pageref}%
\newunit\newblock
+ \usebibmacro{related:init}%
\usebibmacro{related}%
\usebibmacro{finentry}}
@@ -947,6 +1014,7 @@
\setunit{\bibpagerefpunct}\newblock
\usebibmacro{pageref}%
\newunit\newblock
+ \usebibmacro{related:init}%
\usebibmacro{related}%
\usebibmacro{finentry}}
@@ -975,6 +1043,7 @@
\setunit{\bibpagerefpunct}\newblock
\usebibmacro{pageref}%
\newunit\newblock
+ \usebibmacro{related:init}%
\usebibmacro{related}%
\usebibmacro{finentry}}
@@ -1005,6 +1074,7 @@
\setunit{\bibpagerefpunct}\newblock
\usebibmacro{pageref}%
\newunit\newblock
+ \usebibmacro{related:init}%
\usebibmacro{related}%
\usebibmacro{finentry}}
@@ -1065,12 +1135,14 @@
}
{}
{\setunit{\addspace}%
- \printtext{(%
+ \printtext[parens]{%
\printfield{eventtitle}%
- \setunit*{\addcomma\space}%
+ \setunit{\addcolondelim}%
+ \printfield{eventtitleaddon}%
+ \setunit{\addcomma\space}%
\printfield{venue}%
\setunit*{\addcomma\space}%
- \printeventdate)}}%
+ \printeventdate}}%
\newunit}
\newbibmacro*{series+number}{%
@@ -1235,6 +1307,7 @@
{#3}}
% <name><true><false>
+% similar check for names
\newbibmacro*{checkbookname}[3]{%
\ifboolexpr{
test {\ifnameundef{book#1}}
@@ -1245,6 +1318,7 @@
{#3}}
% <list><true><false>
+% similar check for lists
\newbibmacro*{checkbooklist}[3]{%
\ifboolexpr{
test {\iflistundef{book#1}}
@@ -1311,21 +1385,21 @@
or
not test {\ifnamesequal{translator}{booktranslator}}
or
- ( not test {\iffieldundef{origlanguage}}
+ ( not test {\blx@gost@iflangundef{origlanguage}}
and
- test {\iffieldundef{bookoriglanguage}}
+ test {\blx@gost@iflangundef{bookoriglanguage}}
)
or
- ( test {\iffieldundef{origlanguage}}
+ ( test {\blx@gost@iflangundef{origlanguage}}
and
- not test {\iffieldundef{bookoriglanguage}}
+ not test {\blx@gost@iflangundef{bookoriglanguage}}
)
or
- ( not test {\iffieldundef{origlanguage}}
+ ( not test {\blx@gost@iflangundef{origlanguage}}
and
- not test {\iffieldundef{bookoriglanguage}}
+ not test {\blx@gost@iflangundef{bookoriglanguage}}
and
- not test {\iffieldsequal{origlanguage}{bookoriglanguage}}
+ not test {\blx@gost@iflangsequal{origlanguage}{bookoriglanguage}}
)
}
{\usebibmacro{bytranslator+othersstrg}%
@@ -1474,14 +1548,8 @@
% temporarily redefining commands used in the bibstring
\savecommand\lbx@lfromlang%
\savecommand\lbx@sfromlang%
- \renewcommand*{\lbx@lfromlang}{%
- \iffielddundef{bookoriglanguage}
- {\unspace}
- {\biblstring{from\thefield{bookoriglanguage}}}}
- \renewcommand*{\lbx@sfromlang}{%
- \iffieldundef{bookoriglanguage}
- {\unspace}
- {\bibsstring{from\thefield{bookoriglanguage}}}}
+ \renewcommand*{\lbx@lfromlang}{\lbx@gost@lfromlang{bookoriglanguage}}%
+ \renewcommand*{\lbx@sfromlang}{\lbx@gost@sfromlang{bookoriglanguage}}%
\bibstring{\abx@tempa}%
\restorecommand\lbx@lfromlang%
\restorecommand\lbx@sfromlang%
@@ -1553,6 +1621,8 @@
\mkbibdatelong{}{endmonth}{endday}}}%
}
+% processing volumes, books, parts, issues in the specified order
+
\def\blx@gost@volsinorder#1#2{%
\ifstrequal{#1}{v}
{\printfield{volume}%
@@ -1844,6 +1914,8 @@
\setunit*{\addsemicolondelim}%
\printfield{note}}
+% do I need this?
+
\gdef\ifmulticitation{%
\ifnum\c@multicitetotal>0
\expandafter\@firstoftwo
@@ -1873,150 +1945,23 @@
\newbibmacro*{heading}{%
\printfield{heading}}
-% Related
-
-\newbibmacro{rel:common}{%
- \usebibmacro{author}%
- \setunit*{\labelnamepunct}%
- \ifboolexpr{
- test {\ifentrytype{book}}
- or
- test {\ifentrytype{collection}}
- or
- test {\ifentrytype{proceedings}}
- }
- {\usebibmacro{maintitle+volumes+parts+title}%
- \ifentrytype{proceedings}
- {\newunit
- \usebibmacro{event+venue+date}}
- {}}
- {\usebibmacro{title}}%
- \ifentrytype{article}
- {\usebibmacro{//}%
- \usebibmacro{journal}}
- {}%
- \ifboolexpr{
- test {\ifentrytype{inbook}}
- or
- test {\ifentrytype{incollection}}
- or
- test {\ifentrytype{inproceedings}}
- }
- {\usebibmacro{//}%
- \usebibmacro{maintitle+volumes+parts+booktitle}%
- \ifentrytype{proceedings}
- {\newunit
- \usebibmacro{event+venue+date}}
- {}}
- {}%
- \ifboolexpr{
- test {\ifentrytype{article}}
- or
- test {\ifentrytype{periodical}}
- }
- {\printlist{location}%
- \setunit*{\addcomma\space}%
- \usebibmacro{jour:date}%
- \newunit\newblock
- \usebibmacro{jour:volume+parts+issuetitle}%
- \ifentrytype{article}
- {\newunit\newblock
- \printfield{pages}}
- {}}
- {\ifboolexpr{
- test {\ifentrytype{booklet}}
- or
- test {\ifentrytype{unpublished}}
- }
- {\newunit\newblock
- \usebibmacro{location+date}%
- \newunit\newblock}
- {\newunit\newblock
- \printlist{organization}%
- \newunit
- \usebibmacro{publisher+location+date}}%
- \newunit\newblock
- \usebibmacro{chapter+pages}}}
-
-\renewbibmacro*{related:default}[1]{%
- \entrydata*{#1}{%
- \usebibmacro{rel:common}%
- \newunit\newblock}}
-
-\renewbibmacro*{related:bytranslator}[1]{%
- \entrydata{#1}{%
- \printnames[bytranslator]{translator}%
- \clearname{translatror}%
- \setunit*{\addcolon\space}%
- \usebibmacro{rel:common}%
- \newunit\newblock}}
-
-\renewbibmacro*{related:multivolume}[1]{%
- \entrydata*{#1}{%
- \usebibmacro{volume+parts}{\newunit}%
- \setunit{\addcolondelim}%
- \ifboolexpr{
- test {\ifnamesequal{author}{savedauthor}}
- or
- test {\ifnameundef{author}}
- }
- {}
- {\usebibmacro{author}%
- \setunit*{\labelnamepunct}}%
- \usebibmacro{title}%
- \setunit{\respdelim}%
- \iflistsequal{credits}{savedcredits}
- {}
- {\usebibmacro{credits}}%
- \setunit*{\resppunct}%
- \ifnamesequal{editor}{savededitor}
- {}
- {\usebibmacro{byeditor}}%
- \setunit*{\resppunct}%
- \ifnamesequal{translator}{savedtranslator}
- {}
- {\usebibmacro{bytranslator+others}}%
- \newunit\newblock
- \usebibmacro{date}%
- \newunit\newblock
- \printfield{pagetotal}%
- \usebibmacro{finentry}}}
-
-\renewbibmacro*{related:origpubin}[1]{%
- \entrydata*{#1}{%
- \printfield{year}%
- \ifboolexpr{
- test {\iflistsequal{publisher}{savedpublisher}}
- or
- test {\iflistundef{publisher}}
- }
- {}
- {\setunit{\addspace\bibstring{bypublisher}\space}%
- \printlist{publisher}%
- \setunit{\addcomma\space}%
- \iflistsequal{location}{savedlocation}
- {}
- {\printlist{location}}}}}
+% Related field
-\renewbibmacro*{related:origpubas}[1]{%
- \entrydata*{#1}{%
- \usebibmacro{title}%
- \ifboolexpr{
- test {\iflistsequal{publisher}{savedpublisher}}
- or
- test {\iflistundef{publisher}}
- }
- {}
- {\setunit{\addspace\bibstring{bypublisher}\space}%
- \printlist{publisher}%
- \setunit{\addcomma\space}%
- \iflistsequal{location}{savedlocation}
- {}
- {\printlist{location}}}}}
+\renewcommand*{\relatedpunct}{\setunit{\addspace}}
\newcounter{bbx:relatedcount}
\newcounter{bbx:relatedtotal}
+\newbibmacro*{related:init}{%
+ \csundef{bbx:relatedloop}}
+
+\newbibmacro*{begrelated}{}
+\newbibmacro*{endrelated}{}
+
+\def\ifrelatedloop{%
+ \ifboolexpr{ test {\xifinlistcs{\strfield{entrykey}}{bbx:relatedloop}}
+ or test {\xifinlistcs{\strfield{clonesourcekey}}{bbx:relatedloop}} }}
+
\newbibmacro*{related}{%
\restorelist{credits}{\savedclearedcredits}%
\restorename{editor}{\savedclearededitor}%
@@ -2027,21 +1972,35 @@
\ifboolexpr{
( test {\ifcitation}
and
- not test {\iftoggle{bbx:related:cite}}
+ not togl {bbx:related:cite}
)
or
( not test {\ifcitation}
and
- not test {\iftoggle{bbx:related:bib}}
+ not togl {bbx:related:bib}
)
or
test {\iffieldundef{related}}
+ or
+ test {\ifrelatedloop}
}
{}
- {\setcounter{bbx:relatedcount}{0}%
+ {\def\bbx@tempa{}%
\setcounter{bbx:relatedtotal}{0}%
- \def\do##1{\stepcounter{bbx:relatedtotal}}%
+ \def\do##1{%
+ \entrydata{##1}{%
+ \ifrelatedloop
+ {}
+ {\stepcounter{bbx:relatedtotal}%
+ \gappto{\bbx@tempa}{##1,}}}}%
\docsvfield{related}%
+ \restorefield{related}{\bbx@tempa}%
+ \ifnumgreater{\value{bbx:relatedtotal}}{0}
+ {\listcsxadd{bbx:relatedloop}{\strfield{entrykey}}%
+ \iffieldundef{clonesourcekey}
+ {}
+ {\listcsxadd{bbx:relatedloop}{\strfield{clonesourcekey}}}%
+ \setcounter{bbx:relatedcount}{0}%
\def\do{%
\stepcounter{bbx:relatedcount}%
\ifnumgreater{\value{bbx:relatedcount}}{1}
@@ -2054,23 +2013,29 @@
{\def\bbx@tempa{related}}
{\def\bbx@tempa{related:\strfield{relatedtype}}}%
\iffieldformatundef{relatedstring:\strfield{relatedtype}}
- {\def\bbx@tempb{relatedstring}}
+ {\def\bbx@tempb{relatedstring:default}}
{\def\bbx@tempb{relatedstring:\strfield{relatedtype}}}%
\printtext[\bbx@tempa]{%
+ \usebibmacro{begrelated}%
\iffieldundef{relatedstring}
{\ifboolexpr{
test {\ifnumgreater{\value{bbx:relatedtotal}}{1}}
and
test {\ifbibxstring{\thefield{relatedtype}s}}
}
- {\printtext[\bbx@tempb]{\bibstring{\thefield{relatedtype}s}}}
+ {\printtext[\bbx@tempb]{%
+ \bibstring[\mkrelatedstring]{\thefield{relatedtype}s}}}
{\iffieldbibstring{relatedtype}
- {\printtext[\bbx@tempb]{\bibstring{\thefield{relatedtype}}}}
+ {\printtext[\bbx@tempb]{%
+ \bibstring[\mkrelatedstring]{\thefield{relatedtype}}}}
{}}}
{\iffieldbibstring{relatedstring}
- {\printtext[\bbx@tempb]{\bibstring{\thefield{relatedstring}}}}
+ {\printtext[\bbx@tempb]{%
+ \bibstring[\mkrelatedstring]{\thefield{relatedstring}}}}
{\printfield[\bbx@tempb]{relatedstring}}}%
- \docsvfield{related}}}}
+ \docsvfield{related}%
+ \usebibmacro{endrelated}}}%
+ {}}}
\newbibmacro*{setup:min}{%
\renewbibmacro*{series+number}{}%
@@ -2109,4 +2074,22 @@
\DeclareAutoCiteCommand{footnote}{\smartcite}{\smartcites}
\DeclareAutoCiteCommand{superscript}{\supercite}{\supercites}
+% changing the language of citations
+
+\gpreto\blx@hook@citekey{%
+ \ifdef\abx@field@hyphenation
+ {\ifdef\blx@thelangenv
+ {\edef\blx@temp@langenv{\noexpand\csname\blx@thelangenv\endcsname%
+ {\abx@field@hyphenation}}%
+ \blx@temp@langenv}
+ {}}%
+ {}}
+\apptocmd{\blx@citeprint}{%
+ \ifdef\abx@field@hyphenation
+ {\ifdef\blx@thelangenv
+ {\csname end\blx@thelangenv\endcsname}
+ {}}%
+ {}%
+}{}{\blx@err@patch{citeprint command}}
+
\endinput
diff --git a/Master/texmf-dist/tex/latex/biblatex-gost/russian-gost.lbx b/Master/texmf-dist/tex/latex/biblatex-gost/russian-gost.lbx
index 94d65b8b5fc..37d114b3c86 100644
--- a/Master/texmf-dist/tex/latex/biblatex-gost/russian-gost.lbx
+++ b/Master/texmf-dist/tex/latex/biblatex-gost/russian-gost.lbx
@@ -1,305 +1,10 @@
\ProvidesFile{russian-gost.lbx}
-[2013/04/03\space v0.8\space biblatex-gost styles]
+[2013/07/17\space v0.9\space biblatex-gost styles]
\InheritBibliographyExtras{russian}
\DeclareBibliographyStrings{%
- bibliography = {{Список литературы}{Список литературы}},%book-like (chapter)
- references = {{Список литературы}{Список литературы}},%article-like (section)
- shorthands = {{Список сокращений}{Сокращения}},
- editor = {{редактор}{ред\adddot}},
- editors = {{редакторы}{ред\adddot}},
- compiler = {{составитель}{сост\adddot}},
- compilers = {{составители}{сост\adddot}},
- redactor = {{редактор}{ред\adddot}},% FIXME: unsure
- redactors = {{редакторы}{ред\adddot}},% FIXME: unsure
- reviser = {{ревизионный корректор}{ревиз\adddotspace кор\adddot}},
- revisers = {{ревизионные корректоры}{ревиз\adddotspace кор\adddot}},
- founder = {{основатель}{осн\adddot}},
- founders = {{основатели}{осн\adddot}},
- continuator = {{продолжатель}{прод\adddot}},% FIXME: unsure
- continuators = {{продолжатели}{прод\adddot}},% FIXME: unsure
- collaborator = {{участник}{участ\adddot}},% FIXME: unsure
- collaborators = {{участники}{участ\adddot}},% FIXME: unsure
- translator = {{переводчик}{пер\adddot}},
- translators = {{переводчики}{пер\adddot}},
- commentator = {{комментатор}{коммент\adddot}},
- commentators = {{комментаторы}{коммент\adddot}},
- annotator = {{примечания}{примеч\adddot}},
- annotators = {{примечания}{примеч\adddot}},
- commentary = {{комментарий}{коммент\adddot}},
- annotations = {{примечания}{примеч\adddot}},
- introduction = {{вступительная статья}{вступ\adddotspace ст\adddot}},
- foreword = {{предисловие}{предисл\adddot}},
- afterword = {{послесловие}{послесл\adddot}},
- editortr = {{редактор и переводчик}%
- {ред\adddotspace и пер\adddot}},
- editorstr = {{редакторы и переводчики}%
- {ред\adddotspace и пер\adddot}},
- editorco = {{редактор и комментатор}%
- {ред\adddotspace и коммент\adddot}},
- editorsco = {{редакторы и комментаторы}%
- {ред\adddotspace и коммент\adddot}},
- editoran = {{редактор и составитель примечаний}%
- {ред\adddotspace и сост\adddotspace примеч\adddot}},
- editorsan = {{редакторы и составители примечаний}%
- {ред\adddotspace и сост\adddotspace примеч\adddot}},
- editorin = {{редактор и автор вступительной статьи}%
- {ред\adddotspace и авт\adddotspace вступ\adddotspace ст\adddot}},
- editorsin = {{редакторы и авторы вступительной статьи}%
- {ред\adddotspace и авт\adddotspace вступ\adddotspace ст\adddot}},
- editorfo = {{редактор и автор предисловия}%
- {ред\adddotspace и авт\adddotspace предисл\adddot}},
- editorsfo = {{редакторы и авторы предисловия}%
- {ред\adddotspace и авт\adddotspace предисл\adddot}},
- editoraf = {{редактор и автор послесловия}%
- {ред\adddotspace и авт\adddotspace послесл\adddot}},
- editorsaf = {{редакторы и авторы послесловия}%
- {ред\adddotspace и авт\adddotspace послесл\adddot}},
- editortrco = {{редактор, переводчик и автор комментариев}%
- {ред.,\addabbrvspace пер\adddotspace и авт\adddotspace коммент\adddot}},
- editorstrco = {{редакторы, переводчики и авторы комментариев}%
- {ред.,\addabbrvspace пер\adddotspace и авт\adddotspace коммент\adddot}},
- editortran = {{редактор, переводчик и составитель примечаний}%
- {ред.,\addabbrvspace пер\adddotspace и сост\adddotspace примеч\adddot}},
- editorstran = {{редакторы, переводчики и составители примечаний}%
- {ред.,\addabbrvspace пер\adddotspace и сост\adddotspace примеч\adddot}},
- editortrin = {{редактор, переводчик и автор вступительной статьи}%
- {ред.,\addabbrvspace пер\adddotspace и авт\adddotspace вступ\adddotspace ст\adddot}},
- editorstrin = {{редакторы, переводчики и авторы вступительной статьи}%
- {ред.,\addabbrvspace пер\adddotspace и авт\adddotspace вступ\adddotspace ст\adddot}},
- editortrfo = {{редактор, переводчик и автор предисловия}%
- {ред.,\addabbrvspace пер\adddotspace и авт\adddotspace предисл\adddot}},
- editorstrfo = {{редакторы, переводчики и авторы предисловия}%
- {ред.,\addabbrvspace пер\adddotspace и авт\adddotspace предисл\adddot}},
- editortraf = {{редактор, переводчик и автор послесловия}%
- {ред.,\addabbrvspace пер\adddotspace и авт\adddotspace послесловия\adddot}},
- editorstraf = {{редакторы, переводчики и авторы послесловия}%
- {ред.,\addabbrvspace пер\adddotspace и авт\adddotspace послесл\adddot}},
- editorcoin = {{редактор, автор комментариев и вступительной статьи}%
- {ред.,\addabbrvspace авт\adddotspace коммент\adddotspace и вступ\adddotspace ст\adddot}},
- editorscoin = {{редакторы, авторы комментариев и вступительной статьи}%
- {ред.,\addabbrvspace авт\adddotspace коммент\adddotspace и вступ\adddotspace ст\adddot}},
- editorcofo = {{редактор, автор комментариев и предисловия}%
- {ред.,\addabbrvspace авт\adddotspace коммент\adddotspace и предисл\adddot}},
- editorscofo = {{редакторы, авторы комментариев и предисловия}%
- {ред.,\addabbrvspace авт\adddotspace коммент\adddotspace и предисл\adddot}},
- editorcoaf = {{редактор, автор комментариев и послесловия}%
- {ред.,\addabbrvspace авт\adddotspace коммент\adddotspace и послесл\adddot}},
- editorscoaf = {{редакторы, авторы комментариев и послесловия}%
- {ред.,\addabbrvspace авт\adddotspace коммент\adddotspace и послесл\adddot}},
- editoranin = {{редактор, составитель примечаний и автор вступительной статьи}%
- {ред.,\addabbrvspace сост\adddotspace примеч\adddotspace и авт\adddotspace вступ\adddotspace ст\adddot}},
- editorsanin = {{редакторы, составители примечаний и авторы вступительной статьи}%
- {ред.,\addabbrvspace сост\adddotspace примеч\adddotspace и авт\adddotspace вступ\adddotspace ст\adddot}},
- editoranfo = {{редактор, составитель примечаний и автор предисловия}%
- {ред.,\addabbrvspace сост\adddotspace примеч\adddotspace и авт\adddotspace предисл\adddot}},
- editorsanfo = {{редакторы, составители примечаний и авторы предисловия}%
- {ред.,\addabbrvspace сост\adddotspace примеч\adddotspace и авт\adddotspace предисл\adddot}},
- editoranaf = {{редактор, составитель примечаний и автор послесловия}%
- {ред.,\addabbrvspace сост\adddotspace примеч\adddotspace и авт\adddotspace послесл\adddot}},
- editorsanaf = {{редакторы, составители примечаний и авторы послесловия}%
- {ред.,\addabbrvspace сост\adddotspace примеч\adddotspace и авт\adddotspace послесл\adddot}},
- editortrcoin = {{редактор, переводчик, автор комментариев и вступительной статьи}%
- {ред.,\addabbrvspace пер.,\addabbrvspace авт\adddotspace коммент\adddotspace и вступ\adddotspace ст\adddot}},
- editorstrcoin = {{редакторы, переводчики, авторы комментариев и вступительной статьи}%
- {ред.,\addabbrvspace пер.,\addabbrvspace авт\adddotspace коммент\adddotspace и вступ\adddotspace ст\adddot}},
- editortrcofo = {{редактор, переводчик, автор комментариев и предисловия}%
- {ред.,\addabbrvspace пер.,\addabbrvspace авт\adddotspace коммент\adddotspace и предисл\adddot}},
- editorstrcofo = {{редакторы, переводчики, авторы комментариев и предисловия}%
- {ред.,\addabbrvspace пер.,\addabbrvspace авт\adddotspace коммент\adddotspace и предисл\adddot}},
- editortrcoaf = {{редактор, переводчик, автор комментариев и послесловия}%
- {ред.,\addabbrvspace пер.,\addabbrvspace авт\adddotspace коммент\adddotspace и послесл\adddot}},
- editorstrcoaf = {{редакторы, переводчики, авторы комментариев и послесловия}%
- {ред.,\addabbrvspace пер.,\addabbrvspace авт\adddotspace коммент\adddotspace и послесл\adddot}},
- editortranin = {{редактор, переводчик, составитель примечаний и автор вступительной статьи}%
- {ред.,\addabbrvspace пер.,\addabbrvspace сост\adddotspace примеч\adddotspace и авт\adddotspace вступ\adddotspace ст\adddot}},
- editorstranin = {{редакторы, переводчики, составители примечаний и авторы вступительной статьи}%
- {ред.,\addabbrvspace пер.,\addabbrvspace сост\adddotspace примеч\adddotspace и авт\adddotspace вступ\adddotspace ст\adddot}},
- editortranfo = {{редактор, переводчик, составитель примечаний и автор предисловия}%
- {ред.,\addabbrvspace пер.,\addabbrvspace сост\adddotspace примеч\adddotspace и авт\adddotspace предисл\adddot}},
- editorstranfo = {{редакторы, переводчики, составители примечаний и авторы предисловия}%
- {ред.,\addabbrvspace пер.,\addabbrvspace сост\adddotspace примеч\adddotspace и авт\adddotspace предисл\adddot}},
- editortranaf = {{редактор, переводчик, составитель примечаний и автор послесловия}%
- {ред.,\addabbrvspace пер.,\addabbrvspace сост\adddotspace примеч\adddotspace и авт\adddotspace послесл\adddot}},
- editorstranaf = {{редакторы, переводчики, составители примечаний и авторы послесловия}%
- {ред.,\addabbrvspace пер.,\addabbrvspace сост\adddotspace примеч\adddotspace и авт\adddotspace послесл\adddot}},
- translatorco = {{переводчик и автор комментариев}%
- {пер\adddotspace и авт\adddotspace коммент\adddot}},
- translatorsco = {{переводчики и авторы комментариев}%
- {пер\adddotspace и авт\adddotspace коммент\adddot}},
- translatoran = {{переводчик и автор примечаний}%
- {пер\adddotspace и сост\adddotspace примеч\adddot}},
- translatorsan = {{переводчики и составители примечаний}%
- {пер\adddotspace и сост\adddotspace примеч\adddot}},
- translatorin = {{переводчик и автор вступительной статьи}%
- {пер\adddotspace и авт\adddotspace вступ\adddotspace ст\adddot}},
- translatorsin = {{переводчики и авторы вступительной статьи}%
- {пер\adddotspace и авт\adddotspace вступ\adddotspace ст\adddot}},
- translatorfo = {{переводчик и автор предисловия}%
- {пер\adddotspace и авт\adddotspace предисл\adddot}},
- translatorsfo = {{переводчики и авторы предисловия}%
- {пер\adddotspace и авт\adddotspace предисл\adddot}},
- translatoraf = {{переводчик и автор послесловия}%
- {пер\adddotspace и авт\adddotspace послесл\adddot}},
- translatorsaf = {{переводчики и авторы послесловия}%
- {пер\adddotspace и авт\adddotspace послесл\adddot}},
- translatorcoin = {{переводчик, автор комментариев и вступительной статьи}%
- {пер.,\addabbrvspace авт\adddotspace коммент\adddotspace и вступ\adddotspace ст\adddot}},
- translatorscoin = {{переводчики, авторы комментариев и вступительной статьи}%
- {пер.,\addabbrvspace авт\adddotspace коммент\adddotspace и вступ\adddotspace ст\adddot}},
- translatorcofo = {{переводчик, автор комментариев и предисловия}%
- {пер.,\addabbrvspace авт\adddotspace коммент\adddotspace и предисл\adddot}},
- translatorscofo = {{переводчики, авторы комментариев и предисловия}%
- {пер.,\addabbrvspace авт\adddotspace коммент\adddotspace и предисл\adddot}},
- translatorcoaf = {{переводчик, автор комментариев и послесловия}%
- {пер.,\addabbrvspace авт\adddotspace коммент\adddotspace и послесл\adddot}},
- translatorscoaf = {{переводчики, авторы комментариев и послесловия}%
- {пер.,\addabbrvspace авт\adddotspace коммент\adddotspace и послесл\adddot}},
- translatoranin = {{переводчик, автор комментариев и вступительной статьим}%
- {пер.,\addabbrvspace авт\adddotspace коммент\adddotspace и вступ\adddotspace ст\adddot}},
- translatorsanin = {{переводчики, авторы комментариев и вступительной статьи}%
- {пер.,\addabbrvspace авт\adddotspace коммент\adddotspace и вступ\adddotspace ст\adddot}},
- translatoranfo = {{переводчик, автор комментариев и предисловия}%
- {пер.,\addabbrvspace авт\adddotspace коммент\adddotspace и предисл\adddot}},
- translatorsanfo = {{переводчики, авторы комментариев и предисловия}%
- {пер.,\addabbrvspace авт\adddotspace коммент\adddotspace и предисл\adddot}},
- translatoranaf = {{переводчик, автор комментариев и послесловия}%
- {пер.,\addabbrvspace авт\adddotspace коммент\adddotspace и послесл\adddot}},
- translatorsanaf = {{переводчики, авторы комментариев и послесловия}%
- {пер.,\addabbrvspace авт\adddotspace коммент\adddotspace и послесл\adddot}},
- byauthor = {{}{}},
- byeditor = {{под редакцией}{под\addabbrvspace ред\adddot}},
- bycompiler = {{составитель}{сост\adddot}},
- byredactor = {{под редакцией}{под\addabbrvspace ред\adddot}},
- byreviser = {{исправлено}{испр\adddot}},
- byreviewer = {{рецензия}{рец\adddot}},
- byfounder = {{учредитель}{учр\adddot}},% FIXME: unsure
- bycontinuator = {{продолжение}{продолж\adddot}},% FIXME: unsure
- bycollaborator = {{при участии}{при\addabbrvspace уч\adddot}},
- bytranslator = {{перевод \lbx@lfromlang}{пер\adddot\ \lbx@sfromlang}},
- bycommentator = {{комментарии}{коммент\adddot}},
- byannotator = {{примечания}{примеч\adddot}},
- withcommentator = {{комментарии}{коммент\adddot}},
- withannotator = {{примечания}{примеч\adddot}},
- withintroduction = {{вступительная статья}{вступ\adddotspace ст\adddot}},
- withforeword = {{предисловие}{предисл\adddot}},
- withafterword = {{послесловие}{послесл\adddot}},
- byeditortr = {{перевод \lbx@lfromlang, под редакцией}%
- {пер\adddot\ \lbx@sfromlang, под\addabbrvspace ред\adddot}},
- byeditorco = {{под редакцией, комментарии}%
- {под ред.,\addabbrvspace коммент\adddot}},
- byeditoran = {{под редакцией, примечания}%
- {под ред.,\addabbrvspace примеч\adddot}},
- byeditorin = {{под редакцией, вступительная статья}%
- {под ред.,\addabbrvspace вступ\adddotspace ст\adddot}},
- byeditorfo = {{под редакцией, предисловие}%
- {под ред.,\addabbrvspace предисл\adddot}},
- byeditoraf = {{под редакцией, послесловие}%
- {под ред.,\addabbrvspace послесл\adddot}},
- byeditortrco = {{под редакцией, перевод \lbx@lfromlang\ и комментарии}%
- {под ред.,\addabbrvspace пер\adddot\ \lbx@sfromlang\ и коммент\adddot}},
- byeditortran = {{под редакцией, перевод \lbx@lfromlang\ и примечания}%
- {под ред.,\addabbrvspace пер\adddot\ \lbx@sfromlang\ и примеч\adddot}},
- byeditortrin = {{под редакцией, перевод \lbx@lfromlang, вступительная статья}%
- {под ред.,\addabbrvspace пер\adddot\ \lbx@sfromlang, вступ\adddotspace ст\adddot}},
- byeditortrfo = {{под редакцией, перевод \lbx@lfromlang, предисловие}%
- {под ред.,\addabbrvspace пер\adddot\ \lbx@sfromlang, предисл\adddot}},
- byeditortraf = {{под редакцией, перевод \lbx@lfromlang, послесловие}%
- {под ред\adddotspace и пер\adddot\ \lbx@sfromlang, послесл\adddot}},
- byeditorcoin = {{под редакцией, комментарии и вступительная статья}%
- {под ред.,\addabbrvspace коммент\adddotspace и вступ\adddotspace ст\adddot}},
- byeditorcofo = {{под редакцией, комментарии и предисловие}%
- {под ред.,\addabbrvspace коммент\adddotspace и предисл\adddot}},
- byeditorcoaf = {{под редакцией, комментарии и послесловие}%
- {под ред.,\addabbrvspace коммент\adddotspace и послесл\adddot}},
- byeditoranin = {{под редакцией, примечания и вступительная статья}%
- {под ред.,\addabbrvspace примеч\adddotspace и вступ\adddotspace ст\adddot}},
- byeditoranfo = {{под редакцией, примечания и предисловие}%
- {под ред.,\addabbrvspace примеч\adddotspace и предисл\adddot}},
- byeditoranaf = {{под редакцией, примечания и послесловие}%
- {под ред.,\addabbrvspace примеч\adddotspace и послесл\adddot}},
- byeditortrcoin = {{под редакцией, перевод \lbx@lfromlang, комментарии и вступительная статья}%
- {под ред.,\addabbrvspace пер\adddot\ \lbx@sfromlang, коммент\adddotspace и вступ\adddotspace ст\adddot}},
- byeditortrcofo = {{под редакцией, перевод \lbx@lfromlang, комментарии и предисловие}%
- {под ред.,\addabbrvspace пер\adddot\ \lbx@sfromlang, коммент\adddotspace и предисл\adddot}},
- byeditortrcoaf = {{под редакцией, перевод \lbx@lfromlang, комментарии и послесловие}%
- {под ред.,\addabbrvspace пер\adddot\ \lbx@sfromlang, коммент\adddotspace и послесл\adddot}},
- byeditortranin = {{под редакцией, перевод \lbx@lfromlang, примечания и вступительная статья}%
- {под ред.,\addabbrvspace пер\adddot\ \lbx@sfromlang, примеч\adddotspace и вступ\adddotspace ст\adddot}},
- byeditortranfo = {{под редакцией, перевод \lbx@lfromlang, примечания и предисловие}%
- {под ред.,\addabbrvspace пер\adddot\ \lbx@sfromlang, примеч\adddotspace и предисл\adddot}},
- byeditortranaf = {{под редакцией, перевод \lbx@lfromlang, примечания и послесловие}%
- {под ред.,\addabbrvspace пер\adddot\ \lbx@sfromlang, примеч\adddotspace и послесл\adddot}},
- bytranslatorco = {{перевод \lbx@lfromlang\ и комментарии}%
- {пер\adddot\ \lbx@sfromlang\ и коммент\adddot}},
- bytranslatoran = {{перевод \lbx@lfromlang\ и примечания}%
- {пер\adddot\ \lbx@sfromlang\ и примеч\adddot}},
- bytranslatorin = {{перевод \lbx@lfromlang\ и вступительная статья}%
- {пер\adddot\ \lbx@sfromlang\ и вступ\adddotspace ст\adddot}},
- bytranslatorfo = {{перевод \lbx@lfromlang\ и предисловие}%
- {пер\adddot\ \lbx@sfromlang\ и предисл\adddot}},
- bytranslatoraf = {{перевод \lbx@lfromlang\ и послесловие}%
- {пер\adddot\ \lbx@sfromlang\ и и послесл\adddot}},
- bytranslatorcoin = {{перевод \lbx@lfromlang, комментарии и вступительная статья}%
- {пер\adddot\ \lbx@sfromlang, коммент\adddotspace и вступ\adddotspace ст\adddot}},
- bytranslatorcofo = {{перевод \lbx@lfromlang, комментарии и предисловие}%
- {пер\adddot\ \lbx@sfromlang, коммент\adddotspace и предисл\adddot}},
- bytranslatorcoaf = {{перевод \lbx@lfromlang, комментарии и послесловие}%
- {пер\adddot\ \lbx@sfromlang, коммент\adddotspace и послесл\adddot}},
- bytranslatoranin = {{перевод \lbx@lfromlang, примечания и вступительная статья}%
- {пер\adddot\ \lbx@sfromlang, примеч\adddotspace и вступ\adddotspace ст\adddot}},
- bytranslatoranfo = {{перевод \lbx@lfromlang, примечания и предисловие}%
- {пер\adddot\ \lbx@sfromlang, примеч\adddotspace и предисл\adddot}},
- bytranslatoranaf = {{перевод \lbx@lfromlang, примечания и послесловие}%
- {пер\adddot\ \lbx@sfromlang, примеч\adddotspace и послесл\adddot}},
- and = {{и}{и}},
- andothers = {{и\addabbrvspace др\adddot}{и\addabbrvspace др\adddot}},
- andmore = {{и\addabbrvspace др\adddot}{и\addabbrvspace др\adddot}},
- volume = {{том}{т\adddot}},
- volumes = {{томах}{т\adddot}},
- involumes = {{в}{в}},
- jourvol = {{том}{т\adddot}},
- jourser = {{серия}{сер\adddot}},
- book = {{книга}{кн\adddot}},
- part = {{часть}{ч\adddot}},
- issue = {{выпуск}{вып\adddot}},
- newseries = {{новая серия}{нов\adddotspace сер\adddot}},
- oldseries = {{старая серия}{стар\adddotspace сер\adddot}},
- edition = {{издание}{изд\adddot}},
- reprint = {{переиздание}{переизд\adddot}},
- reprintof = {{переиздание}{переизд\adddot}},
- reprintas = {{переиздано как}{переизд\adddotspace как}},
- reprintfrom = {{переиздано с}{переизд\adddotspace с}},
- translationof = {{перевод по изданию\addcolon}{пер\adddotspace по изд\adddot\addcolon}},
- translationas = {{перевод\addcolon}{пер\adddot\addcolon}},
- translationfrom = {{перевод с}{пер\adddotspace с}},
- reviewof = {{рецензия на\addcolon}{рец\adddotspace на\addcolon}},% FIXME: unsure
- origpubas = {{первая публикация как\addcolon}%
- {перв\adddotspace публ\adddotspace как\addcolon}},
- origpubin = {{первая публикация в}%
- {перв\adddotspace публ\adddotspace в}},
- astitle = {{\addcolon}{\addcolon}},% FIXME: unsure
- bypublisher = {{\addcomma}{\addcomma}},% FIXME: unsure
- page = {{страница}{с\adddot}},
- pages = {{страницы}{с\adddot}},
- column = {{колонка}{кол\adddot}},
- columns = {{колонки}{кол\adddot}},
- line = {{строка}{строка}},
- lines = {{строки}{строка}},
- verse = {{стих}{стих}},
- verses = {{стихи}{стихи}},
- section = {{параграф}{\S}},
- sections = {{параграфы}{\S\S}},
- paragraph = {{абзац}{абз\adddot}},
- paragraphs = {{абзацы}{абз\adddot}},
- in = {{в}{в}},
- inseries = {{в}{в}},
- ofseries = {{из}{из}},
- number = {{номер}{№}},
- chapter = {{глава}{гл\adddot}},
- mathesis = {{дис\adddotspace\textellipsis\ маг\adddot}
- {дис\adddotspace\textellipsis\ маг\adddot}},
+ inherit = {russian},%------------------------------------------------------------
phdthesis = {{дис\adddotspace\textellipsis\ канд\adddot}
{дис\adddotspace\textellipsis\ канд\adddot}},
docthesis = {{дис\adddotspace\textellipsis\ док\adddot}
@@ -308,139 +13,19 @@
{автореф\adddotspace дис\adddotspace\textellipsis\ канд\adddot}},
docautoref = {{автореф\adddotspace дис\adddotspace\textellipsis\ док\adddot}
{автореф\adddotspace дис\adddotspace\textellipsis\ док\adddot}},
- resreport = {{научный отчёт}{науч\adddotspace отч\adddot}},
- techreport = {{технический отчёт}{тех\adddotspace отч\adddot}},
- software = {{программное обеспечение}{прогр\adddotspace обесп\adddot}},
- datacd = {{CD-ROM}{CD-ROM}},
- audiocd = {{audio CD}{audio CD}},
- version = {{версия}{вер\adddot}},
- url = {{url}{url}},
- urlseen = {{дата обращения}{дата\addabbrvspace обр\adddot}},
- inpreparation = {{в\addabbrvspace подготовке}{в подг\adddot}},
- submitted = {{представлено}{предст\adddot}},
- forthcoming = {{в печати}{в печ\adddot}},
- inpress = {{в\addabbrvspace печати}{в печ\adddot}},
- prepublished = {{предварительная публикация}{пред\adddotspace пуб\adddot}},% FIXME: unsure
- citedas = {{далее цитируется как}{далее цит\addabbrvspace как}},
- thiscite = {{здесь}{здесь}},
- seenote = {{смотри сноску}{см\adddotspace сн\adddot}},
- quotedin = {{цитируется по}{цит\adddotspace по}},
- idem = {{он\addabbrvspace же}{он\addabbrvspace же}},
- idemsm = {{он\addabbrvspace же}{он\addabbrvspace же}},
- idemsf = {{она\addabbrvspace же}{она\addabbrvspace же}},
- idemsn = {{он\addabbrvspace же}{он\addabbrvspace же}},
- idempm = {{они\addabbrvspace же}{они\addabbrvspace же}},
- idempf = {{они\addabbrvspace же}{они\addabbrvspace же}},
- idempn = {{они\addabbrvspace же}{они\addabbrvspace же}},
- idempp = {{они\addabbrvspace же}{они\addabbrvspace же}},
- ibidem = {{там\addabbrvspace же}{там\addabbrvspace же}},
- opcit = {{указ\adddotspace соч\adddot}{указ\adddotspace соч\adddot}},
- loccit = {{указ\adddotspace место}{указ\adddotspace место}},
- confer = {{сравни}{ср\adddot}},
- sequens = {{и следующая}{и\addabbrvspace сл\adddot}},
- sequentes = {{и следующие}{и\addabbrvspace сл\adddot}},
- passim = {{всюду}{всюду}},
- see = {{смотри}{см\adddot}},
- seealso = {{смотри также}{см\adddotspace также}},
- backrefpage = {{цитируется на странице}{цит\adddotspace на\addabbrvspace с\adddot}},
- backrefpages = {{цитируется на страницах}{цит\adddotspace на\addabbrvspace с\adddot}},
- january = {{январь}{янв\adddot}},
- february = {{февраль}{февр\adddot}},
- march = {{март}{март}},
- april = {{апрель}{апр\adddot}},
- may = {{май}{май}},
- june = {{июнь}{июнь}},
- july = {{июль}{июль}},
- august = {{август}{авг\adddot}},
- september = {{сентябрь}{сент\adddot}},
- october = {{октябрь}{окт\adddot}},
- november = {{ноябрь}{нояб\adddot}},
- december = {{декабрь}{дек\adddot}},
- datejanuary = {{января}{янв\adddot}},
- datefebruary = {{февраля}{февр\adddot}},
- datemarch = {{марта}{марта}},
- dateapril = {{апреля}{апр\adddot}},
- datemay = {{мая}{мая}},
- datejune = {{июня}{июня}},
- datejuly = {{июля}{июля}},
- dateaugust = {{августа}{авг\adddot}},
- dateseptember = {{сентября}{сент\adddot}},
- dateoctober = {{октября}{окт\adddot}},
- datenovember = {{ноября}{нояб\adddot}},
- datedecember = {{декабря}{дек\adddot}},
- langamerican = {{американский}{амер\adddot}},
- langbrazilian = {{бразильский}{браз\adddot}},
- langcroatian = {{хорватский}{хорв\adddot}},
- langdanish = {{датский}{дат\adddot}},
- langdutch = {{нидерландский}{нидерл\adddot}},
- langenglish = {{английский}{англ\adddot}},
- langfinnish = {{финский}{фин\adddot}},
- langfrench = {{французский}{фр\adddot}},
- langgerman = {{немецкий}{нем\adddot}},
- langgreek = {{греческий}{греч\adddot}},
- langitalian = {{итальянский}{итал\adddot}},
- langlatin = {{латинский}{лат\adddot}},
- langnorwegian = {{норвежский}{норв\adddot}},
- langportuguese = {{португальский}{порт\adddot}},
- langrussian = {{русский}{рус\adddot}},
- langspanish = {{испанский}{исп\adddot}},
- langswedish = {{шведский}{швед\adddot}},
- fromamerican = {{с американского}{с\addabbrvspace амер\adddot}},
- frombrazilian = {{с бразильского}{с\addabbrvspace браз\adddot}},
- fromcroatian = {{с хорватского}{с\addabbrvspace хорв\adddot}},
- fromdanish = {{с датского}{с\addabbrvspace дат\adddot}},
- fromdutch = {{с нидерландского}{с\addabbrvspace нидерл\adddot}},
- fromenglish = {{с английского}{с\addabbrvspace англ\adddot}},
- fromfinnish = {{с финского}{с\addabbrvspace фин\adddot}},
- fromfrench = {{с французского}{с\addabbrvspace фр\adddot}},
- fromgerman = {{с немецкого}{с\addabbrvspace нем\adddot}},
- fromgreek = {{с греческого}{с\addabbrvspace греч\adddot}},
- fromitalian = {{с итальянского}{с\addabbrvspace итал\adddot}},
- fromlatin = {{с латинского}{с\addabbrvspace лат\adddot}},
- fromnorwegian = {{с норвежского}{с\addabbrvspace норв\adddot}},
- fromportuguese = {{с португальского}{с\addabbrvspace порт\adddot}},
- fromrussian = {{с русского}{с\addabbrvspace рус\adddot}},
- fromspanish = {{с испанского}{с\addabbrvspace исп\adddot}},
- fromswedish = {{со шведского}{со\addabbrvspace швед\adddot}},
- countryde = {{Германия}{Германия}},
- countryeu = {{Европейский Союз}{ЕС}},
- countryep = {{Европейский Союз}{ЕС}},
- countryfr = {{Франция}{Франция}},
- countryuk = {{Великобритания}{Великобритания}},
- countryus = {{Соединённые Штаты Америки}{США}},
countryru = {{Российская Федерация}{Рос\adddotspace Федерация}},
countryussr = {{СССР}{СССР}},
- patent = {{патент}{пат\adddot}},
- patentde = {{патент Германии}{пат\adddotspace Германии}},
- patenteu = {{патент Европы}{пат\adddotspace Европы}},
- patentfr = {{патент Франции}{пат\adddotspace Франции}},
- patentuk = {{патент Великобритании}{пат\adddotspace Великобритании}},
- patentus = {{патент США}{пат\adddotspace США}},
patentru = {{патент Российской Федерации}{пат\adddotspace Рос\adddotspace Федерации}},
patentussr = {{патент СССР}{пат\adddotspace СССР}},
- patreq = {{заявка}{заявка}},
- patreqde = {{заявка на патент Германии}{заявка на пат\adddotspace Германии}},
- patreqeu = {{заявка на патент Европы}{заявка на пат\adddotspace Европы}},
- patreqfr = {{заявка на патент Франции}{заявка на пат\adddotspace Франции}},
- patrequk = {{заявка на патент Великобритании}{заявка на пат\adddotspace Великобритании}},
- patrequs = {{заявка на патент США}{заявка на пат\adddotspace США}},
patreqru = {{заявка на патент Российской Федерации}{заявка на пат\adddotspace Рос\adddotspace Федерации}},
patrequssr = {{заявка на патент СССР}{заявка на пат\adddotspace СССР}},
invcert = {{авторское свидетельство}{а\adddot\addnbthinspace с\adddot}},
requested = {{заявлено}{заявл\adddot}},
published = {{опубликовано}{опубл\adddot}},
priority = {{приоритет}{приоритет}},
- file = {{файл}{файл}},
- library = {{библиотека}{б-ка}},
- abstract = {{резюме}{рез\adddot}},
- annotation = {{аннотация}{аннот\adddot}},
- %inherit = {russian},%------------------------------------------------------------
- langpolish = {{польский}{пол\adddot}},
- frompolish = {{с польского}{с пол\adddot}},
books = {{кн\adddot}{кн\adddot}},
parts = {{ч\adddot}{ч\adddot}},
issues = {{вып\adddot}{вып\adddot}},
- loccit = {{цит\adddotspace место}{цит\adddotspace место}},
geneditor = {{общий редактор}{общ\adddotspace ред\adddot}},
geneditors = {{общие редакторы}{общ\adddotspace ред\adddot}},
bygeneditor = {{под общей редакцией}{под общ\adddotspace ред\adddot}},