diff options
author | Karl Berry <karl@freefriends.org> | 2009-06-21 00:34:51 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-06-21 00:34:51 +0000 |
commit | 5b892fed3be4dbe212ef6cde003f51cc2d3df231 (patch) | |
tree | bdee54eedf6bdc0db2c1e5914ece6cf6359ab5ec /Master/texmf-dist/bibtex/bst/babelbib/babunsrt.bst | |
parent | 1818174ad5a62aca7ee9a87c646d9888c0e1188a (diff) |
babelbib 1.27 (20jun09)
git-svn-id: svn://tug.org/texlive/trunk@13845 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/bibtex/bst/babelbib/babunsrt.bst')
-rw-r--r-- | Master/texmf-dist/bibtex/bst/babelbib/babunsrt.bst | 56 |
1 files changed, 35 insertions, 21 deletions
diff --git a/Master/texmf-dist/bibtex/bst/babelbib/babunsrt.bst b/Master/texmf-dist/bibtex/bst/babelbib/babunsrt.bst index 94f0806f44e..5b7827e3c62 100644 --- a/Master/texmf-dist/bibtex/bst/babelbib/babunsrt.bst +++ b/Master/texmf-dist/bibtex/bst/babelbib/babunsrt.bst @@ -8,7 +8,7 @@ %% %% babelbib package %% -%% Copyright 2003--2005 Harald Harders +%% Copyright 2003--2009 Harald Harders %% %% This program can be redistributed and/or modified under the terms %% of the LaTeX Project Public License Distributed from CTAN @@ -17,7 +17,7 @@ %% %% h.harders@tu-bs.de %% -%% 2005/11/13 v1.20 babelbib: multilingual bibliographies (HH) +%% 2009/06/18 v1.27 babelbib: multilingual bibliographies (HH) ENTRY { address annote @@ -151,25 +151,30 @@ FUNCTION {output.check} FUNCTION {output.bibitem} { newline$ language empty$ - { "empty language in " cite$ * warning$ - "\expandafter\btxselectlanguage\expandafter {" - "\btxfallbacklanguage}" * + { language.state "nolanguage" = 'skip$ - { duplicate$ write$ newline$ } + { + "empty language in " cite$ * warning$ + "\expandafter\btxselectlanguage\expandafter {" + "\btxfallbacklanguage}" * + write$ newline$ + } if$ "nolanguage" 'language.state := } { - "\btxselectlanguage {" language * "}" * language.state language = 'skip$ - { duplicate$ write$ newline$ } + { + "\btxselectlanguage {" language * "}" * + write$ newline$ + } if$ language 'language.state := } if$ - pop$ "\bibitem {" write$ + "\bibitem {" write$ cite$ write$ "}" write$ newline$ @@ -338,6 +343,12 @@ FUNCTION {journalfont} { "\btxjournalfont {" swap$ * "}" * } if$ } +FUNCTION {publisherfont} +{ duplicate$ empty$ + { pop$ "" } + { "\btxpublisherfont {" swap$ * "}" * } + if$ +} FUNCTION {volumefont} { duplicate$ empty$ { pop$ "" } @@ -544,14 +555,14 @@ FUNCTION {format.edition} FUNCTION {format.isbn} { isbn empty$ { "" } - { "\btxISBN~\btxISBNfont {" isbn * "}" * } + { "\mbox{\btxISBN~\btxISBNfont {" isbn * "}}" * } if$ } FUNCTION {format.issn} { issn empty$ { "" } - { "\btxISSN~\btxISSNfont {" issn * "}" * } + { "\mbox{\btxISSN~\btxISSNfont {" issn * "}}" * } if$ } FUNCTION {format.url} @@ -559,10 +570,11 @@ FUNCTION {format.url} { "" } { urldate empty$ - { "{\latintext \btxurlfont {" url * "}}" * } + { "{\latintext \btxurlfont{" url * "}}" * } { - "{\latintext \btxurlfont {" url * - "}}\btxurldatecomment {\btxkeywordlanguage {\btxurldatefont{" * + "{\latintext \btxurlfont{" url * "}}%" * + newline$ output + "\btxurldatecomment {\btxkeywordlanguage {\btxurldatefont{" urldate * "}}}" * } if$ @@ -831,7 +843,7 @@ FUNCTION {book} new.block format.number.series output new.sentence - publisher "publisher" output.check + publisher "publisher" output.check publisherfont address output } { new.block @@ -883,7 +895,7 @@ FUNCTION {inbook} new.block format.number.series output new.sentence - publisher "publisher" output.check + publisher "publisher" output.check publisherfont address output } { format.chapter.pages "chapter and pages" output.check @@ -913,7 +925,7 @@ FUNCTION {incollection} format.number.series output format.chapter.pages output new.sentence - publisher "publisher" output.check + publisher "publisher" output.check publisherfont address output format.edition output format.date "year" output.check @@ -944,14 +956,14 @@ FUNCTION {inproceedings} address empty$ { organization publisher new.sentence.checkb organization output - publisher output + publisher publisherfont output format.date "year" output.check } { address output.nonnull format.date "year" output.check new.sentence organization output - publisher output + publisher publisherfont output } if$ } @@ -1077,7 +1089,7 @@ FUNCTION {proceedings} organization output } if$ - publisher output + publisher publisherfont output format.date "year" output.check } { address output.nonnull @@ -1087,7 +1099,7 @@ FUNCTION {proceedings} 'skip$ { organization output } if$ - publisher output + publisher publisherfont output } if$ format.isbn "\ifbtxprintISBN" output.isbn @@ -1210,6 +1222,8 @@ FUNCTION {begin.bib} " \providebibliographyfont{ISSN}{\MakeUppercase}%" write$ newline$ " \providebibliographyfont{url}{\url}%" write$ newline$ " \providebibliographyfont{numeral}{}%" write$ newline$ + " \expandafter\btxselectlanguage\expandafter {\btxfallbacklanguage}" + write$ newline$ } EXECUTE {begin.bib} |