summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/bibtex/bst/babelbib/babplain.bst
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/bibtex/bst/babelbib/babplain.bst')
-rw-r--r--Master/texmf-dist/bibtex/bst/babelbib/babplain.bst95
1 files changed, 66 insertions, 29 deletions
diff --git a/Master/texmf-dist/bibtex/bst/babelbib/babplain.bst b/Master/texmf-dist/bibtex/bst/babelbib/babplain.bst
index a6abddc392c..f56de60cb66 100644
--- a/Master/texmf-dist/bibtex/bst/babelbib/babplain.bst
+++ b/Master/texmf-dist/bibtex/bst/babelbib/babplain.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$ "" }
@@ -359,9 +362,10 @@ FUNCTION {format.names}
{ namesleft #0 > }
{ nameptr #1 >
{
- 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 :=
+ s nameptr "{, jj}" format.name$ *
+ 't :=
namesleft #1 >
{ ", " * t namefont * }
{ numnames #2 >
@@ -377,7 +381,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 :=
@@ -404,14 +409,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 :=
""
@@ -523,9 +532,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$
}
@@ -543,23 +554,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}
@@ -737,7 +759,7 @@ FUNCTION {format.book.crossref}
{ key titlefont * }
if$
}
- { "\Btxinlong {}\ " format.crossref.editor * }
+ { format.crossref.editor * }
if$
" \cite{" * crossref * "}" *
}
@@ -767,7 +789,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
@@ -788,6 +810,7 @@ FUNCTION {article}
format.url output
note output
fin.entry
+ write.annote
}
FUNCTION {book}
@@ -822,6 +845,7 @@ FUNCTION {book}
format.url output
note output
fin.entry
+ write.annote
}
FUNCTION {booklet}
@@ -837,6 +861,7 @@ FUNCTION {booklet}
format.url output
note output
fin.entry
+ write.annote
}
FUNCTION {inbook}
@@ -873,6 +898,7 @@ FUNCTION {inbook}
format.url output
note output
fin.entry
+ write.annote
}
FUNCTION {incollection}
@@ -901,6 +927,7 @@ FUNCTION {incollection}
format.url output
note output
fin.entry
+ write.annote
}
FUNCTION {inproceedings}
@@ -937,6 +964,7 @@ FUNCTION {inproceedings}
format.url output
note output
fin.entry
+ write.annote
}
FUNCTION {conference} { inproceedings }
@@ -975,6 +1003,7 @@ FUNCTION {manual}
format.url output
note output
fin.entry
+ write.annote
}
FUNCTION {mastersthesis}
@@ -991,6 +1020,7 @@ FUNCTION {mastersthesis}
format.url output
note output
fin.entry
+ write.annote
}
FUNCTION {misc}
@@ -1008,6 +1038,7 @@ FUNCTION {misc}
format.url output
note output
fin.entry
+ write.annote
empty.misc.check
}
@@ -1026,6 +1057,7 @@ FUNCTION {phdthesis}
format.url output
note output
fin.entry
+ write.annote
}
FUNCTION {proceedings}
@@ -1063,6 +1095,7 @@ FUNCTION {proceedings}
format.url output
note output
fin.entry
+ write.annote
}
FUNCTION {techreport}
@@ -1080,6 +1113,7 @@ FUNCTION {techreport}
format.url output
note output
fin.entry
+ write.annote
}
FUNCTION {unpublished}
@@ -1092,6 +1126,7 @@ FUNCTION {unpublished}
note "note" output.check
format.date output
fin.entry
+ write.annote
}
FUNCTION {default.type} { misc }
@@ -1313,12 +1348,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}