Sophie

Sophie

distrib > Altlinux > 4.1 > i586 > media > core-src > by-pkgid > 3e27325d3cbe86e83a418bc00fa2a103 > files > 2

tetex-latex-babelbib-1.20-alt1.src.rpm

--- babelbib.ins~	2005-11-11 23:16:08 +0200
+++ babelbib.ins	2006-01-05 10:10:57 +0200
@@ -34,6 +34,7 @@
   \file{italian.bdf}{\from{babelbib.dtx}{latex,italian}}%
   \file{norsk.bdf}{\from{babelbib.dtx}{latex,norsk}}%
   \file{portuguese.bdf}{\from{babelbib.dtx}{latex,portuguese}}%
+  \file{russian.bdf}{\from{babelbib.dtx}{latex,russian}}%
   \file{spanish.bdf}{\from{babelbib.dtx}{latex,spanish}}%
   \file{swedish.bdf}{\from{babelbib.dtx}{latex,swedish}}%
   \usepostamble\empty
--- babelbib.dtx	2006-01-04 18:20:57 +0200
+++ babelbib.dtx	2006-01-04 21:53:38 +0200
@@ -1402,6 +1402,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}
@@ -3371,6 +3373,169 @@
 }
 %</portuguese>
 %    \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}{è~äð.##1{}}}%
+  \def\btxetallong##1{\protect\foreignlanguage{#1}{è~äðóãèå}}% 
+  \def\btxandshort##1{\protect\foreignlanguage{#1}{è}}%
+  \def\btxandlong##1{\protect\foreignlanguage{#1}{è}}%
+  \def\btxandcomma##1{,}%
+  \def\btxinlong##1{\protect\foreignlanguage{#1}{â}}%
+  \def\btxinshort##1{\protect\foreignlanguage{#1}{â}}%
+  \def\btxofseriesshort##1{\protect\foreignlanguage{#1}{èç}}%
+  \def\btxinseriesshort##1{\protect\foreignlanguage{#1}{â}}%
+  \def\btxofserieslong##1{\protect\foreignlanguage{#1}{èç}}%
+  \def\btxinserieslong##1{\protect\foreignlanguage{#1}{â}}%
+  \def\btxeditorshort##1{\protect\foreignlanguage{#1}{ðåä.##1{}}}%
+  \def\btxeditorlong##1{\protect\foreignlanguage{#1}{ðåäàêòîð}}%
+  \def\btxeditorsshort##1{\protect\foreignlanguage{#1}{ðåä.##1{}}}%
+  \def\btxeditorslong##1{\protect\foreignlanguage{#1}{ðåäàêòîðû}}%
+  \def\btxvolumeshort##1{\protect\foreignlanguage{#1}{ò.##1{}}}%
+  \def\btxvolumelong##1{\protect\foreignlanguage{#1}{òîì}}%
+  \def\btxnumbershort##1{\protect\foreignlanguage{#1}{%
+      n\textsuperscript{\underline{o}}}}%
+  \def\btxnumberlong##1{\protect\foreignlanguage{#1}{íîìåð}}%
+  \def\btxeditionshort##1{\protect\foreignlanguage{#1}{ðåä.##1{}}}%
+  \def\btxeditionlong##1{\protect\foreignlanguage{#1}{ðåäàêöèÿ}}%
+  \def\btxchaptershort##1{\protect\foreignlanguage{#1}{ãë.##1{}}}%
+  \def\btxchapterlong##1{\protect\foreignlanguage{#1}{ãëàâà}}%
+  \def\btxpageshort##1{\protect\foreignlanguage{#1}{ñòð.##1{}}}%
+  \def\btxpagelong##1{\protect\foreignlanguage{#1}{ñòðàíèöà}}%
+  \def\btxpagesshort##1{\protect\foreignlanguage{#1}{ñòð.##1{}}}%
+  \def\btxpageslong##1{\protect\foreignlanguage{#1}{ñòðàíèöû}}%
+  \def\btxmastthesis##1{\protect\foreignlanguage{#1}{Äèïëîì ìàãèñòðà}}%
+  \def\btxphdthesis##1{\protect\foreignlanguage{#1}{Êàíäèäàòñêàÿ äèññåðòàöèÿ}}%
+  \def\btxtechrepshort##1{\protect\foreignlanguage{#1}{òåõ.\ îò÷åò##1{}}}%
+  \def\btxtechreplong##1{\protect\foreignlanguage{#1}{òåõíè÷åñêèé îò÷åò}}%
+  \def\btxmonjanlong##1{\protect\foreignlanguage{#1}{ÿíâàðü}}%
+  \def\btxmonfeblong##1{\protect\foreignlanguage{#1}{ôåâðàëü}}%
+  \def\btxmonmarlong##1{\protect\foreignlanguage{#1}{ìàðò}}%
+  \def\btxmonaprlong##1{\protect\foreignlanguage{#1}{àïðåëü}}%
+  \def\btxmonmaylong##1{\protect\foreignlanguage{#1}{ìàé}}%
+  \def\btxmonjunlong##1{\protect\foreignlanguage{#1}{èþíü}}%
+  \def\btxmonjullong##1{\protect\foreignlanguage{#1}{èþëü}}%
+  \def\btxmonauglong##1{\protect\foreignlanguage{#1}{àâãóñò}}%
+  \def\btxmonseplong##1{\protect\foreignlanguage{#1}{ñåíòÿáðü}}%
+  \def\btxmonoctlong##1{\protect\foreignlanguage{#1}{îêòÿáðü}}%
+  \def\btxmonnovlong##1{\protect\foreignlanguage{#1}{íîÿáðü}}%
+  \def\btxmondeclong##1{\protect\foreignlanguage{#1}{äåêàáðü}}%
+  \def\btxmonjanshort##1{\protect\foreignlanguage{#1}{ÿíâ.##1{}}}%
+  \def\btxmonfebshort##1{\protect\foreignlanguage{#1}{ôåâ.##1{}}}%
+  \def\btxmonmarshort##1{\protect\foreignlanguage{#1}{ìàð.##1{}}}%
+  \def\btxmonaprshort##1{\protect\foreignlanguage{#1}{àïð.##1{}}}%
+  \def\btxmonmayshort##1{\protect\foreignlanguage{#1}{ìàé}}%
+  \def\btxmonjunshort##1{\protect\foreignlanguage{#1}{èþíü##1{}}}%
+  \def\btxmonjulshort##1{\protect\foreignlanguage{#1}{èþëü##1{}}}%
+  \def\btxmonaugshort##1{\protect\foreignlanguage{#1}{àâã.##1{}}}%
+  \def\btxmonsepshort##1{\protect\foreignlanguage{#1}{ñåí.##1{}}}%
+  \def\btxmonoctshort##1{\protect\foreignlanguage{#1}{îêò.##1{}}}%
+  \def\btxmonnovshort##1{\protect\foreignlanguage{#1}{íîÿ.##1{}}}%
+  \def\btxmondecshort##1{\protect\foreignlanguage{#1}{äåê.##1{}}}%
+  \def\Btxinlong##1{\protect\foreignlanguage{#1}{Â}}%
+  \def\Btxinshort##1{\protect\foreignlanguage{#1}{Â}}%
+  \def\Btxeditorshort##1{\protect\foreignlanguage{#1}{Ðåä.##1{}}}%
+  \def\Btxeditorlong##1{\protect\foreignlanguage{#1}{Ðåäàêòîð}}%
+  \def\Btxeditorsshort##1{\protect\foreignlanguage{#1}{Ðåä.##1{}}}%
+  \def\Btxeditorslong##1{\protect\foreignlanguage{#1}{Ðåäàêòîðû}}%
+  \def\Btxvolumeshort##1{\protect\foreignlanguage{#1}{Ò.##1{}}}%
+  \def\Btxvolumelong##1{\protect\foreignlanguage{#1}{Òîì}}%
+  \def\Btxnumbershort##1{\protect\foreignlanguage{#1}{%
+      N\textsuperscript{\underline{o}}}}%
+  \def\Btxnumberlong##1{\protect\foreignlanguage{#1}{Íîìåð}}%
+  \def\Btxeditionshort##1{\protect\foreignlanguage{#1}{Ðåä.##1{}}}%
+  \def\Btxeditionlong##1{\protect\foreignlanguage{#1}{Ðåäàêöèÿ}}%
+  \def\Btxchaptershort##1{\protect\foreignlanguage{#1}{Ãë.##1{}}}%
+  \def\Btxchapterlong##1{\protect\foreignlanguage{#1}{Ãëàâà}}%
+  \def\Btxpageshort##1{\protect\foreignlanguage{#1}{Ñòð.##1{}}}%
+  \def\Btxpagelong##1{\protect\foreignlanguage{#1}{Ñòðàíèöà}}%
+  \def\Btxpagesshort##1{\protect\foreignlanguage{#1}{Ñòð.##1{}}}%
+  \def\Btxpageslong##1{\protect\foreignlanguage{#1}{Ñòðàíèöû}}%
+  \def\Btxtechrepshort##1{\protect\foreignlanguage{#1}{Òåõ.\ îò÷åò##1{}}}%
+  \def\Btxtechreplong##1{\protect\foreignlanguage{#1}{Òåõíè÷åñêèé îò÷åò}}%
+  \def\btxurldatecomment##1{\protect\foreignlanguage{#1}{, ïîñåùåíî ##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}{àíãëèéñêèé}}%
+    \def\btxlanguagenameaustrian{\protect\foreignlanguage{#1}{àâñòðèéñêèé}}%
+    \def\btxlanguagenamebrazil{\protect\foreignlanguage{#1}{ïîðòóãàëüñêèé}}%
+    \def\btxlanguagenamebrazilian{\protect\foreignlanguage{#1}{ïîðòóãàëüñêèé}}%
+    \def\btxlanguagenamebritish{\protect\foreignlanguage{#1}{àíãëèéñêèé}}%
+    \def\btxlanguagenamebulgarian{\protect\foreignlanguage{#1}{áîëãàðñêèé}}%
+    \def\btxlanguagenamecanadian{\protect\foreignlanguage{#1}{àíãëèéñêèé}}%
+    \def\btxlanguagenamecanadien{\protect\foreignlanguage{#1}{ôðàíöóçñêèé}}%
+    \def\btxlanguagenamecatalan{\protect\foreignlanguage{#1}{êàòàëîíñêèé}}%
+    \def\btxlanguagenamecroatian{\protect\foreignlanguage{#1}{õîðâàòñêèé}}%
+    \def\btxlanguagenameczech{\protect\foreignlanguage{#1}{÷åøñêèé}}%
+    \def\btxlanguagenamedanish{\protect\foreignlanguage{#1}{äàòñêèé}}%
+    \def\btxlanguagenamedutch{\protect\foreignlanguage{#1}{ãîëëàíäñêèé}}%
+    \def\btxlanguagenameenglish{\protect\foreignlanguage{#1}{àíãëèéñêèé}}%
+    \def\btxlanguagenameesperanto{\protect\foreignlanguage{#1}{ýñïåðàíòî}}%
+    \def\btxlanguagenamefinnish{\protect\foreignlanguage{#1}{ôèíñêèé}}%
+    \def\btxlanguagenamefranceis{\protect\foreignlanguage{#1}{ôðàíöóçñêèé}}%
+    \def\btxlanguagenamefrench{\protect\foreignlanguage{#1}{ôðàíöóçñêèé}}%
+    \def\btxlanguagenamefrenchb{\protect\foreignlanguage{#1}{ôðàíöóçñêèé}}%
+    \def\btxlanguagenamegerman{\protect\foreignlanguage{#1}{íåìåöêèé}}%
+    \def\btxlanguagenamegermanb{\protect\foreignlanguage{#1}{íåìåöêèé}}%
+    \def\btxlanguagenamegreek{\protect\foreignlanguage{#1}{ãðå÷åñêèé}}%
+    \def\btxlanguagenamehebrew{\protect\foreignlanguage{#1}{åâðåéñêèé}}%
+    \def\btxlanguagenamehungarian{\protect\foreignlanguage{#1}{âåíãåðñêèé}}%
+    \def\btxlanguagenameicelandic{\protect\foreignlanguage{#1}{èñëàíäñêèé}}%
+    \def\btxlanguagenameirish{\protect\foreignlanguage{#1}{èðëàíäñêèé}}%
+    \def\btxlanguagenameitalian{\protect\foreignlanguage{#1}{èòàëüÿíñêèé}}%
+    \def\btxlanguagenamelatin{\protect\foreignlanguage{#1}{ëàòèíñêèé}}%
+    \def\btxlanguagenamenaustrian{\protect\foreignlanguage{#1}{íåìåöêèé}}%
+    \def\btxlanguagenamengerman{\protect\foreignlanguage{#1}{íåìåöêèé}}%
+    \def\btxlanguagenamenorsk{\protect\foreignlanguage{#1}{íîðâåæñêèé}}%
+    \def\btxlanguagenamenynorsk{\protect\foreignlanguage{#1}{íîâîíîðâåæñêèé}}%
+    \def\btxlanguagenamepolish{\protect\foreignlanguage{#1}{ïîëüñêèé}}%
+    \def\btxlanguagenameportuges{\protect\foreignlanguage{#1}{ïîðòóãàëüñêèé}}%
+    \def\btxlanguagenameportuguese{\protect\foreignlanguage{#1}{ïîðòóãàëüñêèé}}%
+    \def\btxlanguagenamerussian{\protect\foreignlanguage{#1}{ðóññêèé}}%
+    \def\btxlanguagenamescottish{\protect\foreignlanguage{#1}{øîòëàíäñêèé}}%
+    \def\btxlanguagenameserbian{\protect\foreignlanguage{#1}{ñåðáñêèé}}%
+    \def\btxlanguagenamespanish{\protect\foreignlanguage{#1}{èñïàíñêèé}}%
+    \def\btxlanguagenameswedish{\protect\foreignlanguage{#1}{øâåäñêèé}}%
+    \def\btxlanguagenameturkish{\protect\foreignlanguage{#1}{òóðåöêèé}}%
+    \def\btxlanguagenameukrainian{\protect\foreignlanguage{#1}{óêðàèíñêèé}}%
+    \def\btxlanguagenameUKenglish{\protect\foreignlanguage{#1}{àíãëèéñêèé}}%
+    \def\btxlanguagenameUSenglish{\protect\foreignlanguage{#1}{àíãëèéñêèé}}%
+  \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{Dutch}
 % \changes{0.33}{2003/05/22}{Added Dutch language}%