1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
|
\documentclass[spanish,ngerman,frenchb,greek,english]{article}
%\documentclass[spanish,ngerman,english,frenchb]{article}
%\documentclass[spanish,frenchb,english,ngerman]{article}
%\documentclass[frenchb,english,ngerman,spanish]{article}
\usepackage[latin1]{inputenc}
\usepackage{url}
\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]
%% force a fall-back language other than the document's language
\setbtxfallbacklanguage{ngerman}
%% Switch off to print ISBNs and ISSNs:
\btxprintISBN{false}
\btxprintISSN{false}
%% Auto format date strings in 'urldate'
\IfFileExists{isodate.sty}{%
\usepackage[short]{isodate}
\setbibliographyfont{urldate}{\printdate}
}{\typeout{Package isodate not available. Skipping that functionality}}
%% Change font for some parts of the bibliography:
%\setbibliographyfont{name}{\textsc}
%\setbibliographyfont{lastname}{\textsc}
%\setbibliographyfont{title}{\textbf}
\setbibliographyfont{jtitle}{}
%\setbibliographyfont{etal}{}
%\setbibliographyfont{volume}{\textsc}
\setbibliographyfont{journal}{\emph}
\setbibliographyfont{numeral}{\textsuperscript}
%% Change language for bibliography when option `fixlanguage' is chosen:
%\selectbiblanguage{ngerman}
%% Change or add keywords to specific languages:
%\declarebtxcommands{english}{%
% \def\btxphdthesis#1{\foreignlanguage{english}{Ph.D.\ thesis}}%
%}
%\declarebtxcommands{ngerman}{%
% \def\btxphdthesis#1{\foreignlanguage{ngerman}{Doktorarbeit}}%
%}
\declarebtxcommands{english}{%
\def\btxfnamespaceshort{\,}%
\def\btxeditionnumerallong#1{%
\ifnumber{#1}{%
\ifcase#1 0\or first\or second\or third\or forth\or fifth\or
sixth\or seventh\or eighth\or nineth\or tenth\else
\btxeditionnumeralenglish{english}{#1}%
\fi}{#1}}%
% \def\btxeditionnumerallong#1{\btxeditionnumeralenglish{english}{#1}}%
\def\btxurldatecomment#1{ [#1]}%
}
%% Use the next line to avoid the babamspl style to print out the
%% language names:
% \newcommand\btxprintamslanguage[1]{}
\begin{document}
If you change \verb|\usepackage[languagenames,fixlanguage]{babelbib}| to
\verb|\usepackage[languagenames]{babelbib}|, the
bibliography will change the language citation-dependent.
Then, an error will appear at citation in a language that is not yet
available.
This is normal and can be avoided by helping me to add that language.
You may change the \verb|\bibliographystyle| line to test all styles.
There are most of the available commands to change anything in the
source code, but commented out.
Remove the \%\ in order to see the effects.
\nocite*
%% Choose one BibTeX style:
%\bibliographystyle{plain}
%\bibliographystyle{bababbrv}
\bibliographystyle{bababbrv-lf}
%\bibliographystyle{bababbrv-fl}
%\bibliographystyle{babplain}
%\bibliographystyle{babplain-lf}
%\bibliographystyle{babplain-fl}
%\bibliographystyle{babalpha}
%\bibliographystyle{babunsrt}
%\bibliographystyle{babamspl}
\bibliography{babelbibtest}
\end{document}
|