diff options
author | Karl Berry <karl@freefriends.org> | 2013-07-18 23:29:16 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-07-18 23:29:16 +0000 |
commit | 549f87a2032890440c9d3fc9faa568628588e2b3 (patch) | |
tree | a3f51974b1e68ac611e7a047d82c369e5ad8a64e /Master/texmf-dist/tex/latex/biblatex-gost/biblatex-gost.def | |
parent | 16369bdd3c6726591b6196400880febbfb529a2e (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/biblatex-gost.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex-gost/biblatex-gost.def | 62 |
1 files changed, 59 insertions, 3 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 |