Bug#146804: tetex-base: lack of babel files for serbian (new files included)
Package: tetex-base
Version: 1.0.2+20011202-1
Severity: wishlist
Tags: patch
These files when included in the package add serbian cyrillic support to
LaTeX. They are changed from the russian, and they are not fool-proof yet.
However they work. I have filed a patch and bug #146803 and that file
needs to be included as well.
-------------
%%
%% This is file `serbianc.ldf',
%% generated manualy.
%%
%% The original source files were:
%%
%% russianb.dtx (with options: `code')
%% Copyright 1998-1999 Johannes L. Braams and any individual authors
%% listed elsewhere in this file. All rights reserved.
%%
%% For further copyright information see any other copyright notices in
%% this file.
%%
%% This file is not yet part of the Babel system release 3.6.
%% ----------------------------------------------------------
%%
%% It may be distributed under the terms of the LaTeX Project Public
%% License, as described in lppl.txt in the base LaTeX distribution.
%% Either version 1.0 or, at your option, any later version.
\ProvidesLanguage{serbianc}
[2001/11/25 v1.1l Serbian cyrillic support for the babel system]
%% File `serbianc.dtx'
%% Babel package for LaTeX version 2e
%% Copyright (C) 1989 - 1999
%% by Johannes Braams, TeXniek
%% Russianb Language Definition File
%% Copyright (C) 1995 - 1999
%% by Olga Lapko <cyrtug@mir.msk.su>
%% Johannes Braams, TeXniek
%% Adapted to the new T2 and X2 Cyrillic encodings
%% by Vladimir Volovich <TeX@vvv.vsu.ru>
%% Werner Lemberg <wl@gnu.org>
%% Please report errors to: J.L. Braams
%% JLBraams@cistron.nl
%%
%% Serbian Cyrillic Language Definition File
%% Copyright (C) 2001
%% by ¼ÐàÚÞ ÇÕåÐøÐ <thetaworld@yahoo.com>
%%
\LdfInit{serbianc}{captionsserbianc}
\ifx\l@serbianc\@undefined
\@nopatterns{Serbianc}
\adddialect\l@serbianc0
\fi
\let\latinencoding\cf@encoding
\def\reserved@a#1#2{%
\edef\reserved@b{#1}%
\edef\reserved@c{#2}%
\ifx\reserved@b\reserved@c
\let\cyrillicencoding\reserved@c
\fi}
\def\cdp@elt#1#2#3#4{%
\reserved@a{#1}{OT2}%
\reserved@a{#1}{LWN}%
\reserved@a{#1}{LCY}%
\reserved@a{#1}{X2}%
\reserved@a{#1}{T2C}%
\reserved@a{#1}{T2B}%
\reserved@a{#1}{T2A}}
\cdp@list
\ifx\cyrillicencoding\undefined
\IfFileExists{ot2enc.def}{\def\cyrillicencoding{OT2}}\relax
\IfFileExists{lwnenc.def}{\def\cyrillicencoding{LWN}}\relax
\IfFileExists{lcyenc.def}{\def\cyrillicencoding{LCY}}\relax
\IfFileExists{x2enc.def}{\def\cyrillicencoding{X2}}\relax
\IfFileExists{t2cenc.def}{\def\cyrillicencoding{T2C}}\relax
\IfFileExists{t2benc.def}{\def\cyrillicencoding{T2B}}\relax
\IfFileExists{t2aenc.def}{\def\cyrillicencoding{T2A}}\relax
\ifx\cyrillicencoding\undefined
\PackageError{babel}%
{No Cyrillic encoding definition files were found}%
{Your installation is incomplete.\MessageBreak
You need at least one of the following files:\MessageBreak
\space\space
x2enc.def, t2aenc.def, t2benc.def, t2cenc.def,\MessageBreak
\space\space
lcyenc.def, lwnenc.def, ot2enc.def.}%
\else
\lowercase
\expandafter{\expandafter\input\cyrillicencoding enc.def\relax}%
\fi
\fi
\DeclareRobustCommand{\Serbianc}{%
\fontencoding\cyrillicencoding\selectfont
\let\encodingdefault\cyrillicencoding
\expandafter\set@hyphenmins\russianhyphenmins
\language\l@serbianc}%
\DeclareRobustCommand{\English}{%
\fontencoding\latinencoding\selectfont
\let\encodingdefault\latinencoding
\expandafter\set@hyphenmins\englishhyphenmins
\language\l@english}%
\let\Src\Serbianc
\let\Eng\English
\let\cyrillictext\Serbianc
\let\cyr\Serbianc
\expandafter\ifx\csname T@X2\endcsname\relax\else
\def\@alph#1{{\fontencoding{\latinencoding}\selectfont
\ifcase#1\or
a\or b\or c\or d\or e\or f\or g\or h\or
i\or j\or k\or l\or m\or n\or o\or p\or
q\or r\or s\or t\or u\or v\or w\or x\or
y\or z\else\@ctrerr\fi}}%
\def\@Alph#1{{\fontencoding{\latinencoding}\selectfont
\ifcase#1\or
A\or B\or C\or D\or E\or F\or G\or H\or
I\or J\or K\or L\or M\or N\or O\or P\or
Q\or R\or S\or T\or U\or V\or W\or X\or
Y\or Z\else\@ctrerr\fi}}%
\DeclareTextSymbolDefault{\AA}{OT1}
\DeclareTextSymbolDefault{\aa}{OT1}
\DeclareTextCommand{\aa}{OT1}{\r a}
\DeclareTextCommand{\AA}{OT1}{\r A}
\fi
\begingroup\catcode`\"=12
\def\@tempa#1{\expandafter\@tempb\meaning#1\relax\relax\relax\relax
"0000\@nil#1}
\def\@tempb#1"#2#3#4#5#6\@nil#7{%
\ifnum"#2=7 \count@"1#3#4#5\relax
\ifnum\count@<"1000 \else \global\mathchardef#7="0#3#4#5\relax \fi
\fi}
\@tempa\Gamma\@tempa\Delta\@tempa\Theta\@tempa\Lambda\@tempa\Xi
\@tempa\Pi\@tempa\Sigma\@tempa\Upsilon\@tempa\Phi\@tempa\Psi
\@tempa\Omega
\def\@tempa#1#2\@nil{\def\@tempc{#1}}\def\@tempb{\mathaccent}
\expandafter\@tempa\hat\relax\relax\@nil
\ifx\@tempb\@tempc
\def\@tempa#1\@nil{#1}%
\def\@tempb#1{\afterassignment\@tempa\mathchardef\@tempc=}%
\def\do#1"#2{}
\def\@tempd#1{\expandafter\@tempb#1\@nil
\ifnum\@tempc>"FFF
\xdef#1{\mathaccent"\expandafter\do\meaning\@tempc\space}%
\fi}
\@tempd\hat\@tempd\check\@tempd\tilde\@tempd\acute\@tempd\grave
\@tempd\dot\@tempd\ddot\@tempd\breve\@tempd\bar
\fi
\endgroup
\@ifpackageloaded{inputenc}{}{%
\def\reserved@a{LWN}%
\ifx\reserved@a\cyrillicencoding\else
\def\reserved@a{OT2}%
\ifx\reserved@a\cyrillicencoding\else
\PackageWarning{babel}%
{No input encoding specified for Serbianc language}
\fi\fi}
\DeclareRobustCommand{\latintext}{%
\fontencoding{\latinencoding}\selectfont
\def\encodingdefault{\latinencoding}}
\let\lat\latintext
\DeclareTextFontCommand{\textcyrillic}{\cyrillictext}
\DeclareTextFontCommand{\textlatin}{\latintext}
\ifx\ltxTeX\undefined\let\ltxTeX\TeX\fi
\ProvideTextCommandDefault{\TeX}{\textlatin{\ltxTeX}}
\ifx\ltxLaTeX\undefined\let\ltxLaTeX\LaTeX\fi
\ProvideTextCommandDefault{\LaTeX}{\textlatin{\ltxLaTeX}}
\addto\captionsserbianc{%
\def\prefacename{%
{\cyr\CYRP\cyrr\cyre\cyrd\cyrg\cyro\cyrv\cyro\cyrr}}%
\def\refname{%
{\cyr\CYRL\cyri\cyrt\cyre\cyrr\cyra\cyrt\cyru\cyrr\cyra}}%
\def\abstractname{%
{\cyr\CYRS\cyra\cyrzh\cyre\cyrt\cyra\cyrk}}%
\def\bibname{%
{\cyr\CYRB\cyri\cyrb\cyrl\cyri\cyro\cyrg\cyrr\cyra\cyrf\cyri\cyrje\cyra}}%
\def\chaptername{{\cyr\CYRP\cyro\cyrg\cyrl\cyra\cyrv\cyrlje\cyre}}%
\def\appendixname{%
{\cyr\CYRD\cyro\cyrd\cyra\cyrt\cyra\cyrk}}%
\@ifundefined{thechapter}%
{\def\contentsname{%
{\cyr\CYRS\cyra\cyrd\cyrr\cyrzh\cyra\cyrje}}}%
{\def\contentsname{%
{\cyr\CYRS\cyra\cyrd\cyrr\cyrzh\cyra\cyrje}}}%
\def\listfigurename{%
{\cyr\CYRP\cyro\cyrp\cyri\cyrs\space\cyrs\cyrl\cyri\cyrk\cyra}}%
\def\listtablename{%
{\cyr\CYRP\cyro\cyrp\cyri\cyrs\space\cyrt\cyra\cyrb\cyrl\cyri\cyrc\cyra}}%
\def\indexname{%
{\cyr\CYRI\cyrn\cyrd\cyre\cyrk\cyrs}}%
\def\authorname{%
{\cyr\CYRA\cyru\cyrt\cyro\cyrr}}%
\def\figurename{{\cyr\CYRS\cyrl\cyri\cyrk\cyra}}%
\def\tablename{{\cyr\CYRT\cyra\cyrb\cyrl\cyri\cyrc\cyra}}%
\def\partname{{\cyr\CYRD\cyri\cyro}}%
\def\enclname{{\cyr\CYRP\cyrr\cyri\cyrl\cyro\cyrz\cyri}}%
\def\ccname{{\cyr\CYRK\cyro\cyrp\cyri\cyrje\cyre}}%
\def\headtoname{{\cyr\CYRP\cyrr\cyri\cyrm\cyra}}%
\def\pagename{{\cyr\CYRS\cyrt\cyrr\cyra\cyrn\cyri\cyrc\cyra}}%
\def\seename{{\cyr\CYRV\cyri\cyrd\cyrje\cyre\cyrt\cyri}}%
\def\alsoname{{\cyr\CYRV\cyri\cyrd\cyrje\cyre\cyrt\cyri\cyri}}%
\def\proofname{{\cyr\CYRD\cyro\cyrk\cyra\cyrz}}}
\def\dateserbianc{%
\def\today{\number\day.~\ifcase\month\or
\cyrje\cyra\cyrn\cyru\cyra\cyrr\or
\cyrf\cyre\cyrb\cyrr\cyru\cyra\cyrr\or
\cyrm\cyra\cyrr\cyrt\or
\cyra\cyrp\cyrr\cyri\cyrl\or
\cyrm\cyra\cyrje\or
\cyrje\cyru\cyrn\cyri\or
\cyrje\cyru\cyrl\cyri\or
\cyra\cyrv\cyrg\cyru\cyrs\cyrt\or
\cyrs\cyre\cyrp\cyrt\cyre\cyrm\cyrb\cyra\cyrr\or
\cyro\cyrk\cyrt\cyro\cyrb\cyra\cyrr\or
\cyrn\cyro\cyrv\cyre\cyrm\cyrb\cyra\cyrr\or
\cyrd\cyre\cyrc\cyre\cyrm\cyrb\cyra\cyrr\fi
\ \number\year.}}
\addto\extrasserbianc{\cyrillictext}
\addto\noextrasserbianc{\latintext}
\initiate@active@char{"}
\addto\extrasserbianc{\languageshorthands{serbianc}}
\addto\extrasserbianc{%
\bbl@activate{"}}
\addto\noextrasserbianc{%
\bbl@deactivate{"}}
\begingroup \catcode`\"12
\def\reserved@a{\endgroup
\def\@SS{\mathchar"7019 }
\def\dq{"}}
\reserved@a
\declare@shorthand{serbianc}{"`}{\glqq}
\declare@shorthand{serbianc}{"'}{\grqq}
\declare@shorthand{serbianc}{"<}{\flqq}
\declare@shorthand{serbianc}{">}{\frqq}
\declare@shorthand{serbianc}{""}{\hskip\z@skip}
\declare@shorthand{serbianc}{"~}{\textormath{\leavevmode\hbox{-}}{-}}
\declare@shorthand{serbianc}{"=}{\nobreak-\hskip\z@skip}
\declare@shorthand{serbianc}{"|}{%
\textormath{\nobreak\discretionary{-}{}{\kern.03em}%
\allowhyphens}{}}
\declare@shorthand{serbianc}{"-}{%
\def\serbianc@sh@tmp{%
\if\serbianc@sh@next-\expandafter\serbianc@sh@emdash
\else\expandafter\serbianc@sh@hyphen\fi
}%
\futurelet\serbianc@sh@next\serbianc@sh@tmp}
\def\serbianc@sh@hyphen{%
\nobreak\-\bbl@allowhyphens}
\def\serbianc@sh@emdash#1#2{\cdash-#1#2}
\def\cdash#1#2#3{\def\tempx@{#3}%
\def\tempa@{-}\def\tempb@{~}\def\tempc@{*}%
\ifx\tempx@\tempa@\@Acdash\else
\ifx\tempx@\tempb@\@Bcdash\else
\ifx\tempx@\tempc@\@Ccdash\else
\errmessage{Wrong usage of cdash}\fi\fi\fi}
\def\@Acdash{\ifdim\lastskip>\z@\unskip\nobreak\hskip.2em\fi
\cyrdash\hskip.2em\ignorespaces}%
\def\@Bcdash{\leavevmode\ifdim\lastskip>\z@\unskip\fi
\nobreak\cyrdash\penalty\exhyphenpenalty\hskip\z@skip\ignorespaces}%
\def\@Ccdash{\leavevmode
\nobreak\cyrdash\nobreak\hskip.35em\ignorespaces}%
\ifx\cyrdash\undefined
\def\cyrdash{\hbox to.8em{--\hss--}}
\fi
\def\mdqon{\bbl@activate{"}}
\def\mdqoff{\bbl@deactivate{"}}
\def\russianhyphenmins{\tw@\tw@}
\ifx\englishhyphenmins\undefined
\def\englishhyphenmins{\tw@\thr@@}
\fi
\addto\extrasserbianc{\bbl@frenchspacing}
\addto\noextrasserbianc{\bbl@nonfrenchspacing}
\def\Asbuk#1{\expandafter\@Asbuk\csname c@#1\endcsname}
\def\@Asbuk#1{\ifcase#1\or
\CYRA\or\CYRB\or\CYRV\or\CYRG\or\CYRD\or\CYRE\or\CYRZH\or
\CYRZ\or\CYRI\or\CYRK\or\CYRL\or\CYRM\or\CYRN\or\CYRO\or
\CYRP\or\CYRR\or\CYRS\or\CYRT\or\CYRU\or\CYRF\or\CYRH\or
\CYRC\or\CYRCH\or\CYRSH\or\CYRSHCH\or\CYREREV\or\CYRYU\or
\CYRYA\else\@ctrerr\fi}
\def\asbuk#1{\expandafter\@asbuk\csname c@#1\endcsname}
\def\@asbuk#1{\ifcase#1\or
\cyra\or\cyrb\or\cyrv\or\cyrg\or\cyrd\or\cyre\or\cyrzh\or
\cyrz\or\cyri\or\cyrk\or\cyrl\or\cyrm\or\cyrn\or\cyro\or
\cyrp\or\cyrr\or\cyrs\or\cyrt\or\cyru\or\cyrf\or\cyrh\or
\cyrc\or\cyrch\or\cyrsh\or\cyrshch\or\cyrerev\or\cyryu\or
\cyrya\else\@ctrerr\fi}
\@ifundefined{sym\cyrillicencoding letters}{}{%
\SetSymbolFont{\cyrillicencoding letters}{bold}\cyrillicencoding
\rmdefault\bfdefault\updefault
\DeclareSymbolFontAlphabet\cyrmathrm{\cyrillicencoding letters}
\DeclareMathAlphabet\cyrmathbf\cyrillicencoding
\rmdefault\bfdefault\updefault
\DeclareMathAlphabet\cyrmathsf\cyrillicencoding
\sfdefault\mddefault\updefault
\DeclareMathAlphabet\cyrmathit\cyrillicencoding
\rmdefault\mddefault\itdefault
\DeclareMathAlphabet\cyrmathtt\cyrillicencoding
\ttdefault\mddefault\updefault
\SetMathAlphabet\cyrmathsf{bold}\cyrillicencoding
\sfdefault\bfdefault\updefault
\SetMathAlphabet\cyrmathit{bold}\cyrillicencoding
\rmdefault\bfdefault\itdefault
}
\def\sh{\mathop{\operator@font sh}\nolimits}
\def\ch{\mathop{\operator@font ch}\nolimits}
\def\tg{\mathop{\operator@font tg}\nolimits}
\def\arctg{\mathop{\operator@font arctg}\nolimits}
\def\arcctg{\mathop{\operator@font arcctg}\nolimits}
\def\th{\mathop{\operator@font th}\nolimits}
\def\ctg{\mathop{\operator@font ctg}\nolimits}
\def\cth{\mathop{\operator@font cth}\nolimits}
\def\cosec{\mathop{\operator@font cosec}\nolimits}
\def\Prob{\mathop{\kern\z@\mathsf{P}}\nolimits}
\def\Variance{\mathop{\kern\z@\mathsf{D}}\nolimits}
\def\nod{\mathop{\cyrmathrm{\cyrn.\cyro.\cyrd.}}\nolimits}
\def\nok{\mathop{\cyrmathrm{\cyrn.\cyro.\cyrk.}}\nolimits}
\def\NOD{\mathop{\cyrmathrm{\CYRN\CYRO\CYRD}}\nolimits}
\def\NOK{\mathop{\cyrmathrm{\CYRN\CYRO\CYRK}}\nolimits}
\def\Proj{\mathop{\cyrmathrm{\CYRP\cyrr}}\nolimits}
\DeclareRobustCommand{\No}{%
\ifmmode{\nfss@text{\textnumero}}\else\textnumero\fi}
\ldf@finish{serbianc}
%%
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
%% Digits \0\1\2\3\4\5\6\7\8\9
%% Exclamation \! Double quote \" Hash (number) \#
%% Dollar \$ Percent \% Ampersand \&
%% Acute accent \' Left paren \( Right paren \)
%% Asterisk \* Plus \+ Comma \,
%% Minus \- Point \. Solidus \/
%% Colon \: Semicolon \; Less than \<
%% Equals \= Greater than \> Question mark \?
%% Commercial at \@ Left bracket \[ Backslash \\
%% Right bracket \] Circumflex \^ Underscore \_
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
%%
\endinput
%%
%% End of file `serbianc.ldf'.
------------------
\ProvidesFile{serbianc.mld}[2001/11/25]
% Provides titles for minitoc.sty in Serbian Cyrillic
\def\mtctitle{%
{\cyr\CYRS\cyra\cyrd\cyrr\cyrzh\cyra\cyrje}}%
%{\cyr \CYRS\CYRo\CYRd\CYRe\CYRr\CYRzh\CYRa\CYRn\CYRi\CYRe}}%
\def\mlftitle{%
{\cyr\CYRS\cyrl\cyri\cyrk\cyre}}%
\def\mlttitle{\cyr\CYRT\cyra\cyrb\cyrl\cyri\cyrc\cyre}%
}
\def\otctitle{%
{\cyr\CYRS\cyra\cyrd\cyrr\cyrzh\cyra\cyrje}}%
%{\cyr \CYRS\CYRo\CYRd\CYRe\CYRr\CYRzh\CYRa\CYRn\CYRi\CYRe}}%
\def\plftitle{%
{\cyr\CYRS\cyrl\cyri\cyrk\cyre}}%
\def\plttitle{\CYRT\cyra\cyrb\cyrl\cyri\cyrc\cyre}%
}
\def\stctitle{%
{\cyr\CYRS\cyra\cyrd\cyrr\cyrzh\cyra\cyrje}}%
%{\cyr \CYRS\CYRo\CYRd\CYRe\CYRr\CYRzh\CYRa\CYRn\CYRi\CYRe}}%
\def\slftitle{%
{\cyr\CYRS\cyrl\cyri\cyrk\cyre}}%
\def\slttitle{\CYRT\cyra\cyrb\cyrl\cyri\cyrc\cyre}%
}
---------
%%
%% This is file `serbianc.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% bbcompat.dtx (with options: `russianb')
%% Copyright 1998-1999 Johannes L. Braams and any individual authors
%% listed elsewhere in this file. All rights reserved.
%%
%% For further copyright information see any other copyright notices in
%% this file.
%%
%% This file is part of the Babel system release 3.6.
%% --------------------------------------------------
%%
%% It may be distributed under the terms of the LaTeX Project Public
%% License, as described in lppl.txt in the base LaTeX distribution.
%% Either version 1.0 or, at your option, any later version.
%% File 'bbcompat.dtx'
%% Copyright (C) 1989 -- 1999 by Johannes Braams,
%% TeXniek
%% all rights reserved.
%% Please report errors to: J.L. Braams
%% JLBraams@cistron.nl
\ifx\LdfInit\undefined
\def\LdfInit{%
\chardef\atcatcode=\catcode`\@
\catcode`\@=11\relax
\input babel.def\relax
\catcode`\@=\atcatcode \let\atcatcode\relax
\LdfInit}
\fi
\ifx\PackageError\undefined
\def\ProvidesLanguage#1[#2 #3 #4]{%
\wlog{Language: #1 #4 #3 <#2>}}%
\else
\def\bblstyerror{%
\PackageError{babel}%
{You have used an old interface to call babel\MessageBreak
You may expect compatibility problems wit other packages}%
{You could proceed but don't complain if you run into errors}%
\let\bblstyerror\@undefined
}
\ifx\ProvidesLanguage\undefined
\bblstyerror
\def\ProvidesLanguage{%
\chardef\atcatcode=\catcode`\@
\catcode`\@=11\relax
\input babel.def\relax
\catcode`\@=\atcatcode \let\atcatcode\relax
\ProvidesLanguage}
\else
\bblstyerror
\fi
\fi
\input russianb.ldf\relax
%%
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
%% Digits \0\1\2\3\4\5\6\7\8\9
%% Exclamation \! Double quote \" Hash (number) \#
%% Dollar \$ Percent \% Ampersand \&
%% Acute accent \' Left paren \( Right paren \)
%% Asterisk \* Plus \+ Comma \,
%% Minus \- Point \. Solidus \/
%% Colon \: Semicolon \; Less than \<
%% Equals \= Greater than \> Question mark \?
%% Commercial at \@ Left bracket \[ Backslash \\
%% Right bracket \] Circumflex \^ Underscore \_
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
\endinput
%%
%% End of file `serbianc.sty'.
-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux perlbroker.kosmos 2.2.19-udma100-ext3 #1 SMP Sat Oct 20 18:53:37 CEST 2001 i486
Locale: LANG=hr_HR, LC_CTYPE=hr_HR
Versions of packages tetex-base depends on:
ii dpkg 1.9.18 Package maintenance system for Deb
ii texinfo 4.0b-2 Documentation system for on-line i
--
To UNSUBSCRIBE, email to debian-tetex-maint-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: