%% 
%% This is file `galician.sty', generated 
%% on <1994/9/8> with the docstrip utility (2.2h).
%% 
%% The original source files were:
%% 
%% galician.dtx 
%% 
%% Copyright (C) 1989-1994 by Johannes Braams 
%% All rights reserved. 
%% For additional copyright information see further down in this file. 
%% 
%% This file is part of the Babel system, release 3.4 patchlevel 1 
%% --------------------------------------------------------------- 
%% 
%% This file is distributed in the hope that it will be useful, 
%% but WITHOUT ANY WARRANTY; without even the implied warranty of 
%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 
%% 
%% 
%% IMPORTANT NOTICE: 
%% 
%% For error reports in case of UNCHANGED versions see readme file. 
%% 
%% Please do not request updates from me directly. Distribution is 
%% done through Mail-Servers and TeX organizations. 
%% 
%% You are not allowed to change this file. 
%% 
%% You are allowed to distribute this file under the condition that 
%% it is distributed together with all files mentioned in manifest.txt. 
%% 
%% If you receive only some of these files from someone, complain! 
%% 
%% You are NOT ALLOWED to distribute this file alone. You are NOT 
%% ALLOWED to take money for the distribution or use of either this 
%% file or a changed version, except for a nominal charge for copying 
%% etc. 
%%% \iffalse ===========================================================
%%%  @LaTeX-style-file{
%%%     author_1        = "Manuel Carriba",
%%%     author_2        = "Johannes L. Braams",
%%%     version         = "1.1c
%%%     date            = "26 June 1994",
%%%     time            = "01:16:07 MET",
%%%     filename        = "galician.doc",
%%%     address         = "PTT Research
%%%                        St. Paulusstraat 4
%%%                        2264 XZ Leidschendam
%%%                        The Netherlands",
%%%     telephone       = "(70) 3325051",
%%%     FAX             = "(70) 3326477",
%%%     checksum        = "28930 712 3452 27531",
%%%     email_1         = "M.Carriba@dcs.shef.ac.uk (Internet)",
%%%     email_2         = "J.L.Braams@research.ptt.nl (Internet)",
%%%     codetable       = "ISO/ASCII",
%%%     keywords        = "babel, galician",
%%%     supported       = "yes",
%%%     abstract        = "",
%%%     docstring       = "This file contains the galician language
%%%                        specific definitions for the babel system.
%%%
%%%                        The checksum field above contains a CRC-16
%%%                        checksum as the first value, followed by the
%%%                        equivalent of the standard UNIX wc (word
%%%                        count) utility output of lines, words, and
%%%                        characters.  This is produced by Robert
%%%                        Solovay's checksum utility.",
%%%  }
%%%
%%%  ====================================================================
%%% \fi
\ifx\undefined\captionsgalician
\else
  \selectlanguage{galician}
  \expandafter\endinput
\fi
\ProvidesFile{galician.sty}[1994/06/26 v1.1c
         Galician support from the babel system]
\chardef\atcatcode=\catcode`\@
\catcode`\@=11\relax
\ifx\undefined\babel@core@loaded\input babel.def\relax\fi
\ifx\undefined\originalTeX
  \let\originalTeX\empty
\fi
\originalTeX
\ifx\undefined\l@galician
  \@nopatterns{Galician}
  \adddialect\l@galician0\fi
\addto\captionsgalician{%
  \def\prefacename{Preface}%   <- This needs translation!!
  \def\refname{Referencias}%
  \def\abstractname{Resume}%
  \def\bibname{Bibliograf\'{\i}a}%
  \def\chaptername{Cap\'{\i}tulo}%
  \def\appendixname{Ap\'endice}%
  \def\contentsname{\'Indice Xeral}%
  \def\listfigurename{\'Indice de Figuras}%
  \def\listtablename{\'Indice de T\'aboas}%
  \def\indexname{\'Indice de Materias}%
  \def\figurename{Figura}%
  \def\tablename{T\'aboa}%
  \def\partname{Parte}%
  \def\enclname{Adxunto}%
  \def\ccname{Copia a}%
  \def\headtoname{A}% Is this OK??
  \def\pagename{P\'axina}%
  \def\seename{See}%           <- This needs translation!!
  \def\alsoname{See also}%     <- This needs translation!!
}
\def\dategalician{%
  \def\today{\number\day~de\space\ifcase\month\or
    xaneiro\or febreiro\or marzal\or abril\or maio\or xu\~no\or
    xullo\or agosto\or setembro\or outubro\or novembro\or decembro\fi
    \space de~\number\year}}
\addto\extrasgalician{%
  \babel@add@special\"%
  \babel@add@special\'%
  \babel@add@special\~}
\addto\noextrasgalician{%
  \babel@remove@special\"%
  \babel@remove@special\'%
  \babel@remove@special\~}
\addto\extrasgalician{%
  \babel@savevariable{\catcode`\"}\babel@save\active@dq
  \babel@savevariable{\catcode`\'}\babel@save\active@ac
  \babel@savevariable{\catcode`\~}\babel@save\active@til
  \babel@save~}
\addto\extrasgalician{\catcode`\"\active\catcode`\'\active%
                     \catcode`\~\active}
\begingroup \catcode`\"\active \catcode`\~\active \catcode`\'\active
\def\x{\endgroup
  \addto\extrasgalician{%
    \def'{\protect\active@ac}\let\active@ac\galician@active@ac
    \def~{\protect\active@til}\let\active@til\galician@active@til
    \def"{\protect\active@dq}\let\active@dq\galician@active@dq}}
\x
\addto\extrasgalician{\babel@save\"\babel@save\'%
                      \babel@save\~\babel@save\a}
\addto\extrasgalician{\let\a\galician@a}
\addto\extrasgalician{\def\"{\protect\@umlaut}%
                      \def\'{\protect\@acute}%
                      \def\~{\protect\@tilde}}
\def\galician@a#1{{\if\string#1'\aftergroup\@acute
            \else \expandafter\aftergroup\csname a#1\endcsname\fi}}
\begingroup \catcode`\"12
\edef\x{\endgroup
  \def\noexpand\dq{"}
  \def\noexpand\til{~}}
\x
\let\dieresis\"
\let\textacute\'
\let\texttilde\~
\def\@umlaut#1{\expandafter\ifx\csname @um@\ifx #1\i \dotlessi%
                                           \else #1\fi\endcsname\relax%
        \allowhyphens\dieresis{#1}\allowhyphens
        \else\csname @um@#1\endcsname\fi}
\def\@acute#1{\expandafter\ifx\csname @ac@\ifx #1\i \dotlessi%
                                          \else #1\fi\endcsname\relax%
        \allowhyphens\textacute{#1}\allowhyphens%
        \else\csname @ac@#1\endcsname\fi}
\def\@tilde#1{\expandafter\ifx\csname @til@\ifx #1\i \dotlessi%
                                           \else #1\fi\endcsname\relax%
        \allowhyphens\texttilde{#1}\allowhyphens%
        \else\csname @til@#1\endcsname\fi}
\def\galician@active@dq{\futurelet\next\first@galician@active@dq}
\def\first@galician@active@dq{%
  \begingroup
  \ifx \next\bgroup \aftergroup\dq
    \else\ifx \next\egroup \aftergroup\dq
    \else\expandafter\ifx \space\next \aftergroup\dq
    \else\aftergroup\second@galician@active@dq
    \fi\fi\fi
  \endgroup}
\def\second@galician@active@dq#1{%
  \ifx #1-\allowhyphens-\allowhyphens
  \else\ifx #1|\discretionary{-}{}{\kern.03em}%
  \else\ifx #1u\@umlaut{u}%
  \else\ifx #1U\@umlaut{U}%
  \else\ifx #1o{\raise1ex\hbox{\underbar{\scriptsize o}}}%
  \else\ifx #1a{\raise1ex\hbox{\underbar{\scriptsize a}}}%
  \else \dq #1\fi\fi\fi\fi\fi\fi}
\def\galician@active@ac{{%
    \ifmmode\aftergroup\galician@math@ac
    \else\aftergroup\first@galician@active@ac\fi}}
\def\galician@math@ac{^\bgroup\catcode`\'=12\prim@s}
\def\first@galician@active@ac{\futurelet\next\second@galician@active@ac}
\def\second@galician@active@ac{%
  \begingroup
    \ifx \next\bgroup \aftergroup\rq
    \else\ifx \next\egroup \aftergroup\rq
    \else\expandafter\ifx \space\next \aftergroup\rq
    \else\aftergroup\third@galician@active@ac
    \fi\fi\fi \endgroup}
\def\third@galician@active@ac#1{%
     \ifx #1a\@acute{a}%
\else\ifx #1e\@acute{e}%
\else\ifx #1i\@acute{\dotlessi}%
\else\ifx #1o\@acute{o}%
\else\ifx #1u\@acute{u}%
\else\ifx #1A\@acute{A}%
\else\ifx #1E\@acute{E}%
\else\ifx #1I\@acute{I}%
\else\ifx #1O\@acute{O}%
\else\ifx #1U\@acute{U}%
\else\ifx #1n\@tilde{n}%  FTC compatibility
\else\ifx #1N\@tilde{N}%  FTC compatibility
\else\if\string#1'\rq\rq% Funny, this one gets the ligature right
\else\rq #1\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi}
\def\galician@active@til{\futurelet\next\first@galician@active@til}
\def\first@galician@active@til{%
  \begingroup
    \ifx \next\bgroup \aftergroup\til
    \else\ifx \next\egroup \aftergroup\til
    \else\expandafter\ifx \space\next \aftergroup\til
    \else\ifx n\next \@tilde{n}\aftergroup\@gobble
    \else\ifx N\next \@tilde{N}\aftergroup\@gobble
    \else\aftergroup\til
    \fi\fi\fi\fi\fi \endgroup}
    \def\thechar#1{{\uccode`!=#1\relax\uppercase{\gdef\next{!}}}}
    \thechar\i\global\let\dotlessi\next
\def\thechar#1{{\uccode`!=#1\relax\uppercase{\gdef\next{!}}}}
\thechar\i\global\let\dotlessi\next
\def\-{\allowhyphens\discretionary{-}{}{}\allowhyphens}
\selectlanguage{galician}
\catcode`\@|\atcatcode \let\atcatcode\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 `galician.sty'.
