diff options
Diffstat (limited to 'Master/texmf-dist/bibtex/bst/babelbib/babalpha-lf.bst')
-rw-r--r-- | Master/texmf-dist/bibtex/bst/babelbib/babalpha-lf.bst | 56 |
1 files changed, 35 insertions, 21 deletions
diff --git a/Master/texmf-dist/bibtex/bst/babelbib/babalpha-lf.bst b/Master/texmf-dist/bibtex/bst/babelbib/babalpha-lf.bst index 26932559e31..11e7d8c8f57 100644 --- a/Master/texmf-dist/bibtex/bst/babelbib/babalpha-lf.bst +++ b/Master/texmf-dist/bibtex/bst/babelbib/babalpha-lf.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$ - "\bibitem [{" swap$ * label * "}]{" * write$ + "\bibitem [{" label * "}]{" * 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$ "" } @@ -543,14 +554,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} @@ -558,10 +569,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$ @@ -830,7 +842,7 @@ FUNCTION {book} new.block format.number.series output new.sentence - publisher "publisher" output.check + publisher "publisher" output.check publisherfont address output } { new.block @@ -882,7 +894,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 @@ -912,7 +924,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 @@ -943,14 +955,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$ } @@ -1076,7 +1088,7 @@ FUNCTION {proceedings} organization output } if$ - publisher output + publisher publisherfont output format.date "year" output.check } { address output.nonnull @@ -1086,7 +1098,7 @@ FUNCTION {proceedings} 'skip$ { organization output } if$ - publisher output + publisher publisherfont output } if$ format.isbn "\ifbtxprintISBN" output.isbn @@ -1512,6 +1524,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} |