diff options
author | Karl Berry <karl@freefriends.org> | 2009-10-11 23:17:58 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-10-11 23:17:58 +0000 |
commit | 66f6f7f59a221b7c1189fc36c479b2f4c881cc36 (patch) | |
tree | 4763d05f17bf0b65b4b6b6ec7fa5b8f87512383a | |
parent | 09b9f326659d969748705afa8711a913db0d06a7 (diff) |
babelbib 1.29 (11oct09)
git-svn-id: svn://tug.org/texlive/trunk@15783 c570f23f-e606-0410-a88d-b1316a301751
47 files changed, 4993 insertions, 426 deletions
diff --git a/Master/texmf-dist/bibtex/bst/babelbib/bababbr3-fl.bst b/Master/texmf-dist/bibtex/bst/babelbib/bababbr3-fl.bst index 7d817b1b358..0654406d619 100644 --- a/Master/texmf-dist/bibtex/bst/babelbib/bababbr3-fl.bst +++ b/Master/texmf-dist/bibtex/bst/babelbib/bababbr3-fl.bst @@ -17,7 +17,7 @@ %% %% h.harders@tu-bs.de %% -%% 2009/06/18 v1.27 babelbib: multilingual bibliographies (HH) +%% 2009/10/10 v1.29 babelbib: multilingual bibliographies (HH) ENTRY { address annote @@ -475,7 +475,9 @@ FUNCTION {format.date} } { month empty$ 'year - { month "\ " * year * } + { "\btxprintmonthyear{.}{" + month * "}{" * year * "}{short}" * + } if$ } if$ @@ -579,9 +581,8 @@ FUNCTION {format.url} urldate empty$ { "{\latintext \btxurlfont{" url * "}}" * } { - "{\latintext \btxurlfont{" url * "}}%" * - newline$ output - "\btxurldatecomment {\btxkeywordlanguage {\btxurldatefont{" + "{\latintext \btxurlfont{" url * "}}\empty " * + "\btxurldatecomment {\btxkeywordlanguage {\btxurldatefont{" * urldate * "}}}" * } if$ @@ -1150,18 +1151,18 @@ FUNCTION {unpublished} FUNCTION {default.type} { misc } -MACRO {jan} {"\btxmonjanshort {.}"} -MACRO {feb} {"\btxmonfebshort {.}"} -MACRO {mar} {"\btxmonmarshort {.}"} -MACRO {apr} {"\btxmonaprshort {.}"} -MACRO {may} {"\btxmonmayshort {.}"} -MACRO {jun} {"\btxmonjunshort {.}"} -MACRO {jul} {"\btxmonjulshort {.}"} -MACRO {aug} {"\btxmonaugshort {.}"} -MACRO {sep} {"\btxmonsepshort {.}"} -MACRO {oct} {"\btxmonoctshort {.}"} -MACRO {nov} {"\btxmonnovshort {.}"} -MACRO {dec} {"\btxmondecshort {.}"} +MACRO {jan} {"1"} +MACRO {feb} {"2"} +MACRO {mar} {"3"} +MACRO {apr} {"4"} +MACRO {may} {"5"} +MACRO {jun} {"6"} +MACRO {jul} {"7"} +MACRO {aug} {"8"} +MACRO {sep} {"9"} +MACRO {oct} {"10"} +MACRO {nov} {"11"} +MACRO {dec} {"12"} MACRO {acmcs} {"ACM Comput.\ Surv.{}"} MACRO {acta} {"Acta Inf.{}"} MACRO {cacm} {"Commun. ACM"} diff --git a/Master/texmf-dist/bibtex/bst/babelbib/bababbr3-lf.bst b/Master/texmf-dist/bibtex/bst/babelbib/bababbr3-lf.bst index d9e33caaf50..ecc7f7140b5 100644 --- a/Master/texmf-dist/bibtex/bst/babelbib/bababbr3-lf.bst +++ b/Master/texmf-dist/bibtex/bst/babelbib/bababbr3-lf.bst @@ -17,7 +17,7 @@ %% %% h.harders@tu-bs.de %% -%% 2009/06/18 v1.27 babelbib: multilingual bibliographies (HH) +%% 2009/10/10 v1.29 babelbib: multilingual bibliographies (HH) ENTRY { address annote @@ -473,7 +473,9 @@ FUNCTION {format.date} } { month empty$ 'year - { month "\ " * year * } + { "\btxprintmonthyear{.}{" + month * "}{" * year * "}{short}" * + } if$ } if$ @@ -577,9 +579,8 @@ FUNCTION {format.url} urldate empty$ { "{\latintext \btxurlfont{" url * "}}" * } { - "{\latintext \btxurlfont{" url * "}}%" * - newline$ output - "\btxurldatecomment {\btxkeywordlanguage {\btxurldatefont{" + "{\latintext \btxurlfont{" url * "}}\empty " * + "\btxurldatecomment {\btxkeywordlanguage {\btxurldatefont{" * urldate * "}}}" * } if$ @@ -1148,18 +1149,18 @@ FUNCTION {unpublished} FUNCTION {default.type} { misc } -MACRO {jan} {"\btxmonjanshort {.}"} -MACRO {feb} {"\btxmonfebshort {.}"} -MACRO {mar} {"\btxmonmarshort {.}"} -MACRO {apr} {"\btxmonaprshort {.}"} -MACRO {may} {"\btxmonmayshort {.}"} -MACRO {jun} {"\btxmonjunshort {.}"} -MACRO {jul} {"\btxmonjulshort {.}"} -MACRO {aug} {"\btxmonaugshort {.}"} -MACRO {sep} {"\btxmonsepshort {.}"} -MACRO {oct} {"\btxmonoctshort {.}"} -MACRO {nov} {"\btxmonnovshort {.}"} -MACRO {dec} {"\btxmondecshort {.}"} +MACRO {jan} {"1"} +MACRO {feb} {"2"} +MACRO {mar} {"3"} +MACRO {apr} {"4"} +MACRO {may} {"5"} +MACRO {jun} {"6"} +MACRO {jul} {"7"} +MACRO {aug} {"8"} +MACRO {sep} {"9"} +MACRO {oct} {"10"} +MACRO {nov} {"11"} +MACRO {dec} {"12"} MACRO {acmcs} {"ACM Comput.\ Surv.{}"} MACRO {acta} {"Acta Inf.{}"} MACRO {cacm} {"Commun. ACM"} diff --git a/Master/texmf-dist/bibtex/bst/babelbib/bababbr3.bst b/Master/texmf-dist/bibtex/bst/babelbib/bababbr3.bst index c691e720ea1..edcdcd67326 100644 --- a/Master/texmf-dist/bibtex/bst/babelbib/bababbr3.bst +++ b/Master/texmf-dist/bibtex/bst/babelbib/bababbr3.bst @@ -17,7 +17,7 @@ %% %% h.harders@tu-bs.de %% -%% 2009/06/18 v1.27 babelbib: multilingual bibliographies (HH) +%% 2009/10/10 v1.29 babelbib: multilingual bibliographies (HH) ENTRY { address annote @@ -475,7 +475,9 @@ FUNCTION {format.date} } { month empty$ 'year - { month "\ " * year * } + { "\btxprintmonthyear{.}{" + month * "}{" * year * "}{short}" * + } if$ } if$ @@ -579,9 +581,8 @@ FUNCTION {format.url} urldate empty$ { "{\latintext \btxurlfont{" url * "}}" * } { - "{\latintext \btxurlfont{" url * "}}%" * - newline$ output - "\btxurldatecomment {\btxkeywordlanguage {\btxurldatefont{" + "{\latintext \btxurlfont{" url * "}}\empty " * + "\btxurldatecomment {\btxkeywordlanguage {\btxurldatefont{" * urldate * "}}}" * } if$ @@ -1150,18 +1151,18 @@ FUNCTION {unpublished} FUNCTION {default.type} { misc } -MACRO {jan} {"\btxmonjanshort {.}"} -MACRO {feb} {"\btxmonfebshort {.}"} -MACRO {mar} {"\btxmonmarshort {.}"} -MACRO {apr} {"\btxmonaprshort {.}"} -MACRO {may} {"\btxmonmayshort {.}"} -MACRO {jun} {"\btxmonjunshort {.}"} -MACRO {jul} {"\btxmonjulshort {.}"} -MACRO {aug} {"\btxmonaugshort {.}"} -MACRO {sep} {"\btxmonsepshort {.}"} -MACRO {oct} {"\btxmonoctshort {.}"} -MACRO {nov} {"\btxmonnovshort {.}"} -MACRO {dec} {"\btxmondecshort {.}"} +MACRO {jan} {"1"} +MACRO {feb} {"2"} +MACRO {mar} {"3"} +MACRO {apr} {"4"} +MACRO {may} {"5"} +MACRO {jun} {"6"} +MACRO {jul} {"7"} +MACRO {aug} {"8"} +MACRO {sep} {"9"} +MACRO {oct} {"10"} +MACRO {nov} {"11"} +MACRO {dec} {"12"} MACRO {acmcs} {"ACM Comput.\ Surv.{}"} MACRO {acta} {"Acta Inf.{}"} MACRO {cacm} {"Commun. ACM"} diff --git a/Master/texmf-dist/bibtex/bst/babelbib/bababbrv-fl.bst b/Master/texmf-dist/bibtex/bst/babelbib/bababbrv-fl.bst index 871f4f75629..014edf3ccf3 100644 --- a/Master/texmf-dist/bibtex/bst/babelbib/bababbrv-fl.bst +++ b/Master/texmf-dist/bibtex/bst/babelbib/bababbrv-fl.bst @@ -17,7 +17,7 @@ %% %% h.harders@tu-bs.de %% -%% 2009/06/18 v1.27 babelbib: multilingual bibliographies (HH) +%% 2009/10/10 v1.29 babelbib: multilingual bibliographies (HH) ENTRY { address annote @@ -469,7 +469,9 @@ FUNCTION {format.date} } { month empty$ 'year - { month "\ " * year * } + { "\btxprintmonthyear{.}{" + month * "}{" * year * "}{short}" * + } if$ } if$ @@ -573,9 +575,8 @@ FUNCTION {format.url} urldate empty$ { "{\latintext \btxurlfont{" url * "}}" * } { - "{\latintext \btxurlfont{" url * "}}%" * - newline$ output - "\btxurldatecomment {\btxkeywordlanguage {\btxurldatefont{" + "{\latintext \btxurlfont{" url * "}}\empty " * + "\btxurldatecomment {\btxkeywordlanguage {\btxurldatefont{" * urldate * "}}}" * } if$ @@ -1144,18 +1145,18 @@ FUNCTION {unpublished} FUNCTION {default.type} { misc } -MACRO {jan} {"\btxmonjanshort {.}"} -MACRO {feb} {"\btxmonfebshort {.}"} -MACRO {mar} {"\btxmonmarshort {.}"} -MACRO {apr} {"\btxmonaprshort {.}"} -MACRO {may} {"\btxmonmayshort {.}"} -MACRO {jun} {"\btxmonjunshort {.}"} -MACRO {jul} {"\btxmonjulshort {.}"} -MACRO {aug} {"\btxmonaugshort {.}"} -MACRO {sep} {"\btxmonsepshort {.}"} -MACRO {oct} {"\btxmonoctshort {.}"} -MACRO {nov} {"\btxmonnovshort {.}"} -MACRO {dec} {"\btxmondecshort {.}"} +MACRO {jan} {"1"} +MACRO {feb} {"2"} +MACRO {mar} {"3"} +MACRO {apr} {"4"} +MACRO {may} {"5"} +MACRO {jun} {"6"} +MACRO {jul} {"7"} +MACRO {aug} {"8"} +MACRO {sep} {"9"} +MACRO {oct} {"10"} +MACRO {nov} {"11"} +MACRO {dec} {"12"} MACRO {acmcs} {"ACM Comput.\ Surv.{}"} MACRO {acta} {"Acta Inf.{}"} MACRO {cacm} {"Commun. ACM"} diff --git a/Master/texmf-dist/bibtex/bst/babelbib/bababbrv-lf.bst b/Master/texmf-dist/bibtex/bst/babelbib/bababbrv-lf.bst index aedd7220f59..017c489441b 100644 --- a/Master/texmf-dist/bibtex/bst/babelbib/bababbrv-lf.bst +++ b/Master/texmf-dist/bibtex/bst/babelbib/bababbrv-lf.bst @@ -17,7 +17,7 @@ %% %% h.harders@tu-bs.de %% -%% 2009/06/18 v1.27 babelbib: multilingual bibliographies (HH) +%% 2009/10/10 v1.29 babelbib: multilingual bibliographies (HH) ENTRY { address annote @@ -467,7 +467,9 @@ FUNCTION {format.date} } { month empty$ 'year - { month "\ " * year * } + { "\btxprintmonthyear{.}{" + month * "}{" * year * "}{short}" * + } if$ } if$ @@ -571,9 +573,8 @@ FUNCTION {format.url} urldate empty$ { "{\latintext \btxurlfont{" url * "}}" * } { - "{\latintext \btxurlfont{" url * "}}%" * - newline$ output - "\btxurldatecomment {\btxkeywordlanguage {\btxurldatefont{" + "{\latintext \btxurlfont{" url * "}}\empty " * + "\btxurldatecomment {\btxkeywordlanguage {\btxurldatefont{" * urldate * "}}}" * } if$ @@ -1142,18 +1143,18 @@ FUNCTION {unpublished} FUNCTION {default.type} { misc } -MACRO {jan} {"\btxmonjanshort {.}"} -MACRO {feb} {"\btxmonfebshort {.}"} -MACRO {mar} {"\btxmonmarshort {.}"} -MACRO {apr} {"\btxmonaprshort {.}"} -MACRO {may} {"\btxmonmayshort {.}"} -MACRO {jun} {"\btxmonjunshort {.}"} -MACRO {jul} {"\btxmonjulshort {.}"} -MACRO {aug} {"\btxmonaugshort {.}"} -MACRO {sep} {"\btxmonsepshort {.}"} -MACRO {oct} {"\btxmonoctshort {.}"} -MACRO {nov} {"\btxmonnovshort {.}"} -MACRO {dec} {"\btxmondecshort {.}"} +MACRO {jan} {"1"} +MACRO {feb} {"2"} +MACRO {mar} {"3"} +MACRO {apr} {"4"} +MACRO {may} {"5"} +MACRO {jun} {"6"} +MACRO {jul} {"7"} +MACRO {aug} {"8"} +MACRO {sep} {"9"} +MACRO {oct} {"10"} +MACRO {nov} {"11"} +MACRO {dec} {"12"} MACRO {acmcs} {"ACM Comput.\ Surv.{}"} MACRO {acta} {"Acta Inf.{}"} MACRO {cacm} {"Commun. ACM"} diff --git a/Master/texmf-dist/bibtex/bst/babelbib/bababbrv.bst b/Master/texmf-dist/bibtex/bst/babelbib/bababbrv.bst index 1ebb47102ab..a5570dfd4fb 100644 --- a/Master/texmf-dist/bibtex/bst/babelbib/bababbrv.bst +++ b/Master/texmf-dist/bibtex/bst/babelbib/bababbrv.bst @@ -17,7 +17,7 @@ %% %% h.harders@tu-bs.de %% -%% 2009/06/18 v1.27 babelbib: multilingual bibliographies (HH) +%% 2009/10/10 v1.29 babelbib: multilingual bibliographies (HH) ENTRY { address annote @@ -469,7 +469,9 @@ FUNCTION {format.date} } { month empty$ 'year - { month "\ " * year * } + { "\btxprintmonthyear{.}{" + month * "}{" * year * "}{short}" * + } if$ } if$ @@ -573,9 +575,8 @@ FUNCTION {format.url} urldate empty$ { "{\latintext \btxurlfont{" url * "}}" * } { - "{\latintext \btxurlfont{" url * "}}%" * - newline$ output - "\btxurldatecomment {\btxkeywordlanguage {\btxurldatefont{" + "{\latintext \btxurlfont{" url * "}}\empty " * + "\btxurldatecomment {\btxkeywordlanguage {\btxurldatefont{" * urldate * "}}}" * } if$ @@ -1144,18 +1145,18 @@ FUNCTION {unpublished} FUNCTION {default.type} { misc } -MACRO {jan} {"\btxmonjanshort {.}"} -MACRO {feb} {"\btxmonfebshort {.}"} -MACRO {mar} {"\btxmonmarshort {.}"} -MACRO {apr} {"\btxmonaprshort {.}"} -MACRO {may} {"\btxmonmayshort {.}"} -MACRO {jun} {"\btxmonjunshort {.}"} -MACRO {jul} {"\btxmonjulshort {.}"} -MACRO {aug} {"\btxmonaugshort {.}"} -MACRO {sep} {"\btxmonsepshort {.}"} -MACRO {oct} {"\btxmonoctshort {.}"} -MACRO {nov} {"\btxmonnovshort {.}"} -MACRO {dec} {"\btxmondecshort {.}"} +MACRO {jan} {"1"} +MACRO {feb} {"2"} +MACRO {mar} {"3"} +MACRO {apr} {"4"} +MACRO {may} {"5"} +MACRO {jun} {"6"} +MACRO {jul} {"7"} +MACRO {aug} {"8"} +MACRO {sep} {"9"} +MACRO {oct} {"10"} +MACRO {nov} {"11"} +MACRO {dec} {"12"} MACRO {acmcs} {"ACM Comput.\ Surv.{}"} MACRO {acta} {"Acta Inf.{}"} MACRO {cacm} {"Commun. ACM"} diff --git a/Master/texmf-dist/bibtex/bst/babelbib/babalpha-fl.bst b/Master/texmf-dist/bibtex/bst/babelbib/babalpha-fl.bst index 488680164dd..f62468e5e0c 100644 --- a/Master/texmf-dist/bibtex/bst/babelbib/babalpha-fl.bst +++ b/Master/texmf-dist/bibtex/bst/babelbib/babalpha-fl.bst @@ -17,7 +17,7 @@ %% %% h.harders@tu-bs.de %% -%% 2009/06/18 v1.27 babelbib: multilingual bibliographies (HH) +%% 2009/10/10 v1.29 babelbib: multilingual bibliographies (HH) ENTRY { address annote @@ -468,7 +468,9 @@ FUNCTION {format.date} } { month empty$ 'year - { month "\ " * year * } + { "\btxprintmonthyear{.}{" + month * "}{" * year * "}{long}" * + } if$ } if$ @@ -572,9 +574,8 @@ FUNCTION {format.url} urldate empty$ { "{\latintext \btxurlfont{" url * "}}" * } { - "{\latintext \btxurlfont{" url * "}}%" * - newline$ output - "\btxurldatecomment {\btxkeywordlanguage {\btxurldatefont{" + "{\latintext \btxurlfont{" url * "}}\empty " * + "\btxurldatecomment {\btxkeywordlanguage {\btxurldatefont{" * urldate * "}}}" * } if$ @@ -1143,18 +1144,18 @@ FUNCTION {unpublished} FUNCTION {default.type} { misc } -MACRO {jan} {"\btxmonjanlong {}"} -MACRO {feb} {"\btxmonfeblong {}"} -MACRO {mar} {"\btxmonmarlong {}"} -MACRO {apr} {"\btxmonaprlong {}"} -MACRO {may} {"\btxmonmaylong {}"} -MACRO {jun} {"\btxmonjunlong {}"} -MACRO {jul} {"\btxmonjullong {}"} -MACRO {aug} {"\btxmonauglong {}"} -MACRO {sep} {"\btxmonseplong {}"} -MACRO {oct} {"\btxmonoctlong {}"} -MACRO {nov} {"\btxmonnovlong {}"} -MACRO {dec} {"\btxmondeclong {}"} +MACRO {jan} {"1"} +MACRO {feb} {"2"} +MACRO {mar} {"3"} +MACRO {apr} {"4"} +MACRO {may} {"5"} +MACRO {jun} {"6"} +MACRO {jul} {"7"} +MACRO {aug} {"8"} +MACRO {sep} {"9"} +MACRO {oct} {"10"} +MACRO {nov} {"11"} +MACRO {dec} {"12"} MACRO {acmcs} {"ACM Computing Surveys"} MACRO {acta} {"Acta Informatica"} MACRO {cacm} {"Communications of the ACM"} diff --git a/Master/texmf-dist/bibtex/bst/babelbib/babalpha-lf.bst b/Master/texmf-dist/bibtex/bst/babelbib/babalpha-lf.bst index 11e7d8c8f57..00611121811 100644 --- a/Master/texmf-dist/bibtex/bst/babelbib/babalpha-lf.bst +++ b/Master/texmf-dist/bibtex/bst/babelbib/babalpha-lf.bst @@ -17,7 +17,7 @@ %% %% h.harders@tu-bs.de %% -%% 2009/06/18 v1.27 babelbib: multilingual bibliographies (HH) +%% 2009/10/10 v1.29 babelbib: multilingual bibliographies (HH) ENTRY { address annote @@ -467,7 +467,9 @@ FUNCTION {format.date} } { month empty$ 'year - { month "\ " * year * } + { "\btxprintmonthyear{.}{" + month * "}{" * year * "}{long}" * + } if$ } if$ @@ -571,9 +573,8 @@ FUNCTION {format.url} urldate empty$ { "{\latintext \btxurlfont{" url * "}}" * } { - "{\latintext \btxurlfont{" url * "}}%" * - newline$ output - "\btxurldatecomment {\btxkeywordlanguage {\btxurldatefont{" + "{\latintext \btxurlfont{" url * "}}\empty " * + "\btxurldatecomment {\btxkeywordlanguage {\btxurldatefont{" * urldate * "}}}" * } if$ @@ -1142,18 +1143,18 @@ FUNCTION {unpublished} FUNCTION {default.type} { misc } -MACRO {jan} {"\btxmonjanlong {}"} -MACRO {feb} {"\btxmonfeblong {}"} -MACRO {mar} {"\btxmonmarlong {}"} -MACRO {apr} {"\btxmonaprlong {}"} -MACRO {may} {"\btxmonmaylong {}"} -MACRO {jun} {"\btxmonjunlong {}"} -MACRO {jul} {"\btxmonjullong {}"} -MACRO {aug} {"\btxmonauglong {}"} -MACRO {sep} {"\btxmonseplong {}"} -MACRO {oct} {"\btxmonoctlong {}"} -MACRO {nov} {"\btxmonnovlong {}"} -MACRO {dec} {"\btxmondeclong {}"} +MACRO {jan} {"1"} +MACRO {feb} {"2"} +MACRO {mar} {"3"} +MACRO {apr} {"4"} +MACRO {may} {"5"} +MACRO {jun} {"6"} +MACRO {jul} {"7"} +MACRO {aug} {"8"} +MACRO {sep} {"9"} +MACRO {oct} {"10"} +MACRO {nov} {"11"} +MACRO {dec} {"12"} MACRO {acmcs} {"ACM Computing Surveys"} MACRO {acta} {"Acta Informatica"} MACRO {cacm} {"Communications of the ACM"} diff --git a/Master/texmf-dist/bibtex/bst/babelbib/babalpha.bst b/Master/texmf-dist/bibtex/bst/babelbib/babalpha.bst index 7170e8f43cf..2d258af8353 100644 --- a/Master/texmf-dist/bibtex/bst/babelbib/babalpha.bst +++ b/Master/texmf-dist/bibtex/bst/babelbib/babalpha.bst @@ -17,7 +17,7 @@ %% %% h.harders@tu-bs.de %% -%% 2009/06/18 v1.27 babelbib: multilingual bibliographies (HH) +%% 2009/10/10 v1.29 babelbib: multilingual bibliographies (HH) ENTRY { address annote @@ -468,7 +468,9 @@ FUNCTION {format.date} } { month empty$ 'year - { month "\ " * year * } + { "\btxprintmonthyear{.}{" + month * "}{" * year * "}{long}" * + } if$ } if$ @@ -572,9 +574,8 @@ FUNCTION {format.url} urldate empty$ { "{\latintext \btxurlfont{" url * "}}" * } { - "{\latintext \btxurlfont{" url * "}}%" * - newline$ output - "\btxurldatecomment {\btxkeywordlanguage {\btxurldatefont{" + "{\latintext \btxurlfont{" url * "}}\empty " * + "\btxurldatecomment {\btxkeywordlanguage {\btxurldatefont{" * urldate * "}}}" * } if$ @@ -1143,18 +1144,18 @@ FUNCTION {unpublished} FUNCTION {default.type} { misc } -MACRO {jan} {"\btxmonjanlong {}"} -MACRO {feb} {"\btxmonfeblong {}"} -MACRO {mar} {"\btxmonmarlong {}"} -MACRO {apr} {"\btxmonaprlong {}"} -MACRO {may} {"\btxmonmaylong {}"} -MACRO {jun} {"\btxmonjunlong {}"} -MACRO {jul} {"\btxmonjullong {}"} -MACRO {aug} {"\btxmonauglong {}"} -MACRO {sep} {"\btxmonseplong {}"} -MACRO {oct} {"\btxmonoctlong {}"} -MACRO {nov} {"\btxmonnovlong {}"} -MACRO {dec} {"\btxmondeclong {}"} +MACRO {jan} {"1"} +MACRO {feb} {"2"} +MACRO {mar} {"3"} +MACRO {apr} {"4"} +MACRO {may} {"5"} +MACRO {jun} {"6"} +MACRO {jul} {"7"} +MACRO {aug} {"8"} +MACRO {sep} {"9"} +MACRO {oct} {"10"} +MACRO {nov} {"11"} +MACRO {dec} {"12"} MACRO {acmcs} {"ACM Computing Surveys"} MACRO {acta} {"Acta Informatica"} MACRO {cacm} {"Communications of the ACM"} diff --git a/Master/texmf-dist/bibtex/bst/babelbib/babamspl.bst b/Master/texmf-dist/bibtex/bst/babelbib/babamspl.bst index c6240f8a330..eb24bc6ab99 100644 --- a/Master/texmf-dist/bibtex/bst/babelbib/babamspl.bst +++ b/Master/texmf-dist/bibtex/bst/babelbib/babamspl.bst @@ -17,7 +17,7 @@ %% %% h.harders@tu-bs.de %% -%% 2009/06/18 v1.27 babelbib: multilingual bibliographies (HH) +%% 2009/10/10 v1.29 babelbib: multilingual bibliographies (HH) ENTRY { address annote @@ -419,7 +419,9 @@ FUNCTION {format.date} } { month empty$ 'year - { month "\ " * year * } + { "\btxprintmonthyear{.}{" + month * "}{" * year * "}{long}" * + } if$ } if$ @@ -528,9 +530,8 @@ FUNCTION {format.url} urldate empty$ { "{\latintext \btxurlfont{" url * "}}" * } { - "{\latintext \btxurlfont{" url * "}}%" * - newline$ output - "\btxurldatecomment {\btxkeywordlanguage {\btxurldatefont{" + "{\latintext \btxurlfont{" url * "}}\empty " * + "\btxurldatecomment {\btxkeywordlanguage {\btxurldatefont{" * urldate * "}}}" * } if$ @@ -1003,18 +1004,18 @@ FUNCTION {unpublished} FUNCTION {default.type} { misc } -MACRO {jan} {"\btxmonjanlong {}"} -MACRO {feb} {"\btxmonfeblong {}"} -MACRO {mar} {"\btxmonmarlong {}"} -MACRO {apr} {"\btxmonaprlong {}"} -MACRO {may} {"\btxmonmaylong {}"} -MACRO {jun} {"\btxmonjunlong {}"} -MACRO {jul} {"\btxmonjullong {}"} -MACRO {aug} {"\btxmonauglong {}"} -MACRO {sep} {"\btxmonseplong {}"} -MACRO {oct} {"\btxmonoctlong {}"} -MACRO {nov} {"\btxmonnovlong {}"} -MACRO {dec} {"\btxmondeclong {}"} +MACRO {jan} {"1"} +MACRO {feb} {"2"} +MACRO {mar} {"3"} +MACRO {apr} {"4"} +MACRO {may} {"5"} +MACRO {jun} {"6"} +MACRO {jul} {"7"} +MACRO {aug} {"8"} +MACRO {sep} {"9"} +MACRO {oct} {"10"} +MACRO {nov} {"11"} +MACRO {dec} {"12"} READ diff --git a/Master/texmf-dist/bibtex/bst/babelbib/babplai3-fl.bst b/Master/texmf-dist/bibtex/bst/babelbib/babplai3-fl.bst index c0899da575b..71ead4f0ddc 100644 --- a/Master/texmf-dist/bibtex/bst/babelbib/babplai3-fl.bst +++ b/Master/texmf-dist/bibtex/bst/babelbib/babplai3-fl.bst @@ -17,7 +17,7 @@ %% %% h.harders@tu-bs.de %% -%% 2009/06/18 v1.27 babelbib: multilingual bibliographies (HH) +%% 2009/10/10 v1.29 babelbib: multilingual bibliographies (HH) ENTRY { address annote @@ -474,7 +474,9 @@ FUNCTION {format.date} } { month empty$ 'year - { month "\ " * year * } + { "\btxprintmonthyear{.}{" + month * "}{" * year * "}{long}" * + } if$ } if$ @@ -578,9 +580,8 @@ FUNCTION {format.url} urldate empty$ { "{\latintext \btxurlfont{" url * "}}" * } { - "{\latintext \btxurlfont{" url * "}}%" * - newline$ output - "\btxurldatecomment {\btxkeywordlanguage {\btxurldatefont{" + "{\latintext \btxurlfont{" url * "}}\empty " * + "\btxurldatecomment {\btxkeywordlanguage {\btxurldatefont{" * urldate * "}}}" * } if$ @@ -1149,18 +1150,18 @@ FUNCTION {unpublished} FUNCTION {default.type} { misc } -MACRO {jan} {"\btxmonjanlong {}"} -MACRO {feb} {"\btxmonfeblong {}"} -MACRO {mar} {"\btxmonmarlong {}"} -MACRO {apr} {"\btxmonaprlong {}"} -MACRO {may} {"\btxmonmaylong {}"} -MACRO {jun} {"\btxmonjunlong {}"} -MACRO {jul} {"\btxmonjullong {}"} -MACRO {aug} {"\btxmonauglong {}"} -MACRO {sep} {"\btxmonseplong {}"} -MACRO {oct} {"\btxmonoctlong {}"} -MACRO {nov} {"\btxmonnovlong {}"} -MACRO {dec} {"\btxmondeclong {}"} +MACRO {jan} {"1"} +MACRO {feb} {"2"} +MACRO {mar} {"3"} +MACRO {apr} {"4"} +MACRO {may} {"5"} +MACRO {jun} {"6"} +MACRO {jul} {"7"} +MACRO {aug} {"8"} +MACRO {sep} {"9"} +MACRO {oct} {"10"} +MACRO {nov} {"11"} +MACRO {dec} {"12"} MACRO {acmcs} {"ACM Computing Surveys"} MACRO {acta} {"Acta Informatica"} MACRO {cacm} {"Communications of the ACM"} diff --git a/Master/texmf-dist/bibtex/bst/babelbib/babplai3-lf.bst b/Master/texmf-dist/bibtex/bst/babelbib/babplai3-lf.bst index 1a319b254e6..d67fb507029 100644 --- a/Master/texmf-dist/bibtex/bst/babelbib/babplai3-lf.bst +++ b/Master/texmf-dist/bibtex/bst/babelbib/babplai3-lf.bst @@ -17,7 +17,7 @@ %% %% h.harders@tu-bs.de %% -%% 2009/06/18 v1.27 babelbib: multilingual bibliographies (HH) +%% 2009/10/10 v1.29 babelbib: multilingual bibliographies (HH) ENTRY { address annote @@ -473,7 +473,9 @@ FUNCTION {format.date} } { month empty$ 'year - { month "\ " * year * } + { "\btxprintmonthyear{.}{" + month * "}{" * year * "}{long}" * + } if$ } if$ @@ -577,9 +579,8 @@ FUNCTION {format.url} urldate empty$ { "{\latintext \btxurlfont{" url * "}}" * } { - "{\latintext \btxurlfont{" url * "}}%" * - newline$ output - "\btxurldatecomment {\btxkeywordlanguage {\btxurldatefont{" + "{\latintext \btxurlfont{" url * "}}\empty " * + "\btxurldatecomment {\btxkeywordlanguage {\btxurldatefont{" * urldate * "}}}" * } if$ @@ -1148,18 +1149,18 @@ FUNCTION {unpublished} FUNCTION {default.type} { misc } -MACRO {jan} {"\btxmonjanlong {}"} -MACRO {feb} {"\btxmonfeblong {}"} -MACRO {mar} {"\btxmonmarlong {}"} -MACRO {apr} {"\btxmonaprlong {}"} -MACRO {may} {"\btxmonmaylong {}"} -MACRO {jun} {"\btxmonjunlong {}"} -MACRO {jul} {"\btxmonjullong {}"} -MACRO {aug} {"\btxmonauglong {}"} -MACRO {sep} {"\btxmonseplong {}"} -MACRO {oct} {"\btxmonoctlong {}"} -MACRO {nov} {"\btxmonnovlong {}"} -MACRO {dec} {"\btxmondeclong {}"} +MACRO {jan} {"1"} +MACRO {feb} {"2"} +MACRO {mar} {"3"} +MACRO {apr} {"4"} +MACRO {may} {"5"} +MACRO {jun} {"6"} +MACRO {jul} {"7"} +MACRO {aug} {"8"} +MACRO {sep} {"9"} +MACRO {oct} {"10"} +MACRO {nov} {"11"} +MACRO {dec} {"12"} MACRO {acmcs} {"ACM Computing Surveys"} MACRO {acta} {"Acta Informatica"} MACRO {cacm} {"Communications of the ACM"} diff --git a/Master/texmf-dist/bibtex/bst/babelbib/babplai3.bst b/Master/texmf-dist/bibtex/bst/babelbib/babplai3.bst index 2ca0962fbdf..0c5ed59ace7 100644 --- a/Master/texmf-dist/bibtex/bst/babelbib/babplai3.bst +++ b/Master/texmf-dist/bibtex/bst/babelbib/babplai3.bst @@ -17,7 +17,7 @@ %% %% h.harders@tu-bs.de %% -%% 2009/06/18 v1.27 babelbib: multilingual bibliographies (HH) +%% 2009/10/10 v1.29 babelbib: multilingual bibliographies (HH) ENTRY { address annote @@ -474,7 +474,9 @@ FUNCTION {format.date} } { month empty$ 'year - { month "\ " * year * } + { "\btxprintmonthyear{.}{" + month * "}{" * year * "}{long}" * + } if$ } if$ @@ -578,9 +580,8 @@ FUNCTION {format.url} urldate empty$ { "{\latintext \btxurlfont{" url * "}}" * } { - "{\latintext \btxurlfont{" url * "}}%" * - newline$ output - "\btxurldatecomment {\btxkeywordlanguage {\btxurldatefont{" + "{\latintext \btxurlfont{" url * "}}\empty " * + "\btxurldatecomment {\btxkeywordlanguage {\btxurldatefont{" * urldate * "}}}" * } if$ @@ -1149,18 +1150,18 @@ FUNCTION {unpublished} FUNCTION {default.type} { misc } -MACRO {jan} {"\btxmonjanlong {}"} -MACRO {feb} {"\btxmonfeblong {}"} -MACRO {mar} {"\btxmonmarlong {}"} -MACRO {apr} {"\btxmonaprlong {}"} -MACRO {may} {"\btxmonmaylong {}"} -MACRO {jun} {"\btxmonjunlong {}"} -MACRO {jul} {"\btxmonjullong {}"} -MACRO {aug} {"\btxmonauglong {}"} -MACRO {sep} {"\btxmonseplong {}"} -MACRO {oct} {"\btxmonoctlong {}"} -MACRO {nov} {"\btxmonnovlong {}"} -MACRO {dec} {"\btxmondeclong {}"} +MACRO {jan} {"1"} +MACRO {feb} {"2"} +MACRO {mar} {"3"} +MACRO {apr} {"4"} +MACRO {may} {"5"} +MACRO {jun} {"6"} +MACRO {jul} {"7"} +MACRO {aug} {"8"} +MACRO {sep} {"9"} +MACRO {oct} {"10"} +MACRO {nov} {"11"} +MACRO {dec} {"12"} MACRO {acmcs} {"ACM Computing Surveys"} MACRO {acta} {"Acta Informatica"} MACRO {cacm} {"Communications of the ACM"} diff --git a/Master/texmf-dist/bibtex/bst/babelbib/babplain-fl.bst b/Master/texmf-dist/bibtex/bst/babelbib/babplain-fl.bst index 32065f64ea6..e27cef0ccb6 100644 --- a/Master/texmf-dist/bibtex/bst/babelbib/babplain-fl.bst +++ b/Master/texmf-dist/bibtex/bst/babelbib/babplain-fl.bst @@ -17,7 +17,7 @@ %% %% h.harders@tu-bs.de %% -%% 2009/06/18 v1.27 babelbib: multilingual bibliographies (HH) +%% 2009/10/10 v1.29 babelbib: multilingual bibliographies (HH) ENTRY { address annote @@ -468,7 +468,9 @@ FUNCTION {format.date} } { month empty$ 'year - { month "\ " * year * } + { "\btxprintmonthyear{.}{" + month * "}{" * year * "}{long}" * + } if$ } if$ @@ -572,9 +574,8 @@ FUNCTION {format.url} urldate empty$ { "{\latintext \btxurlfont{" url * "}}" * } { - "{\latintext \btxurlfont{" url * "}}%" * - newline$ output - "\btxurldatecomment {\btxkeywordlanguage {\btxurldatefont{" + "{\latintext \btxurlfont{" url * "}}\empty " * + "\btxurldatecomment {\btxkeywordlanguage {\btxurldatefont{" * urldate * "}}}" * } if$ @@ -1143,18 +1144,18 @@ FUNCTION {unpublished} FUNCTION {default.type} { misc } -MACRO {jan} {"\btxmonjanlong {}"} -MACRO {feb} {"\btxmonfeblong {}"} -MACRO {mar} {"\btxmonmarlong {}"} -MACRO {apr} {"\btxmonaprlong {}"} -MACRO {may} {"\btxmonmaylong {}"} -MACRO {jun} {"\btxmonjunlong {}"} -MACRO {jul} {"\btxmonjullong {}"} -MACRO {aug} {"\btxmonauglong {}"} -MACRO {sep} {"\btxmonseplong {}"} -MACRO {oct} {"\btxmonoctlong {}"} -MACRO {nov} {"\btxmonnovlong {}"} -MACRO {dec} {"\btxmondeclong {}"} +MACRO {jan} {"1"} +MACRO {feb} {"2"} +MACRO {mar} {"3"} +MACRO {apr} {"4"} +MACRO {may} {"5"} +MACRO {jun} {"6"} +MACRO {jul} {"7"} +MACRO {aug} {"8"} +MACRO {sep} {"9"} +MACRO {oct} {"10"} +MACRO {nov} {"11"} +MACRO {dec} {"12"} MACRO {acmcs} {"ACM Computing Surveys"} MACRO {acta} {"Acta Informatica"} MACRO {cacm} {"Communications of the ACM"} diff --git a/Master/texmf-dist/bibtex/bst/babelbib/babplain-lf.bst b/Master/texmf-dist/bibtex/bst/babelbib/babplain-lf.bst index b67277bac34..8a9776dd4db 100644 --- a/Master/texmf-dist/bibtex/bst/babelbib/babplain-lf.bst +++ b/Master/texmf-dist/bibtex/bst/babelbib/babplain-lf.bst @@ -17,7 +17,7 @@ %% %% h.harders@tu-bs.de %% -%% 2009/06/18 v1.27 babelbib: multilingual bibliographies (HH) +%% 2009/10/10 v1.29 babelbib: multilingual bibliographies (HH) ENTRY { address annote @@ -467,7 +467,9 @@ FUNCTION {format.date} } { month empty$ 'year - { month "\ " * year * } + { "\btxprintmonthyear{.}{" + month * "}{" * year * "}{long}" * + } if$ } if$ @@ -571,9 +573,8 @@ FUNCTION {format.url} urldate empty$ { "{\latintext \btxurlfont{" url * "}}" * } { - "{\latintext \btxurlfont{" url * "}}%" * - newline$ output - "\btxurldatecomment {\btxkeywordlanguage {\btxurldatefont{" + "{\latintext \btxurlfont{" url * "}}\empty " * + "\btxurldatecomment {\btxkeywordlanguage {\btxurldatefont{" * urldate * "}}}" * } if$ @@ -1142,18 +1143,18 @@ FUNCTION {unpublished} FUNCTION {default.type} { misc } -MACRO {jan} {"\btxmonjanlong {}"} -MACRO {feb} {"\btxmonfeblong {}"} -MACRO {mar} {"\btxmonmarlong {}"} -MACRO {apr} {"\btxmonaprlong {}"} -MACRO {may} {"\btxmonmaylong {}"} -MACRO {jun} {"\btxmonjunlong {}"} -MACRO {jul} {"\btxmonjullong {}"} -MACRO {aug} {"\btxmonauglong {}"} -MACRO {sep} {"\btxmonseplong {}"} -MACRO {oct} {"\btxmonoctlong {}"} -MACRO {nov} {"\btxmonnovlong {}"} -MACRO {dec} {"\btxmondeclong {}"} +MACRO {jan} {"1"} +MACRO {feb} {"2"} +MACRO {mar} {"3"} +MACRO {apr} {"4"} +MACRO {may} {"5"} +MACRO {jun} {"6"} +MACRO {jul} {"7"} +MACRO {aug} {"8"} +MACRO {sep} {"9"} +MACRO {oct} {"10"} +MACRO {nov} {"11"} +MACRO {dec} {"12"} MACRO {acmcs} {"ACM Computing Surveys"} MACRO {acta} {"Acta Informatica"} MACRO {cacm} {"Communications of the ACM"} diff --git a/Master/texmf-dist/bibtex/bst/babelbib/babplain-neu.bst b/Master/texmf-dist/bibtex/bst/babelbib/babplain-neu.bst new file mode 100644 index 00000000000..49d3962b954 --- /dev/null +++ b/Master/texmf-dist/bibtex/bst/babelbib/babplain-neu.bst @@ -0,0 +1,1388 @@ +%% +%% This is file `babplain.bst', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% babelbib.dtx (with options: `bst,bststd') +%% +%% babelbib package +%% +%% 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 +%% archives in directory macros/latex/base/lppl.txt; either +%% version 1 of the License, or any later version. +%% +%% h.harders@tu-bs.de +%% +%% 2009/06/23 v1.28 babelbib: multilingual bibliographies (HH) +ENTRY + { address + annote + annotelanguage + author + booktitle + chapter + edition + editor + howpublished + institution + isbn + issn + journal + key + language + month + note + number + organization + pages + publisher + school + series + title + type + url + urldate + volume + year + } + {} + { label } + +INTEGERS + { output.state + before.all + mid.sentence + after.sentence + after.block + before.title + } + +STRINGS + { s + t + language.state + change.temp + isbn.command + } + +FUNCTION {init.state.consts} +{ #0 'before.all := + #1 'mid.sentence := + #2 'after.sentence := + #3 'after.block := + #4 'before.title := + "nostate" 'language.state := +} + +FUNCTION {not} +{ { #0 } + { #1 } + if$ +} + +FUNCTION {and} +{ 'skip$ + { pop$ #0 } + if$ +} + +FUNCTION {or} +{ { pop$ #1 } + 'skip$ + if$ +} + +FUNCTION {language.change.case} +{ + 'change.temp := + 't := + "\btxifchangecase {" + t change.temp change.case$ * + "}{" * + t * + "}" * +} + +FUNCTION {output.nonnull} +{ 's := + output.state mid.sentence = + { ", " * write$ } + { output.state after.block = + { add.period$ write$ + newline$ + "\newblock " write$ + } + { output.state before.all = + 'write$ + { + output.state before.title = + { "\btxauthorcolon\ " * write$ } + { add.period$ " " * write$ } + if$ + } + if$ + } + if$ + mid.sentence 'output.state := + } + if$ + s +} + +FUNCTION {output} +{ duplicate$ empty$ + 'pop$ + 'output.nonnull + if$ +} + +FUNCTION {output.check} +{ 't := + duplicate$ empty$ + { pop$ "empty " t * " in " * cite$ * warning$ } + 'output.nonnull + if$ +} + +FUNCTION {output.bibitem} +{ newline$ + language empty$ + { + language.state "nolanguage" = + 'skip$ + { + "empty language in " cite$ * warning$ + "\expandafter\btxselectlanguage\expandafter {" + "\btxfallbacklanguage}" * + write$ newline$ + } + if$ + "nolanguage" 'language.state := + } + { + language.state language = + 'skip$ + { + "\btxselectlanguage {" language * "}" * + write$ newline$ + } + if$ + language 'language.state := + } + if$ + "\bibitem {" write$ + cite$ write$ + "}" write$ + newline$ + "" + before.all 'output.state := +} + +FUNCTION {output.isbn} +{ + 'isbn.command := + duplicate$ + empty$ + 'pop$ + { + 's := + output.state mid.sentence = + { + isbn.command * " {, " * write$ + s "}" * + } + { output.state after.block = + { + add.period$ + write$ + newline$ + "\newblock " write$ + isbn.command " {" * s * ".}" * + } + { output.state before.all = + { + write$ + isbn.command " {" * write$ + s "}" * + } + { + output.state before.title = + { + "\btxauthorcolon\ " * write$ + isbn.command " {" * write$ + s "}" * + } + { + add.period$ " " * write$ + isbn.command " {" * write$ + s ".}" * + } + if$ + } + if$ + } + if$ + mid.sentence 'output.state := + } + if$ + } + if$ +} + +FUNCTION {fin.entry} +{ add.period$ + write$ + newline$ +} + +FUNCTION {new.block} +{ output.state before.all = + 'skip$ + { after.block 'output.state := } + if$ +} + +FUNCTION {new.sentence} +{ output.state after.block = + 'skip$ + { output.state before.all = + 'skip$ + { after.sentence 'output.state := } + if$ + } + if$ +} + +FUNCTION {after.authors} +{ output.state before.all = + 'skip$ + { before.title 'output.state := } + if$ +} + +FUNCTION {new.block.checka} +{ empty$ + 'skip$ + 'new.block + if$ +} + +FUNCTION {new.block.checkb} +{ empty$ + swap$ empty$ + and + 'skip$ + 'new.block + if$ +} + +FUNCTION {new.block.checkc} +{ empty$ + swap$ empty$ + and + 'skip$ + 'after.authors + if$ +} + +FUNCTION {new.sentence.checka} +{ empty$ + 'skip$ + 'new.sentence + if$ +} + +FUNCTION {new.sentence.checkb} +{ empty$ + swap$ empty$ + and + 'skip$ + 'new.sentence + if$ +} + +FUNCTION {field.or.null} +{ duplicate$ empty$ + { pop$ "" } + 'skip$ + if$ +} + +FUNCTION {namefont} +{ duplicate$ empty$ + { pop$ "" } + { "\btxnamefont {" swap$ * "}" * } + if$ +} + +FUNCTION {lastnamefont} +{ duplicate$ empty$ + { pop$ "" } + { "\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 {publisherfont} +{ duplicate$ empty$ + { pop$ "" } + { "\btxpublisherfont {" swap$ * "}" * } + if$ +} +FUNCTION {volumefont} +{ duplicate$ empty$ + { pop$ "" } + { "\btxvolumefont {" swap$ * "}" * } + if$ +} + +FUNCTION {etalfont} +{ duplicate$ empty$ + { pop$ "" } + { "\btxetalfont {" swap$ * "}" * } + if$ +} + +INTEGERS { nameptr namesleft numnames } + +FUNCTION {format.names} +{ 's := + #1 'nameptr := + s num.names$ 'numnames := + numnames 'namesleft := + { namesleft #0 > } + { nameptr #1 > + { + s nameptr "{ff{\btxfnamespacelong } }{vv~}" format.name$ + s nameptr "{ll}" format.name$ lastnamefont * + s nameptr "{, jj}" format.name$ * + 't := + namesleft #1 > + { ", " * t namefont * } + { numnames #2 > + { "\btxandcomma {}" * } + 'skip$ + if$ + s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ "others" = + { " " "\btxetalshort {.}" etalfont * * } + { " \btxandlong {}\ " * t namefont * } + if$ + } + if$ + } + { + s nameptr "{ll}" format.name$ lastnamefont + s nameptr "{,~jj}{, ff{\btxfnamespacelong }}{~vv}" + format.name$ * namefont + } + if$ + nameptr #1 + 'nameptr := + namesleft #1 - 'namesleft := + } + while$ +} + +FUNCTION {format.authors} +{ author empty$ + { "" } + { author format.names } + if$ +} + +FUNCTION {format.editors} +{ editor empty$ + { "" } + { editor format.names + editor num.names$ #1 > + { "\ (\btxeditorslong {})" * } + { "\ (\btxeditorlong {})" * } + if$ + } + 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 := + "" + { t empty$ not } + { t #1 #1 substring$ "-" = + { t #1 #2 substring$ "--" = not + { "--" * + t #2 global.max$ substring$ 't := + } + { { t #1 #1 substring$ "-" = } + { "-" * + t #2 global.max$ substring$ 't := + } + while$ + } + if$ + } + { t #1 #1 substring$ * + t #2 global.max$ substring$ 't := + } + if$ + } + while$ +} + +FUNCTION {format.date} +{ year empty$ + { month empty$ + { "" } + { "there's a month but no year in " cite$ * warning$ + month + } + if$ + } + { month empty$ + 'year + { "\btxprintmonthyear{.}{" + month * "}{" * year * "}{long}" * + } + if$ + } + if$ +} + +FUNCTION {format.btitle} +{ title titlefont +} + +FUNCTION {tie.or.space.connect} +{ duplicate$ text.length$ #3 < + { "~" } + { "\ " } + if$ + swap$ * * +} + +FUNCTION {volume.tie.or.space.connect} +{ duplicate$ text.length$ #3 < + { "~" } + { "\ " } + if$ + swap$ volumefont * * +} + +FUNCTION {either.or.check} +{ empty$ + 'pop$ + { "can't use both " swap$ * " fields in " * cite$ * warning$ } + if$ +} + +FUNCTION {format.bvolume} +{ volume empty$ + { "" } + { output.state after.block = + { "\Btxvolumelong {}" } + { "\btxvolumelong {}" } + if$ + volume volume.tie.or.space.connect + series empty$ + 'skip$ + { " \btxofserieslong {}\ " * series titlefont * } + if$ + "volume and number" number either.or.check + } + if$ +} + +FUNCTION {format.number.series} +{ volume empty$ + { number empty$ + { series field.or.null } + { output.state mid.sentence = + { "\btxnumberlong {}" } + { "\Btxnumberlong {}" } + if$ + number tie.or.space.connect + series empty$ + { "there's a number but no series in " cite$ * warning$ } + { " \btxinserieslong {}\ " * series titlefont * } + if$ + } + if$ + } + { "" } + if$ +} + +FUNCTION {format.edition} +{ edition empty$ + { "" } + { + output.state mid.sentence = + { edition "l" change.case$ } + { edition "t" change.case$ } + if$ + "\btxnumerallong {" swap$ * + "}~\btxeditionlong {}" * + } + if$ +} + +FUNCTION {format.isbn} +{ isbn empty$ + { "" } + { "\mbox{\btxISBN~\btxISBNfont {" isbn * "}}" * } + if$ +} + +FUNCTION {format.issn} +{ issn empty$ + { "" } + { "\mbox{\btxISSN~\btxISSNfont {" issn * "}}" * } + if$ +} +FUNCTION {format.url} +{ url empty$ + { "" } + { + urldate empty$ + { "{\latintext \btxurlfont{" url * "}}" * } + { + "{\latintext \btxurlfont{" url * "}}\empty " * + "\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} +{ 't := + #0 'multiresult := + { multiresult not + t empty$ not + and + } + { t #1 #1 substring$ + duplicate$ "-" = + swap$ duplicate$ "," = + swap$ "+" = + or or + { #1 'multiresult := } + { t #2 global.max$ substring$ 't := } + if$ + } + while$ + multiresult +} + +FUNCTION {format.pages} +{ pages empty$ + { "" } + { pages multi.page.check + { "\btxpageslong {}" pages n.dashify tie.or.space.connect } + { "\btxpagelong {}" pages tie.or.space.connect } + if$ + } + if$ +} + +FUNCTION {format.vol.num.pages} +{ volume field.or.null + number empty$ + 'skip$ + { "(" number * ")" * * + volume empty$ + { "there's a number but no volume in " cite$ * warning$ } + 'skip$ + if$ + } + if$ + pages empty$ + 'skip$ + { duplicate$ empty$ + { pop$ format.pages } + { ":" * pages n.dashify * } + if$ + } + if$ +} + +FUNCTION {format.chapter.pages} +{ chapter empty$ + 'format.pages + { type empty$ + { "\btxchapterlong {}" } + { type "l" language.change.case } + if$ + chapter tie.or.space.connect + pages empty$ + 'skip$ + { ", " * format.pages * } + if$ + } + if$ +} + +FUNCTION {format.in.ed.booktitle} +{ booktitle empty$ + { "" } + { editor empty$ + { "\Btxinlong {}\ " booktitle titlefont * } + { "\Btxinlong {}\ " format.editors * ": " * booktitle titlefont * } + if$ + } + if$ +} + +FUNCTION {empty.misc.check} +{ author empty$ title empty$ howpublished empty$ + month empty$ year empty$ note empty$ + and and and and and + key empty$ not and + { "all relevant fields are empty in " cite$ * warning$ } + 'skip$ + if$ +} + +FUNCTION {format.thesis.type} +{ type empty$ + 'skip$ + { pop$ + type "t" language.change.case + } + if$ +} + +FUNCTION {format.tr.number} +{ + number empty$ + { + type empty$ + { "\btxtechreplong {}" } + { type "t" language.change.case } + if$ + } + { + type empty$ + { "\Btxtechreplong {}" } + { type "t" language.change.case } + if$ + number tie.or.space.connect + } + if$ +} + +FUNCTION {format.article.crossref} +{ key empty$ + { journal empty$ + { "need key or journal for " cite$ * " to crossref " * crossref * + warning$ + "" + } + { "\Btxinlong {}\ " journal titlefont * } + if$ + } + { "\Btxinlong {}\ " key titlefont * } + if$ + " \cite{" * crossref * "}" * +} + +FUNCTION {format.crossref.editor} +{ + editor #1 "{ll}{,~jj}{, ff}{~vv}" format.name$ namefont + editor num.names$ duplicate$ + #2 > + { pop$ " " "\btxetalshort {.}" etalfont * * } + { #2 < + 'skip$ + { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" = + { " " "\btxetalshort {.}" etalfont * * } + { " \btxandlong {}\ " * editor #2 "{ff}{~vv}{~ll}{, jj}" + format.name$ namefont * } + if$ + } + if$ + } + if$ +} + +FUNCTION {format.book.crossref} +{ volume empty$ + { "empty volume in " cite$ * "'s crossref of " * crossref * warning$ + "\Btxinlong {}\ " + } + { "\Btxvolumelong {}" volume volume.tie.or.space.connect + " \btxofserieslong {}\ " * + } + if$ + editor empty$ + editor field.or.null author field.or.null = + or + { key empty$ + { series empty$ + { "need editor, key, or series for " cite$ * " to crossref " * + crossref * warning$ + "" * + } + { series titlefont * } + if$ + } + { key titlefont * } + if$ + } + { format.crossref.editor * } + if$ + " \cite{" * crossref * "}" * +} + +FUNCTION {format.incoll.inproc.crossref} +{ editor empty$ + editor field.or.null author field.or.null = + or + { key empty$ + { booktitle empty$ + { "need editor, key, or booktitle for " cite$ * " to crossref " * + crossref * warning$ + "" + } + { "\Btxinlong {}\ " booktitle titlefont * } + if$ + } + { "\Btxinlong {}\ " key titlefont * } + if$ + } + { "\Btxinlong {}\ " format.crossref.editor * } + if$ + " \cite{" * crossref * "}" * +} + +FUNCTION {article} +{ output.bibitem + format.authors "author" output.check + after.authors + format.jtitle "title" output.check + new.block + crossref missing$ + { journal + title missing$ + { titlefont } + { journalfont } + if$ + "journal" output.check + format.vol.num.pages output + format.date "year" output.check + } + { format.article.crossref output.nonnull + format.pages output + } + if$ + format.issn "\ifbtxprintISSN" output.isbn + new.block + format.url output + note output + fin.entry + write.annote +} + +FUNCTION {book} +{ output.bibitem + author empty$ + { format.editors "author and editor" output.check } + { format.authors output.nonnull + crossref missing$ + { "author and editor" editor either.or.check } + 'skip$ + if$ + } + if$ + after.authors + format.btitle "title" output.check + crossref missing$ + { format.bvolume output + new.block + format.number.series output + new.sentence + publisher "publisher" output.check publisherfont + address output + } + { new.block + format.book.crossref output.nonnull + } + if$ + format.edition output + format.date "year" output.check + format.isbn "\ifbtxprintISBN" output.isbn + new.block + format.url output + note output + fin.entry + write.annote +} + +FUNCTION {booklet} +{ output.bibitem + format.authors output + after.authors + format.title "title" output.check + howpublished address new.block.checkb + howpublished output + address output + format.date output + new.block + format.url output + note output + fin.entry + write.annote +} + +FUNCTION {inbook} +{ output.bibitem + author empty$ + { format.editors "author and editor" output.check } + { format.authors output.nonnull + crossref missing$ + { "author and editor" editor either.or.check } + 'skip$ + if$ + } + if$ + after.authors + format.btitle "title" output.check + crossref missing$ + { format.bvolume output + format.chapter.pages "chapter and pages" output.check + new.block + format.number.series output + new.sentence + publisher "publisher" output.check publisherfont + address output + } + { format.chapter.pages "chapter and pages" output.check + new.block + format.book.crossref output.nonnull + } + if$ + format.edition output + format.date "year" output.check + format.isbn "\ifbtxprintISBN" output.isbn + new.block + format.url output + note output + fin.entry + write.annote +} + +FUNCTION {incollection} +{ output.bibitem + format.authors "author" output.check + after.authors + format.title "title" output.check + new.block + crossref missing$ + { format.in.ed.booktitle "booktitle" output.check + format.bvolume output + format.number.series output + format.chapter.pages output + new.sentence + publisher "publisher" output.check publisherfont + address output + format.edition output + format.date "year" output.check + } + { format.incoll.inproc.crossref output.nonnull + format.chapter.pages output + } + if$ + format.isbn "\ifbtxprintISBN" output.isbn + new.block + format.url output + note output + fin.entry + write.annote +} + +FUNCTION {inproceedings} +{ output.bibitem + format.authors "author" output.check + after.authors + format.title "title" output.check + new.block + crossref missing$ + { format.in.ed.booktitle "booktitle" output.check + format.bvolume output + format.number.series output + format.pages output + address empty$ + { organization publisher new.sentence.checkb + organization output + publisher publisherfont output + format.date "year" output.check + } + { address output.nonnull + format.date "year" output.check + new.sentence + organization output + publisher publisherfont output + } + if$ + } + { format.incoll.inproc.crossref output.nonnull + format.pages output + } + if$ + format.isbn "\ifbtxprintISBN" output.isbn + new.block + format.url output + note output + fin.entry + write.annote +} + +FUNCTION {conference} { inproceedings } + +FUNCTION {manual} +{ output.bibitem + author empty$ + { organization empty$ + 'skip$ + { organization output.nonnull + address output + } + if$ + } + { format.authors output.nonnull } + if$ + after.authors + format.btitle "title" output.check + author empty$ + { organization empty$ + { address new.block.checka + address output + } + 'skip$ + if$ + } + { organization address new.block.checkb + organization output + address output + } + if$ + format.edition output + format.date output + format.isbn "\ifbtxprintISBN" output.isbn + new.block + format.url output + note output + fin.entry + write.annote +} + +FUNCTION {mastersthesis} +{ output.bibitem + format.authors "author" output.check + after.authors + format.title "title" output.check + new.block + "\btxmastthesis {}" format.thesis.type output.nonnull + school "school" output.check + address output + format.date "year" output.check + new.block + format.url output + note output + fin.entry + write.annote +} + +FUNCTION {misc} +{ output.bibitem + format.authors output + title howpublished new.block.checkc + format.title output + howpublished new.block.checka + howpublished output + format.date output + format.isbn "\ifbtxprintISBN" output.isbn + new.block + format.issn "\ifbtxprintISSN" output.isbn + new.block + format.url output + note output + fin.entry + write.annote + empty.misc.check +} + +FUNCTION {phdthesis} +{ output.bibitem + format.authors "author" output.check + after.authors + format.btitle "title" output.check + new.block + "\btxphdthesis {}" format.thesis.type output.nonnull + school "school" output.check + address output + format.date "year" output.check + format.isbn "\ifbtxprintISBN" output.isbn + new.block + format.url output + note output + fin.entry + write.annote +} + +FUNCTION {proceedings} +{ output.bibitem + editor empty$ + { organization output } + { format.editors output.nonnull } + if$ + after.authors + format.btitle "title" output.check + format.bvolume output + format.number.series output + address empty$ + { editor empty$ + { publisher new.sentence.checka } + { organization publisher new.sentence.checkb + organization output + } + if$ + publisher publisherfont output + format.date "year" output.check + } + { address output.nonnull + format.date "year" output.check + new.sentence + editor empty$ + 'skip$ + { organization output } + if$ + publisher publisherfont output + } + if$ + format.isbn "\ifbtxprintISBN" output.isbn + new.block + format.url output + note output + fin.entry + write.annote +} + +FUNCTION {techreport} +{ output.bibitem + format.authors "author" output.check + after.authors + format.title "title" output.check + new.block + format.tr.number output.nonnull + institution "institution" output.check + address output + format.date "year" output.check + format.isbn "\ifbtxprintISBN" output.isbn + new.block + format.url output + note output + fin.entry + write.annote +} + +FUNCTION {unpublished} +{ output.bibitem + format.authors "author" output.check + after.authors + format.title "title" output.check + new.block + format.url output + note "note" output.check + format.date output + fin.entry + write.annote +} + +FUNCTION {default.type} { misc } + +MACRO {jan} {"1"} +MACRO {feb} {"2"} +MACRO {mar} {"3"} +MACRO {apr} {"4"} +MACRO {may} {"5"} +MACRO {jun} {"6"} +MACRO {jul} {"7"} +MACRO {aug} {"8"} +MACRO {sep} {"9"} +MACRO {oct} {"10"} +MACRO {nov} {"11"} +MACRO {dec} {"12"} +MACRO {acmcs} {"ACM Computing Surveys"} +MACRO {acta} {"Acta Informatica"} +MACRO {cacm} {"Communications of the ACM"} +MACRO {ibmjrd} {"IBM Journal of Research and Development"} +MACRO {ibmsj} {"IBM Systems Journal"} +MACRO {ieeese} {"IEEE Transactions on Software Engineering"} +MACRO {ieeetc} {"IEEE Transactions on Computers"} +MACRO {ieeetcad} + {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"} +MACRO {ipl} {"Information Processing Letters"} +MACRO {jacm} {"Journal of the ACM"} +MACRO {jcss} {"Journal of Computer and System Sciences"} +MACRO {scp} {"Science of Computer Programming"} +MACRO {sicomp} {"SIAM Journal on Computing"} +MACRO {tocs} {"ACM Transactions on Computer Systems"} +MACRO {tods} {"ACM Transactions on Database Systems"} +MACRO {tog} {"ACM Transactions on Graphics"} +MACRO {toms} {"ACM Transactions on Mathematical Software"} +MACRO {toois} {"ACM Transactions on Office Information Systems"} +MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"} +MACRO {tcs} {"Theoretical Computer Science"} + +READ + +FUNCTION {sortify} +{ purify$ + "l" change.case$ +} + +INTEGERS { len } + +FUNCTION {chop.word} +{ 's := + 'len := + s #1 len substring$ = + { s len #1 + global.max$ substring$ } + 's + if$ +} + +FUNCTION {sort.format.names} +{ 's := + #1 'nameptr := + "" + s num.names$ 'numnames := + numnames 'namesleft := + { namesleft #0 > } + { nameptr #1 > + { " " * } + 'skip$ + if$ + s nameptr "{ll{ }}{ ff{ }}{vv{ } }{ jj{ }}" format.name$ 't := + nameptr numnames = t "others" = and + { "et al" * } + { t sortify * } + if$ + nameptr #1 + 'nameptr := + namesleft #1 - 'namesleft := + } + while$ +} + +FUNCTION {sort.format.title} +{ 't := + "A " #2 + "An " #3 + "The " #4 t chop.word + chop.word + chop.word + sortify + #1 global.max$ substring$ +} + +FUNCTION {author.sort} +{ author empty$ + { key empty$ + { "to sort, need author or key in " cite$ * warning$ + "" + } + { key sortify } + if$ + } + { author sort.format.names } + if$ +} + +FUNCTION {author.editor.sort} +{ author empty$ + { editor empty$ + { key empty$ + { "to sort, need author, editor, or key in " cite$ * warning$ + "" + } + { key sortify } + if$ + } + { editor sort.format.names } + if$ + } + { author sort.format.names } + if$ +} + +FUNCTION {author.organization.sort} +{ author empty$ + { organization empty$ + { key empty$ + { "to sort, need author, organization, or key in " cite$ * warning$ + "" + } + { key sortify } + if$ + } + { "The " #4 organization chop.word sortify } + if$ + } + { author sort.format.names } + if$ +} + +FUNCTION {editor.organization.sort} +{ editor empty$ + { organization empty$ + { key empty$ + { "to sort, need editor, organization, or key in " cite$ * warning$ + "" + } + { key sortify } + if$ + } + { "The " #4 organization chop.word sortify } + if$ + } + { editor sort.format.names } + if$ +} + +FUNCTION {presort} +{ + type$ "book" = + type$ "inbook" = + or + 'author.editor.sort + { type$ "proceedings" = + 'editor.organization.sort + { type$ "manual" = + 'author.organization.sort + 'author.sort + if$ + } + if$ + } + if$ + " " + * + year field.or.null sortify + * + " " + * + title field.or.null + sort.format.title + * + #1 entry.max$ substring$ + 'sort.key$ := +} + +ITERATE {presort} + +SORT + +STRINGS { longest.label } + +INTEGERS { number.label longest.label.width } + +FUNCTION {initialize.longest.label} +{ "" 'longest.label := + #1 'number.label := + #0 'longest.label.width := +} + +FUNCTION {longest.label.pass} +{ number.label int.to.str$ 'label := + number.label #1 + 'number.label := + label width$ longest.label.width > + { label 'longest.label := + label width$ 'longest.label.width := + } + 'skip$ + if$ +} + +EXECUTE {initialize.longest.label} + +ITERATE {longest.label.pass} + +FUNCTION {begin.bib} +{ + preamble$ empty$ + 'skip$ + { preamble$ write$ newline$ } + if$ + "\begin{thebibliography}{" longest.label * "}" * write$ newline$ + " \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$ + " \expandafter\btxselectlanguage\expandafter {\btxfallbacklanguage}" + write$ newline$ +} + +EXECUTE {begin.bib} + +EXECUTE {init.state.consts} + +ITERATE {call.type$} + +FUNCTION {end.bib} +{ newline$ + "\end{thebibliography}" write$ newline$ +} + +EXECUTE {end.bib} + diff --git a/Master/texmf-dist/bibtex/bst/babelbib/babplain-orig.bst b/Master/texmf-dist/bibtex/bst/babelbib/babplain-orig.bst new file mode 100644 index 00000000000..21a6b4dca71 --- /dev/null +++ b/Master/texmf-dist/bibtex/bst/babelbib/babplain-orig.bst @@ -0,0 +1,1389 @@ +%% +%% This is file `babplain.bst', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% babelbib.dtx (with options: `bst,bststd') +%% +%% babelbib package +%% +%% 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 +%% archives in directory macros/latex/base/lppl.txt; either +%% version 1 of the License, or any later version. +%% +%% h.harders@tu-bs.de +%% +%% 2009/06/23 v1.28 babelbib: multilingual bibliographies (HH) +ENTRY + { address + annote + annotelanguage + author + booktitle + chapter + edition + editor + howpublished + institution + isbn + issn + journal + key + language + month + note + number + organization + pages + publisher + school + series + title + type + url + urldate + volume + year + } + {} + { label } + +INTEGERS + { output.state + before.all + mid.sentence + after.sentence + after.block + before.title + } + +STRINGS + { s + t + language.state + change.temp + isbn.command + } + +FUNCTION {init.state.consts} +{ #0 'before.all := + #1 'mid.sentence := + #2 'after.sentence := + #3 'after.block := + #4 'before.title := + "nostate" 'language.state := +} + +FUNCTION {not} +{ { #0 } + { #1 } + if$ +} + +FUNCTION {and} +{ 'skip$ + { pop$ #0 } + if$ +} + +FUNCTION {or} +{ { pop$ #1 } + 'skip$ + if$ +} + +FUNCTION {language.change.case} +{ + 'change.temp := + 't := + "\btxifchangecase {" + t change.temp change.case$ * + "}{" * + t * + "}" * +} + +FUNCTION {output.nonnull} +{ 's := + output.state mid.sentence = + { ", " * write$ } + { output.state after.block = + { add.period$ write$ + newline$ + "\newblock " write$ + } + { output.state before.all = + 'write$ + { + output.state before.title = + { "\btxauthorcolon\ " * write$ } + { add.period$ " " * write$ } + if$ + } + if$ + } + if$ + mid.sentence 'output.state := + } + if$ + s +} + +FUNCTION {output} +{ duplicate$ empty$ + 'pop$ + 'output.nonnull + if$ +} + +FUNCTION {output.check} +{ 't := + duplicate$ empty$ + { pop$ "empty " t * " in " * cite$ * warning$ } + 'output.nonnull + if$ +} + +FUNCTION {output.bibitem} +{ newline$ + language empty$ + { + language.state "nolanguage" = + 'skip$ + { + "empty language in " cite$ * warning$ + "\expandafter\btxselectlanguage\expandafter {" + "\btxfallbacklanguage}" * + write$ newline$ + } + if$ + "nolanguage" 'language.state := + } + { + language.state language = + 'skip$ + { + "\btxselectlanguage {" language * "}" * + write$ newline$ + } + if$ + language 'language.state := + } + if$ + "\bibitem {" write$ + cite$ write$ + "}" write$ + newline$ + "" + before.all 'output.state := +} + +FUNCTION {output.isbn} +{ + 'isbn.command := + duplicate$ + empty$ + 'pop$ + { + 's := + output.state mid.sentence = + { + isbn.command * " {, " * write$ + s "}" * + } + { output.state after.block = + { + add.period$ + write$ + newline$ + "\newblock " write$ + isbn.command " {" * s * ".}" * + } + { output.state before.all = + { + write$ + isbn.command " {" * write$ + s "}" * + } + { + output.state before.title = + { + "\btxauthorcolon\ " * write$ + isbn.command " {" * write$ + s "}" * + } + { + add.period$ " " * write$ + isbn.command " {" * write$ + s ".}" * + } + if$ + } + if$ + } + if$ + mid.sentence 'output.state := + } + if$ + } + if$ +} + +FUNCTION {fin.entry} +{ add.period$ + write$ + newline$ +} + +FUNCTION {new.block} +{ output.state before.all = + 'skip$ + { after.block 'output.state := } + if$ +} + +FUNCTION {new.sentence} +{ output.state after.block = + 'skip$ + { output.state before.all = + 'skip$ + { after.sentence 'output.state := } + if$ + } + if$ +} + +FUNCTION {after.authors} +{ output.state before.all = + 'skip$ + { before.title 'output.state := } + if$ +} + +FUNCTION {new.block.checka} +{ empty$ + 'skip$ + 'new.block + if$ +} + +FUNCTION {new.block.checkb} +{ empty$ + swap$ empty$ + and + 'skip$ + 'new.block + if$ +} + +FUNCTION {new.block.checkc} +{ empty$ + swap$ empty$ + and + 'skip$ + 'after.authors + if$ +} + +FUNCTION {new.sentence.checka} +{ empty$ + 'skip$ + 'new.sentence + if$ +} + +FUNCTION {new.sentence.checkb} +{ empty$ + swap$ empty$ + and + 'skip$ + 'new.sentence + if$ +} + +FUNCTION {field.or.null} +{ duplicate$ empty$ + { pop$ "" } + 'skip$ + if$ +} + +FUNCTION {namefont} +{ duplicate$ empty$ + { pop$ "" } + { "\btxnamefont {" swap$ * "}" * } + if$ +} + +FUNCTION {lastnamefont} +{ duplicate$ empty$ + { pop$ "" } + { "\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 {publisherfont} +{ duplicate$ empty$ + { pop$ "" } + { "\btxpublisherfont {" swap$ * "}" * } + if$ +} +FUNCTION {volumefont} +{ duplicate$ empty$ + { pop$ "" } + { "\btxvolumefont {" swap$ * "}" * } + if$ +} + +FUNCTION {etalfont} +{ duplicate$ empty$ + { pop$ "" } + { "\btxetalfont {" swap$ * "}" * } + if$ +} + +INTEGERS { nameptr namesleft numnames } + +FUNCTION {format.names} +{ 's := + #1 'nameptr := + s num.names$ 'numnames := + numnames 'namesleft := + { namesleft #0 > } + { nameptr #1 > + { + s nameptr "{ff{\btxfnamespacelong } }{vv~}" format.name$ + s nameptr "{ll}" format.name$ lastnamefont * + s nameptr "{, jj}" format.name$ * + 't := + namesleft #1 > + { ", " * t namefont * } + { numnames #2 > + { "\btxandcomma {}" * } + 'skip$ + if$ + s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ "others" = + { " " "\btxetalshort {.}" etalfont * * } + { " \btxandlong {}\ " * t namefont * } + if$ + } + if$ + } + { + s nameptr "{ll}" format.name$ lastnamefont + s nameptr "{,~jj}{, ff{\btxfnamespacelong }}{~vv}" + format.name$ * namefont + } + if$ + nameptr #1 + 'nameptr := + namesleft #1 - 'namesleft := + } + while$ +} + +FUNCTION {format.authors} +{ author empty$ + { "" } + { author format.names } + if$ +} + +FUNCTION {format.editors} +{ editor empty$ + { "" } + { editor format.names + editor num.names$ #1 > + { "\ (\btxeditorslong {})" * } + { "\ (\btxeditorlong {})" * } + if$ + } + 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 := + "" + { t empty$ not } + { t #1 #1 substring$ "-" = + { t #1 #2 substring$ "--" = not + { "--" * + t #2 global.max$ substring$ 't := + } + { { t #1 #1 substring$ "-" = } + { "-" * + t #2 global.max$ substring$ 't := + } + while$ + } + if$ + } + { t #1 #1 substring$ * + t #2 global.max$ substring$ 't := + } + if$ + } + while$ +} + +FUNCTION {format.date} +{ year empty$ + { month empty$ + { "" } + { "there's a month but no year in " cite$ * warning$ + month + } + if$ + } + { month empty$ + 'year + { "\btxprintmonthyear{.}{" + month * "}{" * year * "}{long}" * + } + if$ + } + if$ +} + +FUNCTION {format.btitle} +{ title titlefont +} + +FUNCTION {tie.or.space.connect} +{ duplicate$ text.length$ #3 < + { "~" } + { "\ " } + if$ + swap$ * * +} + +FUNCTION {volume.tie.or.space.connect} +{ duplicate$ text.length$ #3 < + { "~" } + { "\ " } + if$ + swap$ volumefont * * +} + +FUNCTION {either.or.check} +{ empty$ + 'pop$ + { "can't use both " swap$ * " fields in " * cite$ * warning$ } + if$ +} + +FUNCTION {format.bvolume} +{ volume empty$ + { "" } + { output.state after.block = + { "\Btxvolumelong {}" } + { "\btxvolumelong {}" } + if$ + volume volume.tie.or.space.connect + series empty$ + 'skip$ + { " \btxofserieslong {}\ " * series titlefont * } + if$ + "volume and number" number either.or.check + } + if$ +} + +FUNCTION {format.number.series} +{ volume empty$ + { number empty$ + { series field.or.null } + { output.state mid.sentence = + { "\btxnumberlong {}" } + { "\Btxnumberlong {}" } + if$ + number tie.or.space.connect + series empty$ + { "there's a number but no series in " cite$ * warning$ } + { " \btxinserieslong {}\ " * series titlefont * } + if$ + } + if$ + } + { "" } + if$ +} + +FUNCTION {format.edition} +{ edition empty$ + { "" } + { + output.state mid.sentence = + { edition "l" change.case$ } + { edition "t" change.case$ } + if$ + "\btxnumerallong {" swap$ * + "}~\btxeditionlong {}" * + } + if$ +} + +FUNCTION {format.isbn} +{ isbn empty$ + { "" } + { "\mbox{\btxISBN~\btxISBNfont {" isbn * "}}" * } + if$ +} + +FUNCTION {format.issn} +{ issn empty$ + { "" } + { "\mbox{\btxISSN~\btxISSNfont {" issn * "}}" * } + if$ +} +FUNCTION {format.url} +{ url empty$ + { "" } + { + urldate empty$ + { "{\latintext \btxurlfont{" url * "}}" * } + { + "{\latintext \btxurlfont{" url * "}}%" * + newline$ output + "\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} +{ 't := + #0 'multiresult := + { multiresult not + t empty$ not + and + } + { t #1 #1 substring$ + duplicate$ "-" = + swap$ duplicate$ "," = + swap$ "+" = + or or + { #1 'multiresult := } + { t #2 global.max$ substring$ 't := } + if$ + } + while$ + multiresult +} + +FUNCTION {format.pages} +{ pages empty$ + { "" } + { pages multi.page.check + { "\btxpageslong {}" pages n.dashify tie.or.space.connect } + { "\btxpagelong {}" pages tie.or.space.connect } + if$ + } + if$ +} + +FUNCTION {format.vol.num.pages} +{ volume field.or.null + number empty$ + 'skip$ + { "(" number * ")" * * + volume empty$ + { "there's a number but no volume in " cite$ * warning$ } + 'skip$ + if$ + } + if$ + pages empty$ + 'skip$ + { duplicate$ empty$ + { pop$ format.pages } + { ":" * pages n.dashify * } + if$ + } + if$ +} + +FUNCTION {format.chapter.pages} +{ chapter empty$ + 'format.pages + { type empty$ + { "\btxchapterlong {}" } + { type "l" language.change.case } + if$ + chapter tie.or.space.connect + pages empty$ + 'skip$ + { ", " * format.pages * } + if$ + } + if$ +} + +FUNCTION {format.in.ed.booktitle} +{ booktitle empty$ + { "" } + { editor empty$ + { "\Btxinlong {}\ " booktitle titlefont * } + { "\Btxinlong {}\ " format.editors * ": " * booktitle titlefont * } + if$ + } + if$ +} + +FUNCTION {empty.misc.check} +{ author empty$ title empty$ howpublished empty$ + month empty$ year empty$ note empty$ + and and and and and + key empty$ not and + { "all relevant fields are empty in " cite$ * warning$ } + 'skip$ + if$ +} + +FUNCTION {format.thesis.type} +{ type empty$ + 'skip$ + { pop$ + type "t" language.change.case + } + if$ +} + +FUNCTION {format.tr.number} +{ + number empty$ + { + type empty$ + { "\btxtechreplong {}" } + { type "t" language.change.case } + if$ + } + { + type empty$ + { "\Btxtechreplong {}" } + { type "t" language.change.case } + if$ + number tie.or.space.connect + } + if$ +} + +FUNCTION {format.article.crossref} +{ key empty$ + { journal empty$ + { "need key or journal for " cite$ * " to crossref " * crossref * + warning$ + "" + } + { "\Btxinlong {}\ " journal titlefont * } + if$ + } + { "\Btxinlong {}\ " key titlefont * } + if$ + " \cite{" * crossref * "}" * +} + +FUNCTION {format.crossref.editor} +{ + editor #1 "{ll}{,~jj}{, ff}{~vv}" format.name$ namefont + editor num.names$ duplicate$ + #2 > + { pop$ " " "\btxetalshort {.}" etalfont * * } + { #2 < + 'skip$ + { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" = + { " " "\btxetalshort {.}" etalfont * * } + { " \btxandlong {}\ " * editor #2 "{ff}{~vv}{~ll}{, jj}" + format.name$ namefont * } + if$ + } + if$ + } + if$ +} + +FUNCTION {format.book.crossref} +{ volume empty$ + { "empty volume in " cite$ * "'s crossref of " * crossref * warning$ + "\Btxinlong {}\ " + } + { "\Btxvolumelong {}" volume volume.tie.or.space.connect + " \btxofserieslong {}\ " * + } + if$ + editor empty$ + editor field.or.null author field.or.null = + or + { key empty$ + { series empty$ + { "need editor, key, or series for " cite$ * " to crossref " * + crossref * warning$ + "" * + } + { series titlefont * } + if$ + } + { key titlefont * } + if$ + } + { format.crossref.editor * } + if$ + " \cite{" * crossref * "}" * +} + +FUNCTION {format.incoll.inproc.crossref} +{ editor empty$ + editor field.or.null author field.or.null = + or + { key empty$ + { booktitle empty$ + { "need editor, key, or booktitle for " cite$ * " to crossref " * + crossref * warning$ + "" + } + { "\Btxinlong {}\ " booktitle titlefont * } + if$ + } + { "\Btxinlong {}\ " key titlefont * } + if$ + } + { "\Btxinlong {}\ " format.crossref.editor * } + if$ + " \cite{" * crossref * "}" * +} + +FUNCTION {article} +{ output.bibitem + format.authors "author" output.check + after.authors + format.jtitle "title" output.check + new.block + crossref missing$ + { journal + title missing$ + { titlefont } + { journalfont } + if$ + "journal" output.check + format.vol.num.pages output + format.date "year" output.check + } + { format.article.crossref output.nonnull + format.pages output + } + if$ + format.issn "\ifbtxprintISSN" output.isbn + new.block + format.url output + note output + fin.entry + write.annote +} + +FUNCTION {book} +{ output.bibitem + author empty$ + { format.editors "author and editor" output.check } + { format.authors output.nonnull + crossref missing$ + { "author and editor" editor either.or.check } + 'skip$ + if$ + } + if$ + after.authors + format.btitle "title" output.check + crossref missing$ + { format.bvolume output + new.block + format.number.series output + new.sentence + publisher "publisher" output.check publisherfont + address output + } + { new.block + format.book.crossref output.nonnull + } + if$ + format.edition output + format.date "year" output.check + format.isbn "\ifbtxprintISBN" output.isbn + new.block + format.url output + note output + fin.entry + write.annote +} + +FUNCTION {booklet} +{ output.bibitem + format.authors output + after.authors + format.title "title" output.check + howpublished address new.block.checkb + howpublished output + address output + format.date output + new.block + format.url output + note output + fin.entry + write.annote +} + +FUNCTION {inbook} +{ output.bibitem + author empty$ + { format.editors "author and editor" output.check } + { format.authors output.nonnull + crossref missing$ + { "author and editor" editor either.or.check } + 'skip$ + if$ + } + if$ + after.authors + format.btitle "title" output.check + crossref missing$ + { format.bvolume output + format.chapter.pages "chapter and pages" output.check + new.block + format.number.series output + new.sentence + publisher "publisher" output.check publisherfont + address output + } + { format.chapter.pages "chapter and pages" output.check + new.block + format.book.crossref output.nonnull + } + if$ + format.edition output + format.date "year" output.check + format.isbn "\ifbtxprintISBN" output.isbn + new.block + format.url output + note output + fin.entry + write.annote +} + +FUNCTION {incollection} +{ output.bibitem + format.authors "author" output.check + after.authors + format.title "title" output.check + new.block + crossref missing$ + { format.in.ed.booktitle "booktitle" output.check + format.bvolume output + format.number.series output + format.chapter.pages output + new.sentence + publisher "publisher" output.check publisherfont + address output + format.edition output + format.date "year" output.check + } + { format.incoll.inproc.crossref output.nonnull + format.chapter.pages output + } + if$ + format.isbn "\ifbtxprintISBN" output.isbn + new.block + format.url output + note output + fin.entry + write.annote +} + +FUNCTION {inproceedings} +{ output.bibitem + format.authors "author" output.check + after.authors + format.title "title" output.check + new.block + crossref missing$ + { format.in.ed.booktitle "booktitle" output.check + format.bvolume output + format.number.series output + format.pages output + address empty$ + { organization publisher new.sentence.checkb + organization output + publisher publisherfont output + format.date "year" output.check + } + { address output.nonnull + format.date "year" output.check + new.sentence + organization output + publisher publisherfont output + } + if$ + } + { format.incoll.inproc.crossref output.nonnull + format.pages output + } + if$ + format.isbn "\ifbtxprintISBN" output.isbn + new.block + format.url output + note output + fin.entry + write.annote +} + +FUNCTION {conference} { inproceedings } + +FUNCTION {manual} +{ output.bibitem + author empty$ + { organization empty$ + 'skip$ + { organization output.nonnull + address output + } + if$ + } + { format.authors output.nonnull } + if$ + after.authors + format.btitle "title" output.check + author empty$ + { organization empty$ + { address new.block.checka + address output + } + 'skip$ + if$ + } + { organization address new.block.checkb + organization output + address output + } + if$ + format.edition output + format.date output + format.isbn "\ifbtxprintISBN" output.isbn + new.block + format.url output + note output + fin.entry + write.annote +} + +FUNCTION {mastersthesis} +{ output.bibitem + format.authors "author" output.check + after.authors + format.title "title" output.check + new.block + "\btxmastthesis {}" format.thesis.type output.nonnull + school "school" output.check + address output + format.date "year" output.check + new.block + format.url output + note output + fin.entry + write.annote +} + +FUNCTION {misc} +{ output.bibitem + format.authors output + title howpublished new.block.checkc + format.title output + howpublished new.block.checka + howpublished output + format.date output + format.isbn "\ifbtxprintISBN" output.isbn + new.block + format.issn "\ifbtxprintISSN" output.isbn + new.block + format.url output + note output + fin.entry + write.annote + empty.misc.check +} + +FUNCTION {phdthesis} +{ output.bibitem + format.authors "author" output.check + after.authors + format.btitle "title" output.check + new.block + "\btxphdthesis {}" format.thesis.type output.nonnull + school "school" output.check + address output + format.date "year" output.check + format.isbn "\ifbtxprintISBN" output.isbn + new.block + format.url output + note output + fin.entry + write.annote +} + +FUNCTION {proceedings} +{ output.bibitem + editor empty$ + { organization output } + { format.editors output.nonnull } + if$ + after.authors + format.btitle "title" output.check + format.bvolume output + format.number.series output + address empty$ + { editor empty$ + { publisher new.sentence.checka } + { organization publisher new.sentence.checkb + organization output + } + if$ + publisher publisherfont output + format.date "year" output.check + } + { address output.nonnull + format.date "year" output.check + new.sentence + editor empty$ + 'skip$ + { organization output } + if$ + publisher publisherfont output + } + if$ + format.isbn "\ifbtxprintISBN" output.isbn + new.block + format.url output + note output + fin.entry + write.annote +} + +FUNCTION {techreport} +{ output.bibitem + format.authors "author" output.check + after.authors + format.title "title" output.check + new.block + format.tr.number output.nonnull + institution "institution" output.check + address output + format.date "year" output.check + format.isbn "\ifbtxprintISBN" output.isbn + new.block + format.url output + note output + fin.entry + write.annote +} + +FUNCTION {unpublished} +{ output.bibitem + format.authors "author" output.check + after.authors + format.title "title" output.check + new.block + format.url output + note "note" output.check + format.date output + fin.entry + write.annote +} + +FUNCTION {default.type} { misc } + +MACRO {jan} {"1"} +MACRO {feb} {"2"} +MACRO {mar} {"3"} +MACRO {apr} {"4"} +MACRO {may} {"5"} +MACRO {jun} {"6"} +MACRO {jul} {"7"} +MACRO {aug} {"8"} +MACRO {sep} {"9"} +MACRO {oct} {"10"} +MACRO {nov} {"11"} +MACRO {dec} {"12"} +MACRO {acmcs} {"ACM Computing Surveys"} +MACRO {acta} {"Acta Informatica"} +MACRO {cacm} {"Communications of the ACM"} +MACRO {ibmjrd} {"IBM Journal of Research and Development"} +MACRO {ibmsj} {"IBM Systems Journal"} +MACRO {ieeese} {"IEEE Transactions on Software Engineering"} +MACRO {ieeetc} {"IEEE Transactions on Computers"} +MACRO {ieeetcad} + {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"} +MACRO {ipl} {"Information Processing Letters"} +MACRO {jacm} {"Journal of the ACM"} +MACRO {jcss} {"Journal of Computer and System Sciences"} +MACRO {scp} {"Science of Computer Programming"} +MACRO {sicomp} {"SIAM Journal on Computing"} +MACRO {tocs} {"ACM Transactions on Computer Systems"} +MACRO {tods} {"ACM Transactions on Database Systems"} +MACRO {tog} {"ACM Transactions on Graphics"} +MACRO {toms} {"ACM Transactions on Mathematical Software"} +MACRO {toois} {"ACM Transactions on Office Information Systems"} +MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"} +MACRO {tcs} {"Theoretical Computer Science"} + +READ + +FUNCTION {sortify} +{ purify$ + "l" change.case$ +} + +INTEGERS { len } + +FUNCTION {chop.word} +{ 's := + 'len := + s #1 len substring$ = + { s len #1 + global.max$ substring$ } + 's + if$ +} + +FUNCTION {sort.format.names} +{ 's := + #1 'nameptr := + "" + s num.names$ 'numnames := + numnames 'namesleft := + { namesleft #0 > } + { nameptr #1 > + { " " * } + 'skip$ + if$ + s nameptr "{ll{ }}{ ff{ }}{vv{ } }{ jj{ }}" format.name$ 't := + nameptr numnames = t "others" = and + { "et al" * } + { t sortify * } + if$ + nameptr #1 + 'nameptr := + namesleft #1 - 'namesleft := + } + while$ +} + +FUNCTION {sort.format.title} +{ 't := + "A " #2 + "An " #3 + "The " #4 t chop.word + chop.word + chop.word + sortify + #1 global.max$ substring$ +} + +FUNCTION {author.sort} +{ author empty$ + { key empty$ + { "to sort, need author or key in " cite$ * warning$ + "" + } + { key sortify } + if$ + } + { author sort.format.names } + if$ +} + +FUNCTION {author.editor.sort} +{ author empty$ + { editor empty$ + { key empty$ + { "to sort, need author, editor, or key in " cite$ * warning$ + "" + } + { key sortify } + if$ + } + { editor sort.format.names } + if$ + } + { author sort.format.names } + if$ +} + +FUNCTION {author.organization.sort} +{ author empty$ + { organization empty$ + { key empty$ + { "to sort, need author, organization, or key in " cite$ * warning$ + "" + } + { key sortify } + if$ + } + { "The " #4 organization chop.word sortify } + if$ + } + { author sort.format.names } + if$ +} + +FUNCTION {editor.organization.sort} +{ editor empty$ + { organization empty$ + { key empty$ + { "to sort, need editor, organization, or key in " cite$ * warning$ + "" + } + { key sortify } + if$ + } + { "The " #4 organization chop.word sortify } + if$ + } + { editor sort.format.names } + if$ +} + +FUNCTION {presort} +{ + type$ "book" = + type$ "inbook" = + or + 'author.editor.sort + { type$ "proceedings" = + 'editor.organization.sort + { type$ "manual" = + 'author.organization.sort + 'author.sort + if$ + } + if$ + } + if$ + " " + * + year field.or.null sortify + * + " " + * + title field.or.null + sort.format.title + * + #1 entry.max$ substring$ + 'sort.key$ := +} + +ITERATE {presort} + +SORT + +STRINGS { longest.label } + +INTEGERS { number.label longest.label.width } + +FUNCTION {initialize.longest.label} +{ "" 'longest.label := + #1 'number.label := + #0 'longest.label.width := +} + +FUNCTION {longest.label.pass} +{ number.label int.to.str$ 'label := + number.label #1 + 'number.label := + label width$ longest.label.width > + { label 'longest.label := + label width$ 'longest.label.width := + } + 'skip$ + if$ +} + +EXECUTE {initialize.longest.label} + +ITERATE {longest.label.pass} + +FUNCTION {begin.bib} +{ + preamble$ empty$ + 'skip$ + { preamble$ write$ newline$ } + if$ + "\begin{thebibliography}{" longest.label * "}" * write$ newline$ + " \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$ + " \expandafter\btxselectlanguage\expandafter {\btxfallbacklanguage}" + write$ newline$ +} + +EXECUTE {begin.bib} + +EXECUTE {init.state.consts} + +ITERATE {call.type$} + +FUNCTION {end.bib} +{ newline$ + "\end{thebibliography}" write$ newline$ +} + +EXECUTE {end.bib} + diff --git a/Master/texmf-dist/bibtex/bst/babelbib/babplain-spielen.bst b/Master/texmf-dist/bibtex/bst/babelbib/babplain-spielen.bst new file mode 100644 index 00000000000..c1dfcb96b2b --- /dev/null +++ b/Master/texmf-dist/bibtex/bst/babelbib/babplain-spielen.bst @@ -0,0 +1,1399 @@ +%% +%% This is file `babplain.bst', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% babelbib.dtx (with options: `bst,bststd') +%% +%% babelbib package +%% +%% 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 +%% archives in directory macros/latex/base/lppl.txt; either +%% version 1 of the License, or any later version. +%% +%% h.harders@tu-bs.de +%% +%% 2009/06/23 v1.28 babelbib: multilingual bibliographies (HH) +ENTRY + { address + annote + annotelanguage + author + booktitle + chapter + edition + editor + howpublished + institution + isbn + issn + journal + key + language + month + note + number + organization + pages + publisher + school + series + title + type + url + urldate + volume + year + } + {} + { label } + +INTEGERS + { output.state + before.all + mid.sentence + after.sentence + after.block + before.title + } + +STRINGS + { s + t + language.state + change.temp + isbn.command + } + +FUNCTION {init.state.consts} +{ #0 'before.all := + #1 'mid.sentence := + #2 'after.sentence := + #3 'after.block := + #4 'before.title := + "nostate" 'language.state := +} + +FUNCTION {not} +{ { #0 } + { #1 } + if$ +} + +FUNCTION {and} +{ 'skip$ + { pop$ #0 } + if$ +} + +FUNCTION {or} +{ { pop$ #1 } + 'skip$ + if$ +} + +FUNCTION {language.change.case} +{ + 'change.temp := + 't := + "\btxifchangecase {" + t change.temp change.case$ * + "}{" * + t * + "}" * +} + +FUNCTION {output.nonnull} +{ + 's := + "HHHHH: s is " s * warning$ +%"HALLO" warning$ stack$ + output.state mid.sentence = + { ", " * write$ " Midsentence" warning$ } + { " nicht midsentence" warning$ output.state after.block = + { " after block" warning$ add.period$ write$ + newline$ + "\newblock " write$ + } + { " not after block" warning$ output.state before.all = + { duplicate$ "String: " swap$ * warning$ write$ } + { " not before all" warning$ + output.state before.title = + { "\btxauthorcolon\ " * write$ } + { add.period$ " " * write$ } + if$ + } + if$ + } + if$ + mid.sentence 'output.state := + } + if$ + s +} + +FUNCTION {output} +{ duplicate$ empty$ + 'pop$ + 'output.nonnull + if$ +} + +FUNCTION {output.check} +{ 't := + duplicate$ empty$ + { pop$ "empty " t * " in " * cite$ * warning$ } + 'output.nonnull + if$ +} + +FUNCTION {output.bibitem} +{ newline$ + language empty$ + { + language.state "nolanguage" = + 'skip$ + { + "empty language in " cite$ * warning$ + "\expandafter\btxselectlanguage\expandafter {" + "\btxfallbacklanguage}" * + write$ newline$ + } + if$ + "nolanguage" 'language.state := + } + { + language.state language = + 'skip$ + { + "\btxselectlanguage {" language * "}" * + write$ newline$ + } + if$ + language 'language.state := + } + if$ + "\bibitem {" write$ + cite$ write$ + "}" write$ + newline$ + "" + before.all 'output.state := +} + +FUNCTION {output.isbn} +{ + 'isbn.command := + duplicate$ + empty$ + 'pop$ + { + 's := + output.state mid.sentence = + { + isbn.command * " {, " * write$ + s "}" * + } + { output.state after.block = + { + add.period$ + write$ + newline$ + "\newblock " write$ + isbn.command " {" * s * ".}" * + } + { output.state before.all = + { + write$ + isbn.command " {" * write$ + s "}" * + } + { + output.state before.title = + { + "\btxauthorcolon\ " * write$ + isbn.command " {" * write$ + s "}" * + } + { + add.period$ " " * write$ + isbn.command " {" * write$ + s ".}" * + } + if$ + } + if$ + } + if$ + mid.sentence 'output.state := + } + if$ + } + if$ +} + +FUNCTION {fin.entry} +{ add.period$ + write$ + newline$ +} + +FUNCTION {new.block} +{ output.state before.all = + 'skip$ + { after.block 'output.state := } + if$ +} + +FUNCTION {new.sentence} +{ output.state after.block = + 'skip$ + { output.state before.all = + 'skip$ + { after.sentence 'output.state := } + if$ + } + if$ +} + +FUNCTION {after.authors} +{ output.state before.all = + 'skip$ + { before.title 'output.state := } + if$ +} + +FUNCTION {new.block.checka} +{ empty$ + 'skip$ + 'new.block + if$ +} + +FUNCTION {new.block.checkb} +{ empty$ + swap$ empty$ + and + 'skip$ + 'new.block + if$ +} + +FUNCTION {new.block.checkc} +{ empty$ + swap$ empty$ + and + 'skip$ + 'after.authors + if$ +} + +FUNCTION {new.sentence.checka} +{ empty$ + 'skip$ + 'new.sentence + if$ +} + +FUNCTION {new.sentence.checkb} +{ empty$ + swap$ empty$ + and + 'skip$ + 'new.sentence + if$ +} + +FUNCTION {field.or.null} +{ duplicate$ empty$ + { pop$ "" } + 'skip$ + if$ +} + +FUNCTION {namefont} +{ duplicate$ empty$ + { pop$ "" } + { "\btxnamefont {" swap$ * "}" * } + if$ +} + +FUNCTION {lastnamefont} +{ duplicate$ empty$ + { pop$ "" } + { "\btxlastnamefont {" swap$ * "}" * } + if$ +} +FUNCTION {titlefont} +{ duplicate$ empty$ + { pop$ "" "Titlefont empty" warning$ } + { "\btxtitlefont {" swap$ * "}" * "Titlefont not empty" warning$ } + if$ +} +FUNCTION {jtitlefont} +{ duplicate$ empty$ + { pop$ "" } + { "\btxjtitlefont {" swap$ * "}" * } + if$ +} +FUNCTION {journalfont} +{ duplicate$ empty$ + { pop$ "" } + { "\btxjournalfont {" swap$ * "}" * } + if$ +} +FUNCTION {publisherfont} +{ duplicate$ empty$ + { pop$ "" } + { "\btxpublisherfont {" swap$ * "}" * } + if$ +} +FUNCTION {volumefont} +{ duplicate$ empty$ + { pop$ "" } + { "\btxvolumefont {" swap$ * "}" * } + if$ +} + +FUNCTION {etalfont} +{ duplicate$ empty$ + { pop$ "" } + { "\btxetalfont {" swap$ * "}" * } + if$ +} + +INTEGERS { nameptr namesleft numnames } + +FUNCTION {format.names} +{ 's := + #1 'nameptr := + s num.names$ 'numnames := + numnames 'namesleft := + { namesleft #0 > } + { nameptr #1 > + { + s nameptr "{ff{\btxfnamespacelong } }{vv~}" format.name$ + s nameptr "{ll}" format.name$ lastnamefont * + s nameptr "{, jj}" format.name$ * + 't := + namesleft #1 > + { ", " * t namefont * } + { numnames #2 > + { "\btxandcomma {}" * } + 'skip$ + if$ + s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ "others" = + { " " "\btxetalshort {.}" etalfont * * } + { " \btxandlong {}\ " * t namefont * } + if$ + } + if$ + } + { + s nameptr "{ll}" format.name$ lastnamefont + s nameptr "{,~jj}{, ff{\btxfnamespacelong }}{~vv}" + format.name$ * namefont + } + if$ + nameptr #1 + 'nameptr := + namesleft #1 - 'namesleft := + } + while$ +} + +FUNCTION {format.authors} +{ author empty$ + { "" } + { author format.names } + if$ +} + +FUNCTION {format.editors} +{ editor empty$ + { "" } + { editor format.names + editor num.names$ #1 > + { "\ (\btxeditorslong {})" * } + { "\ (\btxeditorlong {})" * } + if$ + } + 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 := + "" + { t empty$ not } + { t #1 #1 substring$ "-" = + { t #1 #2 substring$ "--" = not + { "--" * + t #2 global.max$ substring$ 't := + } + { { t #1 #1 substring$ "-" = } + { "-" * + t #2 global.max$ substring$ 't := + } + while$ + } + if$ + } + { t #1 #1 substring$ * + t #2 global.max$ substring$ 't := + } + if$ + } + while$ +} + +FUNCTION {format.date} +{ year empty$ + { month empty$ + { "" } + { "there's a month but no year in " cite$ * warning$ + month + } + if$ + } + { month empty$ + 'year + { "\btxprintmonthyear{.}{" + month * "}{" * year * "}{long}" * + } + if$ + } + if$ +} + +FUNCTION {format.btitle} +{ title titlefont +} + +FUNCTION {tie.or.space.connect} +{ duplicate$ text.length$ #3 < + { "~" } + { "\ " } + if$ + swap$ * * +} + +FUNCTION {volume.tie.or.space.connect} +{ duplicate$ text.length$ #3 < + { "~" } + { "\ " } + if$ + swap$ volumefont * * +} + +FUNCTION {either.or.check} +{ empty$ + 'pop$ + { "can't use both " swap$ * " fields in " * cite$ * warning$ } + if$ +} + +FUNCTION {format.bvolume} +{ volume empty$ + { "" } + { output.state after.block = + { "\Btxvolumelong {}" } + { "\btxvolumelong {}" } + if$ + volume volume.tie.or.space.connect + series empty$ + 'skip$ + { " \btxofserieslong {}\ " * series titlefont * } + if$ + "volume and number" number either.or.check + } + if$ +} + +FUNCTION {format.number.series} +{ volume empty$ + { number empty$ + { series field.or.null } + { output.state mid.sentence = + { "\btxnumberlong {}" } + { "\Btxnumberlong {}" } + if$ + number tie.or.space.connect + series empty$ + { "there's a number but no series in " cite$ * warning$ } + { " \btxinserieslong {}\ " * series titlefont * } + if$ + } + if$ + } + { "" } + if$ +} + +FUNCTION {format.edition} +{ edition empty$ + { "" } + { + output.state mid.sentence = + { edition "l" change.case$ } + { edition "t" change.case$ } + if$ + "\btxnumerallong {" swap$ * + "}~\btxeditionlong {}" * + } + if$ +} + +FUNCTION {format.isbn} +{ isbn empty$ + { "" } + { "\mbox{\btxISBN~\btxISBNfont {" isbn * "}}" * } + if$ +} + +FUNCTION {format.issn} +{ issn empty$ + { "" } + { "\mbox{\btxISSN~\btxISSNfont {" issn * "}}" * } + if$ +} +FUNCTION {format.url} +{ +% "format.url:" warning$ +% stack$ + url empty$ + { "" } + { + urldate empty$ + { "{\latintext \btxurlfont{" url * "}}" * } + { + "{\latintext \btxurlfont{" url * "}}" * +% newline$ + "\btxurldatecomment {\btxkeywordlanguage {\btxurldatefont{" * + urldate * "}}}" * +%"HHHH" warning$ stack$ + } + 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} +{ 't := + #0 'multiresult := + { multiresult not + t empty$ not + and + } + { t #1 #1 substring$ + duplicate$ "-" = + swap$ duplicate$ "," = + swap$ "+" = + or or + { #1 'multiresult := } + { t #2 global.max$ substring$ 't := } + if$ + } + while$ + multiresult +} + +FUNCTION {format.pages} +{ pages empty$ + { "" } + { pages multi.page.check + { "\btxpageslong {}" pages n.dashify tie.or.space.connect } + { "\btxpagelong {}" pages tie.or.space.connect } + if$ + } + if$ +} + +FUNCTION {format.vol.num.pages} +{ volume field.or.null + number empty$ + 'skip$ + { "(" number * ")" * * + volume empty$ + { "there's a number but no volume in " cite$ * warning$ } + 'skip$ + if$ + } + if$ + pages empty$ + 'skip$ + { duplicate$ empty$ + { pop$ format.pages } + { ":" * pages n.dashify * } + if$ + } + if$ +} + +FUNCTION {format.chapter.pages} +{ chapter empty$ + 'format.pages + { type empty$ + { "\btxchapterlong {}" } + { type "l" language.change.case } + if$ + chapter tie.or.space.connect + pages empty$ + 'skip$ + { ", " * format.pages * } + if$ + } + if$ +} + +FUNCTION {format.in.ed.booktitle} +{ booktitle empty$ + { "" } + { editor empty$ + { "\Btxinlong {}\ " booktitle titlefont * } + { "\Btxinlong {}\ " format.editors * ": " * booktitle titlefont * } + if$ + } + if$ +} + +FUNCTION {empty.misc.check} +{ author empty$ title empty$ howpublished empty$ + month empty$ year empty$ note empty$ + and and and and and + key empty$ not and + { "all relevant fields are empty in " cite$ * warning$ } + 'skip$ + if$ +} + +FUNCTION {format.thesis.type} +{ type empty$ + 'skip$ + { pop$ + type "t" language.change.case + } + if$ +} + +FUNCTION {format.tr.number} +{ + number empty$ + { + type empty$ + { "\btxtechreplong {}" } + { type "t" language.change.case } + if$ + } + { + type empty$ + { "\Btxtechreplong {}" } + { type "t" language.change.case } + if$ + number tie.or.space.connect + } + if$ +} + +FUNCTION {format.article.crossref} +{ key empty$ + { journal empty$ + { "need key or journal for " cite$ * " to crossref " * crossref * + warning$ + "" + } + { "\Btxinlong {}\ " journal titlefont * } + if$ + } + { "\Btxinlong {}\ " key titlefont * } + if$ + " \cite{" * crossref * "}" * +} + +FUNCTION {format.crossref.editor} +{ + editor #1 "{ll}{,~jj}{, ff}{~vv}" format.name$ namefont + editor num.names$ duplicate$ + #2 > + { pop$ " " "\btxetalshort {.}" etalfont * * } + { #2 < + 'skip$ + { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" = + { " " "\btxetalshort {.}" etalfont * * } + { " \btxandlong {}\ " * editor #2 "{ff}{~vv}{~ll}{, jj}" + format.name$ namefont * } + if$ + } + if$ + } + if$ +} + +FUNCTION {format.book.crossref} +{ volume empty$ + { "empty volume in " cite$ * "'s crossref of " * crossref * warning$ + "\Btxinlong {}\ " + } + { "\Btxvolumelong {}" volume volume.tie.or.space.connect + " \btxofserieslong {}\ " * + } + if$ + editor empty$ + editor field.or.null author field.or.null = + or + { key empty$ + { series empty$ + { "need editor, key, or series for " cite$ * " to crossref " * + crossref * warning$ + "" * + } + { series titlefont * } + if$ + } + { key titlefont * } + if$ + } + { format.crossref.editor * } + if$ + " \cite{" * crossref * "}" * +} + +FUNCTION {format.incoll.inproc.crossref} +{ editor empty$ + editor field.or.null author field.or.null = + or + { key empty$ + { booktitle empty$ + { "need editor, key, or booktitle for " cite$ * " to crossref " * + crossref * warning$ + "" + } + { "\Btxinlong {}\ " booktitle titlefont * } + if$ + } + { "\Btxinlong {}\ " key titlefont * } + if$ + } + { "\Btxinlong {}\ " format.crossref.editor * } + if$ + " \cite{" * crossref * "}" * +} + +FUNCTION {article} +{ output.bibitem + format.authors "author" output.check + after.authors + format.jtitle "title" output.check + new.block + crossref missing$ + { journal + title missing$ + { titlefont } + { journalfont } + if$ + "journal" output.check + format.vol.num.pages output + format.date "year" output.check + } + { format.article.crossref output.nonnull + format.pages output + } + if$ + format.issn "\ifbtxprintISSN" output.isbn + new.block + format.url output + note output + fin.entry + write.annote +} + +FUNCTION {book} +{ output.bibitem + author empty$ + { format.editors "author and editor" output.check } + { format.authors output.nonnull + crossref missing$ + { "author and editor" editor either.or.check } + 'skip$ + if$ + } + if$ + after.authors + format.btitle "title" output.check + crossref missing$ + { format.bvolume output + new.block + format.number.series output + new.sentence + publisher "publisher" output.check publisherfont + address output + } + { new.block + format.book.crossref output.nonnull + } + if$ + format.edition output + format.date "year" output.check + format.isbn "\ifbtxprintISBN" output.isbn + new.block + format.url output + note output + fin.entry + write.annote +} + +FUNCTION {booklet} +{ output.bibitem + format.authors output + after.authors + format.title "title" output.check + howpublished address new.block.checkb + howpublished output + address output + format.date output + new.block + format.url output + note output + fin.entry + write.annote +} + +FUNCTION {inbook} +{ output.bibitem + author empty$ + { format.editors "author and editor" output.check } + { format.authors output.nonnull + crossref missing$ + { "author and editor" editor either.or.check } + 'skip$ + if$ + } + if$ + after.authors + format.btitle "title" output.check + crossref missing$ + { format.bvolume output + format.chapter.pages "chapter and pages" output.check + new.block + format.number.series output + new.sentence + publisher "publisher" output.check publisherfont + address output + } + { format.chapter.pages "chapter and pages" output.check + new.block + format.book.crossref output.nonnull + } + if$ + format.edition output + format.date "year" output.check + format.isbn "\ifbtxprintISBN" output.isbn + new.block + format.url output + note output + fin.entry + write.annote +} + +FUNCTION {incollection} +{ output.bibitem + format.authors "author" output.check + after.authors + format.title "title" output.check + new.block + crossref missing$ + { format.in.ed.booktitle "booktitle" output.check + format.bvolume output + format.number.series output + format.chapter.pages output + new.sentence + publisher "publisher" output.check publisherfont + address output + format.edition output + format.date "year" output.check + } + { format.incoll.inproc.crossref output.nonnull + format.chapter.pages output + } + if$ + format.isbn "\ifbtxprintISBN" output.isbn + new.block + format.url output + note output + fin.entry + write.annote +} + +FUNCTION {inproceedings} +{ output.bibitem + format.authors "author" output.check + after.authors + format.title "title" output.check + new.block + crossref missing$ + { format.in.ed.booktitle "booktitle" output.check + format.bvolume output + format.number.series output + format.pages output + address empty$ + { organization publisher new.sentence.checkb + organization output + publisher publisherfont output + format.date "year" output.check + } + { address output.nonnull + format.date "year" output.check + new.sentence + organization output + publisher publisherfont output + } + if$ + } + { format.incoll.inproc.crossref output.nonnull + format.pages output + } + if$ + format.isbn "\ifbtxprintISBN" output.isbn + new.block + format.url output + note output + fin.entry + write.annote +} + +FUNCTION {conference} { inproceedings } + +FUNCTION {manual} +{ output.bibitem + author empty$ + { organization empty$ + 'skip$ + { organization output.nonnull + address output + } + if$ + } + { format.authors output.nonnull } + if$ + after.authors + format.btitle "title" output.check + author empty$ + { organization empty$ + { address new.block.checka + address output + } + 'skip$ + if$ + } + { organization address new.block.checkb + organization output + address output + } + if$ + format.edition output + format.date output + format.isbn "\ifbtxprintISBN" output.isbn + new.block + format.url output + note output + fin.entry + write.annote +} + +FUNCTION {mastersthesis} +{ output.bibitem + format.authors "author" output.check + after.authors + format.title "title" output.check + new.block + "\btxmastthesis {}" format.thesis.type output.nonnull + school "school" output.check + address output + format.date "year" output.check + new.block + format.url output + note output + fin.entry + write.annote +} + +FUNCTION {misc} +{ + output.bibitem + format.authors output + title howpublished new.block.checkc format.title +%"HALLO" warning$ stack$ +output +%"HALLO" warning$ stack$ +% "After printing title:" warning$ stack$ + howpublished new.block.checka howpublished output + format.date output + format.isbn "\ifbtxprintISBN" output.isbn + new.block + format.issn "\ifbtxprintISSN" output.isbn + new.block + format.url output write$ + note output + fin.entry + write.annote + empty.misc.check +} + +FUNCTION {phdthesis} +{ output.bibitem + format.authors "author" output.check + after.authors + format.btitle "title" output.check + new.block + "\btxphdthesis {}" format.thesis.type output.nonnull + school "school" output.check + address output + format.date "year" output.check + format.isbn "\ifbtxprintISBN" output.isbn + new.block + format.url output + note output + fin.entry + write.annote +} + +FUNCTION {proceedings} +{ output.bibitem + editor empty$ + { organization output } + { format.editors output.nonnull } + if$ + after.authors + format.btitle "title" output.check + format.bvolume output + format.number.series output + address empty$ + { editor empty$ + { publisher new.sentence.checka } + { organization publisher new.sentence.checkb + organization output + } + if$ + publisher publisherfont output + format.date "year" output.check + } + { address output.nonnull + format.date "year" output.check + new.sentence + editor empty$ + 'skip$ + { organization output } + if$ + publisher publisherfont output + } + if$ + format.isbn "\ifbtxprintISBN" output.isbn + new.block + format.url output + note output + fin.entry + write.annote +} + +FUNCTION {techreport} +{ output.bibitem + format.authors "author" output.check + after.authors + format.title "title" output.check + new.block + format.tr.number output.nonnull + institution "institution" output.check + address output + format.date "year" output.check + format.isbn "\ifbtxprintISBN" output.isbn + new.block + format.url output + note output + fin.entry + write.annote +} + +FUNCTION {unpublished} +{ output.bibitem + format.authors "author" output.check + after.authors + format.title "title" output.check + new.block + format.url output + note "note" output.check + format.date output + fin.entry + write.annote +} + +FUNCTION {default.type} { misc } + +MACRO {jan} {"1"} +MACRO {feb} {"2"} +MACRO {mar} {"3"} +MACRO {apr} {"4"} +MACRO {may} {"5"} +MACRO {jun} {"6"} +MACRO {jul} {"7"} +MACRO {aug} {"8"} +MACRO {sep} {"9"} +MACRO {oct} {"10"} +MACRO {nov} {"11"} +MACRO {dec} {"12"} +MACRO {acmcs} {"ACM Computing Surveys"} +MACRO {acta} {"Acta Informatica"} +MACRO {cacm} {"Communications of the ACM"} +MACRO {ibmjrd} {"IBM Journal of Research and Development"} +MACRO {ibmsj} {"IBM Systems Journal"} +MACRO {ieeese} {"IEEE Transactions on Software Engineering"} +MACRO {ieeetc} {"IEEE Transactions on Computers"} +MACRO {ieeetcad} + {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"} +MACRO {ipl} {"Information Processing Letters"} +MACRO {jacm} {"Journal of the ACM"} +MACRO {jcss} {"Journal of Computer and System Sciences"} +MACRO {scp} {"Science of Computer Programming"} +MACRO {sicomp} {"SIAM Journal on Computing"} +MACRO {tocs} {"ACM Transactions on Computer Systems"} +MACRO {tods} {"ACM Transactions on Database Systems"} +MACRO {tog} {"ACM Transactions on Graphics"} +MACRO {toms} {"ACM Transactions on Mathematical Software"} +MACRO {toois} {"ACM Transactions on Office Information Systems"} +MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"} +MACRO {tcs} {"Theoretical Computer Science"} + +READ + +FUNCTION {sortify} +{ purify$ + "l" change.case$ +} + +INTEGERS { len } + +FUNCTION {chop.word} +{ 's := + 'len := + s #1 len substring$ = + { s len #1 + global.max$ substring$ } + 's + if$ +} + +FUNCTION {sort.format.names} +{ 's := + #1 'nameptr := + "" + s num.names$ 'numnames := + numnames 'namesleft := + { namesleft #0 > } + { nameptr #1 > + { " " * } + 'skip$ + if$ + s nameptr "{ll{ }}{ ff{ }}{vv{ } }{ jj{ }}" format.name$ 't := + nameptr numnames = t "others" = and + { "et al" * } + { t sortify * } + if$ + nameptr #1 + 'nameptr := + namesleft #1 - 'namesleft := + } + while$ +} + +FUNCTION {sort.format.title} +{ 't := + "A " #2 + "An " #3 + "The " #4 t chop.word + chop.word + chop.word + sortify + #1 global.max$ substring$ +} + +FUNCTION {author.sort} +{ author empty$ + { key empty$ + { "to sort, need author or key in " cite$ * warning$ + "" + } + { key sortify } + if$ + } + { author sort.format.names } + if$ +} + +FUNCTION {author.editor.sort} +{ author empty$ + { editor empty$ + { key empty$ + { "to sort, need author, editor, or key in " cite$ * warning$ + "" + } + { key sortify } + if$ + } + { editor sort.format.names } + if$ + } + { author sort.format.names } + if$ +} + +FUNCTION {author.organization.sort} +{ author empty$ + { organization empty$ + { key empty$ + { "to sort, need author, organization, or key in " cite$ * warning$ + "" + } + { key sortify } + if$ + } + { "The " #4 organization chop.word sortify } + if$ + } + { author sort.format.names } + if$ +} + +FUNCTION {editor.organization.sort} +{ editor empty$ + { organization empty$ + { key empty$ + { "to sort, need editor, organization, or key in " cite$ * warning$ + "" + } + { key sortify } + if$ + } + { "The " #4 organization chop.word sortify } + if$ + } + { editor sort.format.names } + if$ +} + +FUNCTION {presort} +{ + type$ "book" = + type$ "inbook" = + or + 'author.editor.sort + { type$ "proceedings" = + 'editor.organization.sort + { type$ "manual" = + 'author.organization.sort + 'author.sort + if$ + } + if$ + } + if$ + " " + * + year field.or.null sortify + * + " " + * + title field.or.null + sort.format.title + * + #1 entry.max$ substring$ + 'sort.key$ := +} + +ITERATE {presort} + +SORT + +STRINGS { longest.label } + +INTEGERS { number.label longest.label.width } + +FUNCTION {initialize.longest.label} +{ "" 'longest.label := + #1 'number.label := + #0 'longest.label.width := +} + +FUNCTION {longest.label.pass} +{ number.label int.to.str$ 'label := + number.label #1 + 'number.label := + label width$ longest.label.width > + { label 'longest.label := + label width$ 'longest.label.width := + } + 'skip$ + if$ +} + +EXECUTE {initialize.longest.label} + +ITERATE {longest.label.pass} + +FUNCTION {begin.bib} +{ + preamble$ empty$ + 'skip$ + { preamble$ write$ newline$ } + if$ + "\begin{thebibliography}{" longest.label * "}" * write$ newline$ + " \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$ + " \expandafter\btxselectlanguage\expandafter {\btxfallbacklanguage}" + write$ newline$ +} + +EXECUTE {begin.bib} + +EXECUTE {init.state.consts} + +ITERATE {call.type$} + +FUNCTION {end.bib} +{ newline$ + "\end{thebibliography}" write$ newline$ +} + +EXECUTE {end.bib} + diff --git a/Master/texmf-dist/bibtex/bst/babelbib/babplain.bst b/Master/texmf-dist/bibtex/bst/babelbib/babplain.bst index 50640b81567..5257de03a9b 100644 --- a/Master/texmf-dist/bibtex/bst/babelbib/babplain.bst +++ b/Master/texmf-dist/bibtex/bst/babelbib/babplain.bst @@ -17,7 +17,7 @@ %% %% h.harders@tu-bs.de %% -%% 2009/06/18 v1.27 babelbib: multilingual bibliographies (HH) +%% 2009/10/10 v1.29 babelbib: multilingual bibliographies (HH) ENTRY { address annote @@ -468,7 +468,9 @@ FUNCTION {format.date} } { month empty$ 'year - { month "\ " * year * } + { "\btxprintmonthyear{.}{" + month * "}{" * year * "}{long}" * + } if$ } if$ @@ -572,9 +574,8 @@ FUNCTION {format.url} urldate empty$ { "{\latintext \btxurlfont{" url * "}}" * } { - "{\latintext \btxurlfont{" url * "}}%" * - newline$ output - "\btxurldatecomment {\btxkeywordlanguage {\btxurldatefont{" + "{\latintext \btxurlfont{" url * "}}\empty " * + "\btxurldatecomment {\btxkeywordlanguage {\btxurldatefont{" * urldate * "}}}" * } if$ @@ -1143,18 +1144,18 @@ FUNCTION {unpublished} FUNCTION {default.type} { misc } -MACRO {jan} {"\btxmonjanlong {}"} -MACRO {feb} {"\btxmonfeblong {}"} -MACRO {mar} {"\btxmonmarlong {}"} -MACRO {apr} {"\btxmonaprlong {}"} -MACRO {may} {"\btxmonmaylong {}"} -MACRO {jun} {"\btxmonjunlong {}"} -MACRO {jul} {"\btxmonjullong {}"} -MACRO {aug} {"\btxmonauglong {}"} -MACRO {sep} {"\btxmonseplong {}"} -MACRO {oct} {"\btxmonoctlong {}"} -MACRO {nov} {"\btxmonnovlong {}"} -MACRO {dec} {"\btxmondeclong {}"} +MACRO {jan} {"1"} +MACRO {feb} {"2"} +MACRO {mar} {"3"} +MACRO {apr} {"4"} +MACRO {may} {"5"} +MACRO {jun} {"6"} +MACRO {jul} {"7"} +MACRO {aug} {"8"} +MACRO {sep} {"9"} +MACRO {oct} {"10"} +MACRO {nov} {"11"} +MACRO {dec} {"12"} MACRO {acmcs} {"ACM Computing Surveys"} MACRO {acta} {"Acta Informatica"} MACRO {cacm} {"Communications of the ACM"} diff --git a/Master/texmf-dist/bibtex/bst/babelbib/babunsrt-fl.bst b/Master/texmf-dist/bibtex/bst/babelbib/babunsrt-fl.bst index 15df4612112..aff6f62abb4 100644 --- a/Master/texmf-dist/bibtex/bst/babelbib/babunsrt-fl.bst +++ b/Master/texmf-dist/bibtex/bst/babelbib/babunsrt-fl.bst @@ -17,7 +17,7 @@ %% %% h.harders@tu-bs.de %% -%% 2009/06/18 v1.27 babelbib: multilingual bibliographies (HH) +%% 2009/10/10 v1.29 babelbib: multilingual bibliographies (HH) ENTRY { address annote @@ -468,7 +468,9 @@ FUNCTION {format.date} } { month empty$ 'year - { month "\ " * year * } + { "\btxprintmonthyear{.}{" + month * "}{" * year * "}{long}" * + } if$ } if$ @@ -572,9 +574,8 @@ FUNCTION {format.url} urldate empty$ { "{\latintext \btxurlfont{" url * "}}" * } { - "{\latintext \btxurlfont{" url * "}}%" * - newline$ output - "\btxurldatecomment {\btxkeywordlanguage {\btxurldatefont{" + "{\latintext \btxurlfont{" url * "}}\empty " * + "\btxurldatecomment {\btxkeywordlanguage {\btxurldatefont{" * urldate * "}}}" * } if$ @@ -1143,18 +1144,18 @@ FUNCTION {unpublished} FUNCTION {default.type} { misc } -MACRO {jan} {"\btxmonjanlong {}"} -MACRO {feb} {"\btxmonfeblong {}"} -MACRO {mar} {"\btxmonmarlong {}"} -MACRO {apr} {"\btxmonaprlong {}"} -MACRO {may} {"\btxmonmaylong {}"} -MACRO {jun} {"\btxmonjunlong {}"} -MACRO {jul} {"\btxmonjullong {}"} -MACRO {aug} {"\btxmonauglong {}"} -MACRO {sep} {"\btxmonseplong {}"} -MACRO {oct} {"\btxmonoctlong {}"} -MACRO {nov} {"\btxmonnovlong {}"} -MACRO {dec} {"\btxmondeclong {}"} +MACRO {jan} {"1"} +MACRO {feb} {"2"} +MACRO {mar} {"3"} +MACRO {apr} {"4"} +MACRO {may} {"5"} +MACRO {jun} {"6"} +MACRO {jul} {"7"} +MACRO {aug} {"8"} +MACRO {sep} {"9"} +MACRO {oct} {"10"} +MACRO {nov} {"11"} +MACRO {dec} {"12"} MACRO {acmcs} {"ACM Computing Surveys"} MACRO {acta} {"Acta Informatica"} MACRO {cacm} {"Communications of the ACM"} diff --git a/Master/texmf-dist/bibtex/bst/babelbib/babunsrt-lf.bst b/Master/texmf-dist/bibtex/bst/babelbib/babunsrt-lf.bst index 6a3fad819a1..ab1c3da4d96 100644 --- a/Master/texmf-dist/bibtex/bst/babelbib/babunsrt-lf.bst +++ b/Master/texmf-dist/bibtex/bst/babelbib/babunsrt-lf.bst @@ -17,7 +17,7 @@ %% %% h.harders@tu-bs.de %% -%% 2009/06/18 v1.27 babelbib: multilingual bibliographies (HH) +%% 2009/10/10 v1.29 babelbib: multilingual bibliographies (HH) ENTRY { address annote @@ -467,7 +467,9 @@ FUNCTION {format.date} } { month empty$ 'year - { month "\ " * year * } + { "\btxprintmonthyear{.}{" + month * "}{" * year * "}{long}" * + } if$ } if$ @@ -571,9 +573,8 @@ FUNCTION {format.url} urldate empty$ { "{\latintext \btxurlfont{" url * "}}" * } { - "{\latintext \btxurlfont{" url * "}}%" * - newline$ output - "\btxurldatecomment {\btxkeywordlanguage {\btxurldatefont{" + "{\latintext \btxurlfont{" url * "}}\empty " * + "\btxurldatecomment {\btxkeywordlanguage {\btxurldatefont{" * urldate * "}}}" * } if$ @@ -1142,18 +1143,18 @@ FUNCTION {unpublished} FUNCTION {default.type} { misc } -MACRO {jan} {"\btxmonjanlong {}"} -MACRO {feb} {"\btxmonfeblong {}"} -MACRO {mar} {"\btxmonmarlong {}"} -MACRO {apr} {"\btxmonaprlong {}"} -MACRO {may} {"\btxmonmaylong {}"} -MACRO {jun} {"\btxmonjunlong {}"} -MACRO {jul} {"\btxmonjullong {}"} -MACRO {aug} {"\btxmonauglong {}"} -MACRO {sep} {"\btxmonseplong {}"} -MACRO {oct} {"\btxmonoctlong {}"} -MACRO {nov} {"\btxmonnovlong {}"} -MACRO {dec} {"\btxmondeclong {}"} +MACRO {jan} {"1"} +MACRO {feb} {"2"} +MACRO {mar} {"3"} +MACRO {apr} {"4"} +MACRO {may} {"5"} +MACRO {jun} {"6"} +MACRO {jul} {"7"} +MACRO {aug} {"8"} +MACRO {sep} {"9"} +MACRO {oct} {"10"} +MACRO {nov} {"11"} +MACRO {dec} {"12"} MACRO {acmcs} {"ACM Computing Surveys"} MACRO {acta} {"Acta Informatica"} MACRO {cacm} {"Communications of the ACM"} diff --git a/Master/texmf-dist/bibtex/bst/babelbib/babunsrt.bst b/Master/texmf-dist/bibtex/bst/babelbib/babunsrt.bst index 5b7827e3c62..ed049977537 100644 --- a/Master/texmf-dist/bibtex/bst/babelbib/babunsrt.bst +++ b/Master/texmf-dist/bibtex/bst/babelbib/babunsrt.bst @@ -17,7 +17,7 @@ %% %% h.harders@tu-bs.de %% -%% 2009/06/18 v1.27 babelbib: multilingual bibliographies (HH) +%% 2009/10/10 v1.29 babelbib: multilingual bibliographies (HH) ENTRY { address annote @@ -468,7 +468,9 @@ FUNCTION {format.date} } { month empty$ 'year - { month "\ " * year * } + { "\btxprintmonthyear{.}{" + month * "}{" * year * "}{long}" * + } if$ } if$ @@ -572,9 +574,8 @@ FUNCTION {format.url} urldate empty$ { "{\latintext \btxurlfont{" url * "}}" * } { - "{\latintext \btxurlfont{" url * "}}%" * - newline$ output - "\btxurldatecomment {\btxkeywordlanguage {\btxurldatefont{" + "{\latintext \btxurlfont{" url * "}}\empty " * + "\btxurldatecomment {\btxkeywordlanguage {\btxurldatefont{" * urldate * "}}}" * } if$ @@ -1143,18 +1144,18 @@ FUNCTION {unpublished} FUNCTION {default.type} { misc } -MACRO {jan} {"\btxmonjanlong {}"} -MACRO {feb} {"\btxmonfeblong {}"} -MACRO {mar} {"\btxmonmarlong {}"} -MACRO {apr} {"\btxmonaprlong {}"} -MACRO {may} {"\btxmonmaylong {}"} -MACRO {jun} {"\btxmonjunlong {}"} -MACRO {jul} {"\btxmonjullong {}"} -MACRO {aug} {"\btxmonauglong {}"} -MACRO {sep} {"\btxmonseplong {}"} -MACRO {oct} {"\btxmonoctlong {}"} -MACRO {nov} {"\btxmonnovlong {}"} -MACRO {dec} {"\btxmondeclong {}"} +MACRO {jan} {"1"} +MACRO {feb} {"2"} +MACRO {mar} {"3"} +MACRO {apr} {"4"} +MACRO {may} {"5"} +MACRO {jun} {"6"} +MACRO {jul} {"7"} +MACRO {aug} {"8"} +MACRO {sep} {"9"} +MACRO {oct} {"10"} +MACRO {nov} {"11"} +MACRO {dec} {"12"} MACRO {acmcs} {"ACM Computing Surveys"} MACRO {acta} {"Acta Informatica"} MACRO {cacm} {"Communications of the ACM"} diff --git a/Master/texmf-dist/doc/latex/babelbib/ChangeLog b/Master/texmf-dist/doc/latex/babelbib/ChangeLog index 59466f46bf8..ea45c736eb4 100644 --- a/Master/texmf-dist/doc/latex/babelbib/ChangeLog +++ b/Master/texmf-dist/doc/latex/babelbib/ChangeLog @@ -1,7 +1,15 @@ +2009/10/10 1.29 Harald Harders (h.harders@tu-bs.de) + - Fix output of "urldate" + +2009/06/23 1.28 Harald Harders (h.harders@tu-bs.de) + - Corrected Diciembre in Spanish language + - Automatic formatting of month year combinations + (either "June 2009" or "06/2009") + 2009/06/19 1.27 Harald Harders (h.harders@tu-bs.de) - - Capitalised month names in Poruguese - Capitalised month names in Poruguese but not in Brazilian - Fixed publisherfont in babamspl.bst + - Added Russian language 2009/06/17 1.26 Harald Harders (h.harders@tu-bs.de) - Correct journal article title font in babamspl.bst diff --git a/Master/texmf-dist/doc/latex/babelbib/babelbib.pdf b/Master/texmf-dist/doc/latex/babelbib/babelbib.pdf Binary files differindex be2d6684e45..ac4192791a9 100644 --- a/Master/texmf-dist/doc/latex/babelbib/babelbib.pdf +++ b/Master/texmf-dist/doc/latex/babelbib/babelbib.pdf diff --git a/Master/texmf-dist/doc/latex/babelbib/babelbibtest.bib b/Master/texmf-dist/doc/latex/babelbib/babelbibtest.bib index 057b3bd9005..4653c2a7312 100644 --- a/Master/texmf-dist/doc/latex/babelbib/babelbibtest.bib +++ b/Master/texmf-dist/doc/latex/babelbib/babelbibtest.bib @@ -52,7 +52,7 @@ title = {Protokoll des Arbeitskreistreffens "`Mechanische Pr"uftechnik"' und "`Quantitative Gef"ugebeschreibung"' am 29.\ und 30.\,03.~2000 an der TU Bergakademie Freiberg, - Institut f"ur Metallkunde}, + Institut f\"ur Metallkunde}, month = {04.\,04.}, year = 2000, language = {ngerman} @@ -262,7 +262,6 @@ year = 1996, number = 198, month = 5, - type = {Gross klein Gross klein}, language = {english} } @@ -282,7 +281,7 @@ title = {Voronoi Diagrams, english}, institution = {FernUniversit\"at Gesamthochschule in Hagen}, year = 1996, - month = 5, + month = may, type = {Gross klein Gross klein}, language = {english} } @@ -338,17 +337,17 @@ @Manual{baeker1998a, title = {Automatische Neuvernetzung mit ABAQUS/Standard -- Technik und Anwendungen}, - author = {B"aker, M.}, - organization = {Institut f"ur Werkstoffe, Technische Universit"at + author = {B\"aker, M.}, + organization = {Institut f\"ur Werkstoffe, Technische Universit\"at Braunschweig}, address = {Braunschweig}, - month = {Oktober}, + month = oct, year = 1998, language = {ngerman} } @Book{baeker2002a, - author = {B"aker, M.}, + author = {B\"aker, M.}, title = {Numerische Methoden in der Materialwissenschaft}, publisher = {Fachbereich Maschinenbau der TU Braunschweig}, year = 2002, @@ -441,7 +440,7 @@ @Article{banhart1999c, author = {Banhart, J. and Baumeister, J. and Melzer, A. and Seeliger, W. and Weber, M.}, - title = {Aluminiumschaum-Leichtbaustrukturen f"ur den Fahrzeugbau}, + title = {Aluminiumschaum-Leichtbaustrukturen f\"ur den Fahrzeugbau}, journal = {Werkstoffe im Automobilbau}, year = {1998/1999}, language = {ngerman} @@ -671,7 +670,7 @@ @Book{blumenauer1993a, author = {Blumenauer, H. and Pusch, G.}, title = {Technische Bruchmechanik}, - publisher = {Deutscher Verlag f"ur Grundstoffindustrie}, + publisher = {Deutscher Verlag f\"ur Grundstoffindustrie}, year = 1993, address = {Stuttgart}, language = {ngerman}, @@ -1006,7 +1005,7 @@ @Book{dubbel1990a, editor = {Beitz, W. and Grote, K.-H.}, - title = {Dubbel~-- Taschenbuch f"ur den Maschinenbau}, + title = {Dubbel~-- Taschenbuch f\"ur den Maschinenbau}, publisher = {Springer"=Verlag}, year = 2001, address = {Berlin}, @@ -1675,7 +1674,7 @@ title = {Modellierung eines Materialgesetzes zur Beschreibung der mechanischen Eigenschaften von Aluminiumschaum}, - school = {Universit"at Stuttgart}, + school = {Universit\"at Stuttgart}, year = 1998, type = {Dissertation}, address = {VDI-Verlag. Fortschrittberichte, Reihe 5, Nr. 525}, @@ -1958,7 +1957,7 @@ title = {Vereinfachte Ermittlung der Flie"skurve metallischer Werkstoffe im Zugversuch w"ahrend der Einschn"urung der Proben}, - journal = {Archiv f"ur das Eisenh"uttenwesen}, + journal = {Archiv f\"ur das Eisenh"uttenwesen}, year = 1974, volume = 45, number = 11, @@ -2399,7 +2398,7 @@ title = {Flie"sspannung von Zink in Abh"angigkeit von Korngr"o"se, Beanspruchungsrichtung und Verformungsgrad}, - school = {Technische Universit"at Braunschweig}, + school = {Technische Universit\"at Braunschweig}, year = 1983, type = {Dissertation}, language = {ngerman} @@ -2938,7 +2937,7 @@ @Book{schatt1996a, editor = {Schatt, W. and Worch, H.}, title = {Werkstoffwissenschaft}, - publisher = {Deutscher Verlag f"ur Grundstoffindustrie}, + publisher = {Deutscher Verlag f\"ur Grundstoffindustrie}, year = 1996, address = {Stuttgart}, language = {ngerman}, @@ -2988,7 +2987,7 @@ @Book{schott1997a, editor = {Schott, G.}, title = {Werkstofferm"udung~-- Erm"udungsfestigkeit}, - publisher = {Deutscher Verlag f"ur Grundstoffindustrie}, + publisher = {Deutscher Verlag f\"ur Grundstoffindustrie}, year = 1997, address = {Stuttgart}, edition = 4, @@ -3562,7 +3561,7 @@ ertragbaren Spannungen bzw.\ der Lebensdauer bei mehrachsiger Betriebsbeanspruchung auf der Basis der modifizierten Okaederschubspannungshypothese}, - school = {Institut f"ur Werkstoffe, TU Braunschweig}, + school = {Institut f\"ur Werkstoffe, TU Braunschweig}, year = 1991, type = {Studienarbeit}, language = {ngerman} diff --git a/Master/texmf-dist/doc/latex/babelbib/babelbibtest.tex b/Master/texmf-dist/doc/latex/babelbib/babelbibtest.tex index d29e21512bb..bae0cff342c 100644 --- a/Master/texmf-dist/doc/latex/babelbib/babelbibtest.tex +++ b/Master/texmf-dist/doc/latex/babelbib/babelbibtest.tex @@ -7,8 +7,8 @@ \usepackage{babel} %% Load package with fixed language or flexible language: -\usepackage[annote,languagenames]{babelbib}[2003/04/21] -%\usepackage[annote,languagenames,fixlanguage]{babelbib}[2003/04/21] +%\usepackage[annote,languagenames]{babelbib}[2003/04/21] +\usepackage[annote,languagenames,datenumeric,fixlanguage]{babelbib}[2003/04/21] %% force a fall-back language other than the document's language \setbtxfallbacklanguage{ngerman} @@ -59,6 +59,24 @@ %% language names: % \newcommand\btxprintamslanguage[1]{} +%\newcommand\btxprintmonthyear[2]{\ifnumber{#1}{#1/#2}{#1\ #2}} +\newcommand\btxprintmonthyearasdf[4]{% + \ifnumber{#2}{% + \ifcase #2 \or + \csname btxmonjan#4\endcsname{#1}\or + \btxmonfeblong{#1}\or \btxmonmarlong{#1}\or + \btxmonaprlong{#1}\or \btxmonmaylong{#1}\or \btxmonjunlong{#1}\or + \btxmonjullong{#1}\or \btxmonauglong{#1}\or \btxmonseplong{#1}\or + \btxmonoctlong{#1}\or \btxmonnovlong{#1}\or \btxmondeclong{#1}\fi + \ #3% + }{% + #2\ #3}% +} + +\declarebtxcommands{english}{% + \def\btxprintmonthyearnum#1#2{#1-#2}% +} + \begin{document} If you change \verb|\usepackage[languagenames,fixlanguage]{babelbib}| to \verb|\usepackage[languagenames]{babelbib}|, the @@ -80,13 +98,17 @@ Remove the \%\ in order to see the effects. %\bibliographystyle{bababbrv} %\bibliographystyle{bababbrv-lf} %\bibliographystyle{bababbrv-fl} -%\bibliographystyle{babplain} +\bibliographystyle{babplain} %\bibliographystyle{babplain-lf} %\bibliographystyle{babplain-fl} -\bibliographystyle{babalpha} +%\bibliographystyle{babalpha} %\bibliographystyle{babunsrt} %\bibliographystyle{babamspl} \bibliography{babelbibtest} +\ifnumber{3}{3/2009}{März 2009} + +\ifnumber{März}{3/2009}{März 2009} + \end{document} diff --git a/Master/texmf-dist/source/latex/babelbib/babelbib.dtx b/Master/texmf-dist/source/latex/babelbib/babelbib.dtx index f8316169145..9ed047d1eea 100644 --- a/Master/texmf-dist/source/latex/babelbib/babelbib.dtx +++ b/Master/texmf-dist/source/latex/babelbib/babelbib.dtx @@ -17,7 +17,7 @@ {\let\toprule\hline \let\midrule\hline \let\bottomrule\hline} -\IfFileExists{babelbib.sty}{\usepackage{babelbib} +\IfFileExists{babelbib.sty}{\usepackage[fixlanguage]{babelbib} \let\babelbibSTYfound\active}{\GenericWarning{babelbib.dtx}{Package file babelbib.sty not found (Documentation will be messed up!^^J^^A Generate babelbib.sty by LaTeXing babelbib.ins, process @@ -42,10 +42,11 @@ \CodelineIndex \DoNotIndex{\def,\edef,\let,\newcommand,\newenvironment,\newcounter} \DoNotIndex{\setcounter,\space,\",\@empty,\begin,\end,\iffalse,\fi,\extras} -\DoNotIndex{\bibs,\ifx,\else,\fi,\ ,\ae,\emph,\input} +\DoNotIndex{\bibs,\ifx,\else,\fi,\ ,\ae,\emph,\input,\foreignlanguage} +\DoNotIndex{\IeC,\cyrv,\CYRV,\cyrt,\CYRT,\cyrya,\protect} \CodelineNumbered \RecordChanges -\CheckSum{12203} +\CheckSum{12293} \hyphenation{bib-lio-gra-phy} \begin{document} \DocInput{babelbib.dtx} @@ -134,6 +135,11 @@ % not in Brazilian}% % \changes{1.27}{2009/06/19}{Fixed publisherfont in babamspl.bst}% % \changes{1.27}{2009/06/19}{Added Russian language}% +% \changes{1.28}{2009/07/05}{Corrected Diciembre in Spanish language}% +% \changes{1.28}{2009/07/05}{Automatic formatting of month year +% combinations (either ``June 2009'' or ``06/2009'')}% +% \changes{1.28}{2009/07/05}{Some corrections in Brazilian Portuguese}% +% \changes{1.29}{2009/10/10}{Fix output of ``urldate''}% % % \maketitle % \begin{abstract} @@ -594,6 +600,155 @@ % an eMail. % % +% \subsection{Printing of month and year} +% +% \DescribeMacro{datename}% +% Starting with version 1.29, |babelbib| prints dates in the format +% ``MMM YYYY' with the name of the month in case the month is +% specified in an bibliography entry by default (or by using the +% package option |datename|). +% For example, +% \begin{verbatim} +%@Manual{baeker1998a, +% title = {Automatische Neuvernetzung mit ABAQUS/Standard -- Technik +% und Anwendungen}, +% author = {B\"aker, M.}, +% organization = {Institut f\"ur Werkstoffe, Technische Universit\"at +% Braunschweig}, +% address = {Braunschweig}, +% month = oct, +% year = 1998, +% language = {ngerman} +%} +% +%@TechReport{aurenhammer1996a, +% author = {Aurenhammer, F. and Klein, R.}, +% title = {Voronoi Diagrams}, +% institution = {FernUniversit\"at Gesamthochschule in Hagen}, +% year = 1996, +% number = 198, +% month = 5, +% language = {english} +%}\end{verbatim} +% results in +% \begingroup +% \def\section*#1{} +% \begin{thebibliography}{1} +% \providebibliographyfont{name}{}% +% \providebibliographyfont{title}{\emph}% +% \providebibliographyfont{etal}{\emph}% +% \providebibliographyfont{volume}{}% +% \providebibliographyfont{ISBN}{\MakeUppercase}% +% \providebibliographyfont{ISSN}{\MakeUppercase}% +% \providebibliographyfont{url}{\url}% +% +% \btxselectlanguage {ngerman} +% \bibitem {baeker1998a} +% \btxnamefont {\btxlastnamefont {B\"aker}, M.}\btxauthorcolon\ \btxtitlefont +% {Automatische Neuvernetzung mit ABAQUS/Standard -- Technik und Anwendungen}. +% \newblock Institut f\"ur Werkstoffe, Technische Universit\"at Braunschweig, +% Braunschweig, \btxprintmonthyear{.}{10}{1998}{long}. +%\bibitem {aurenhammer1996a} +%\btxnamefont {\btxlastnamefont {Aurenhammer}, F.} \btxandlong {}\ \btxnamefont +% {R. \btxlastnamefont {Klein}}\btxauthorcolon\ \btxtitlefont +% {\btxifchangecase {Voronoi diagrams}{Voronoi Diagrams}}. +% \newblock \Btxtechreplong {}\ 198, FernUniversit\"at Gesamthochschule +% in Hagen, +% \btxprintmonthyear{.}{5}{1996}{long}. +% \end{thebibliography} +% \endgroup +% Note that this conversion only works if you specify the month using +% the predefined macro names |jan|, |feb|, etc.\ or if you specify the +% month numerically (|1|, |2|, |3|, etc.). +% If you use strings (e.\,g., ``January''), the handling of months +% does not work so that month and year are printed as given in any +% case. +% +% Whether the full name (e.\,g., ``October'') or an abbreviation +% (e.\,g., ``Oct.'') is printed, is determined by the bibliography +% style (|.bst|). +% +% +% \DescribeMacro{datenumeric}% +% By loading |babelbib| with the package option |datenumeric|, the +% month is converted to a number. +% Currently, the output format is ``MM/YYYY'' in all languages. +% The result looks as follows: +% \begingroup +% \def\section*#1{} +% \makeatletter +% \btx@datenumeric +% \makeatother +% \begin{thebibliography}{1} +% \providebibliographyfont{name}{}% +% \providebibliographyfont{title}{\emph}% +% \providebibliographyfont{etal}{\emph}% +% \providebibliographyfont{volume}{}% +% \providebibliographyfont{ISBN}{\MakeUppercase}% +% \providebibliographyfont{ISSN}{\MakeUppercase}% +% \providebibliographyfont{url}{\url}% +% +% \btxselectlanguage {ngerman} +% \bibitem {baeker1998a} +% \btxnamefont {\btxlastnamefont {B\"aker}, M.}\btxauthorcolon\ \btxtitlefont +% {Automatische Neuvernetzung mit ABAQUS/Standard -- Technik und Anwendungen}. +% \newblock Institut f\"ur Werkstoffe, Technische Universit\"at Braunschweig, +% Braunschweig, \btxprintmonthyear{.}{10}{1998}{long}. +%\bibitem {aurenhammer1996a} +%\btxnamefont {\btxlastnamefont {Aurenhammer}, F.} \btxandlong {}\ \btxnamefont +% {R. \btxlastnamefont {Klein}}\btxauthorcolon\ \btxtitlefont +% {\btxifchangecase {Voronoi diagrams}{Voronoi Diagrams}}. +% \newblock \Btxtechreplong {}\ 198, FernUniversit\"at Gesamthochschule +% in Hagen, +% \btxprintmonthyear{.}{5}{1996}{long}. +% \end{thebibliography} +% \endgroup +% +% \DescribeMacro{\btxprintmonthyearnum}% +% If you don't like the used format, you might change it by redefining +% the macro \cs{btxprintmonthyearnum} for your language as follows: +% \begin{verbatim} +%\declarebtxcommands{danish}{% +% \def\btxprintmonthyearnum#1#2{#1-#2}% +%}\end{verbatim} +% Here, the first argument is the month, the second the year. +% +% \DescribeMacro{dateasis}% +% By loading |babelbib| with the package option |dateasis|, the month +% is printed as specified in the |bib| file in the format ``MMM YYYY''. +% Beware that the internal macro names |jan|, |feb|, etc.\ are handled +% as numbers so that following output is gained: +% \begingroup +% \def\section*#1{} +% \makeatletter +% \btx@dateasis +% \makeatother +% \begin{thebibliography}{1} +% \providebibliographyfont{name}{}% +% \providebibliographyfont{title}{\emph}% +% \providebibliographyfont{etal}{\emph}% +% \providebibliographyfont{volume}{}% +% \providebibliographyfont{ISBN}{\MakeUppercase}% +% \providebibliographyfont{ISSN}{\MakeUppercase}% +% \providebibliographyfont{url}{\url}% +% +% \btxselectlanguage {ngerman} +% \bibitem {baeker1998a} +% \btxnamefont {\btxlastnamefont {B\"aker}, M.}\btxauthorcolon\ \btxtitlefont +% {Automatische Neuvernetzung mit ABAQUS/Standard -- Technik und Anwendungen}. +% \newblock Institut f\"ur Werkstoffe, Technische Universit\"at Braunschweig, +% Braunschweig, \btxprintmonthyear{.}{10}{1998}{long}. +%\bibitem {aurenhammer1996a} +%\btxnamefont {\btxlastnamefont {Aurenhammer}, F.} \btxandlong {}\ \btxnamefont +% {R. \btxlastnamefont {Klein}}\btxauthorcolon\ \btxtitlefont +% {\btxifchangecase {Voronoi diagrams}{Voronoi Diagrams}}. +% \newblock \Btxtechreplong {}\ 198, FernUniversit\"at Gesamthochschule +% in Hagen, +% \btxprintmonthyear{.}{5}{1996}{long}. +% \end{thebibliography} +% \endgroup +% +% % % \section{How to add new languages} % @@ -760,8 +915,8 @@ % \end{macrocode} % Version information unique for all generated files: % \begin{macrocode} -%<latex> [2009/06/18 v1.27 babelbib: multilingual bibliographies (HH)] -%<bst>%% 2009/06/18 v1.27 babelbib: multilingual bibliographies (HH) +%<latex> [2009/10/10 v1.29 babelbib: multilingual bibliographies (HH)] +%<bst>%% 2009/10/10 v1.29 babelbib: multilingual bibliographies (HH) % \end{macrocode} % % \subsection{The package itself} @@ -806,6 +961,47 @@ % \end{macrocode} % \end{macro} % \end{macro} +% +% \begin{macro}{\bbbbifundefined} +% \begin{macrocode} +\newcommand\btxprintmonthyear[4]{} +\newcommand*\btx@dateasis{% + \def\btxprintmonthyear##1##2##3##4{##2\ ##3}% +} +\newcommand*\btx@datenumeric{% + \def\btxprintmonthyear##1##2##3##4{% + \ifnumber{##2}{\btxprintmonthyearnum{##2}{##3}}{##2\ ##3}}% +} +\newcommand*\btx@datename{% + \def\btxprintmonthyear##1##2##3##4{% + \ifnumber{##2}{% + \ifcase ##2 \or + \csname btxmonjan##4\endcsname{##1}\or + \csname btxmonfeb##4\endcsname{##1}\or + \csname btxmonmar##4\endcsname{##1}\or + \csname btxmonapr##4\endcsname{##1}\or + \csname btxmonmay##4\endcsname{##1}\or + \csname btxmonjun##4\endcsname{##1}\or + \csname btxmonjul##4\endcsname{##1}\or + \csname btxmonaug##4\endcsname{##1}\or + \csname btxmonsep##4\endcsname{##1}\or + \csname btxmonoct##4\endcsname{##1}\or + \csname btxmonnov##4\endcsname{##1}\or + \csname btxmondec##4\endcsname{##1}\or + \PackageError{babelbib}{% + Month outside range 1 to 12 used}{% + Better use the BibTeX names jan, feb, mar, etc.}% + \fi + \ ##3% + }{% + ##2\ ##3}% + }% +} +\DeclareOption{dateasis}{\btx@dateasis} +\DeclareOption{datenumeric}{\btx@datenumeric} +\DeclareOption{datename}{\btx@datename} +% \end{macrocode} +% \end{macro} % If additional options are given, try to load these as % languages. This is implemented in order to be able to use a new % language that is not yet supported by the official |babelbib|. @@ -823,7 +1019,7 @@ % \end{macrocode} % Default options. % \begin{macrocode} -\ExecuteOptions{varlanguage,nolanguagenames,noannote,isbn,issn} +\ExecuteOptions{varlanguage,nolanguagenames,noannote,isbn,issn,datename} % \end{macrocode} % Process the given options. % \begin{macrocode} @@ -1620,6 +1816,10 @@ \def\btxnumeralshort##1{\btxnumeraldot{#1}{##1}}% \def\btxnumerallong##1{\btxnumeraldot{#1}{##1}}% % \end{macrocode} +% Define how to print month and year in numeric format, e.\,g. MM/YYYY. +% \begin{macrocode} + \def\btxprintmonthyearnum##1##2{##1/##2}% +% \end{macrocode} % A command that just puts some user defined text in the language of % the keywords. % \begin{macrocode} @@ -1844,6 +2044,10 @@ \def\btxnumeralshort##1{\protect\foreignlanguage{#1}{% \ifnumber{##1}{##1\textsuperscript{a}}{##1}}}% \def\btxnumerallong##1{\btxnumeralshort{##1}}% +% \end{macrocode} +% Define how to print month and year in numeric format, e.\,g. MM/YYYY. +% \begin{macrocode} + \def\btxprintmonthyearnum##1##2{##1/##2}% \def\btxkeywordlanguage##1{{\protect\selectlanguage{#1}##1}}% \ifbbbblanguagenames \def\btxlanguagenameamerican{\protect\foreignlanguage{#1}{ingl\'es}}% @@ -2007,6 +2211,10 @@ \def\btxfnamespacelong{ }% \def\btxnumeralshort##1{\btxnumeralenglish{#1}{##1}}% \def\btxnumerallong##1{\btxnumeralenglish{#1}{##1}}% +% \end{macrocode} +% Define how to print month and year in numeric format, e.\,g. MM/YYYY. +% \begin{macrocode} + \def\btxprintmonthyearnum##1##2{##1/##2}% \def\btxkeywordlanguage##1{{\protect\selectlanguage{#1}##1}}% % \end{macrocode} % \changes{0.2}{2003/04/20}{Added language names}% @@ -2187,6 +2395,10 @@ \def\btxfnamespacelong{ }% \def\btxnumeralshort##1{\btxnumeralfallback{#1}{##1}}% \def\btxnumerallong##1{\btxnumeralfallback{#1}{##1}}% +% \end{macrocode} +% Define how to print month and year in numeric format, e.\,g. MM/YYYY. +% \begin{macrocode} + \def\btxprintmonthyearnum##1##2{##1/##2}% \def\btxkeywordlanguage##1{{\protect\selectlanguage{#1}##1}}% % \end{macrocode} % \changes{0.2}{2003/04/20}{Added placeholders for language names}% @@ -2355,6 +2567,10 @@ \ifcase##1 ##1h\or pr'wth\or de'uterh\or tr'ith\or t'etarth% \or p'empth\or 'ekth\or 'ebdomh\or 'ogdoh\or 'enath\else ##1h\fi }{##1}}}% +% \end{macrocode} +% Define how to print month and year in numeric format, e.\,g. MM/YYYY. +% \begin{macrocode} + \def\btxprintmonthyearnum##1##2{##1/##2}% \def\btxkeywordlanguage##1{{\protect\selectlanguage{#1}##1}}% % \end{macrocode} % Names of all known languages in the current language. @@ -2513,6 +2729,10 @@ \def\btxfnamespacelong{ }% \def\btxnumeralshort##1{\btxnumeralfallback{#1}{##1}}% \def\btxnumerallong##1{\btxnumeralfallback{#1}{##1}}% +% \end{macrocode} +% Define how to print month and year in numeric format, e.\,g. MM/YYYY. +% \begin{macrocode} + \def\btxprintmonthyearnum##1##2{##1/##2}% \def\btxkeywordlanguage##1{{\protect\selectlanguage{#1}##1}}% % \end{macrocode} % Names of all known languages in the current language. @@ -2683,6 +2903,10 @@ \def\btxfnamespacelong{ }% \def\btxnumeralshort##1{\btxnumeralfrench{#1}{##1}}% \def\btxnumerallong##1{\btxnumeralfrench{#1}{##1}}% +% \end{macrocode} +% Define how to print month and year in numeric format, e.\,g. MM/YYYY. +% \begin{macrocode} + \def\btxprintmonthyearnum##1##2{##1/##2}% \def\btxkeywordlanguage##1{{\protect\selectlanguage{#1}##1}}% % \end{macrocode} % Names of all known languages in the current language. @@ -2982,6 +3206,10 @@ \def\btxfnamespacelong{ }% \def\btxnumeralshort##1{\btxnumeralfallback{#1}{##1}}% \def\btxnumerallong##1{\btxnumeralfallback{#1}{##1}}% +% \end{macrocode} +% Define how to print month and year in numeric format, e.\,g. MM/YYYY. +% \begin{macrocode} + \def\btxprintmonthyearnum##1##2{##1/##2}% \def\btxkeywordlanguage##1{{\protect\selectlanguage{#1}##1}}% \ifbbbblanguagenames \def\btxlanguagenameamerican{\protect\foreignlanguage{#1}{\IeC @@ -3228,7 +3456,7 @@ \def\btxmonseplong##1{\protect\foreignlanguage{#1}{Septiembre}}% \def\btxmonoctlong##1{\protect\foreignlanguage{#1}{Octubre}}% \def\btxmonnovlong##1{\protect\foreignlanguage{#1}{Noviembre}}% - \def\btxmondeclong##1{\protect\foreignlanguage{#1}{Deciembre}}% + \def\btxmondeclong##1{\protect\foreignlanguage{#1}{Diciembre}}% \def\btxmonjanshort##1{\protect\foreignlanguage{#1}{Ene##1{}}}% \def\btxmonfebshort##1{\protect\foreignlanguage{#1}{Feb##1{}}}% \def\btxmonmarshort##1{\protect\foreignlanguage{#1}{Mar##1{}}}% @@ -3270,6 +3498,10 @@ % \def\btxnumeralshort##1{\ifnumber{##1}{\protect\foreignlanguage{#1}{% % ##1\ifcase##1 \ieme\or \iere\else \ieme\fi}}{##1}}% \def\btxnumerallong##1{\btxnumeralshort{#1}{##1}}% +% \end{macrocode} +% Define how to print month and year in numeric format, e.\,g. MM/YYYY. +% \begin{macrocode} + \def\btxprintmonthyearnum##1##2{##1/##2}% \def\btxkeywordlanguage##1{{\protect\selectlanguage{#1}##1}}% \ifbbbblanguagenames \def\btxlanguagenameamerican{\protect\foreignlanguage{#1}{ingl\'es}}% @@ -3431,6 +3663,10 @@ \def\btxfnamespacelong{ }% \def\btxnumeralshort##1{\btxnumeralfallback{#1}{##1}}% \def\btxnumerallong##1{\btxnumeralfallback{#1}{##1}}% +% \end{macrocode} +% Define how to print month and year in numeric format, e.\,g. MM/YYYY. +% \begin{macrocode} + \def\btxprintmonthyearnum##1##2{##1/##2}% \def\btxkeywordlanguage##1{{\protect\selectlanguage{#1}##1}}% \ifbbbblanguagenames \def\btxlanguagenameamerican{\protect\foreignlanguage{#1}{engelsk}}% @@ -3583,6 +3819,10 @@ \def\btxfnamespacelong{ }% \def\btxnumeralshort##1{\btxnumeralfallback{#1}{##1}}% \def\btxnumerallong##1{\btxnumeralfallback{#1}{##1}}% +% \end{macrocode} +% Define how to print month and year in numeric format, e.\,g. MM/YYYY. +% \begin{macrocode} + \def\btxprintmonthyearnum##1##2{##1/##2}% \def\btxkeywordlanguage##1{{\protect\selectlanguage{#1}##1}}% \ifbbbblanguagenames \def\btxlanguagenameamerican{\protect\foreignlanguage{#1}{englanti}}% @@ -3742,6 +3982,10 @@ \def\btxfnamespacelong{ }% \def\btxnumeralshort##1{\btxnumeralfallback{#1}{##1}}% \def\btxnumerallong##1{\btxnumeralfallback{#1}{##1}}% +% \end{macrocode} +% Define how to print month and year in numeric format, e.\,g. MM/YYYY. +% \begin{macrocode} + \def\btxprintmonthyearnum##1##2{##1/##2}% \def\btxkeywordlanguage##1{{\protect\selectlanguage{#1}##1}}% \ifbbbblanguagenames \def\btxlanguagenameamerican{\protect\foreignlanguage{#1}{angla}}% @@ -3867,7 +4111,7 @@ \def\btxmonjanshort##1{\protect\foreignlanguage{#1}{Jan##1{}}}% \def\btxmonfebshort##1{\protect\foreignlanguage{#1}{Fev##1{}}}% \def\btxmonmarshort##1{\protect\foreignlanguage{#1}{Mar##1{}}}% - \def\btxmonaprshort##1{\protect\foreignlanguage{#1}{Apr##1{}}}% + \def\btxmonaprshort##1{\protect\foreignlanguage{#1}{Abr##1{}}}% \def\btxmonmayshort##1{\protect\foreignlanguage{#1}{Maio}}% \def\btxmonjunshort##1{\protect\foreignlanguage{#1}{Jun##1{}}}% \def\btxmonjulshort##1{\protect\foreignlanguage{#1}{Jul##1{}}}% @@ -3902,7 +4146,11 @@ \def\btxfnamespacelong{ }% \def\btxnumeralshort##1{\protect\foreignlanguage{#1}{% \ifnumber{##1}{##1\textsuperscript{\underline a}}{##1}}}% - \def\btxnumerallong##1{\btxnumeralshort{#1}{##1}}% + \def\btxnumerallong##1{\btxnumeralshort{##1}}% +% \end{macrocode} +% Define how to print month and year in numeric format, e.\,g. MM/YYYY. +% \begin{macrocode} + \def\btxprintmonthyearnum##1##2{##1/##2}% \def\btxkeywordlanguage##1{{\protect\selectlanguage{#1}##1}}% \ifbbbblanguagenames \def\btxlanguagenameamerican{\protect\foreignlanguage{#1}{ingl\^es}}% @@ -3973,8 +4221,8 @@ \def\btxmonjanshort##1{\protect\foreignlanguage{#1}{jan##1{}}}% \def\btxmonfebshort##1{\protect\foreignlanguage{#1}{fev##1{}}}% \def\btxmonmarshort##1{\protect\foreignlanguage{#1}{mar##1{}}}% - \def\btxmonaprshort##1{\protect\foreignlanguage{#1}{apr##1{}}}% - \def\btxmonmayshort##1{\protect\foreignlanguage{#1}{maio}}% + \def\btxmonaprshort##1{\protect\foreignlanguage{#1}{abr##1{}}}% + \def\btxmonmayshort##1{\protect\foreignlanguage{#1}{mai##1{}}}% \def\btxmonjunshort##1{\protect\foreignlanguage{#1}{jun##1{}}}% \def\btxmonjulshort##1{\protect\foreignlanguage{#1}{jul##1{}}}% \def\btxmonaugshort##1{\protect\foreignlanguage{#1}{ago##1{}}}% @@ -3982,6 +4230,11 @@ \def\btxmonoctshort##1{\protect\foreignlanguage{#1}{out##1{}}}% \def\btxmonnovshort##1{\protect\foreignlanguage{#1}{nov##1{}}}% \def\btxmondecshort##1{\protect\foreignlanguage{#1}{dez##1{}}}% + \def\btxpageshort##1{\protect\foreignlanguage{#1}{p##1{}}}% + \def\btxpagesshort##1{\protect\foreignlanguage{#1}{pp##1{}}}% + \def\Btxpageshort##1{\protect\foreignlanguage{#1}{P##1{}}}% + \def\Btxpagesshort##1{\protect\foreignlanguage{#1}{Pp##1{}}}% + \def\btxurldatecomment##1{\protect\foreignlanguage{#1}{, acesso em ##1}}% } % \end{macrocode} % Append the definitions to the language-calling commands. @@ -4097,6 +4350,10 @@ \def\btxfnamespacelong{ }% \def\btxnumeralshort##1{\btxnumeralfallback{#1}{##1}}% \def\btxnumerallong##1{\btxnumeralfallback{#1}{##1}}% +% \end{macrocode} +% Define how to print month and year in numeric format, e.\,g. MM/YYYY. +% \begin{macrocode} + \def\btxprintmonthyearnum##1##2{##1/##2}% \def\btxkeywordlanguage##1{{\protect\selectlanguage{#1}##1}}% \ifbbbblanguagenames \def\btxlanguagenameamerican{\protect\foreignlanguage{#1}{engels}}% @@ -4260,6 +4517,10 @@ \def\btxfnamespacelong{ }% \def\btxnumeralshort##1{\btxnumeralfallback{#1}{##1}}% \def\btxnumerallong##1{\btxnumeralfallback{#1}{##1}}% +% \end{macrocode} +% Define how to print month and year in numeric format, e.\,g. MM/YYYY. +% \begin{macrocode} + \def\btxprintmonthyearnum##1##2{##1/##2}% \def\btxkeywordlanguage##1{{\protect\selectlanguage{#1}##1}}% \ifbbbblanguagenames \def\btxlanguagenameamerican{\protect\foreignlanguage{#1}{engelska}}% @@ -4421,6 +4682,10 @@ \def\btxfnamespacelong{ }% \def\btxnumeralshort##1{\btxnumeralfallback{#1}{##1}}% \def\btxnumerallong##1{\btxnumeralfallback{#1}{##1}}% +% \end{macrocode} +% Define how to print month and year in numeric format, e.\,g. MM/YYYY. +% \begin{macrocode} + \def\btxprintmonthyearnum##1##2{##1/##2}% \def\btxkeywordlanguage##1{{\protect\selectlanguage{#1}##1}}% \ifbbbblanguagenames \def\btxlanguagenameafrikaans{\protect\foreignlanguage{#1}{afrikaans}}% @@ -4598,6 +4863,10 @@ \def\btxfnamespacelong{ }% \def\btxnumeralshort##1{\btxnumeralfallback{#1}{##1}}% \def\btxnumerallong##1{\btxnumeralfallback{#1}{##1}}% +% \end{macrocode} +% Define how to print month and year in numeric format, e.\,g. MM/YYYY. +% \begin{macrocode} + \def\btxprintmonthyearnum##1##2{##1/##2}% \def\btxkeywordlanguage##1{{\protect\selectlanguage{#1}##1}}% \ifbbbblanguagenames \def\btxlanguagenameamerican{\protect\foreignlanguage{#1}{inggris}}% @@ -4751,6 +5020,10 @@ \def\btxfnamespacelong{ }% \def\btxnumeralshort##1{\btxnumeralfallback{#1}{##1}}% \def\btxnumerallong##1{\btxnumeralfallback{#1}{##1}}% +% \end{macrocode} +% Define how to print month and year in numeric format, e.\,g. MM/YYYY. +% \begin{macrocode} + \def\btxprintmonthyearnum##1##2{##1/##2}% \def\btxkeywordlanguage##1{{\protect\selectlanguage{#1}##1}}% \ifbbbblanguagenames \def\btxlanguagenameamerican{\protect\foreignlanguage{#1}{angl\`es}}% @@ -5500,7 +5773,18 @@ FUNCTION {format.date} } { month empty$ 'year - { month "\ " * year * } +%</bststd> +%<*bststd&!bstshort> + { "\btxprintmonthyear{.}{" + month * "}{" * year * "}{long}" * + } +%</bststd&!bstshort> +%<*bststd&bstshort> + { "\btxprintmonthyear{.}{" + month * "}{" * year * "}{short}" * + } +%</bststd&bstshort> +%<*bststd> if$ } if$ @@ -5662,9 +5946,8 @@ FUNCTION {format.url} urldate empty$ { "{\latintext \btxurlfont{" url * "}}" * } { - "{\latintext \btxurlfont{" url * "}}%" * - newline$ output - "\btxurldatecomment {\btxkeywordlanguage {\btxurldatefont{" + "{\latintext \btxurlfont{" url * "}}\empty " * + "\btxurldatecomment {\btxkeywordlanguage {\btxurldatefont{" * urldate * "}}}" * } if$ @@ -6404,18 +6687,18 @@ FUNCTION {default.type} { misc } % Months and journals: % \begin{macrocode} %<*bststd&!bstshort> -MACRO {jan} {"\btxmonjanlong {}"} -MACRO {feb} {"\btxmonfeblong {}"} -MACRO {mar} {"\btxmonmarlong {}"} -MACRO {apr} {"\btxmonaprlong {}"} -MACRO {may} {"\btxmonmaylong {}"} -MACRO {jun} {"\btxmonjunlong {}"} -MACRO {jul} {"\btxmonjullong {}"} -MACRO {aug} {"\btxmonauglong {}"} -MACRO {sep} {"\btxmonseplong {}"} -MACRO {oct} {"\btxmonoctlong {}"} -MACRO {nov} {"\btxmonnovlong {}"} -MACRO {dec} {"\btxmondeclong {}"} +MACRO {jan} {"1"} +MACRO {feb} {"2"} +MACRO {mar} {"3"} +MACRO {apr} {"4"} +MACRO {may} {"5"} +MACRO {jun} {"6"} +MACRO {jul} {"7"} +MACRO {aug} {"8"} +MACRO {sep} {"9"} +MACRO {oct} {"10"} +MACRO {nov} {"11"} +MACRO {dec} {"12"} MACRO {acmcs} {"ACM Computing Surveys"} MACRO {acta} {"Acta Informatica"} MACRO {cacm} {"Communications of the ACM"} @@ -6439,18 +6722,18 @@ MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"} MACRO {tcs} {"Theoretical Computer Science"} %</bststd&!bstshort> %<*bststd&bstshort> -MACRO {jan} {"\btxmonjanshort {.}"} -MACRO {feb} {"\btxmonfebshort {.}"} -MACRO {mar} {"\btxmonmarshort {.}"} -MACRO {apr} {"\btxmonaprshort {.}"} -MACRO {may} {"\btxmonmayshort {.}"} -MACRO {jun} {"\btxmonjunshort {.}"} -MACRO {jul} {"\btxmonjulshort {.}"} -MACRO {aug} {"\btxmonaugshort {.}"} -MACRO {sep} {"\btxmonsepshort {.}"} -MACRO {oct} {"\btxmonoctshort {.}"} -MACRO {nov} {"\btxmonnovshort {.}"} -MACRO {dec} {"\btxmondecshort {.}"} +MACRO {jan} {"1"} +MACRO {feb} {"2"} +MACRO {mar} {"3"} +MACRO {apr} {"4"} +MACRO {may} {"5"} +MACRO {jun} {"6"} +MACRO {jul} {"7"} +MACRO {aug} {"8"} +MACRO {sep} {"9"} +MACRO {oct} {"10"} +MACRO {nov} {"11"} +MACRO {dec} {"12"} MACRO {acmcs} {"ACM Comput.\ Surv.{}"} MACRO {acta} {"Acta Inf.{}"} MACRO {cacm} {"Commun. ACM"} @@ -7521,7 +7804,9 @@ FUNCTION {format.date} } { month empty$ 'year - { month "\ " * year * } + { "\btxprintmonthyear{.}{" + month * "}{" * year * "}{long}" * + } if$ } if$ @@ -7659,9 +7944,8 @@ FUNCTION {format.url} urldate empty$ { "{\latintext \btxurlfont{" url * "}}" * } { - "{\latintext \btxurlfont{" url * "}}%" * - newline$ output - "\btxurldatecomment {\btxkeywordlanguage {\btxurldatefont{" + "{\latintext \btxurlfont{" url * "}}\empty " * + "\btxurldatecomment {\btxkeywordlanguage {\btxurldatefont{" * urldate * "}}}" * } if$ @@ -8148,18 +8432,18 @@ FUNCTION {unpublished} FUNCTION {default.type} { misc } -MACRO {jan} {"\btxmonjanlong {}"} -MACRO {feb} {"\btxmonfeblong {}"} -MACRO {mar} {"\btxmonmarlong {}"} -MACRO {apr} {"\btxmonaprlong {}"} -MACRO {may} {"\btxmonmaylong {}"} -MACRO {jun} {"\btxmonjunlong {}"} -MACRO {jul} {"\btxmonjullong {}"} -MACRO {aug} {"\btxmonauglong {}"} -MACRO {sep} {"\btxmonseplong {}"} -MACRO {oct} {"\btxmonoctlong {}"} -MACRO {nov} {"\btxmonnovlong {}"} -MACRO {dec} {"\btxmondeclong {}"} +MACRO {jan} {"1"} +MACRO {feb} {"2"} +MACRO {mar} {"3"} +MACRO {apr} {"4"} +MACRO {may} {"5"} +MACRO {jun} {"6"} +MACRO {jul} {"7"} +MACRO {aug} {"8"} +MACRO {sep} {"9"} +MACRO {oct} {"10"} +MACRO {nov} {"11"} +MACRO {dec} {"12"} READ diff --git a/Master/texmf-dist/source/latex/babelbib/babelbib.xml b/Master/texmf-dist/source/latex/babelbib/babelbib.xml index 66a3778fb32..bf6bd4c92cf 100644 --- a/Master/texmf-dist/source/latex/babelbib/babelbib.xml +++ b/Master/texmf-dist/source/latex/babelbib/babelbib.xml @@ -1,7 +1,7 @@ <?xml version="1.0"?> <!DOCTYPE entry SYSTEM "../catalogue.dtd"> <entry id="babelbib" - datestamp="2008/09/24" + datestamp="2009/06/23" modifier="h.harders@tu-bs.de"> <about> <name>babelbib</name> @@ -12,7 +12,7 @@ </author> <license type="lppl"/> <version> - <number>1.25</number> + <number>1.28</number> </version> </about> <description> diff --git a/Master/texmf-dist/tex/latex/babelbib/afrikaans.bdf b/Master/texmf-dist/tex/latex/babelbib/afrikaans.bdf index 4587dc1abc3..5f7fbb741be 100644 --- a/Master/texmf-dist/tex/latex/babelbib/afrikaans.bdf +++ b/Master/texmf-dist/tex/latex/babelbib/afrikaans.bdf @@ -20,7 +20,7 @@ %% Language definitions for Afrikaans by %% Danie Els <dnjels@sun.ac.za> \ProvidesFile{afrikaans.bdf} - [2009/06/18 v1.27 babelbib: multilingual bibliographies (HH)] + [2009/10/10 v1.29 babelbib: multilingual bibliographies (HH)] \newcommand\bibsafrikaans[1][afrikaans]{% \def\biblanguagename{#1}% \def\btxetalshort##1{\protect\foreignlanguage{#1}{et~al##1{}}}% @@ -105,6 +105,7 @@ \def\btxfnamespacelong{ }% \def\btxnumeralshort##1{\btxnumeralfallback{#1}{##1}}% \def\btxnumerallong##1{\btxnumeralfallback{#1}{##1}}% + \def\btxprintmonthyearnum##1##2{##1/##2}% \def\btxkeywordlanguage##1{{\protect\selectlanguage{#1}##1}}% \ifbbbblanguagenames \def\btxlanguagenameafrikaans{\protect\foreignlanguage{#1}{afrikaans}}% diff --git a/Master/texmf-dist/tex/latex/babelbib/babelbib.sty b/Master/texmf-dist/tex/latex/babelbib/babelbib.sty index f442be59be9..c9c9b2c8f48 100644 --- a/Master/texmf-dist/tex/latex/babelbib/babelbib.sty +++ b/Master/texmf-dist/tex/latex/babelbib/babelbib.sty @@ -19,7 +19,7 @@ %% \NeedsTeXFormat{LaTeX2e}[1998/06/01] \ProvidesPackage{babelbib} - [2009/06/18 v1.27 babelbib: multilingual bibliographies (HH)] + [2009/10/10 v1.29 babelbib: multilingual bibliographies (HH)] \newif\ifbbbbfixlanguage \DeclareOption{fixlanguage}{\bbbbfixlanguagetrue} \DeclareOption{varlanguage}{\bbbbfixlanguagefalse} @@ -35,6 +35,42 @@ \DeclareOption{noisbn}{\btx@printISBNfalse} \DeclareOption{issn}{\btx@printISSNtrue} \DeclareOption{noissn}{\btx@printISSNfalse} +\newcommand\btxprintmonthyear[4]{} +\newcommand*\btx@dateasis{% + \def\btxprintmonthyear##1##2##3##4{##2\ ##3}% +} +\newcommand*\btx@datenumeric{% + \def\btxprintmonthyear##1##2##3##4{% + \ifnumber{##2}{\btxprintmonthyearnum{##2}{##3}}{##2\ ##3}}% +} +\newcommand*\btx@datename{% + \def\btxprintmonthyear##1##2##3##4{% + \ifnumber{##2}{% + \ifcase ##2 \or + \csname btxmonjan##4\endcsname{##1}\or + \csname btxmonfeb##4\endcsname{##1}\or + \csname btxmonmar##4\endcsname{##1}\or + \csname btxmonapr##4\endcsname{##1}\or + \csname btxmonmay##4\endcsname{##1}\or + \csname btxmonjun##4\endcsname{##1}\or + \csname btxmonjul##4\endcsname{##1}\or + \csname btxmonaug##4\endcsname{##1}\or + \csname btxmonsep##4\endcsname{##1}\or + \csname btxmonoct##4\endcsname{##1}\or + \csname btxmonnov##4\endcsname{##1}\or + \csname btxmondec##4\endcsname{##1}\or + \PackageError{babelbib}{% + Month outside range 1 to 12 used}{% + Better use the BibTeX names jan, feb, mar, etc.}% + \fi + \ ##3% + }{% + ##2\ ##3}% + }% +} +\DeclareOption{dateasis}{\btx@dateasis} +\DeclareOption{datenumeric}{\btx@datenumeric} +\DeclareOption{datename}{\btx@datename} \DeclareOption*{% \InputIfFileExists{\CurrentOption.bdf}{% \expandafter\def\csname bbbb\CurrentOption loaded\endcsname{\@empty}% @@ -44,7 +80,7 @@ Maybe you misspelled the language option?}% }% } -\ExecuteOptions{varlanguage,nolanguagenames,noannote,isbn,issn} +\ExecuteOptions{varlanguage,nolanguagenames,noannote,isbn,issn,datename} \ProcessOptions* \newcommand*{\bbbbifundefined}[1]{% \begingroup\expandafter\expandafter\expandafter\endgroup diff --git a/Master/texmf-dist/tex/latex/babelbib/bahasa.bdf b/Master/texmf-dist/tex/latex/babelbib/bahasa.bdf index 98457f7e8cf..5477f859c98 100644 --- a/Master/texmf-dist/tex/latex/babelbib/bahasa.bdf +++ b/Master/texmf-dist/tex/latex/babelbib/bahasa.bdf @@ -20,7 +20,7 @@ %% Language definitions for Bahasa by %% Yanti Yulianti <y_yanti@students.itb.ac.id> \ProvidesFile{bahasa.bdf} - [2009/06/18 v1.27 babelbib: multilingual bibliographies (HH)] + [2009/10/10 v1.29 babelbib: multilingual bibliographies (HH)] %% %% This is file `bahasa.bdf', %% generated with the docstrip utility. @@ -122,6 +122,7 @@ \def\btxfnamespacelong{ }% \def\btxnumeralshort##1{\btxnumeralfallback{#1}{##1}}% \def\btxnumerallong##1{\btxnumeralfallback{#1}{##1}}% + \def\btxprintmonthyearnum##1##2{##1/##2}% \def\btxkeywordlanguage##1{{\protect\selectlanguage{#1}##1}}% \ifbbbblanguagenames \def\btxlanguagenameamerican{\protect\foreignlanguage{#1}{inggris}}% diff --git a/Master/texmf-dist/tex/latex/babelbib/catalan.bdf b/Master/texmf-dist/tex/latex/babelbib/catalan.bdf index 5f2865a88c6..e5cae164a43 100644 --- a/Master/texmf-dist/tex/latex/babelbib/catalan.bdf +++ b/Master/texmf-dist/tex/latex/babelbib/catalan.bdf @@ -20,7 +20,7 @@ %% Language definitions for Catalan by %% Robert Fuster <rfuster@imm.upv.es> \ProvidesFile{catalan.bdf} - [2009/06/18 v1.27 babelbib: multilingual bibliographies (HH)] + [2009/10/10 v1.29 babelbib: multilingual bibliographies (HH)] \newcommand\bibscatalan[1][catalan]{% \def\biblanguagename{#1}% \def\btxetalshort##1{\protect\foreignlanguage{#1}{i~al##1{}}}% @@ -102,6 +102,7 @@ \def\btxfnamespacelong{ }% \def\btxnumeralshort##1{\btxnumeralfallback{#1}{##1}}% \def\btxnumerallong##1{\btxnumeralfallback{#1}{##1}}% + \def\btxprintmonthyearnum##1##2{##1/##2}% \def\btxkeywordlanguage##1{{\protect\selectlanguage{#1}##1}}% \ifbbbblanguagenames \def\btxlanguagenameamerican{\protect\foreignlanguage{#1}{angl\`es}}% diff --git a/Master/texmf-dist/tex/latex/babelbib/danish.bdf b/Master/texmf-dist/tex/latex/babelbib/danish.bdf index 801cb15329a..ee2c6933df5 100644 --- a/Master/texmf-dist/tex/latex/babelbib/danish.bdf +++ b/Master/texmf-dist/tex/latex/babelbib/danish.bdf @@ -18,7 +18,7 @@ %% h.harders@tu-bs.de %% \ProvidesFile{danish.bdf} - [2009/06/18 v1.27 babelbib: multilingual bibliographies (HH)] + [2009/10/10 v1.29 babelbib: multilingual bibliographies (HH)] \newcommand\bibsdanish[1][danish]{% \def\biblanguagename{#1}% \def\btxetalshort##1{\protect\foreignlanguage{#1}{et~al##1{}}}% @@ -101,6 +101,7 @@ \def\btxfnamespacelong{ }% \def\btxnumeralshort##1{\btxnumeralfallback{#1}{##1}}% \def\btxnumerallong##1{\btxnumeralfallback{#1}{##1}}% + \def\btxprintmonthyearnum##1##2{##1/##2}% \def\btxkeywordlanguage##1{{\protect\selectlanguage{#1}##1}}% \ifbbbblanguagenames \def\btxlanguagenameamerican{\protect\foreignlanguage{#1}{engelsk}}% diff --git a/Master/texmf-dist/tex/latex/babelbib/dutch.bdf b/Master/texmf-dist/tex/latex/babelbib/dutch.bdf index 8aa1211f69e..7c5d54e3e47 100644 --- a/Master/texmf-dist/tex/latex/babelbib/dutch.bdf +++ b/Master/texmf-dist/tex/latex/babelbib/dutch.bdf @@ -18,7 +18,7 @@ %% h.harders@tu-bs.de %% \ProvidesFile{dutch.bdf} - [2009/06/18 v1.27 babelbib: multilingual bibliographies (HH)] + [2009/10/10 v1.29 babelbib: multilingual bibliographies (HH)] \newcommand\bibsdutch[1][dutch]{% \def\biblanguagename{#1}% \def\btxetalshort##1{\protect\foreignlanguage{#1}{et~al##1{}}}% @@ -101,6 +101,7 @@ \def\btxfnamespacelong{ }% \def\btxnumeralshort##1{\btxnumeralfallback{#1}{##1}}% \def\btxnumerallong##1{\btxnumeralfallback{#1}{##1}}% + \def\btxprintmonthyearnum##1##2{##1/##2}% \def\btxkeywordlanguage##1{{\protect\selectlanguage{#1}##1}}% \ifbbbblanguagenames \def\btxlanguagenameamerican{\protect\foreignlanguage{#1}{engels}}% diff --git a/Master/texmf-dist/tex/latex/babelbib/english.bdf b/Master/texmf-dist/tex/latex/babelbib/english.bdf index 6efa2e166d5..2ac84d61cf2 100644 --- a/Master/texmf-dist/tex/latex/babelbib/english.bdf +++ b/Master/texmf-dist/tex/latex/babelbib/english.bdf @@ -18,7 +18,7 @@ %% h.harders@tu-bs.de %% \ProvidesFile{english.bdf} - [2009/06/18 v1.27 babelbib: multilingual bibliographies (HH)] + [2009/10/10 v1.29 babelbib: multilingual bibliographies (HH)] \makeatletter \@ifpackageloaded{french}{}{\newcommand\bibsenglish{}} \makeatother @@ -104,6 +104,7 @@ \def\btxfnamespacelong{ }% \def\btxnumeralshort##1{\btxnumeralenglish{#1}{##1}}% \def\btxnumerallong##1{\btxnumeralenglish{#1}{##1}}% + \def\btxprintmonthyearnum##1##2{##1/##2}% \def\btxkeywordlanguage##1{{\protect\selectlanguage{#1}##1}}% \ifbbbblanguagenames \def\btxlanguagenameamerican{\protect\foreignlanguage{#1}{english}}% diff --git a/Master/texmf-dist/tex/latex/babelbib/esperanto.bdf b/Master/texmf-dist/tex/latex/babelbib/esperanto.bdf index c1e7e255919..e991f8b1305 100644 --- a/Master/texmf-dist/tex/latex/babelbib/esperanto.bdf +++ b/Master/texmf-dist/tex/latex/babelbib/esperanto.bdf @@ -20,7 +20,7 @@ %% Language definitions for Esperanto by %% Taneli Huuskonen <huuskone@cc.helsinki.fi> \ProvidesFile{esperanto.bdf} - [2009/06/18 v1.27 babelbib: multilingual bibliographies (HH)] + [2009/10/10 v1.29 babelbib: multilingual bibliographies (HH)] \newcommand\bibsesperanto[1][esperanto]{% \def\biblanguagename{#1}% \def\btxetalshort##1{\protect\foreignlanguage{#1}{k~al##1{}}}% @@ -105,6 +105,7 @@ \def\btxfnamespacelong{ }% \def\btxnumeralshort##1{\btxnumeralfallback{#1}{##1}}% \def\btxnumerallong##1{\btxnumeralfallback{#1}{##1}}% + \def\btxprintmonthyearnum##1##2{##1/##2}% \def\btxkeywordlanguage##1{{\protect\selectlanguage{#1}##1}}% \ifbbbblanguagenames \def\btxlanguagenameamerican{\protect\foreignlanguage{#1}{angla}}% diff --git a/Master/texmf-dist/tex/latex/babelbib/finnish.bdf b/Master/texmf-dist/tex/latex/babelbib/finnish.bdf index 1be906674ad..5f000dd1e21 100644 --- a/Master/texmf-dist/tex/latex/babelbib/finnish.bdf +++ b/Master/texmf-dist/tex/latex/babelbib/finnish.bdf @@ -20,7 +20,7 @@ %% Language definitions for Finnish by %% Taneli Huuskonen <huuskone@cc.helsinki.fi> \ProvidesFile{finnish.bdf} - [2009/06/18 v1.27 babelbib: multilingual bibliographies (HH)] + [2009/10/10 v1.29 babelbib: multilingual bibliographies (HH)] \newcommand\bibsfinnish[1][finnish]{% \def\biblanguagename{#1}% \def\btxetalshort##1{\protect\foreignlanguage{#1}{et~al##1{}}}% @@ -103,6 +103,7 @@ \def\btxfnamespacelong{ }% \def\btxnumeralshort##1{\btxnumeralfallback{#1}{##1}}% \def\btxnumerallong##1{\btxnumeralfallback{#1}{##1}}% + \def\btxprintmonthyearnum##1##2{##1/##2}% \def\btxkeywordlanguage##1{{\protect\selectlanguage{#1}##1}}% \ifbbbblanguagenames \def\btxlanguagenameamerican{\protect\foreignlanguage{#1}{englanti}}% diff --git a/Master/texmf-dist/tex/latex/babelbib/french.bdf b/Master/texmf-dist/tex/latex/babelbib/french.bdf index 7f0af8352f5..d4d7a86662e 100644 --- a/Master/texmf-dist/tex/latex/babelbib/french.bdf +++ b/Master/texmf-dist/tex/latex/babelbib/french.bdf @@ -18,7 +18,7 @@ %% h.harders@tu-bs.de %% \ProvidesFile{french.bdf} - [2009/06/18 v1.27 babelbib: multilingual bibliographies (HH)] + [2009/10/10 v1.29 babelbib: multilingual bibliographies (HH)] \makeatletter \@ifpackageloaded{french}{}{\newcommand\bibsfrench{}} \makeatother @@ -106,6 +106,7 @@ \def\btxfnamespacelong{ }% \def\btxnumeralshort##1{\btxnumeralfrench{#1}{##1}}% \def\btxnumerallong##1{\btxnumeralfrench{#1}{##1}}% + \def\btxprintmonthyearnum##1##2{##1/##2}% \def\btxkeywordlanguage##1{{\protect\selectlanguage{#1}##1}}% \ifbbbblanguagenames \def\btxlanguagenameamerican{\protect\foreignlanguage{#1}{anglais}}% diff --git a/Master/texmf-dist/tex/latex/babelbib/galician.bdf b/Master/texmf-dist/tex/latex/babelbib/galician.bdf index 71b820adbc0..4d750a31ab8 100644 --- a/Master/texmf-dist/tex/latex/babelbib/galician.bdf +++ b/Master/texmf-dist/tex/latex/babelbib/galician.bdf @@ -20,7 +20,7 @@ %% Language definitions for Galician by %% Miguel Rodr{\'\i}guez Penabad <penabad@udc.es> \ProvidesFile{galician.bdf} - [2009/06/18 v1.27 babelbib: multilingual bibliographies (HH)] + [2009/10/10 v1.29 babelbib: multilingual bibliographies (HH)] \newcommand\bibsgalician[1][galician]{% \def\biblanguagename{#1}% \def\btxetalshort##1{\protect\foreignlanguage{#1}{e~cols##1{}}}% @@ -106,6 +106,7 @@ \def\btxnumeralshort##1{\protect\foreignlanguage{#1}{% \ifnumber{##1}{##1\textsuperscript{a}}{##1}}}% \def\btxnumerallong##1{\btxnumeralshort{##1}}% + \def\btxprintmonthyearnum##1##2{##1/##2}% \def\btxkeywordlanguage##1{{\protect\selectlanguage{#1}##1}}% \ifbbbblanguagenames \def\btxlanguagenameamerican{\protect\foreignlanguage{#1}{ingl\'es}}% diff --git a/Master/texmf-dist/tex/latex/babelbib/german.bdf b/Master/texmf-dist/tex/latex/babelbib/german.bdf index 49e6de1ddb2..e8778805ece 100644 --- a/Master/texmf-dist/tex/latex/babelbib/german.bdf +++ b/Master/texmf-dist/tex/latex/babelbib/german.bdf @@ -18,7 +18,7 @@ %% h.harders@tu-bs.de %% \ProvidesFile{german.bdf} - [2009/06/18 v1.27 babelbib: multilingual bibliographies (HH)] + [2009/10/10 v1.29 babelbib: multilingual bibliographies (HH)] \newcommand\bibsgerman[1][german]{% \def\biblanguagename{#1}% \def\btxetalshort##1{\protect\foreignlanguage{#1}{et~al##1{}}}% @@ -103,6 +103,7 @@ \def\btxfnamespacelong{ }% \def\btxnumeralshort##1{\btxnumeraldot{#1}{##1}}% \def\btxnumerallong##1{\btxnumeraldot{#1}{##1}}% + \def\btxprintmonthyearnum##1##2{##1/##2}% \def\btxkeywordlanguage##1{{\protect\selectlanguage{#1}##1}}% \ifbbbblanguagenames \def\btxlanguagenameamerican{\protect\foreignlanguage{#1}{englisch}}% diff --git a/Master/texmf-dist/tex/latex/babelbib/greek.bdf b/Master/texmf-dist/tex/latex/babelbib/greek.bdf index 6a268380dfd..ed784381410 100644 --- a/Master/texmf-dist/tex/latex/babelbib/greek.bdf +++ b/Master/texmf-dist/tex/latex/babelbib/greek.bdf @@ -20,7 +20,7 @@ \ProvidesFile{greek.bdf} %% Language definitions for Greek by %% Prokopis Prokopidis <prokopis@ilsp.gr> - [2009/06/18 v1.27 babelbib: multilingual bibliographies (HH)] + [2009/10/10 v1.29 babelbib: multilingual bibliographies (HH)] \newcommand\bibsgreek[1][greek]{% \def\biblanguagename{#1}% \def\btxetalshort##1{\protect\foreignlanguage{#1}{k.'a##1{}}}% @@ -107,6 +107,7 @@ \ifcase##1 ##1h\or pr'wth\or de'uterh\or tr'ith\or t'etarth% \or p'empth\or 'ekth\or 'ebdomh\or 'ogdoh\or 'enath\else ##1h\fi }{##1}}}% + \def\btxprintmonthyearnum##1##2{##1/##2}% \def\btxkeywordlanguage##1{{\protect\selectlanguage{#1}##1}}% \ifbbbblanguagenames \def\btxlanguagenameamerican{\protect\foreignlanguage{#1}{agglik'a}}% diff --git a/Master/texmf-dist/tex/latex/babelbib/italian.bdf b/Master/texmf-dist/tex/latex/babelbib/italian.bdf index 410541b10fc..a79377e4433 100644 --- a/Master/texmf-dist/tex/latex/babelbib/italian.bdf +++ b/Master/texmf-dist/tex/latex/babelbib/italian.bdf @@ -18,7 +18,7 @@ %% h.harders@tu-bs.de %% \ProvidesFile{italian.bdf} - [2009/06/18 v1.27 babelbib: multilingual bibliographies (HH)] + [2009/10/10 v1.29 babelbib: multilingual bibliographies (HH)] \newcommand\bibsitalian[1][italian]{% \def\biblanguagename{#1}% \def\btxetalshort##1{\protect\foreignlanguage{#1}{et~al##1{}}}% @@ -101,6 +101,7 @@ \def\btxfnamespacelong{ }% \def\btxnumeralshort##1{\btxnumeralfallback{#1}{##1}}% \def\btxnumerallong##1{\btxnumeralfallback{#1}{##1}}% + \def\btxprintmonthyearnum##1##2{##1/##2}% \def\btxkeywordlanguage##1{{\protect\selectlanguage{#1}##1}}% \ifbbbblanguagenames \def\btxlanguagenameamerican{\protect\foreignlanguage{#1}{inglese}}% diff --git a/Master/texmf-dist/tex/latex/babelbib/norsk.bdf b/Master/texmf-dist/tex/latex/babelbib/norsk.bdf index 325cba5d6b1..2912d5a6ca1 100644 --- a/Master/texmf-dist/tex/latex/babelbib/norsk.bdf +++ b/Master/texmf-dist/tex/latex/babelbib/norsk.bdf @@ -20,7 +20,7 @@ %% Language definitions for Norwegian by %% Hans Fredrik Nordhaug <hansfn@mi.uib.no> \ProvidesFile{norsk.bdf} - [2009/06/18 v1.27 babelbib: multilingual bibliographies (HH)] + [2009/10/10 v1.29 babelbib: multilingual bibliographies (HH)] \newcommand\bibsnorsk[1][norsk]{% \def\biblanguagename{#1}% \def\btxetalshort##1{\protect\foreignlanguage{#1}{et~al##1{}}}% @@ -103,6 +103,7 @@ \def\btxfnamespacelong{ }% \def\btxnumeralshort##1{\btxnumeralfallback{#1}{##1}}% \def\btxnumerallong##1{\btxnumeralfallback{#1}{##1}}% + \def\btxprintmonthyearnum##1##2{##1/##2}% \def\btxkeywordlanguage##1{{\protect\selectlanguage{#1}##1}}% \ifbbbblanguagenames \def\btxlanguagenameamerican{\protect\foreignlanguage{#1}{engelsk}}% diff --git a/Master/texmf-dist/tex/latex/babelbib/portuguese.bdf b/Master/texmf-dist/tex/latex/babelbib/portuguese.bdf index dc65059cbfc..943db88eb33 100644 --- a/Master/texmf-dist/tex/latex/babelbib/portuguese.bdf +++ b/Master/texmf-dist/tex/latex/babelbib/portuguese.bdf @@ -20,7 +20,7 @@ %% Language definitions for Portuguese by %% Jos\'e Carlos Santos <jcsantos@fc.up.pt> \ProvidesFile{portuguese.bdf} - [2009/06/18 v1.27 babelbib: multilingual bibliographies (HH)] + [2009/10/10 v1.29 babelbib: multilingual bibliographies (HH)] \newcommand\bibsportuguese[1][portuguese]{% \def\biblanguagename{#1}% \def\btxetalshort##1{\protect\foreignlanguage{#1}{et~al##1{}}}% @@ -70,7 +70,7 @@ \def\btxmonjanshort##1{\protect\foreignlanguage{#1}{Jan##1{}}}% \def\btxmonfebshort##1{\protect\foreignlanguage{#1}{Fev##1{}}}% \def\btxmonmarshort##1{\protect\foreignlanguage{#1}{Mar##1{}}}% - \def\btxmonaprshort##1{\protect\foreignlanguage{#1}{Apr##1{}}}% + \def\btxmonaprshort##1{\protect\foreignlanguage{#1}{Abr##1{}}}% \def\btxmonmayshort##1{\protect\foreignlanguage{#1}{Maio}}% \def\btxmonjunshort##1{\protect\foreignlanguage{#1}{Jun##1{}}}% \def\btxmonjulshort##1{\protect\foreignlanguage{#1}{Jul##1{}}}% @@ -105,7 +105,8 @@ \def\btxfnamespacelong{ }% \def\btxnumeralshort##1{\protect\foreignlanguage{#1}{% \ifnumber{##1}{##1\textsuperscript{\underline a}}{##1}}}% - \def\btxnumerallong##1{\btxnumeralshort{#1}{##1}}% + \def\btxnumerallong##1{\btxnumeralshort{##1}}% + \def\btxprintmonthyearnum##1##2{##1/##2}% \def\btxkeywordlanguage##1{{\protect\selectlanguage{#1}##1}}% \ifbbbblanguagenames \def\btxlanguagenameamerican{\protect\foreignlanguage{#1}{ingl\^es}}% @@ -172,8 +173,8 @@ \def\btxmonjanshort##1{\protect\foreignlanguage{#1}{jan##1{}}}% \def\btxmonfebshort##1{\protect\foreignlanguage{#1}{fev##1{}}}% \def\btxmonmarshort##1{\protect\foreignlanguage{#1}{mar##1{}}}% - \def\btxmonaprshort##1{\protect\foreignlanguage{#1}{apr##1{}}}% - \def\btxmonmayshort##1{\protect\foreignlanguage{#1}{maio}}% + \def\btxmonaprshort##1{\protect\foreignlanguage{#1}{abr##1{}}}% + \def\btxmonmayshort##1{\protect\foreignlanguage{#1}{mai##1{}}}% \def\btxmonjunshort##1{\protect\foreignlanguage{#1}{jun##1{}}}% \def\btxmonjulshort##1{\protect\foreignlanguage{#1}{jul##1{}}}% \def\btxmonaugshort##1{\protect\foreignlanguage{#1}{ago##1{}}}% @@ -181,6 +182,11 @@ \def\btxmonoctshort##1{\protect\foreignlanguage{#1}{out##1{}}}% \def\btxmonnovshort##1{\protect\foreignlanguage{#1}{nov##1{}}}% \def\btxmondecshort##1{\protect\foreignlanguage{#1}{dez##1{}}}% + \def\btxpageshort##1{\protect\foreignlanguage{#1}{p##1{}}}% + \def\btxpagesshort##1{\protect\foreignlanguage{#1}{pp##1{}}}% + \def\Btxpageshort##1{\protect\foreignlanguage{#1}{P##1{}}}% + \def\Btxpagesshort##1{\protect\foreignlanguage{#1}{Pp##1{}}}% + \def\btxurldatecomment##1{\protect\foreignlanguage{#1}{, acesso em ##1}}% } \AtBeginDocument{% \ifbbbbfixlanguage diff --git a/Master/texmf-dist/tex/latex/babelbib/russian.bdf b/Master/texmf-dist/tex/latex/babelbib/russian.bdf index 5255023290e..c56a66685e8 100644 --- a/Master/texmf-dist/tex/latex/babelbib/russian.bdf +++ b/Master/texmf-dist/tex/latex/babelbib/russian.bdf @@ -20,7 +20,7 @@ %% Language definitions for Russian by %% ... (can't find the information. If it was you please tell me!) \ProvidesFile{russian.bdf} - [2009/06/18 v1.27 babelbib: multilingual bibliographies (HH)] + [2009/10/10 v1.29 babelbib: multilingual bibliographies (HH)] \newcommand\bibsrussian[1][russian]{% \def\biblanguagename{#1}% \def\btxetalshort##1{\protect\foreignlanguage{#1}{\IeC {\cyri }~\IeC @@ -201,6 +201,7 @@ \def\btxfnamespacelong{ }% \def\btxnumeralshort##1{\btxnumeralfallback{#1}{##1}}% \def\btxnumerallong##1{\btxnumeralfallback{#1}{##1}}% + \def\btxprintmonthyearnum##1##2{##1/##2}% \def\btxkeywordlanguage##1{{\protect\selectlanguage{#1}##1}}% \ifbbbblanguagenames \def\btxlanguagenameamerican{\protect\foreignlanguage{#1}{\IeC diff --git a/Master/texmf-dist/tex/latex/babelbib/spanish.bdf b/Master/texmf-dist/tex/latex/babelbib/spanish.bdf index 6f7d300538c..81678888687 100644 --- a/Master/texmf-dist/tex/latex/babelbib/spanish.bdf +++ b/Master/texmf-dist/tex/latex/babelbib/spanish.bdf @@ -20,7 +20,7 @@ %% Language definitions for Spanish by %% V{\'\i}ctor Lua{\~n}a <victor@fluor.quimica.uniovi.es> \ProvidesFile{spanish.bdf} - [2009/06/18 v1.27 babelbib: multilingual bibliographies (HH)] + [2009/10/10 v1.29 babelbib: multilingual bibliographies (HH)] \newcommand\bibsspanish[1][spanish]{% \def\biblanguagename{#1}% \def\btxetalshort##1{\protect\foreignlanguage{#1}{y~cols##1{}}}% @@ -66,7 +66,7 @@ \def\btxmonseplong##1{\protect\foreignlanguage{#1}{Septiembre}}% \def\btxmonoctlong##1{\protect\foreignlanguage{#1}{Octubre}}% \def\btxmonnovlong##1{\protect\foreignlanguage{#1}{Noviembre}}% - \def\btxmondeclong##1{\protect\foreignlanguage{#1}{Deciembre}}% + \def\btxmondeclong##1{\protect\foreignlanguage{#1}{Diciembre}}% \def\btxmonjanshort##1{\protect\foreignlanguage{#1}{Ene##1{}}}% \def\btxmonfebshort##1{\protect\foreignlanguage{#1}{Feb##1{}}}% \def\btxmonmarshort##1{\protect\foreignlanguage{#1}{Mar##1{}}}% @@ -106,6 +106,7 @@ \def\btxnumeralshort##1{\protect\foreignlanguage{#1}{% \ifnumber{##1}{##1\textsuperscript{\underline a}}{##1}}}% \def\btxnumerallong##1{\btxnumeralshort{#1}{##1}}% + \def\btxprintmonthyearnum##1##2{##1/##2}% \def\btxkeywordlanguage##1{{\protect\selectlanguage{#1}##1}}% \ifbbbblanguagenames \def\btxlanguagenameamerican{\protect\foreignlanguage{#1}{ingl\'es}}% diff --git a/Master/texmf-dist/tex/latex/babelbib/swedish.bdf b/Master/texmf-dist/tex/latex/babelbib/swedish.bdf index 8dbb249e6d5..032e72ca029 100644 --- a/Master/texmf-dist/tex/latex/babelbib/swedish.bdf +++ b/Master/texmf-dist/tex/latex/babelbib/swedish.bdf @@ -20,7 +20,7 @@ %% Language definitions for Swedish by %% Hans Fredrik Nordhaug <hansfn@mi.uib.no> \ProvidesFile{swedish.bdf} - [2009/06/18 v1.27 babelbib: multilingual bibliographies (HH)] + [2009/10/10 v1.29 babelbib: multilingual bibliographies (HH)] \newcommand\bibsswedish[1][swedish]{% \def\biblanguagename{#1}% \def\btxetalshort##1{\protect\foreignlanguage{#1}{et~al##1{}}}% @@ -105,6 +105,7 @@ \def\btxfnamespacelong{ }% \def\btxnumeralshort##1{\btxnumeralfallback{#1}{##1}}% \def\btxnumerallong##1{\btxnumeralfallback{#1}{##1}}% + \def\btxprintmonthyearnum##1##2{##1/##2}% \def\btxkeywordlanguage##1{{\protect\selectlanguage{#1}##1}}% \ifbbbblanguagenames \def\btxlanguagenameamerican{\protect\foreignlanguage{#1}{engelska}}% |