summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/babelbib/babelbib.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/babelbib/babelbib.dtx')
-rw-r--r--Master/texmf-dist/source/latex/babelbib/babelbib.dtx1007
1 files changed, 919 insertions, 88 deletions
diff --git a/Master/texmf-dist/source/latex/babelbib/babelbib.dtx b/Master/texmf-dist/source/latex/babelbib/babelbib.dtx
index 8ac31e748e2..f8316169145 100644
--- a/Master/texmf-dist/source/latex/babelbib/babelbib.dtx
+++ b/Master/texmf-dist/source/latex/babelbib/babelbib.dtx
@@ -1,5 +1,5 @@
% \iffalse meta comment
-% File: babelbib.dtx Copyright (C) 2003--2005 Harald Harders
+% File: babelbib.dtx Copyright (C) 2003--2009 Harald Harders
% \fi
%
% \iffalse
@@ -10,6 +10,7 @@
\usepackage[ngerman,english]{babel}
%\usepackage{url}
\usepackage{array}
+\usepackage{amsmath}
\usepackage{hyperref}
\IfFileExists{booktabs.sty}%
{\usepackage{booktabs}}%
@@ -37,8 +38,6 @@
\end@float
}
\makeatother
-\def\AmS{$\mathcal{A}$\kern-.1667em\lower.5ex\hbox
- {$\mathcal{M}$}\kern-.125em$\mathcal{S}$}
\EnableCrossrefs
\CodelineIndex
\DoNotIndex{\def,\edef,\let,\newcommand,\newenvironment,\newcounter}
@@ -46,7 +45,7 @@
\DoNotIndex{\bibs,\ifx,\else,\fi,\ ,\ae,\emph,\input}
\CodelineNumbered
\RecordChanges
-\CheckSum{8856}
+\CheckSum{12203}
\hyphenation{bib-lio-gra-phy}
\begin{document}
\DocInput{babelbib.dtx}
@@ -81,7 +80,7 @@
% \changes{1.11}{2005/06/12}{Avoid some additional line breaks in
% author and editor names}%
% \changes{1.11}{2005/06/12}{Switch ISBN and ISSN in bibliographies on
-% and off (does not work for \AmS\ style)}%
+% and off (does not work for \protect\AmS\ style)}%
% \changes{1.11}{2005/06/12}{Remove space after \cs{btxurlfont}
% because a linebreak between \cs{url} and the argument breaks
% \texttt{hyperref.sty} (which is a pity because this can lead to
@@ -111,6 +110,30 @@
% of journal articles}%
% \changes{1.20}{2005/11/13}{Fix a bug with additional spaces after
% names}%
+% \changes{1.21}{2005/11/20}{Fix problem when the first bibliography entry
+% is in an unknown language}%
+% \changes{1.22}{2006/01/02}{Remove space after \cs{btxurlfont} again
+% because a linebreak between \cs{url} and the argument breaks
+% \texttt{hyperref.sty}}%
+% \changes{1.23}{2006/08/18}{Fix bug in typesetting title of articles for
+% \texttt{babamspl.bst}}%
+% \changes{1.24}{2008/02/17}{Put \cs{btxISSN} and \cs{btxISBN} into an
+% \cs{mbox} to prevent them from being hyphenated}%
+% \changes{1.25}{2008/09/24}{Add font command for publisher}%
+% \changes{1.25}{2008/09/24}{Remove change of language in
+% alpha-numerical bib items because of occasional exceeded TeX memory}%
+% \changes{1.26}{2009/06/17}{Correct journal article title font in
+% \texttt{babamspl.bst}}%
+% \changes{1.26}{2009/06/17}{Linebreak added between url and urldate}%
+% \changes{1.26}{2009/06/17}{Added Galician and Bahasa languages}%
+% \changes{1.26}{2009/06/17}{Added French and Portuguese numerals}%
+% \changes{1.26}{2009/06/17}{Corrected Spanish numerals}%
+% \changes{1.26}{2009/06/17}{Removed comma before `and' in long lists
+% of authors in Portuguese and Swedish}%
+% \changes{1.27}{2009/06/19}{Capitalised month names in Poruguese but
+% not in Brazilian}%
+% \changes{1.27}{2009/06/19}{Fixed publisherfont in babamspl.bst}%
+% \changes{1.27}{2009/06/19}{Added Russian language}%
%
% \maketitle
% \begin{abstract}
@@ -124,11 +147,12 @@
% In addition, the package supports commands to change the typography
% of the bibliographies.
%
-% The current version supports Afrikaans, Catalan, Danish, Dutch,
+% The current version supports Afrikaans, Bahasa, Catalan, Danish, Dutch,
% English, Esperanto, Finnish, French,\footnote{Babelbib does not work
% with \texttt{frenchle} prior V5,987. Please update the frenchle
% package or use the native babel support for French, instead.}
-% German, Italian, Norwegian, Portuguese, Spanish, and Swedish.
+% Galician, German, Greek, Italian, Norwegian, Portuguese, Russian,
+% Spanish, and Swedish.
% Please help me to add more languages.
%
% Many of the standard and extended bibliography styles are available.
@@ -145,7 +169,7 @@
% \tableofcontents
%
% \section*{Copyright}
-% Copyright 2003--2005 Harald Harders.
+% Copyright 2003--2008 Harald Harders.
%
% This program can be redistributed and/or modified under the terms
% of the LaTeX Project Public License Distributed from CTAN
@@ -163,11 +187,12 @@
% or |ngerman.sty|), and it is written for \LaTeXe\ and does not work
% with plain \TeX.
%
-% The current version supports Afrikaans, Danish, Dutch, English,
-% Esperanto, Finnish, French,\footnote{Babelbib does not work with
-% \texttt{frenchle} prior V5,987. Please update the frenchle package
-% or use the native babel support for French, instead.}
-% German, Italian, Norwegian, Portuguese, Spanish, and Swedish.
+% The current version supports Afrikaans, Bahasa, Catalan, Danish, Dutch,
+% English, Esperanto, Finnish, French,\footnote{Babelbib does not work
+% with \texttt{frenchle} prior V5,987. Please update the frenchle
+% package or use the native babel support for French, instead.}
+% Galician, German, Greek, Italian, Norwegian, Portuguese, Russian,
+% Spanish, and Swedish.
%
% If you have used version 0.1 of this package:
% The mechanism to change fonts have changed, please read
@@ -383,6 +408,7 @@
% jtitle& Title of journal articles& \cs{emph}& \cs{emph}\\
% etal& ``\emph{et al.}''& \cs{emph}& \\
% journal& Journal name& & \\
+% publisher& Publisher name& & \\
% volume& Volume (journal)& & \cs{textbf} \\
% ISBN& ISBN& \cs{MakeUppercase}& \cs{MakeUppercase} \\
% ISSN& ISSN& \cs{MakeUppercase}& \cs{MakeUppercase} \\
@@ -635,7 +661,13 @@
% Daniel Flipo, \url{daniel.flipo@univ-lille1.fr} (French numerals);
% Ignacio Fern\'andez Galv\'an, \url{jellby@yahoo.com} (Spanish
% numerals);
-% Peter Bartke, \url{bartke@inf.fu-berlin.de} (idea of annote field).
+% Peter Bartke, \url{bartke@inf.fu-berlin.de} (idea of annote field);
+% Yanti Yulianti, \url{y_yanti@students.itb.ac.id} (Bahasa);
+% Miguel Rodr{\'\i}guez Penabad \url{penabad@udc.es} (Galician);
+% Jos\'e Carlos Santos \url{jcsantos@fc.up.pt} (Portuguese).
+%
+% Furthermore, I thank the person who provided Russian.
+% Unfortunately, I cannot find the name anymore.
%
%\begin{thebibliography}{1}
% \providebibliographyfont{name}{}%
@@ -686,6 +718,9 @@
%<afrikaans>%% Language definitions for Afrikaans by
%<afrikaans>%% Danie Els <dnjels@sun.ac.za>
%<afrikaans>\ProvidesFile{afrikaans.bdf}
+%<bahasa>%% Language definitions for Bahasa by
+%<bahasa>%% Yanti Yulianti <y_yanti@students.itb.ac.id>
+%<bahasa>\ProvidesFile{bahasa.bdf}
%<catalan>%% Language definitions for Catalan by
%<catalan>%% Robert Fuster <rfuster@imm.upv.es>
%<catalan>\ProvidesFile{catalan.bdf}
@@ -699,6 +734,9 @@
%<finnish>%% Taneli Huuskonen <huuskone@cc.helsinki.fi>
%<finnish>\ProvidesFile{finnish.bdf}
%<french>\ProvidesFile{french.bdf}
+%<galician>%% Language definitions for Galician by
+%<galician>%% Miguel Rodr{\'\i}guez Penabad <penabad@udc.es>
+%<galician>\ProvidesFile{galician.bdf}
%<german>\ProvidesFile{german.bdf}
%<greek>\ProvidesFile{greek.bdf}
%<greek>%% Language definitions for Greek by
@@ -710,7 +748,10 @@
%<portuguese>%% Language definitions for Portuguese by
%<portuguese>%% Jos\'e Carlos Santos <jcsantos@fc.up.pt>
%<portuguese>\ProvidesFile{portuguese.bdf}
-%<spanish>%% Language definitions for spanish by
+%<russian>%% Language definitions for Russian by
+%<russian>%% ... (can't find the information. If it was you please tell me!)
+%<russian>\ProvidesFile{russian.bdf}
+%<spanish>%% Language definitions for Spanish by
%<spanish>%% V{\'\i}ctor Lua{\~n}a <victor@fluor.quimica.uniovi.es>
%<spanish>\ProvidesFile{spanish.bdf}
%<swedish>%% Language definitions for Swedish by
@@ -719,8 +760,8 @@
% \end{macrocode}
% Version information unique for all generated files:
% \begin{macrocode}
-%<latex> [2005/11/13 v1.20 babelbib: multilingual bibliographies (HH)]
-%<bst>%% 2005/11/13 v1.20 babelbib: multilingual bibliographies (HH)
+%<latex> [2009/06/18 v1.27 babelbib: multilingual bibliographies (HH)]
+%<bst>%% 2009/06/18 v1.27 babelbib: multilingual bibliographies (HH)
% \end{macrocode}
%
% \subsection{The package itself}
@@ -947,6 +988,7 @@
\fi
}%
}{%
+ \csname extras#1\endcsname
\selectlanguage{#1}%
}%
}
@@ -1175,6 +1217,8 @@
\let\btxetalfont=\@empty
\newcommand\btxjournalfont{}
\let\btxjournalfont=\@empty
+\newcommand\btxpublisherfont{}
+\let\btxpublisherfont=\@empty
\newcommand\btxvolumefont{}
\let\btxvolumefont=\@empty
\newcommand\btxISBNfont{}
@@ -1378,6 +1422,7 @@
\inputbdf{afrikaans}{afrikaans}
\inputbdf{american}{english}
\inputbdf{austrian}{german}
+ \inputbdf{bahasa}{bahasa}
\inputbdf{brazil}{portuguese}
\inputbdf{brazilian}{portuguese}
\inputbdf{british}{english}
@@ -1392,6 +1437,7 @@
\inputbdf{francais}{french}
\inputbdf{french}{french}
\inputbdf{frenchb}{french}
+ \inputbdf{galician}{galician}
\inputbdf{german}{german}
\inputbdf{germanb}{german}
\inputbdf{greek}{greek}
@@ -1402,6 +1448,8 @@
\inputbdf{ngerman}{german}
\inputbdf{portuges}{portuguese}
\inputbdf{portuguese}{portuguese}
+ \inputbdf{russian}{russian}
+ \inputbdf{russianb}{russian}
\inputbdf{spanish}{spanish}
\inputbdf{swedish}{swedish}
\inputbdf{UKenglish}{english}
@@ -1699,6 +1747,164 @@
%</german>
% \end{macrocode}
%
+% \subsubsection{Galician}
+% \changes{1.26}{2009/06/17}{Added Galician language}%
+% \begin{macrocode}
+%<*galician>
+% \end{macrocode}
+%
+% The language definition for Galician was provided by Miguel
+% Rodr{\'\i}guez Penabad.
+%
+% \begin{macro}{\bibsgalician}
+% Bibliographic commands for Galician.
+% \begin{macrocode}
+\newcommand\bibsgalician[1][galician]{%
+ \def\biblanguagename{#1}%
+ \def\btxetalshort##1{\protect\foreignlanguage{#1}{e~cols##1{}}}%
+ \def\btxetallong##1{\protect\foreignlanguage{#1}{e~colaboradores}}%
+ \def\btxandshort##1{\protect\foreignlanguage{#1}{e}}%
+ \def\btxandlong##1{\protect\foreignlanguage{#1}{e}}%
+ \def\btxandcomma##1{}%
+ \def\btxinlong##1{\protect\foreignlanguage{#1}{en}}%
+ \def\btxinshort##1{\protect\foreignlanguage{#1}{en}}%
+ \def\btxofseriesshort##1{\protect\foreignlanguage{#1}{de}}%
+ \def\btxinseriesshort##1{\protect\foreignlanguage{#1}{en}}%
+ \def\btxofserieslong##1{\protect\foreignlanguage{#1}{de}}%
+ \def\btxinserieslong##1{\protect\foreignlanguage{#1}{en}}%
+ \def\btxeditorshort##1{\protect\foreignlanguage{#1}{ed##1{}}}%
+ \def\btxeditorlong##1{\protect\foreignlanguage{#1}{editor}}%
+ \def\btxeditorsshort##1{\protect\foreignlanguage{#1}{eds##1{}}}%
+ \def\btxeditorslong##1{\protect\foreignlanguage{#1}{editores}}%
+ \def\btxvolumeshort##1{\protect\foreignlanguage{#1}{vol##1{}}}%
+ \def\btxvolumelong##1{\protect\foreignlanguage{#1}{volume}}%
+ \def\btxnumbershort##1{\protect\foreignlanguage{#1}{%
+ n\textsuperscript{\underline{o}}}}%
+ \def\btxnumberlong##1{\protect\foreignlanguage{#1}{n\'umero}}%
+ \def\btxeditionshort##1{\protect\foreignlanguage{#1}{ed##1{}}}%
+ \def\btxeditionlong##1{\protect\foreignlanguage{#1}{edici\'{o}n}}%
+ \def\btxchaptershort##1{\protect\foreignlanguage{#1}{cap##1{}}}%
+ \def\btxchapterlong##1{\protect\foreignlanguage{#1}{cap{\'\i}tulo}}%
+ \def\btxpageshort##1{\protect\foreignlanguage{#1}{p\'ax##1{}}}%
+ \def\btxpagelong##1{\protect\foreignlanguage{#1}{p\'axina}}%
+ \def\btxpagesshort##1{\protect\foreignlanguage{#1}{p\'axs##1{}}}%
+ \def\btxpageslong##1{\protect\foreignlanguage{#1}{p\'axinas}}%
+ \def\btxmastthesis##1{\protect\foreignlanguage{#1}{Tese de Licenciatura}}%
+ \def\btxphdthesis##1{\protect\foreignlanguage{#1}{Tese de Doutoramento}}%
+ \def\btxtechrepshort##1{\protect\foreignlanguage{#1}{Informe t\'ecnico##1{}}}%
+ \def\btxtechreplong##1{\protect\foreignlanguage{#1}{Informe t\'ecnico}}%
+ \def\btxmonjanlong##1{\protect\foreignlanguage{#1}{Xaneiro}}%
+ \def\btxmonfeblong##1{\protect\foreignlanguage{#1}{Febreiro}}%
+ \def\btxmonmarlong##1{\protect\foreignlanguage{#1}{Marzo}}%
+ \def\btxmonaprlong##1{\protect\foreignlanguage{#1}{Abril}}%
+ \def\btxmonmaylong##1{\protect\foreignlanguage{#1}{Maio}}%
+ \def\btxmonjunlong##1{\protect\foreignlanguage{#1}{Xu\~no}}%
+ \def\btxmonjullong##1{\protect\foreignlanguage{#1}{Xullo}}%
+ \def\btxmonauglong##1{\protect\foreignlanguage{#1}{Agosto}}%
+ \def\btxmonseplong##1{\protect\foreignlanguage{#1}{Setembro}}%
+ \def\btxmonoctlong##1{\protect\foreignlanguage{#1}{Outubro}}%
+ \def\btxmonnovlong##1{\protect\foreignlanguage{#1}{Novembro}}%
+ \def\btxmondeclong##1{\protect\foreignlanguage{#1}{Decembro}}%
+ \def\btxmonjanshort##1{\protect\foreignlanguage{#1}{Xan##1{}}}%
+ \def\btxmonfebshort##1{\protect\foreignlanguage{#1}{Feb##1{}}}%
+ \def\btxmonmarshort##1{\protect\foreignlanguage{#1}{Mar##1{}}}%
+ \def\btxmonaprshort##1{\protect\foreignlanguage{#1}{Abr##1{}}}%
+ \def\btxmonmayshort##1{\protect\foreignlanguage{#1}{Mai}}%
+ \def\btxmonjunshort##1{\protect\foreignlanguage{#1}{Xu\~n}}%
+ \def\btxmonjulshort##1{\protect\foreignlanguage{#1}{Xul}}%
+ \def\btxmonaugshort##1{\protect\foreignlanguage{#1}{Ago##1{}}}%
+ \def\btxmonsepshort##1{\protect\foreignlanguage{#1}{Set##1{}}}%
+ \def\btxmonoctshort##1{\protect\foreignlanguage{#1}{Out##1{}}}%
+ \def\btxmonnovshort##1{\protect\foreignlanguage{#1}{Nov##1{}}}%
+ \def\btxmondecshort##1{\protect\foreignlanguage{#1}{Dec##1{}}}%
+ \def\Btxinlong##1{\protect\foreignlanguage{#1}{En}}%
+ \def\Btxinshort##1{\protect\foreignlanguage{#1}{En}}%
+ \def\Btxeditorshort##1{\protect\foreignlanguage{#1}{Ed##1{}}}%
+ \def\Btxeditorlong##1{\protect\foreignlanguage{#1}{Editor}}%
+ \def\Btxeditorsshort##1{\protect\foreignlanguage{#1}{Ed##1{}}}%
+ \def\Btxeditorslong##1{\protect\foreignlanguage{#1}{Editores}}%
+ \def\Btxvolumeshort##1{\protect\foreignlanguage{#1}{Vol##1{}}}%
+ \def\Btxvolumelong##1{\protect\foreignlanguage{#1}{Volume}}%
+ \def\Btxnumbershort##1{\protect\foreignlanguage{#1}{%
+ N\textsuperscript{\underline{o}}}}%
+ \def\Btxnumberlong##1{\protect\foreignlanguage{#1}{N\'umero}}%
+ \def\Btxeditionshort##1{\protect\foreignlanguage{#1}{Ed##1{}}}%
+ \def\Btxeditionlong##1{\protect\foreignlanguage{#1}{Edici\'on}}%
+ \def\Btxchaptershort##1{\protect\foreignlanguage{#1}{Cap##1{}}}%
+ \def\Btxchapterlong##1{\protect\foreignlanguage{#1}{Cap\'\itulo}}%
+ \def\Btxpageshort##1{\protect\foreignlanguage{#1}{P\'ax##1{}}}%
+ \def\Btxpagelong##1{\protect\foreignlanguage{#1}{P\'axina}}%
+ \def\Btxpagesshort##1{\protect\foreignlanguage{#1}{P\'axs##1{}}}%
+ \def\Btxpageslong##1{\protect\foreignlanguage{#1}{P\'axinas}}%
+ \def\Btxtechrepshort##1{\protect\foreignlanguage{#1}{Informe t\'ecnico}}%
+ \def\Btxtechreplong##1{\protect\foreignlanguage{#1}{Informe t\'ecnico}}%
+ \def\btxurldatecomment##1{\protect\foreignlanguage{#1}{, visitado o ##1}}%
+ \def\btxfnamespaceshort{\,}%
+ \def\btxfnamespacelong{ }%
+ \def\btxnumeralshort##1{\protect\foreignlanguage{#1}{%
+ \ifnumber{##1}{##1\textsuperscript{a}}{##1}}}%
+ \def\btxnumerallong##1{\btxnumeralshort{##1}}%
+ \def\btxkeywordlanguage##1{{\protect\selectlanguage{#1}##1}}%
+ \ifbbbblanguagenames
+ \def\btxlanguagenameamerican{\protect\foreignlanguage{#1}{ingl\'es}}%
+ \def\btxlanguagenameaustrian{\protect\foreignlanguage{#1}{alem\'an}}%
+ \def\btxlanguagenamebrazil{\protect\foreignlanguage{#1}{portugu\'es}}%
+ \def\btxlanguagenamebrazilian{\protect\foreignlanguage{#1}{portugu\'es}}%
+ \def\btxlanguagenamebritish{\protect\foreignlanguage{#1}{ingl\'es}}%
+ \def\btxlanguagenamebulgarian{\protect\foreignlanguage{#1}{b\'ulgaro}}%
+ \def\btxlanguagenamecanadian{\protect\foreignlanguage{#1}{ingl\'es}}%
+ \def\btxlanguagenamecanadien{\protect\foreignlanguage{#1}{franc\'es}}%
+ \def\btxlanguagenamecatalan{\protect\foreignlanguage{#1}{catal\'an}}%
+ \def\btxlanguagenamecroatian{\protect\foreignlanguage{#1}{croata}}%
+ \def\btxlanguagenameczech{\protect\foreignlanguage{#1}{checo}}%
+ \def\btxlanguagenamedanish{\protect\foreignlanguage{#1}{dan\'es}}%
+ \def\btxlanguagenamedutch{\protect\foreignlanguage{#1}{holand\'es}}%
+ \def\btxlanguagenameenglish{\protect\foreignlanguage{#1}{ingl\'es}}%
+ \def\btxlanguagenameesperanto{\protect\foreignlanguage{#1}{esperanto}}%
+ \def\btxlanguagenamefinnish{\protect\foreignlanguage{#1}{finland\'es}}%
+ \def\btxlanguagenamefrancais{\protect\foreignlanguage{#1}{franc\'es}}%
+ \def\btxlanguagenamefrench{\protect\foreignlanguage{#1}{franc\'es}}%
+ \def\btxlanguagenamefrenchb{\protect\foreignlanguage{#1}{franc\'es}}%
+ \def\btxlanguagenamegerman{\protect\foreignlanguage{#1}{alem\'an}}%
+ \def\btxlanguagenamegermanb{\protect\foreignlanguage{#1}{alem\'an}}%
+ \def\btxlanguagenamegreek{\protect\foreignlanguage{#1}{grego}}%
+ \def\btxlanguagenamehebrew{\protect\foreignlanguage{#1}{hebreo}}%
+ \def\btxlanguagenamehungarian{\protect\foreignlanguage{#1}{h\'ungaro}}%
+ \def\btxlanguagenameicelandic{\protect\foreignlanguage{#1}{island\'es}}%
+ \def\btxlanguagenameirish{\protect\foreignlanguage{#1}{irland\'es}}%
+ \def\btxlanguagenameitalian{\protect\foreignlanguage{#1}{italiano}}%
+ \def\btxlanguagenamelatin{\protect\foreignlanguage{#1}{lat\'\i n}}%
+ \def\btxlanguagenamenaustrian{\protect\foreignlanguage{#1}{alem\'an}}%
+ \def\btxlanguagenamengerman{\protect\foreignlanguage{#1}{alem\'an}}%
+ \def\btxlanguagenamenorsk{\protect\foreignlanguage{#1}{noruego}}%
+ \def\btxlanguagenamenynorsk{\protect\foreignlanguage{#1}{noruego}}%
+ \def\btxlanguagenamepolish{\protect\foreignlanguage{#1}{polaco}}%
+ \def\btxlanguagenameportuges{\protect\foreignlanguage{#1}{portugu\'es}}%
+ \def\btxlanguagenameportuguese{\protect\foreignlanguage{#1}{portugu\'es}}%
+ \def\btxlanguagenamerussian{\protect\foreignlanguage{#1}{ruso}}%
+ \def\btxlanguagenamescottish{\protect\foreignlanguage{#1}{escoc\'es}}%
+ \def\btxlanguagenameserbian{\protect\foreignlanguage{#1}{serbio}}%
+ \def\btxlanguagenamespanish{\protect\foreignlanguage{#1}{espa\~nol}}%
+ \def\btxlanguagenameswedish{\protect\foreignlanguage{#1}{sueco}}%
+ \def\btxlanguagenameturkish{\protect\foreignlanguage{#1}{turco}}%
+ \def\btxlanguagenameUKenglish{\protect\foreignlanguage{#1}{ingl\'es}}%
+ \def\btxlanguagenameUSenglish{\protect\foreignlanguage{#1}{ingl\'es}}%
+ \fi
+}
+% \end{macrocode}
+% \end{macro}
+% Append the definitions to the language-calling commands.
+% \begin{macrocode}
+\AtBeginDocument{%
+ \ifbbbbfixlanguage
+ \else
+ \bbbbaddto{galician}{bibsgalician}
+ \fi
+ \bbbbaddto{galician}{btxifchangecaseoff}
+}
+%</galician>
+% \end{macrocode}
+%
% \subsubsection{English}
% \begin{macrocode}
%<*english>
@@ -2475,9 +2681,8 @@
\def\btxurldatecomment##1{\protect\foreignlanguage{#1}{, visit\'e le ##1}}%
\def\btxfnamespaceshort{\,}%
\def\btxfnamespacelong{ }%
- \def\btxnumeralshort##1{\protect\foreignlanguage{#1}{%
- \ifnumber{##1}{##1"a}{##1}}}%
- \def\btxnumerallong##1{\btxnumeralshort{##1}}%
+ \def\btxnumeralshort##1{\btxnumeralfrench{#1}{##1}}%
+ \def\btxnumerallong##1{\btxnumeralfrench{#1}{##1}}%
\def\btxkeywordlanguage##1{{\protect\selectlanguage{#1}##1}}%
% \end{macrocode}
% Names of all known languages in the current language.
@@ -2557,6 +2762,30 @@
\bbbbaddto{canadien}{btxifchangecaseoff}
}
% \end{macrocode}
+% \begin{macro}{\btxnumeralfrench}
+% \begin{macrocode}
+\makeatletter
+\DeclareRobustCommand\btxnumeralfrench[2]{%
+ \foreignlanguage{#1}{%
+ \ifnumber{#2}{%
+ \expandafter\btx@parsenum#2\@empty\@empty\@empty
+ \btxnumeralfont{%
+ \ifx\btx@digitb\@empty
+ \ifcase\btx@digita \ieme\or \iere\else \ieme\fi
+ \else
+ \ifnum\btx@digita=1
+ th%
+ \else
+ \ifcase\btx@digitb \ieme\or \iere\else \ieme\fi
+ \fi
+ \fi
+ }%
+ }{#2}%
+ }%
+}
+\makeatother
+% \end{macrocode}
+% \end{macro}
% \changes{0.43}{2004/01/06}{Warn if using \texttt{french} language}%
% \changes{0.44}{2004/01/06}{Only warn if babel version is too old}%
% \changes{1.00}{2005/02/16}{Remove warning for old babel package with
@@ -2565,6 +2794,382 @@
%</french>
% \end{macrocode}
%
+% \subsubsection{Russian}
+% \begin{macrocode}
+%<*russian>
+% \end{macrocode}
+%
+% \begin{macro}{\bibsrussian}
+% Bibliographic commands for Russian.
+% \begin{macrocode}
+\newcommand\bibsrussian[1][russian]{%
+ \def\biblanguagename{#1}%
+ \def\btxetalshort##1{\protect\foreignlanguage{#1}{\IeC {\cyri }~\IeC
+ {\cyrd }\IeC {\cyrr }.##1{}}}%
+ \def\btxetallong##1{\protect\foreignlanguage{#1}{\IeC {\cyri }~\IeC
+ {\cyrd }\IeC {\cyrr }\IeC {\cyru }\IeC {\cyrg }\IeC {\cyri }\IeC
+ {\cyre }}}%
+ \def\btxandshort##1{\protect\foreignlanguage{#1}{\IeC {\cyri }}}%
+ \def\btxandlong##1{\protect\foreignlanguage{#1}{\IeC {\cyri }}}%
+ \def\btxandcomma##1{,}%
+ \def\btxinlong##1{\protect\foreignlanguage{#1}{\IeC {\cyrv }}}%
+ \def\btxinshort##1{\protect\foreignlanguage{#1}{\IeC {\cyrv }}}%
+ \def\btxofseriesshort##1{\protect\foreignlanguage{#1}{\IeC {\cyri
+ }\IeC {\cyrz }}}%
+ \def\btxinseriesshort##1{\protect\foreignlanguage{#1}{\IeC {\cyrv }}}%
+ \def\btxofserieslong##1{\protect\foreignlanguage{#1}{\IeC {\cyri
+ }\IeC {\cyrz }}}%
+ \def\btxinserieslong##1{\protect\foreignlanguage{#1}{\IeC {\cyrv }}}%
+ \def\btxeditorshort##1{\protect\foreignlanguage{#1}{\IeC {\cyrr
+ }\IeC {\cyre }\IeC {\cyrd }.##1{}}}%
+ \def\btxeditorlong##1{\protect\foreignlanguage{#1}{\IeC {\cyrr }\IeC
+ {\cyre }\IeC {\cyrd }\IeC {\cyra }\IeC {\cyrk }\IeC {\cyrt }\IeC
+ {\cyro }\IeC {\cyrr }}}%
+ \def\btxeditorsshort##1{\protect\foreignlanguage{#1}{\IeC {\cyrr
+ }\IeC {\cyre }\IeC {\cyrd }.##1{}}}%
+ \def\btxeditorslong##1{\protect\foreignlanguage{#1}{\IeC {\cyrr
+ }\IeC {\cyre }\IeC {\cyrd }\IeC {\cyra }\IeC {\cyrk }\IeC {\cyrt
+ }\IeC {\cyro }\IeC {\cyrr }\IeC {\cyrery }}}%
+ \def\btxvolumeshort##1{\protect\foreignlanguage{#1}{\IeC {\cyrt }.##1{}}}%
+ \def\btxvolumelong##1{\protect\foreignlanguage{#1}{\IeC {\cyrt }\IeC
+ {\cyro }\IeC {\cyrm }}}%
+ \def\btxnumbershort##1{\protect\foreignlanguage{#1}{%
+ n\textsuperscript{\underline{o}}}}%
+ \def\btxnumberlong##1{\protect\foreignlanguage{#1}{\IeC {\cyrn }\IeC
+ {\cyro }\IeC {\cyrm }\IeC {\cyre }\IeC {\cyrr }}}%
+ \def\btxeditionshort##1{\protect\foreignlanguage{#1}{\IeC {\cyrr
+ }\IeC {\cyre }\IeC {\cyrd }.##1{}}}%
+ \def\btxeditionlong##1{\protect\foreignlanguage{#1}{\IeC {\cyrr
+ }\IeC {\cyre }\IeC {\cyrd }\IeC {\cyra }\IeC {\cyrk }\IeC {\cyrc
+ }\IeC {\cyri }\IeC {\cyrya }}}%
+ \def\btxchaptershort##1{\protect\foreignlanguage{#1}{\IeC {\cyrg
+ }\IeC {\cyrl }.##1{}}}%
+ \def\btxchapterlong##1{\protect\foreignlanguage{#1}{\IeC {\cyrg
+ }\IeC {\cyrl }\IeC {\cyra }\IeC {\cyrv }\IeC {\cyra }}}%
+ \def\btxpageshort##1{\protect\foreignlanguage{#1}{\IeC {\cyrs }\IeC
+ {\cyrt }\IeC {\cyrr }.##1{}}}%
+ \def\btxpagelong##1{\protect\foreignlanguage{#1}{\IeC {\cyrs }\IeC
+ {\cyrt }\IeC {\cyrr }\IeC {\cyra }\IeC {\cyrn }\IeC {\cyri }\IeC
+ {\cyrc }\IeC {\cyra }}}%
+ \def\btxpagesshort##1{\protect\foreignlanguage{#1}{\IeC {\cyrs }\IeC
+ {\cyrt }\IeC {\cyrr }.##1{}}}%
+ \def\btxpageslong##1{\protect\foreignlanguage{#1}{\IeC {\cyrs }\IeC
+ {\cyrt }\IeC {\cyrr }\IeC {\cyra }\IeC {\cyrn }\IeC {\cyri }\IeC
+ {\cyrc }\IeC {\cyrery }}}%
+ \def\btxmastthesis##1{\protect\foreignlanguage{#1}{\IeC {\CYRD }\IeC
+ {\cyri }\IeC {\cyrp }\IeC {\cyrl }\IeC {\cyro }\IeC {\cyrm }
+ \IeC {\cyrm }\IeC {\cyra }\IeC {\cyrg }\IeC {\cyri }\IeC {\cyrs
+ }\IeC {\cyrt }\IeC {\cyrr }\IeC {\cyra }}}%
+ \def\btxphdthesis##1{\protect\foreignlanguage{#1}{\IeC {\CYRK }\IeC
+ {\cyra }\IeC {\cyrn }\IeC {\cyrd }\IeC {\cyri }\IeC {\cyrd }\IeC
+ {\cyra }\IeC {\cyrt }\IeC {\cyrs }\IeC {\cyrk }\IeC {\cyra }\IeC
+ {\cyrya } \IeC {\cyrd }\IeC {\cyri }\IeC {\cyrs }\IeC {\cyrs
+ }\IeC {\cyre }\IeC {\cyrr }\IeC {\cyrt }\IeC {\cyra }\IeC {\cyrc
+ }\IeC {\cyri }\IeC {\cyrya }}}%
+ \def\btxtechrepshort##1{\protect\foreignlanguage{#1}{\IeC {\cyrt
+ }\IeC {\cyre }\IeC {\cyrh }.\ \IeC {\cyro }\IeC {\cyrt }\IeC
+ {\cyrch }\IeC {\cyre }\IeC {\cyrt }##1{}}}%
+ \def\btxtechreplong##1{\protect\foreignlanguage{#1}{\IeC {\cyrt
+ }\IeC {\cyre }\IeC {\cyrh }\IeC {\cyrn }\IeC {\cyri }\IeC
+ {\cyrch }\IeC {\cyre }\IeC {\cyrs }\IeC {\cyrk }\IeC {\cyri
+ }\IeC {\cyrishrt } \IeC {\cyro }\IeC {\cyrt }\IeC {\cyrch }\IeC
+ {\cyre }\IeC {\cyrt }}}%
+ \def\btxmonjanlong##1{\protect\foreignlanguage{#1}{\IeC {\cyrya
+ }\IeC {\cyrn }\IeC {\cyrv }\IeC {\cyra }\IeC {\cyrr }\IeC
+ {\cyrsftsn }}}%
+ \def\btxmonfeblong##1{\protect\foreignlanguage{#1}{\IeC {\cyrf }\IeC
+ {\cyre }\IeC {\cyrv }\IeC {\cyrr }\IeC {\cyra }\IeC {\cyrl }\IeC
+ {\cyrsftsn }}}%
+ \def\btxmonmarlong##1{\protect\foreignlanguage{#1}{\IeC {\cyrm }\IeC
+ {\cyra }\IeC {\cyrr }\IeC {\cyrt }}}%
+ \def\btxmonaprlong##1{\protect\foreignlanguage{#1}{\IeC {\cyra }\IeC
+ {\cyrp }\IeC {\cyrr }\IeC {\cyre }\IeC {\cyrl }\IeC {\cyrsftsn
+ }}}%
+ \def\btxmonmaylong##1{\protect\foreignlanguage{#1}{\IeC {\cyrm }\IeC
+ {\cyra }\IeC {\cyrishrt }}}%
+ \def\btxmonjunlong##1{\protect\foreignlanguage{#1}{\IeC {\cyri }\IeC
+ {\cyryu }\IeC {\cyrn }\IeC {\cyrsftsn }}}%
+ \def\btxmonjullong##1{\protect\foreignlanguage{#1}{\IeC {\cyri }\IeC
+ {\cyryu }\IeC {\cyrl }\IeC {\cyrsftsn }}}%
+ \def\btxmonauglong##1{\protect\foreignlanguage{#1}{\IeC {\cyra }\IeC
+ {\cyrv }\IeC {\cyrg }\IeC {\cyru }\IeC {\cyrs }\IeC {\cyrt }}}%
+ \def\btxmonseplong##1{\protect\foreignlanguage{#1}{\IeC {\cyrs }\IeC
+ {\cyre }\IeC {\cyrn }\IeC {\cyrt }\IeC {\cyrya }\IeC {\cyrb
+ }\IeC {\cyrr }\IeC {\cyrsftsn }}}%
+ \def\btxmonoctlong##1{\protect\foreignlanguage{#1}{\IeC {\cyro }\IeC
+ {\cyrk }\IeC {\cyrt }\IeC {\cyrya }\IeC {\cyrb }\IeC {\cyrr
+ }\IeC {\cyrsftsn }}}%
+ \def\btxmonnovlong##1{\protect\foreignlanguage{#1}{\IeC {\cyrn }\IeC
+ {\cyro }\IeC {\cyrya }\IeC {\cyrb }\IeC {\cyrr }\IeC {\cyrsftsn
+ }}}%
+ \def\btxmondeclong##1{\protect\foreignlanguage{#1}{\IeC {\cyrd }\IeC
+ {\cyre }\IeC {\cyrk }\IeC {\cyra }\IeC {\cyrb }\IeC {\cyrr }\IeC
+ {\cyrsftsn }}}%
+ \def\btxmonjanshort##1{\protect\foreignlanguage{#1}{\IeC {\cyrya
+ }\IeC {\cyrn }\IeC {\cyrv }.##1{}}}%
+ \def\btxmonfebshort##1{\protect\foreignlanguage{#1}{\IeC {\cyrf
+ }\IeC {\cyre }\IeC {\cyrv }.##1{}}}%
+ \def\btxmonmarshort##1{\protect\foreignlanguage{#1}{\IeC {\cyrm
+ }\IeC {\cyra }\IeC {\cyrr }.##1{}}}%
+ \def\btxmonaprshort##1{\protect\foreignlanguage{#1}{\IeC {\cyra
+ }\IeC {\cyrp }\IeC {\cyrr }.##1{}}}%
+ \def\btxmonmayshort##1{\protect\foreignlanguage{#1}{\IeC {\cyrm
+ }\IeC {\cyra }\IeC {\cyrishrt }}}%
+ \def\btxmonjunshort##1{\protect\foreignlanguage{#1}{\IeC {\cyri
+ }\IeC {\cyryu }\IeC {\cyrn }\IeC {\cyrsftsn }##1{}}}%
+ \def\btxmonjulshort##1{\protect\foreignlanguage{#1}{\IeC {\cyri
+ }\IeC {\cyryu }\IeC {\cyrl }\IeC {\cyrsftsn }##1{}}}%
+ \def\btxmonaugshort##1{\protect\foreignlanguage{#1}{\IeC {\cyra
+ }\IeC {\cyrv }\IeC {\cyrg }.##1{}}}%
+ \def\btxmonsepshort##1{\protect\foreignlanguage{#1}{\IeC {\cyrs
+ }\IeC {\cyre }\IeC {\cyrn }.##1{}}}%
+ \def\btxmonoctshort##1{\protect\foreignlanguage{#1}{\IeC {\cyro
+ }\IeC {\cyrk }\IeC {\cyrt }.##1{}}}%
+ \def\btxmonnovshort##1{\protect\foreignlanguage{#1}{\IeC {\cyrn
+ }\IeC {\cyro }\IeC {\cyrya }.##1{}}}%
+ \def\btxmondecshort##1{\protect\foreignlanguage{#1}{\IeC {\cyrd
+ }\IeC {\cyre }\IeC {\cyrk }.##1{}}}%
+ \def\Btxinlong##1{\protect\foreignlanguage{#1}{\IeC {\CYRV }}}%
+ \def\Btxinshort##1{\protect\foreignlanguage{#1}{\IeC {\CYRV }}}%
+ \def\Btxeditorshort##1{\protect\foreignlanguage{#1}{\IeC {\CYRR
+ }\IeC {\cyre }\IeC {\cyrd }.##1{}}}%
+ \def\Btxeditorlong##1{\protect\foreignlanguage{#1}{\IeC {\CYRR }\IeC
+ {\cyre }\IeC {\cyrd }\IeC {\cyra }\IeC {\cyrk }\IeC {\cyrt }\IeC
+ {\cyro }\IeC {\cyrr }}}%
+ \def\Btxeditorsshort##1{\protect\foreignlanguage{#1}{\IeC {\CYRR
+ }\IeC {\cyre }\IeC {\cyrd }.##1{}}}%
+ \def\Btxeditorslong##1{\protect\foreignlanguage{#1}{\IeC {\CYRR
+ }\IeC {\cyre }\IeC {\cyrd }\IeC {\cyra }\IeC {\cyrk }\IeC {\cyrt
+ }\IeC {\cyro }\IeC {\cyrr }\IeC {\cyrery }}}%
+ \def\Btxvolumeshort##1{\protect\foreignlanguage{#1}{\IeC {\CYRT }.##1{}}}%
+ \def\Btxvolumelong##1{\protect\foreignlanguage{#1}{\IeC {\CYRT }\IeC
+ {\cyro }\IeC {\cyrm }}}%
+ \def\Btxnumbershort##1{\protect\foreignlanguage{#1}{%
+ N\textsuperscript{\underline{o}}}}%
+ \def\Btxnumberlong##1{\protect\foreignlanguage{#1}{\IeC {\CYRN }\IeC
+ {\cyro }\IeC {\cyrm }\IeC {\cyre }\IeC {\cyrr }}}%
+ \def\Btxeditionshort##1{\protect\foreignlanguage{#1}{\IeC {\CYRR
+ }\IeC {\cyre }\IeC {\cyrd }.##1{}}}%
+ \def\Btxeditionlong##1{\protect\foreignlanguage{#1}{\IeC {\CYRR
+ }\IeC {\cyre }\IeC {\cyrd }\IeC {\cyra }\IeC {\cyrk }\IeC {\cyrc
+ }\IeC {\cyri }\IeC {\cyrya }}}%
+ \def\Btxchaptershort##1{\protect\foreignlanguage{#1}{\IeC {\CYRG
+ }\IeC {\cyrl }.##1{}}}%
+ \def\Btxchapterlong##1{\protect\foreignlanguage{#1}{\IeC {\CYRG
+ }\IeC {\cyrl }\IeC {\cyra }\IeC {\cyrv }\IeC {\cyra }}}%
+ \def\Btxpageshort##1{\protect\foreignlanguage{#1}{\IeC {\CYRS }\IeC
+ {\cyrt }\IeC {\cyrr }.##1{}}}%
+ \def\Btxpagelong##1{\protect\foreignlanguage{#1}{\IeC {\CYRS }\IeC
+ {\cyrt }\IeC {\cyrr }\IeC {\cyra }\IeC {\cyrn }\IeC {\cyri }\IeC
+ {\cyrc }\IeC {\cyra }}}%
+ \def\Btxpagesshort##1{\protect\foreignlanguage{#1}{\IeC {\CYRS }\IeC
+ {\cyrt }\IeC {\cyrr }.##1{}}}%
+ \def\Btxpageslong##1{\protect\foreignlanguage{#1}{\IeC {\CYRS }\IeC
+ {\cyrt }\IeC {\cyrr }\IeC {\cyra }\IeC {\cyrn }\IeC {\cyri }\IeC
+ {\cyrc }\IeC {\cyrery }}}%
+ \def\Btxtechrepshort##1{\protect\foreignlanguage{#1}{\IeC {\CYRT
+ }\IeC {\cyre }\IeC {\cyrh }.\ \IeC {\cyro }\IeC {\cyrt }\IeC
+ {\cyrch }\IeC {\cyre }\IeC {\cyrt }##1{}}}%
+ \def\Btxtechreplong##1{\protect\foreignlanguage{#1}{\IeC {\CYRT
+ }\IeC {\cyre }\IeC {\cyrh }\IeC {\cyrn }\IeC {\cyri }\IeC
+ {\cyrch }\IeC {\cyre }\IeC {\cyrs }\IeC {\cyrk }\IeC {\cyri
+ }\IeC {\cyrishrt } \IeC {\cyro }\IeC {\cyrt }\IeC {\cyrch }\IeC
+ {\cyre }\IeC {\cyrt }}}%
+ \def\btxurldatecomment##1{\protect\foreignlanguage{#1}{, \IeC {\cyrp
+ }\IeC {\cyro }\IeC {\cyrs }\IeC {\cyre }\IeC {\cyrshch }\IeC
+ {\cyre }\IeC {\cyrn }\IeC {\cyro } ##1}}%
+ \def\btxfnamespaceshort{\,}%
+ \def\btxfnamespacelong{ }%
+ \def\btxnumeralshort##1{\btxnumeralfallback{#1}{##1}}%
+ \def\btxnumerallong##1{\btxnumeralfallback{#1}{##1}}%
+ \def\btxkeywordlanguage##1{{\protect\selectlanguage{#1}##1}}%
+ \ifbbbblanguagenames
+ \def\btxlanguagenameamerican{\protect\foreignlanguage{#1}{\IeC
+ {\cyra }\IeC {\cyrn }\IeC {\cyrg }\IeC {\cyrl }\IeC {\cyri
+ }\IeC {\cyrishrt }\IeC {\cyrs }\IeC {\cyrk }\IeC {\cyri }\IeC
+ {\cyrishrt }}}%
+ \def\btxlanguagenameaustrian{\protect\foreignlanguage{#1}{\IeC
+ {\cyra }\IeC {\cyrv }\IeC {\cyrs }\IeC {\cyrt }\IeC {\cyrr
+ }\IeC {\cyri }\IeC {\cyrishrt }\IeC {\cyrs }\IeC {\cyrk }\IeC
+ {\cyri }\IeC {\cyrishrt }}}%
+ \def\btxlanguagenamebrazil{\protect\foreignlanguage{#1}{\IeC
+ {\cyrp }\IeC {\cyro }\IeC {\cyrr }\IeC {\cyrt }\IeC {\cyru
+ }\IeC {\cyrg }\IeC {\cyra }\IeC {\cyrl }\IeC {\cyrsftsn }\IeC
+ {\cyrs }\IeC {\cyrk }\IeC {\cyri }\IeC {\cyrishrt }}}%
+ \def\btxlanguagenamebrazilian{\protect\foreignlanguage{#1}{\IeC
+ {\cyrp }\IeC {\cyro }\IeC {\cyrr }\IeC {\cyrt }\IeC {\cyru
+ }\IeC {\cyrg }\IeC {\cyra }\IeC {\cyrl }\IeC {\cyrsftsn }\IeC
+ {\cyrs }\IeC {\cyrk }\IeC {\cyri }\IeC {\cyrishrt }}}%
+ \def\btxlanguagenamebritish{\protect\foreignlanguage{#1}{\IeC
+ {\cyra }\IeC {\cyrn }\IeC {\cyrg }\IeC {\cyrl }\IeC {\cyri
+ }\IeC {\cyrishrt }\IeC {\cyrs }\IeC {\cyrk }\IeC {\cyri }\IeC
+ {\cyrishrt }}}%
+ \def\btxlanguagenamebulgarian{\protect\foreignlanguage{#1}{\IeC
+ {\cyrb }\IeC {\cyro }\IeC {\cyrl }\IeC {\cyrg }\IeC {\cyra
+ }\IeC {\cyrr }\IeC {\cyrs }\IeC {\cyrk }\IeC {\cyri }\IeC
+ {\cyrishrt }}}%
+ \def\btxlanguagenamecanadian{\protect\foreignlanguage{#1}{\IeC
+ {\cyra }\IeC {\cyrn }\IeC {\cyrg }\IeC {\cyrl }\IeC {\cyri
+ }\IeC {\cyrishrt }\IeC {\cyrs }\IeC {\cyrk }\IeC {\cyri }\IeC
+ {\cyrishrt }}}%
+ \def\btxlanguagenamecanadien{\protect\foreignlanguage{#1}{\IeC
+ {\cyrf }\IeC {\cyrr }\IeC {\cyra }\IeC {\cyrn }\IeC {\cyrc
+ }\IeC {\cyru }\IeC {\cyrz }\IeC {\cyrs }\IeC {\cyrk }\IeC
+ {\cyri }\IeC {\cyrishrt }}}%
+ \def\btxlanguagenamecatalan{\protect\foreignlanguage{#1}{\IeC
+ {\cyrk }\IeC {\cyra }\IeC {\cyrt }\IeC {\cyra }\IeC {\cyrl
+ }\IeC {\cyro }\IeC {\cyrn }\IeC {\cyrs }\IeC {\cyrk }\IeC
+ {\cyri }\IeC {\cyrishrt }}}%
+ \def\btxlanguagenamecroatian{\protect\foreignlanguage{#1}{\IeC
+ {\cyrh }\IeC {\cyro }\IeC {\cyrr }\IeC {\cyrv }\IeC {\cyra
+ }\IeC {\cyrt }\IeC {\cyrs }\IeC {\cyrk }\IeC {\cyri }\IeC
+ {\cyrishrt }}}%
+ \def\btxlanguagenameczech{\protect\foreignlanguage{#1}{\IeC
+ {\cyrch }\IeC {\cyre }\IeC {\cyrsh }\IeC {\cyrs }\IeC {\cyrk
+ }\IeC {\cyri }\IeC {\cyrishrt }}}%
+ \def\btxlanguagenamedanish{\protect\foreignlanguage{#1}{\IeC
+ {\cyrd }\IeC {\cyra }\IeC {\cyrt }\IeC {\cyrs }\IeC {\cyrk
+ }\IeC {\cyri }\IeC {\cyrishrt }}}%
+ \def\btxlanguagenamedutch{\protect\foreignlanguage{#1}{\IeC {\cyrg
+ }\IeC {\cyro }\IeC {\cyrl }\IeC {\cyrl }\IeC {\cyra }\IeC
+ {\cyrn }\IeC {\cyrd }\IeC {\cyrs }\IeC {\cyrk }\IeC {\cyri
+ }\IeC {\cyrishrt }}}%
+ \def\btxlanguagenameenglish{\protect\foreignlanguage{#1}{\IeC
+ {\cyra }\IeC {\cyrn }\IeC {\cyrg }\IeC {\cyrl }\IeC {\cyri
+ }\IeC {\cyrishrt }\IeC {\cyrs }\IeC {\cyrk }\IeC {\cyri }\IeC
+ {\cyrishrt }}}%
+ \def\btxlanguagenameesperanto{\protect\foreignlanguage{#1}{\IeC
+ {\cyrerev }\IeC {\cyrs }\IeC {\cyrp }\IeC {\cyre }\IeC {\cyrr
+ }\IeC {\cyra }\IeC {\cyrn }\IeC {\cyrt }\IeC {\cyro }}}%
+ \def\btxlanguagenamefinnish{\protect\foreignlanguage{#1}{\IeC
+ {\cyrf }\IeC {\cyri }\IeC {\cyrn }\IeC {\cyrs }\IeC {\cyrk
+ }\IeC {\cyri }\IeC {\cyrishrt }}}%
+ \def\btxlanguagenamefranceis{\protect\foreignlanguage{#1}{\IeC
+ {\cyrf }\IeC {\cyrr }\IeC {\cyra }\IeC {\cyrn }\IeC {\cyrc
+ }\IeC {\cyru }\IeC {\cyrz }\IeC {\cyrs }\IeC {\cyrk }\IeC
+ {\cyri }\IeC {\cyrishrt }}}%
+ \def\btxlanguagenamefrench{\protect\foreignlanguage{#1}{\IeC
+ {\cyrf }\IeC {\cyrr }\IeC {\cyra }\IeC {\cyrn }\IeC {\cyrc
+ }\IeC {\cyru }\IeC {\cyrz }\IeC {\cyrs }\IeC {\cyrk }\IeC
+ {\cyri }\IeC {\cyrishrt }}}%
+ \def\btxlanguagenamefrenchb{\protect\foreignlanguage{#1}{\IeC
+ {\cyrf }\IeC {\cyrr }\IeC {\cyra }\IeC {\cyrn }\IeC {\cyrc
+ }\IeC {\cyru }\IeC {\cyrz }\IeC {\cyrs }\IeC {\cyrk }\IeC
+ {\cyri }\IeC {\cyrishrt }}}%
+ \def\btxlanguagenamegerman{\protect\foreignlanguage{#1}{\IeC
+ {\cyrn }\IeC {\cyre }\IeC {\cyrm }\IeC {\cyre }\IeC {\cyrc
+ }\IeC {\cyrk }\IeC {\cyri }\IeC {\cyrishrt }}}%
+ \def\btxlanguagenamegermanb{\protect\foreignlanguage{#1}{\IeC
+ {\cyrn }\IeC {\cyre }\IeC {\cyrm }\IeC {\cyre }\IeC {\cyrc
+ }\IeC {\cyrk }\IeC {\cyri }\IeC {\cyrishrt }}}%
+ \def\btxlanguagenamegreek{\protect\foreignlanguage{#1}{\IeC {\cyrg
+ }\IeC {\cyrr }\IeC {\cyre }\IeC {\cyrch }\IeC {\cyre }\IeC
+ {\cyrs }\IeC {\cyrk }\IeC {\cyri }\IeC {\cyrishrt }}}%
+ \def\btxlanguagenamehebrew{\protect\foreignlanguage{#1}{\IeC
+ {\cyre }\IeC {\cyrv }\IeC {\cyrr }\IeC {\cyre }\IeC {\cyrishrt
+ }\IeC {\cyrs }\IeC {\cyrk }\IeC {\cyri }\IeC {\cyrishrt }}}%
+ \def\btxlanguagenamehungarian{\protect\foreignlanguage{#1}{\IeC
+ {\cyrv }\IeC {\cyre }\IeC {\cyrn }\IeC {\cyrg }\IeC {\cyre
+ }\IeC {\cyrr }\IeC {\cyrs }\IeC {\cyrk }\IeC {\cyri }\IeC
+ {\cyrishrt }}}%
+ \def\btxlanguagenameicelandic{\protect\foreignlanguage{#1}{\IeC
+ {\cyri }\IeC {\cyrs }\IeC {\cyrl }\IeC {\cyra }\IeC {\cyrn
+ }\IeC {\cyrd }\IeC {\cyrs }\IeC {\cyrk }\IeC {\cyri }\IeC
+ {\cyrishrt }}}%
+ \def\btxlanguagenameirish{\protect\foreignlanguage{#1}{\IeC {\cyri
+ }\IeC {\cyrr }\IeC {\cyrl }\IeC {\cyra }\IeC {\cyrn }\IeC
+ {\cyrd }\IeC {\cyrs }\IeC {\cyrk }\IeC {\cyri }\IeC {\cyrishrt
+ }}}%
+ \def\btxlanguagenameitalian{\protect\foreignlanguage{#1}{\IeC
+ {\cyri }\IeC {\cyrt }\IeC {\cyra }\IeC {\cyrl }\IeC {\cyrsftsn
+ }\IeC {\cyrya }\IeC {\cyrn }\IeC {\cyrs }\IeC {\cyrk }\IeC
+ {\cyri }\IeC {\cyrishrt }}}%
+ \def\btxlanguagenamelatin{\protect\foreignlanguage{#1}{\IeC {\cyrl
+ }\IeC {\cyra }\IeC {\cyrt }\IeC {\cyri }\IeC {\cyrn }\IeC
+ {\cyrs }\IeC {\cyrk }\IeC {\cyri }\IeC {\cyrishrt }}}%
+ \def\btxlanguagenamenaustrian{\protect\foreignlanguage{#1}{\IeC
+ {\cyrn }\IeC {\cyre }\IeC {\cyrm }\IeC {\cyre }\IeC {\cyrc
+ }\IeC {\cyrk }\IeC {\cyri }\IeC {\cyrishrt }}}%
+ \def\btxlanguagenamengerman{\protect\foreignlanguage{#1}{\IeC
+ {\cyrn }\IeC {\cyre }\IeC {\cyrm }\IeC {\cyre }\IeC {\cyrc
+ }\IeC {\cyrk }\IeC {\cyri }\IeC {\cyrishrt }}}%
+ \def\btxlanguagenamenorsk{\protect\foreignlanguage{#1}{\IeC {\cyrn
+ }\IeC {\cyro }\IeC {\cyrr }\IeC {\cyrv }\IeC {\cyre }\IeC
+ {\cyrzh }\IeC {\cyrs }\IeC {\cyrk }\IeC {\cyri }\IeC
+ {\cyrishrt }}}%
+ \def\btxlanguagenamenynorsk{\protect\foreignlanguage{#1}{\IeC
+ {\cyrn }\IeC {\cyro }\IeC {\cyrv }\IeC {\cyro }\IeC {\cyrn
+ }\IeC {\cyro }\IeC {\cyrr }\IeC {\cyrv }\IeC {\cyre }\IeC
+ {\cyrzh }\IeC {\cyrs }\IeC {\cyrk }\IeC {\cyri }\IeC
+ {\cyrishrt }}}%
+ \def\btxlanguagenamepolish{\protect\foreignlanguage{#1}{\IeC
+ {\cyrp }\IeC {\cyro }\IeC {\cyrl }\IeC {\cyrsftsn }\IeC {\cyrs
+ }\IeC {\cyrk }\IeC {\cyri }\IeC {\cyrishrt }}}%
+ \def\btxlanguagenameportuges{\protect\foreignlanguage{#1}{\IeC
+ {\cyrp }\IeC {\cyro }\IeC {\cyrr }\IeC {\cyrt }\IeC {\cyru
+ }\IeC {\cyrg }\IeC {\cyra }\IeC {\cyrl }\IeC {\cyrsftsn }\IeC
+ {\cyrs }\IeC {\cyrk }\IeC {\cyri }\IeC {\cyrishrt }}}%
+ \def\btxlanguagenameportuguese{\protect\foreignlanguage{#1}{\IeC
+ {\cyrp }\IeC {\cyro }\IeC {\cyrr }\IeC {\cyrt }\IeC {\cyru
+ }\IeC {\cyrg }\IeC {\cyra }\IeC {\cyrl }\IeC {\cyrsftsn }\IeC
+ {\cyrs }\IeC {\cyrk }\IeC {\cyri }\IeC {\cyrishrt }}}%
+ \def\btxlanguagenamerussian{\protect\foreignlanguage{#1}{\IeC
+ {\cyrr }\IeC {\cyru }\IeC {\cyrs }\IeC {\cyrs }\IeC {\cyrk
+ }\IeC {\cyri }\IeC {\cyrishrt }}}%
+ \def\btxlanguagenamescottish{\protect\foreignlanguage{#1}{\IeC
+ {\cyrsh }\IeC {\cyro }\IeC {\cyrt }\IeC {\cyrl }\IeC {\cyra
+ }\IeC {\cyrn }\IeC {\cyrd }\IeC {\cyrs }\IeC {\cyrk }\IeC
+ {\cyri }\IeC {\cyrishrt }}}%
+ \def\btxlanguagenameserbian{\protect\foreignlanguage{#1}{\IeC
+ {\cyrs }\IeC {\cyre }\IeC {\cyrr }\IeC {\cyrb }\IeC {\cyrs
+ }\IeC {\cyrk }\IeC {\cyri }\IeC {\cyrishrt }}}%
+ \def\btxlanguagenamespanish{\protect\foreignlanguage{#1}{\IeC
+ {\cyri }\IeC {\cyrs }\IeC {\cyrp }\IeC {\cyra }\IeC {\cyrn
+ }\IeC {\cyrs }\IeC {\cyrk }\IeC {\cyri }\IeC {\cyrishrt }}}%
+ \def\btxlanguagenameswedish{\protect\foreignlanguage{#1}{\IeC
+ {\cyrsh }\IeC {\cyrv }\IeC {\cyre }\IeC {\cyrd }\IeC {\cyrs
+ }\IeC {\cyrk }\IeC {\cyri }\IeC {\cyrishrt }}}%
+ \def\btxlanguagenameturkish{\protect\foreignlanguage{#1}{\IeC
+ {\cyrt }\IeC {\cyru }\IeC {\cyrr }\IeC {\cyre }\IeC {\cyrc
+ }\IeC {\cyrk }\IeC {\cyri }\IeC {\cyrishrt }}}%
+ \def\btxlanguagenameukrainian{\protect\foreignlanguage{#1}{\IeC
+ {\cyru }\IeC {\cyrk }\IeC {\cyrr }\IeC {\cyra }\IeC {\cyri
+ }\IeC {\cyrn }\IeC {\cyrs }\IeC {\cyrk }\IeC {\cyri }\IeC
+ {\cyrishrt }}}%
+ \def\btxlanguagenameUKenglish{\protect\foreignlanguage{#1}{\IeC
+ {\cyra }\IeC {\cyrn }\IeC {\cyrg }\IeC {\cyrl }\IeC {\cyri
+ }\IeC {\cyrishrt }\IeC {\cyrs }\IeC {\cyrk }\IeC {\cyri }\IeC
+ {\cyrishrt }}}%
+ \def\btxlanguagenameUSenglish{\protect\foreignlanguage{#1}{\IeC
+ {\cyra }\IeC {\cyrn }\IeC {\cyrg }\IeC {\cyrl }\IeC {\cyri
+ }\IeC {\cyrishrt }\IeC {\cyrs }\IeC {\cyrk }\IeC {\cyri }\IeC
+ {\cyrishrt }}}%
+ \fi
+}
+% \end{macrocode}
+% \end{macro}
+% Copy the commands to the other languages.
+% \begin{macrocode}
+\newcommand\bibsrussianb{\bibsrussian[russianb]}
+% \end{macrocode}
+% Append the definitions to the language-calling commands.
+% \begin{macrocode}
+\AtBeginDocument{%
+ \ifbbbbfixlanguage
+ \else
+ \bbbbaddto{russianb}{bibrussianb}
+ \bbbbaddto{russian}{bibsrussian}
+ \fi
+% \end{macrocode}
+% Switch off the change of case in titles for all Russian dialects by
+% appending \cs{btxifchangecaseoff} to \cs{extras}\meta{language}.
+% \begin{macrocode}
+ \bbbbaddto{russianb}{btxifchangecaseoff}
+ \bbbbaddto{russian}{btxifchangecaseoff}
+}
+%</russian>
+% \end{macrocode}
+%
% \subsubsection{Spanish}
% \changes{0.33}{2003/05/22}{Added Spanish language}%
% \begin{macrocode}
@@ -2660,8 +3265,10 @@
\def\btxurldatecomment##1{\protect\foreignlanguage{#1}{, visitado el ##1}}%
\def\btxfnamespaceshort{\,}%
\def\btxfnamespacelong{ }%
- \def\btxnumeralshort##1{\ifnumber{##1}{\protect\foreignlanguage{#1}{%
- ##1\ifcase##1 \ieme\or \iere\else \ieme\fi}}{##1}}%
+ \def\btxnumeralshort##1{\protect\foreignlanguage{#1}{%
+ \ifnumber{##1}{##1\textsuperscript{\underline a}}{##1}}}%
+% \def\btxnumeralshort##1{\ifnumber{##1}{\protect\foreignlanguage{#1}{%
+% ##1\ifcase##1 \ieme\or \iere\else \ieme\fi}}{##1}}%
\def\btxnumerallong##1{\btxnumeralshort{#1}{##1}}%
\def\btxkeywordlanguage##1{{\protect\selectlanguage{#1}##1}}%
\ifbbbblanguagenames
@@ -3217,7 +3824,7 @@
\def\btxetallong##1{\protect\foreignlanguage{#1}{et~alii}}%
\def\btxandshort##1{\protect\foreignlanguage{#1}{e}}%
\def\btxandlong##1{\protect\foreignlanguage{#1}{e}}%
- \def\btxandcomma##1{,}%
+ \def\btxandcomma##1{}%
\def\btxinlong##1{\protect\foreignlanguage{#1}{in}}%
\def\btxinshort##1{\protect\foreignlanguage{#1}{in}}%
\def\btxofseriesshort##1{\protect\foreignlanguage{#1}{de}}%
@@ -3245,30 +3852,30 @@
\def\btxphdthesis##1{\protect\foreignlanguage{#1}{Tese de Doutoramento}}%
\def\btxtechrepshort##1{\protect\foreignlanguage{#1}{Rel.\ T\'ec##1{}}}%
\def\btxtechreplong##1{\protect\foreignlanguage{#1}{Relat\'orio T\'ecnico}}%
- \def\btxmonjanlong##1{\protect\foreignlanguage{#1}{janeiro}}%
- \def\btxmonfeblong##1{\protect\foreignlanguage{#1}{fevereiro}}%
- \def\btxmonmarlong##1{\protect\foreignlanguage{#1}{mar\c co}}%
- \def\btxmonaprlong##1{\protect\foreignlanguage{#1}{abril}}%
- \def\btxmonmaylong##1{\protect\foreignlanguage{#1}{maio}}%
- \def\btxmonjunlong##1{\protect\foreignlanguage{#1}{junho}}%
- \def\btxmonjullong##1{\protect\foreignlanguage{#1}{julho}}%
- \def\btxmonauglong##1{\protect\foreignlanguage{#1}{agosto}}%
- \def\btxmonseplong##1{\protect\foreignlanguage{#1}{setembro}}%
- \def\btxmonoctlong##1{\protect\foreignlanguage{#1}{outubro}}%
- \def\btxmonnovlong##1{\protect\foreignlanguage{#1}{novembro}}%
- \def\btxmondeclong##1{\protect\foreignlanguage{#1}{dezembro}}%
- \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\btxmonjunshort##1{\protect\foreignlanguage{#1}{jun##1{}}}%
- \def\btxmonjulshort##1{\protect\foreignlanguage{#1}{jul##1{}}}%
- \def\btxmonaugshort##1{\protect\foreignlanguage{#1}{ago##1{}}}%
- \def\btxmonsepshort##1{\protect\foreignlanguage{#1}{set##1{}}}%
- \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\btxmonjanlong##1{\protect\foreignlanguage{#1}{Janeiro}}%
+ \def\btxmonfeblong##1{\protect\foreignlanguage{#1}{Fevereiro}}%
+ \def\btxmonmarlong##1{\protect\foreignlanguage{#1}{Mar\c co}}%
+ \def\btxmonaprlong##1{\protect\foreignlanguage{#1}{Abril}}%
+ \def\btxmonmaylong##1{\protect\foreignlanguage{#1}{Maio}}%
+ \def\btxmonjunlong##1{\protect\foreignlanguage{#1}{Junho}}%
+ \def\btxmonjullong##1{\protect\foreignlanguage{#1}{Julho}}%
+ \def\btxmonauglong##1{\protect\foreignlanguage{#1}{Agosto}}%
+ \def\btxmonseplong##1{\protect\foreignlanguage{#1}{Setembro}}%
+ \def\btxmonoctlong##1{\protect\foreignlanguage{#1}{Outubro}}%
+ \def\btxmonnovlong##1{\protect\foreignlanguage{#1}{Novembro}}%
+ \def\btxmondeclong##1{\protect\foreignlanguage{#1}{Dezembro}}%
+ \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\btxmonjunshort##1{\protect\foreignlanguage{#1}{Jun##1{}}}%
+ \def\btxmonjulshort##1{\protect\foreignlanguage{#1}{Jul##1{}}}%
+ \def\btxmonaugshort##1{\protect\foreignlanguage{#1}{Ago##1{}}}%
+ \def\btxmonsepshort##1{\protect\foreignlanguage{#1}{Set##1{}}}%
+ \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\Btxinlong##1{\protect\foreignlanguage{#1}{In}}%
\def\Btxinshort##1{\protect\foreignlanguage{#1}{In}}%
\def\Btxeditorshort##1{\protect\foreignlanguage{#1}{Ed##1{}}}%
@@ -3293,8 +3900,9 @@
\def\btxurldatecomment##1{\protect\foreignlanguage{#1}{, acedido em ##1}}%
\def\btxfnamespaceshort{\,}%
\def\btxfnamespacelong{ }%
- \def\btxnumeralshort##1{\btxnumeralfallback{#1}{##1}}%
- \def\btxnumerallong##1{\btxnumeralfallback{#1}{##1}}%
+ \def\btxnumeralshort##1{\protect\foreignlanguage{#1}{%
+ \ifnumber{##1}{##1\textsuperscript{\underline a}}{##1}}}%
+ \def\btxnumerallong##1{\btxnumeralshort{#1}{##1}}%
\def\btxkeywordlanguage##1{{\protect\selectlanguage{#1}##1}}%
\ifbbbblanguagenames
\def\btxlanguagenameamerican{\protect\foreignlanguage{#1}{ingl\^es}}%
@@ -3346,9 +3954,35 @@
% \end{macro}
% Copy the commands to the other languages.
% \begin{macrocode}
-\newcommand\bibsbrazil{\bibsportuguese[brazil]}
-\newcommand\bibsbrazilian{\bibsportuguese[brazilian]}
-\newcommand\bibsportuges{\bibsportuguese[portuges]}
+\newcommand\bibsportuges[1][portuges]{\bibsportuguese[#1]}
+\newcommand\bibsbrazil[1][brazil]{\bibsbrazilian[#1]}
+\newcommand\bibsbrazilian[1][brazilian]{%
+ \bibsportuguese[#1]%
+ \def\btxmonjanlong##1{\protect\foreignlanguage{#1}{janeiro}}%
+ \def\btxmonfeblong##1{\protect\foreignlanguage{#1}{fevereiro}}%
+ \def\btxmonmarlong##1{\protect\foreignlanguage{#1}{mar\c co}}%
+ \def\btxmonaprlong##1{\protect\foreignlanguage{#1}{abril}}%
+ \def\btxmonmaylong##1{\protect\foreignlanguage{#1}{maio}}%
+ \def\btxmonjunlong##1{\protect\foreignlanguage{#1}{junho}}%
+ \def\btxmonjullong##1{\protect\foreignlanguage{#1}{julho}}%
+ \def\btxmonauglong##1{\protect\foreignlanguage{#1}{agosto}}%
+ \def\btxmonseplong##1{\protect\foreignlanguage{#1}{setembro}}%
+ \def\btxmonoctlong##1{\protect\foreignlanguage{#1}{outubro}}%
+ \def\btxmonnovlong##1{\protect\foreignlanguage{#1}{novembro}}%
+ \def\btxmondeclong##1{\protect\foreignlanguage{#1}{dezembro}}%
+ \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\btxmonjunshort##1{\protect\foreignlanguage{#1}{jun##1{}}}%
+ \def\btxmonjulshort##1{\protect\foreignlanguage{#1}{jul##1{}}}%
+ \def\btxmonaugshort##1{\protect\foreignlanguage{#1}{ago##1{}}}%
+ \def\btxmonsepshort##1{\protect\foreignlanguage{#1}{set##1{}}}%
+ \def\btxmonoctshort##1{\protect\foreignlanguage{#1}{out##1{}}}%
+ \def\btxmonnovshort##1{\protect\foreignlanguage{#1}{nov##1{}}}%
+ \def\btxmondecshort##1{\protect\foreignlanguage{#1}{dez##1{}}}%
+}
% \end{macrocode}
% Append the definitions to the language-calling commands.
% \begin{macrocode}
@@ -3547,7 +4181,7 @@
\def\btxetallong##1{\protect\foreignlanguage{#1}{et~alii}}%
\def\btxandshort##1{\protect\foreignlanguage{#1}{och}}%
\def\btxandlong##1{\protect\foreignlanguage{#1}{och}}%
- \def\btxandcomma##1{,}%
+ \def\btxandcomma##1{}%
\def\btxinlong##1{\protect\foreignlanguage{#1}{i}}%
\def\btxinshort##1{\protect\foreignlanguage{#1}{i}}%
\def\btxofseriesshort##1{\protect\foreignlanguage{#1}{av}}%
@@ -3853,6 +4487,178 @@
%</afrikaans>
% \end{macrocode}
%
+% \subsubsection{Bahasa}
+% \begin{macrocode}
+%<*bahasa>
+% \end{macrocode}
+%
+% The language definition for Bahasa was provided by Yanti Yulianti.
+%
+% \begin{macro}{\bibsbahasa}
+% Bibliographic commands for Bahasa.
+% \begin{macrocode}
+%%
+%% This is file `bahasa.bdf',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% babelbib.dtx (with options: `latex,bahasa')
+%%
+%% babelbib package
+%%
+%% Copyright 2003--2005 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
+%%
+\newcommand\bibsbahasa[1][bahasa]{%
+ \def\biblanguagename{#1}%
+ \def\btxetalshort##1{\protect\foreignlanguage{#1}{et~al##1{}}}%
+ \def\btxetallong##1{\protect\foreignlanguage{#1}{en~alii }}%
+ \def\btxandshort##1{\protect\foreignlanguage{#1}{dan}}%
+ \def\btxandlong##1{\protect\foreignlanguage{#1}{dan}}%
+ \def\btxandcomma##1{,}%
+ \def\btxinlong##1{\protect\foreignlanguage{#1}{dalam}}%
+ \def\btxinshort##1{\protect\foreignlanguage{#1}{dalam}}%
+ \def\btxofseriesshort##1{\protect\foreignlanguage{#1}{dari}}%
+ \def\btxinseriesshort##1{\protect\foreignlanguage{#1}{dalam}}%
+ \def\btxofserieslong##1{\protect\foreignlanguage{#1}{dari}}%
+ \def\btxinserieslong##1{\protect\foreignlanguage{#1}{dalam}}%
+ \def\btxeditorshort##1{\protect\foreignlanguage{#1}{red##1{}}}%
+ \def\btxeditorlong##1{\protect\foreignlanguage{#1}{redaktur}}%
+ \def\btxeditorsshort##1{\protect\foreignlanguage{#1}{red##1{}}}%
+ \def\btxeditorslong##1{\protect\foreignlanguage{#1}{redaktur}}%
+ \def\btxvolumeshort##1{\protect\foreignlanguage{#1}{vol##1{}}}%
+ \def\btxvolumelong##1{\protect\foreignlanguage{#1}{volume}}%
+ \def\btxnumbershort##1{\protect\foreignlanguage{#1}{nr##1{}}}%
+ \def\btxnumberlong##1{\protect\foreignlanguage{#1}{nomor}}%
+ \def\btxeditionshort##1{\protect\foreignlanguage{#1}{edisi}}%
+ \def\btxeditionlong##1{\protect\foreignlanguage{#1}{edisi}}%
+ \def\btxchaptershort##1{\protect\foreignlanguage{#1}{bab##1{}}}%
+ \def\btxchapterlong##1{\protect\foreignlanguage{#1}{bab}}%
+ \def\btxpageshort##1{\protect\foreignlanguage{#1}{hal##1{}}}%
+ \def\btxpagelong##1{\protect\foreignlanguage{#1}{halaman}}%
+ \def\btxpagesshort##1{\protect\foreignlanguage{#1}{hal##1{}}}%
+ \def\btxpageslong##1{\protect\foreignlanguage{#1}{halaman}}%
+ \def\btxmastthesis##1{\protect\foreignlanguage{#1}{tesis Master}}%
+ \def\btxphdthesis##1{\protect\foreignlanguage{#1}{disertasi Dokotor}}%
+ \def\btxtechrepshort##1{\protect\foreignlanguage{#1}{Lap.\ Rapp##1{}}}%
+ \def\btxtechreplong##1{\protect\foreignlanguage{#1}{Laporan}}%
+ \def\btxmonjanlong##1{\protect\foreignlanguage{#1}{Januari}}%
+ \def\btxmonfeblong##1{\protect\foreignlanguage{#1}{Februari}}%
+ \def\btxmonmarlong##1{\protect\foreignlanguage{#1}{Maret}}%
+ \def\btxmonaprlong##1{\protect\foreignlanguage{#1}{April}}%
+ \def\btxmonmaylong##1{\protect\foreignlanguage{#1}{Mei}}%
+ \def\btxmonjunlong##1{\protect\foreignlanguage{#1}{Juni}}%
+ \def\btxmonjullong##1{\protect\foreignlanguage{#1}{Juli}}%
+ \def\btxmonauglong##1{\protect\foreignlanguage{#1}{Augustus}}%
+ \def\btxmonseplong##1{\protect\foreignlanguage{#1}{September}}%
+ \def\btxmonoctlong##1{\protect\foreignlanguage{#1}{Oktober}}%
+ \def\btxmonnovlong##1{\protect\foreignlanguage{#1}{November}}%
+ \def\btxmondeclong##1{\protect\foreignlanguage{#1}{Desember}}%
+ \def\btxmonjanshort##1{\protect\foreignlanguage{#1}{Jan##1{}}}%
+ \def\btxmonfebshort##1{\protect\foreignlanguage{#1}{Feb##1{}}}%
+ \def\btxmonmarshort##1{\protect\foreignlanguage{#1}{Mrt}}%
+ \def\btxmonaprshort##1{\protect\foreignlanguage{#1}{Apr##1{}}}%
+ \def\btxmonmayshort##1{\protect\foreignlanguage{#1}{Mei}}%
+ \def\btxmonjunshort##1{\protect\foreignlanguage{#1}{Jun##1{}}}%
+ \def\btxmonjulshort##1{\protect\foreignlanguage{#1}{Jul##1{}}}%
+ \def\btxmonaugshort##1{\protect\foreignlanguage{#1}{Aug##1{}}}%
+ \def\btxmonsepshort##1{\protect\foreignlanguage{#1}{Sep##1{}}}%
+ \def\btxmonoctshort##1{\protect\foreignlanguage{#1}{Okt##1{}}}%
+ \def\btxmonnovshort##1{\protect\foreignlanguage{#1}{Nov##1{}}}%
+ \def\btxmondecshort##1{\protect\foreignlanguage{#1}{Des##1{}}}%
+ \def\Btxinlong##1{\protect\foreignlanguage{#1}{Dalam}}%
+ \def\Btxinshort##1{\protect\foreignlanguage{#1}{Dalam}}%
+ \def\Btxeditorshort##1{\protect\foreignlanguage{#1}{Red##1{}}}%
+ \def\Btxeditorlong##1{\protect\foreignlanguage{#1}{Redaktur}}%
+ \def\Btxeditorsshort##1{\protect\foreignlanguage{#1}{Red##1{}}}%
+ \def\Btxeditorslong##1{\protect\foreignlanguage{#1}{Redaktur}}%
+ \def\Btxvolumeshort##1{\protect\foreignlanguage{#1}{Vol##1{}}}%
+ \def\Btxvolumelong##1{\protect\foreignlanguage{#1}{Volume}}%
+ \def\Btxnumbershort##1{\protect\foreignlanguage{#1}{Nr##1{}}}%
+ \def\Btxnumberlong##1{\protect\foreignlanguage{#1}{Nomor}}%
+ \def\Btxeditionshort##1{\protect\foreignlanguage{#1}{Ed}}%
+ \def\Btxeditionlong##1{\protect\foreignlanguage{#1}{Edisi}}%
+ \def\Btxchaptershort##1{\protect\foreignlanguage{#1}{Bab##1{}}}%
+ \def\Btxchapterlong##1{\protect\foreignlanguage{#1}{Bab}}%
+ \def\Btxpageshort##1{\protect\foreignlanguage{#1}{Hal##1{}}}%
+ \def\Btxpagelong##1{\protect\foreignlanguage{#1}{Halaman}}%
+ \def\Btxpagesshort##1{\protect\foreignlanguage{#1}{Hal##1{}}}%
+ \def\Btxpageslong##1{\protect\foreignlanguage{#1}{Halaman}}%
+ \def\Btxtechrepshort##1{\protect\foreignlanguage{#1}{Lap.\ Rapp##1{}}}%
+ \def\Btxtechreplong##1{\protect\foreignlanguage{#1}{Laporan}}%
+ \def\btxurldatecomment##1{\protect\foreignlanguage{#1}{, diambil tanggal ##1}}%
+ \def\btxfnamespaceshort{\,}%
+ \def\btxfnamespacelong{ }%
+ \def\btxnumeralshort##1{\btxnumeralfallback{#1}{##1}}%
+ \def\btxnumerallong##1{\btxnumeralfallback{#1}{##1}}%
+ \def\btxkeywordlanguage##1{{\protect\selectlanguage{#1}##1}}%
+ \ifbbbblanguagenames
+ \def\btxlanguagenameamerican{\protect\foreignlanguage{#1}{inggris}}%
+ \def\btxlanguagenameaustrian{\protect\foreignlanguage{#1}{jerman}}%
+ \def\btxlanguagenamebrazil{\protect\foreignlanguage{#1}{portugis}}%
+ \def\btxlanguagenamebrazilian{\protect\foreignlanguage{#1}{portugis}}%
+ \def\btxlanguagenamebritish{\protect\foreignlanguage{#1}{inggris}}%
+ \def\btxlanguagenamebulgarian{\protect\foreignlanguage{#1}{bulgaria}}%
+ \def\btxlanguagenamecanadian{\protect\foreignlanguage{#1}{inggris}}%
+ \def\btxlanguagenamecanadien{\protect\foreignlanguage{#1}{prancis}}%
+ \def\btxlanguagenamecatalan{\protect\foreignlanguage{#1}{catalanya}}%
+ \def\btxlanguagenamecroatian{\protect\foreignlanguage{#1}{kroasia}}%
+ \def\btxlanguagenameczech{\protect\foreignlanguage{#1}{ceko}}%
+ \def\btxlanguagenamedanish{\protect\foreignlanguage{#1}{denmark}}%
+ \def\btxlanguagenamedutch{\protect\foreignlanguage{#1}{belanda}}%
+ \def\btxlanguagenameenglish{\protect\foreignlanguage{#1}{inggris}}%
+ \def\btxlanguagenameesperanto{\protect\foreignlanguage{#1}{spanyol}}%
+ \def\btxlanguagenamefinnish{\protect\foreignlanguage{#1}{finlandia}}%
+ \def\btxlanguagenamefrancais{\protect\foreignlanguage{#1}{prancis}}%
+ \def\btxlanguagenamefrench{\protect\foreignlanguage{#1}{prancis}}%
+ \def\btxlanguagenamefrenchb{\protect\foreignlanguage{#1}{prancis}}%
+ \def\btxlanguagenamegerman{\protect\foreignlanguage{#1}{jerman}}%
+ \def\btxlanguagenamegermanb{\protect\foreignlanguage{#1}{jerman}}%
+ \def\btxlanguagenamegreek{\protect\foreignlanguage{#1}{yunani}}%
+ \def\btxlanguagenamehebrew{\protect\foreignlanguage{#1}{yahudi}}%
+ \def\btxlanguagenamehungarian{\protect\foreignlanguage{#1}{hungaria}}%
+ \def\btxlanguagenameicelandic{\protect\foreignlanguage{#1}{islandia}}%
+ \def\btxlanguagenameirish{\protect\foreignlanguage{#1}{irlandia}}%
+ \def\btxlanguagenameitalian{\protect\foreignlanguage{#1}{italia}}%
+ \def\btxlanguagenamelatin{\protect\foreignlanguage{#1}{latin}}%
+ \def\btxlanguagenamenaustrian{\protect\foreignlanguage{#1}{jerman}}%
+ % \def\btxlanguagenamengerman{\protect\foreignlanguage{#1}{jerman}}%
+ % \def\btxlanguagenamenorsk{\protect\foreignlanguage{#1}{norwegia}}%
+ % \def\btxlanguagenamenynorsk{\protect\foreignlanguage{#1}{norwegia baru}}%
+ % \def\btxlanguagenamepolish{\protect\foreignlanguage{#1}{polish}}%
+ \def\btxlanguagenameportuges{\protect\foreignlanguage{#1}{portugis}}%
+ \def\btxlanguagenameportuguese{\protect\foreignlanguage{#1}{portugis}}%
+ \def\btxlanguagenamerussian{\protect\foreignlanguage{#1}{russia}}%
+ \def\btxlanguagenamescottish{\protect\foreignlanguage{#1}{skotlandia}}%
+ \def\btxlanguagenameserbian{\protect\foreignlanguage{#1}{serbia}}%
+ \def\btxlanguagenamespanish{\protect\foreignlanguage{#1}{spanyol}}%
+ \def\btxlanguagenameswedish{\protect\foreignlanguage{#1}{swedia}}%
+ \def\btxlanguagenameturkish{\protect\foreignlanguage{#1}{turki}}%
+ \def\btxlanguagenameUKenglish{\protect\foreignlanguage{#1}{inggris}}%
+ \def\btxlanguagenameUSenglish{\protect\foreignlanguage{#1}{inggris}}%
+ \fi
+}
+% \end{macrocode}
+% \end{macro}
+% Append the definitions to the language-calling commands.
+% \begin{macrocode}
+\AtBeginDocument{%
+ \ifbbbbfixlanguage
+ \else
+ \bbbbaddto{bahasa}{bibsbahasa}
+ \fi
+ \bbbbaddto{bahasa}{btxifchangecaseoff}
+}
+%</bahasa>
+% \end{macrocode}
+%
% \subsubsection{Catalan}
% \changes{1.00}{2005/02/16}{Added Catalan language}%
% \begin{macrocode}
@@ -4222,27 +5028,32 @@ FUNCTION {output.bibitem}
% For \BibTeX, this language gets the name \texttt{nolanguage}.
% \begin{macrocode}
language empty$
- { "empty language in " cite$ * warning$
- "\expandafter\btxselectlanguage\expandafter {"
- "\btxfallbacklanguage}" *
+ {
language.state "nolanguage" =
'skip$
- { duplicate$ write$ newline$ }
+ {
+ "empty language in " cite$ * warning$
+ "\expandafter\btxselectlanguage\expandafter {"
+ "\btxfallbacklanguage}" *
+ write$ newline$
+ }
if$
"nolanguage" 'language.state :=
}
{
- "\btxselectlanguage {" language * "}" *
language.state language =
'skip$
- { duplicate$ write$ newline$ }
+ {
+ "\btxselectlanguage {" language * "}" *
+ write$ newline$
+ }
if$
language 'language.state :=
}
if$
%</bststd>
-%<bststd&!bstalpha> pop$ "\bibitem {" write$
-%<bststd&bstalpha> "\bibitem [{" swap$ * label * "}]{" * write$
+%<bststd&!bstalpha> "\bibitem {" write$
+%<bststd&bstalpha> "\bibitem [{" label * "}]{" * write$
%<*bststd>
cite$ write$
"}" write$
@@ -4471,6 +5282,15 @@ FUNCTION {journalfont}
if$
}
% \end{macrocode}
+% Set font for the publisher name:
+% \begin{macrocode}
+FUNCTION {publisherfont}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\btxpublisherfont {" swap$ * "}" * }
+ if$
+}
+% \end{macrocode}
%
% \begin{macrocode}
FUNCTION {volumefont}
@@ -4819,7 +5639,7 @@ FUNCTION {format.edition}
FUNCTION {format.isbn}
{ isbn empty$
{ "" }
- { "\btxISBN~\btxISBNfont {" isbn * "}" * }
+ { "\mbox{\btxISBN~\btxISBNfont {" isbn * "}}" * }
if$
}
@@ -4829,7 +5649,7 @@ FUNCTION {format.isbn}
FUNCTION {format.issn}
{ issn empty$
{ "" }
- { "\btxISSN~\btxISSNfont {" issn * "}" * }
+ { "\mbox{\btxISSN~\btxISSNfont {" issn * "}}" * }
if$
}
% \end{macrocode}
@@ -4840,10 +5660,11 @@ FUNCTION {format.url}
{ "" }
{
urldate empty$
- { "{\latintext \btxurlfont {" url * "}}" * }
+ { "{\latintext \btxurlfont{" url * "}}" * }
{
- "{\latintext \btxurlfont {" url *
- "}}\btxurldatecomment {\btxkeywordlanguage {\btxurldatefont{" *
+ "{\latintext \btxurlfont{" url * "}}%" *
+ newline$ output
+ "\btxurldatecomment {\btxkeywordlanguage {\btxurldatefont{"
urldate * "}}}" *
}
if$
@@ -5239,7 +6060,7 @@ FUNCTION {book}
new.block
format.number.series output
new.sentence
- publisher "publisher" output.check
+ publisher "publisher" output.check publisherfont
address output
}
{ new.block
@@ -5297,7 +6118,7 @@ FUNCTION {inbook}
new.block
format.number.series output
new.sentence
- publisher "publisher" output.check
+ publisher "publisher" output.check publisherfont
address output
}
{ format.chapter.pages "chapter and pages" output.check
@@ -5330,7 +6151,7 @@ FUNCTION {incollection}
format.number.series output
format.chapter.pages output
new.sentence
- publisher "publisher" output.check
+ publisher "publisher" output.check publisherfont
address output
format.edition output
format.date "year" output.check
@@ -5364,14 +6185,14 @@ FUNCTION {inproceedings}
address empty$
{ organization publisher new.sentence.checkb
organization output
- publisher output
+ publisher publisherfont output
format.date "year" output.check
}
{ address output.nonnull
format.date "year" output.check
new.sentence
organization output
- publisher output
+ publisher publisherfont output
}
if$
}
@@ -5515,7 +6336,7 @@ FUNCTION {proceedings}
organization output
}
if$
- publisher output
+ publisher publisherfont output
format.date "year" output.check
}
{ address output.nonnull
@@ -5525,7 +6346,7 @@ FUNCTION {proceedings}
'skip$
{ organization output }
if$
- publisher output
+ publisher publisherfont output
}
if$
format.isbn "\ifbtxprintISBN" output.isbn
@@ -6163,6 +6984,8 @@ FUNCTION {begin.bib}
" \providebibliographyfont{ISSN}{\MakeUppercase}%" write$ newline$
" \providebibliographyfont{url}{\url}%" write$ newline$
" \providebibliographyfont{numeral}{}%" write$ newline$
+ " \expandafter\btxselectlanguage\expandafter {\btxfallbacklanguage}"
+ write$ newline$
}
% \end{macrocode}
@@ -6340,6 +7163,13 @@ FUNCTION {journalfont}
if$
}
+FUNCTION {publisherfont}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\btxpublisherfont {" swap$ * "}" * }
+ if$
+}
+
FUNCTION {volumefont}
{ duplicate$ empty$
{ pop$ "" }
@@ -6648,7 +7478,7 @@ FUNCTION {format.title}
FUNCTION {format.jtitle}
{ title empty$
{ "" }
- { jtitle "t" language.change.case titlefont }
+ { title "t" language.change.case jtitlefont }
if$
}
@@ -6811,14 +7641,14 @@ FUNCTION {format.edition}
FUNCTION {format.isbn}
{ isbn empty$
{ "" }
- { "\btxISBN~\btxISBNfont {" isbn * "}" * }
+ { "\mbox{\btxISBN~\btxISBNfont {" isbn * "}}" * }
if$
}
FUNCTION {format.issn}
{ issn empty$
{ "" }
- { "\btxISSN~\btxISSNfont {" issn * "}" * }
+ { "\mbox{\btxISSN~\btxISSNfont {" issn * "}}" * }
if$
}
@@ -6827,17 +7657,17 @@ FUNCTION {format.url}
{ "" }
{
urldate empty$
- { "{\latintext \btxurlfont {" url * "}}" * }
+ { "{\latintext \btxurlfont{" url * "}}" * }
{
- "{\latintext \btxurlfont {" url *
- "}}\btxurldatecomment {\btxkeywordlanguage {\btxurldatefont {" *
+ "{\latintext \btxurlfont{" url * "}}%" *
+ newline$ output
+ "\btxurldatecomment {\btxkeywordlanguage {\btxurldatefont{"
urldate * "}}}" *
}
if$
}
if$
}
-
% \end{macrocode}
% Format annotations:
% \begin{macrocode}
@@ -7070,7 +7900,7 @@ FUNCTION {book}
format.edition output
crossref missing$
{ format.bookvolume.series.number output
- publisher "publisher" output.check
+ publisher "publisher" output.check publisherfont
address output
}
{ format.book.crossref output.nonnull
@@ -7114,7 +7944,7 @@ FUNCTION {inbook}
crossref missing$
{ format.bookvolume.series.number output
format.chapter.pages "chapter and pages" output.check
- publisher "publisher" output.check
+ publisher "publisher" output.check publisherfont
address output
}
{ format.chapter.pages "chapter and pages" output.check
@@ -7137,7 +7967,7 @@ FUNCTION {incollection}
crossref missing$
{ format.incoll.title.editors "booktitle" output.check
format.bookvolume.series.number output
- publisher "publisher" output.check
+ publisher "publisher" output.check publisherfont
address output
format.edition output
format.date "year" output.check
@@ -7162,7 +7992,7 @@ FUNCTION {inproceedings}
{ format.inproc.title.address.editors "booktitle" output.check
format.bookvolume.series.number output
organization output
- publisher output
+ publisher publisherfont output
format.date "year" output.check
}
{ format.incoll.inproc.crossref output.nonnull
@@ -7271,7 +8101,7 @@ FUNCTION {proceedings}
'skip$
{ organization output }
if$
- publisher output
+ publisher publisherfont output
format.date "year" output.check
}
{ address output.nonnull
@@ -7279,7 +8109,7 @@ FUNCTION {proceedings}
'skip$
{ organization output }
if$
- publisher output
+ publisher publisherfont output
format.date "year" output.check
}
if$
@@ -7559,8 +8389,9 @@ FUNCTION {begin.bib}
" \providebibliographyfont{ISSN}{\MakeUppercase}%" write$ newline$
" \providebibliographyfont{url}{\url}%" write$ newline$
" \providebibliographyfont{numeral}{}%" write$ newline$
- " \providecommand\btxprintamslanguage[1]{\ (#1)}"
- write$ newline$
+ " \providecommand\btxprintamslanguage[1]{\ (#1)}" write$ newline$
+ " \expandafter\btxselectlanguage\expandafter {\btxfallbacklanguage}"
+ write$ newline$
}
EXECUTE {begin.bib}