summaryrefslogtreecommitdiff
path: root/language/guarani/guarani.sty
blob: e07c6aa8831e05dd21f85ffab5f1de279bc59189 (plain)
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
% This is file is guarani.sty
%
% Copyright (c) 2004 Javier Bezos
% All rights reserved.
%
% Please report bugs to: jbezos@wanadoo.es

\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
\def\CurrentOption{guarani}
\input guarani.ldf\relax

\endinput