summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/bibtex/bst/babelbib/babunsrt-lf.bst
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/bibtex/bst/babelbib/babunsrt-lf.bst')
-rw-r--r--Master/texmf-dist/bibtex/bst/babelbib/babunsrt-lf.bst93
1 files changed, 65 insertions, 28 deletions
diff --git a/Master/texmf-dist/bibtex/bst/babelbib/babunsrt-lf.bst b/Master/texmf-dist/bibtex/bst/babelbib/babunsrt-lf.bst
index 70ff1da7335..0e3b2b090d1 100644
--- a/Master/texmf-dist/bibtex/bst/babelbib/babunsrt-lf.bst
+++ b/Master/texmf-dist/bibtex/bst/babelbib/babunsrt-lf.bst
@@ -17,9 +17,11 @@
%%
%% h.harders@tu-bs.de
%%
-%% 2005/09/01 v1.15 babelbib: multilingual bibliographies (HH)
+%% 2005/11/13 v1.20 babelbib: multilingual bibliographies (HH)
ENTRY
{ address
+ annote
+ annotelanguage
author
booktitle
chapter
@@ -150,26 +152,24 @@ FUNCTION {output.bibitem}
{ newline$
language empty$
{ "empty language in " cite$ * warning$
+ "\expandafter\btxselectlanguage\expandafter {"
+ "\btxfallbacklanguage}" *
language.state "nolanguage" =
'skip$
- {
- "\expandafter\btxselectlanguage\expandafter {"
- "\btxfallbacklanguage}" * write$
- newline$
- }
+ { duplicate$ write$ newline$ }
if$
"nolanguage" 'language.state :=
}
- { language.state language =
+ {
+ "\btxselectlanguage {" language * "}" *
+ language.state language =
'skip$
- { "\btxselectlanguage {" language * "}" * write$
- newline$
- }
+ { duplicate$ write$ newline$ }
if$
language 'language.state :=
}
if$
- "\bibitem{" write$
+ pop$ "\bibitem {" write$
cite$ write$
"}" write$
newline$
@@ -320,21 +320,24 @@ FUNCTION {lastnamefont}
{ "\btxlastnamefont {" swap$ * "}" * }
if$
}
-
FUNCTION {titlefont}
{ duplicate$ empty$
{ pop$ "" }
{ "\btxtitlefont {" swap$ * "}" * }
if$
}
-
+FUNCTION {jtitlefont}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\btxjtitlefont {" swap$ * "}" * }
+ if$
+}
FUNCTION {journalfont}
{ duplicate$ empty$
{ pop$ "" }
{ "\btxjournalfont {" swap$ * "}" * }
if$
}
-
FUNCTION {volumefont}
{ duplicate$ empty$
{ pop$ "" }
@@ -360,7 +363,8 @@ FUNCTION {format.names}
{ nameptr #1 >
{
s nameptr "{ll}" format.name$ lastnamefont
- s nameptr "{, jj}{, ff}{~vv}" format.name$ * 't :=
+ s nameptr "{,~jj}{, ff{\btxfnamespacelong }}{~vv}" format.name$ *
+ 't :=
namesleft #1 >
{ ", " * t namefont * }
{ numnames #2 >
@@ -376,7 +380,8 @@ FUNCTION {format.names}
}
{
s nameptr "{ll}" format.name$ lastnamefont
- s nameptr "{,~jj}{, ff}{~vv}" format.name$ * namefont
+ s nameptr "{,~jj}{, ff{\btxfnamespacelong }}{~vv}"
+ format.name$ * namefont
}
if$
nameptr #1 + 'nameptr :=
@@ -403,14 +408,18 @@ FUNCTION {format.editors}
}
if$
}
-
FUNCTION {format.title}
{ title empty$
{ "" }
{ title "t" language.change.case titlefont }
if$
}
-
+FUNCTION {format.jtitle}
+{ title empty$
+ { "" }
+ { title "t" language.change.case jtitlefont }
+ if$
+}
FUNCTION {n.dashify}
{ 't :=
""
@@ -522,9 +531,11 @@ FUNCTION {format.edition}
{ "" }
{
output.state mid.sentence =
- { edition "l" language.change.case "~\btxeditionlong {}" * }
- { edition "t" language.change.case "~\btxeditionlong {}" * }
+ { edition "l" change.case$ }
+ { edition "t" change.case$ }
if$
+ "\btxnumerallong {" swap$ *
+ "}~\btxeditionlong {}" *
}
if$
}
@@ -542,23 +553,34 @@ FUNCTION {format.issn}
{ "\btxISSN~\btxISSNfont {" issn * "}" * }
if$
}
-
FUNCTION {format.url}
{ url empty$
{ "" }
{
urldate empty$
- { "\btxurlfont{" url * "}" * }
+ { "{\latintext \btxurlfont {" url * "}}" * }
{
- "\btxurlfont{" url *
- "}, \btxurldatecomment{} \btxkeywordlanguage {\btxurldatefont{" *
- urldate * "}}" *
+ "{\latintext \btxurlfont {" url *
+ "}}\btxurldatecomment {\btxkeywordlanguage {\btxurldatefont{" *
+ urldate * "}}}" *
}
if$
}
if$
}
-
+FUNCTION {write.annote}
+{ annote empty$
+ 'skip$
+ {
+ annotelanguage empty$
+ { "\btxkeywordlanguage {" }
+ { "{\selectlanguage {" annotelanguage * "}" * }
+ if$
+ "\btxannotation {" * annote * "}}" *
+ write$ newline$
+ }
+ if$
+}
INTEGERS { multiresult }
FUNCTION {multi.page.check}
@@ -736,7 +758,7 @@ FUNCTION {format.book.crossref}
{ key titlefont * }
if$
}
- { "\Btxinlong {}\ " format.crossref.editor * }
+ { format.crossref.editor * }
if$
" \cite{" * crossref * "}" *
}
@@ -766,7 +788,7 @@ FUNCTION {article}
{ output.bibitem
format.authors "author" output.check
after.authors
- format.title "title" output.check
+ format.jtitle "title" output.check
new.block
crossref missing$
{ journal
@@ -787,6 +809,7 @@ FUNCTION {article}
format.url output
note output
fin.entry
+ write.annote
}
FUNCTION {book}
@@ -821,6 +844,7 @@ FUNCTION {book}
format.url output
note output
fin.entry
+ write.annote
}
FUNCTION {booklet}
@@ -836,6 +860,7 @@ FUNCTION {booklet}
format.url output
note output
fin.entry
+ write.annote
}
FUNCTION {inbook}
@@ -872,6 +897,7 @@ FUNCTION {inbook}
format.url output
note output
fin.entry
+ write.annote
}
FUNCTION {incollection}
@@ -900,6 +926,7 @@ FUNCTION {incollection}
format.url output
note output
fin.entry
+ write.annote
}
FUNCTION {inproceedings}
@@ -936,6 +963,7 @@ FUNCTION {inproceedings}
format.url output
note output
fin.entry
+ write.annote
}
FUNCTION {conference} { inproceedings }
@@ -974,6 +1002,7 @@ FUNCTION {manual}
format.url output
note output
fin.entry
+ write.annote
}
FUNCTION {mastersthesis}
@@ -990,6 +1019,7 @@ FUNCTION {mastersthesis}
format.url output
note output
fin.entry
+ write.annote
}
FUNCTION {misc}
@@ -1007,6 +1037,7 @@ FUNCTION {misc}
format.url output
note output
fin.entry
+ write.annote
empty.misc.check
}
@@ -1025,6 +1056,7 @@ FUNCTION {phdthesis}
format.url output
note output
fin.entry
+ write.annote
}
FUNCTION {proceedings}
@@ -1062,6 +1094,7 @@ FUNCTION {proceedings}
format.url output
note output
fin.entry
+ write.annote
}
FUNCTION {techreport}
@@ -1079,6 +1112,7 @@ FUNCTION {techreport}
format.url output
note output
fin.entry
+ write.annote
}
FUNCTION {unpublished}
@@ -1091,6 +1125,7 @@ FUNCTION {unpublished}
note "note" output.check
format.date output
fin.entry
+ write.annote
}
FUNCTION {default.type} { misc }
@@ -1166,12 +1201,14 @@ FUNCTION {begin.bib}
" \providebibliographyfont{name}{}%" write$ newline$
" \providebibliographyfont{lastname}{}%" write$ newline$
" \providebibliographyfont{title}{\emph}%" write$ newline$
+ " \providebibliographyfont{jtitle}{\btxtitlefont}%" write$ newline$
" \providebibliographyfont{etal}{\emph}%" write$ newline$
" \providebibliographyfont{journal}{}%" write$ newline$
" \providebibliographyfont{volume}{}%" write$ newline$
" \providebibliographyfont{ISBN}{\MakeUppercase}%" write$ newline$
" \providebibliographyfont{ISSN}{\MakeUppercase}%" write$ newline$
" \providebibliographyfont{url}{\url}%" write$ newline$
+ " \providebibliographyfont{numeral}{}%" write$ newline$
}
EXECUTE {begin.bib}