summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/bibtex/bst/babelbib/babamspl.bst
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/bibtex/bst/babelbib/babamspl.bst')
-rw-r--r--Master/texmf-dist/bibtex/bst/babelbib/babamspl.bst74
1 files changed, 60 insertions, 14 deletions
diff --git a/Master/texmf-dist/bibtex/bst/babelbib/babamspl.bst b/Master/texmf-dist/bibtex/bst/babelbib/babamspl.bst
index 291c150cf51..05fd05d810f 100644
--- a/Master/texmf-dist/bibtex/bst/babelbib/babamspl.bst
+++ b/Master/texmf-dist/bibtex/bst/babelbib/babamspl.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
@@ -129,6 +131,13 @@ FUNCTION {titlefont}
if$
}
+FUNCTION {jtitlefont}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\btxjtitlefont {" swap$ * "}" * }
+ if$
+}
+
FUNCTION {journalfont}
{ duplicate$ empty$
{ pop$ "" }
@@ -252,9 +261,7 @@ FUNCTION {output.bibitem}
language 'language.state :=
}
if$
- "\bibitem{" write$
- cite$ write$
- "}" write$
+ "\bibitem {" cite$ * "}" * write$
newline$
""
before.all 'output.state :=
@@ -294,7 +301,7 @@ FUNCTION {format.names}
numnames 'namesleft :=
{ namesleft #0 > }
{
- s nameptr "{ff~}{vv~}" format.name$
+ s nameptr "{ff{\btxfnamespacelong }~}{vv~}" format.name$
s nameptr "{ll}" format.name$ lastnamefont *
s nameptr "{, jj}" format.name$ * 't :=
nameptr #1 >
@@ -312,7 +319,7 @@ FUNCTION {format.names}
if$
}
{
- s nameptr "{ff~}{vv~}" format.name$
+ s nameptr "{ff{\btxfnamespacelong }~}{vv~}" format.name$
s nameptr "{ll}" format.name$ lastnamefont *
s nameptr "{, jj}" format.name$ * namefont
}
@@ -365,6 +372,13 @@ FUNCTION {format.title}
if$
}
+FUNCTION {format.jtitle}
+{ title empty$
+ { "" }
+ { jtitle "t" language.change.case titlefont }
+ if$
+}
+
FUNCTION {format.journal.vol.year}
{ journal empty$
{ "journal name" missing.warning ""}
@@ -475,10 +489,13 @@ FUNCTION {format.incoll.title.editors}
FUNCTION {format.edition}
{ edition empty$
{ "" }
- { output.state mid.sentence =
- { edition "l" language.change.case " \btxeditionshort {.}" * }
- { edition "t" language.change.case " \btxeditionshort {.}" * }
+ {
+ output.state mid.sentence =
+ { edition "l" change.case$ }
+ { edition "t" change.case$ }
if$
+ "\btxnumeralshort {" swap$ *
+ "}~\btxeditionshort {.}" *
}
if$
}
@@ -502,17 +519,31 @@ FUNCTION {format.url}
{ "" }
{
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}
@@ -684,7 +715,7 @@ FUNCTION {format.incoll.inproc.crossref}
FUNCTION {article}
{ output.bibitem
format.authors "author" output.check
- format.title "title" output.check
+ format.jtitle "title" output.check
crossref missing$
{ format.journal.vol.year output
format.number output
@@ -699,6 +730,7 @@ FUNCTION {article}
format.language *
note output
fin.entry
+ write.annote
}
FUNCTION {book}
@@ -728,6 +760,7 @@ FUNCTION {book}
format.language *
note output
fin.entry
+ write.annote
}
FUNCTION {booklet}
@@ -740,6 +773,7 @@ FUNCTION {booklet}
format.url output
note output
fin.entry
+ write.annote
}
FUNCTION {inbook}
@@ -771,6 +805,7 @@ FUNCTION {inbook}
format.language *
note output
fin.entry
+ write.annote
}
FUNCTION {incollection}
@@ -794,6 +829,7 @@ FUNCTION {incollection}
format.url output
format.language *
fin.entry
+ write.annote
}
FUNCTION {inproceedings}
@@ -816,6 +852,7 @@ FUNCTION {inproceedings}
format.url output
format.language *
fin.entry
+ write.annote
}
FUNCTION {conference} { inproceedings }
@@ -849,6 +886,7 @@ FUNCTION {manual}
format.url output
note output
fin.entry
+ write.annote
}
FUNCTION {mastersthesis}
@@ -863,6 +901,7 @@ FUNCTION {mastersthesis}
note output
format.book.pages output
fin.entry
+ write.annote
}
FUNCTION {misc}
@@ -877,6 +916,7 @@ FUNCTION {misc}
note output
format.book.pages output
fin.entry
+ write.annote
empty.misc.check
}
@@ -893,6 +933,7 @@ FUNCTION {phdthesis}
note output
format.book.pages output
fin.entry
+ write.annote
}
FUNCTION {proceedings}
@@ -924,6 +965,7 @@ FUNCTION {proceedings}
format.url output
note output
fin.entry
+ write.annote
}
FUNCTION {techreport}
@@ -938,6 +980,7 @@ FUNCTION {techreport}
format.url output
note output
fin.entry
+ write.annote
}
FUNCTION {unpublished}
@@ -948,6 +991,7 @@ FUNCTION {unpublished}
note "note" output.check
format.date output
fin.entry
+ write.annote
}
FUNCTION {default.type} { misc }
@@ -1185,12 +1229,14 @@ FUNCTION {begin.bib}
" \providebibliographyfont{name}{}%" write$ newline$
" \providebibliographyfont{lastname}{}%" write$ newline$
" \providebibliographyfont{title}{\emph}%" write$ newline$
+ " \providebibliographyfont{jtitle}{\btxtitlefont}%" write$ newline$
" \providebibliographyfont{etal}{}%" write$ newline$
" \providebibliographyfont{journal}{}%" write$ newline$
" \providebibliographyfont{volume}{\textbf}%" write$ newline$
" \providebibliographyfont{ISBN}{\MakeUppercase}%" write$ newline$
" \providebibliographyfont{ISSN}{\MakeUppercase}%" write$ newline$
" \providebibliographyfont{url}{\url}%" write$ newline$
+ " \providebibliographyfont{numeral}{}%" write$ newline$
" \providecommand\btxprintamslanguage[1]{\ (#1)}"
write$ newline$
}