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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
|
\documentclass[spanish,ngerman,frenchb,greek,portuguese,brazilian,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,datenumeric,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]{}
%\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
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}
\ifnumber{3}{3/2009}{März 2009}
\ifnumber{März}{3/2009}{März 2009}
\end{document}
|