% \iffalse meta-comment
%
% Copyright 1993-1995 the LaTeX3 project and any individual authors
% listed elsewhere in this file.  All rights reserved.
% 
% For further copyright information see the file legal.txt, and any
% other copyright notices in this file.
% 
% This file is part of the LaTeX2e system.
% ----------------------------------------
%   This system 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.
% 
%   For error reports concerning UNCHANGED versions of this file no more
%   than one year old, see bugs.txt.
% 
%   Please do not request updates from us directly.  Primary
%   distribution is through the CTAN archives.
% 
% 
% IMPORTANT COPYRIGHT NOTICE:
% 
% You are NOT ALLOWED to distribute this file alone.
% 
% You are allowed to distribute this file under the condition that it is
% distributed together with all the files listed in manifest.txt.
% 
% If you receive only some of these files from someone, complain!
% 
% Permission is granted to copy this file to another file with a clearly
% different name and to customize the declarations in that copy to serve
% the needs of your installation, provided that you comply with
% the conditions in the file legal.txt.
% 
% However, NO PERMISSION is granted to produce or to distribute a
% modified version of this file under its original name.
%  
% You are NOT ALLOWED to change this file.
% 
% 
% \fi
%
% \iffalse
%<*driver>
\documentclass{ltxdoc}
\usepackage[ascii]{inputenc}
\GetFileInfo{inputenc.sty}
\title{\filename}
\date{\fileversion\space\filedate}
 \author{%
  Alan Jeffrey\and
  Frank Mittelbach}

\begin{document}
\maketitle
 \setlength\hfuzz{60pt}
 \DocInput{inputenc.dtx}
\end{document}
%</driver>
% \fi
%
% \CheckSum{1164}
%
%% \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         \~}
%
% \changes{v0.01}{1994/03/09}{Created file.}
% \changes{v0.02}{1994/07/14}{Replaced \cs{Dh} by \cs{DH} and \cs{Th}
%    by \cs{TH}.}
% \changes{v0.02}{1994/07/14}{Added \cs{ensuremath} to the math
%    commands.}
% \changes{v0.02}{1994/07/14}{Added \cs{inputencoding}.}
% \changes{v0.03}{1994/09/04}{Added \cs{DeclareInputComposite} and the
%    \cs{ProvidesCommand}s to the encoding files.}
% \changes{v0.03}{1994/09/04}{Removed the definition of the accent slots
%     in Latin-1.}
% \changes{v0.04}{1994/10/20}{Replaced \cs{DeclareInputCharacter} by 
%     \cs{DeclareInputText} and \cs{DeclareInputMath}.}
% \changes{v0.04}{1994/10/20}{Removed \cs{DeclareInputComposite}.}
% \changes{v0.04}{1994/10/20}{Made many Latin-1 characters math-only.}
% \changes{v0.05}{1994/10/27}{Updated for the new version of ltoutenc.}
% \changes{v0.06}{1994/11/21}{Added \cs{textregistered}.}
% \changes{v0.06}{1994/11/21}{Added slot hex A0 to Latin-1.}
% \changes{v0.07}{1994/11/22}{Fixed typo A1 rather than A0.}
% \changes{v0.07}{1994/11/28}{Fixed where docstrip option had moved a
%    line.} 
% \changes{v0.09}{1994/12/10}{Added `beta test' message.}
% \changes{v0.09}{1994/12/10}{Made letters active and undefined by
%    default, rather than illegal.}
%
% \section{Introduction}
%
% This package allows the user to specify an input encoding (for
% example, ASCII, ISO Latin-1 or Macintosh) by saying:
% \begin{quote}
%    |\usepackage[|\emph{encoding name}|]{inputenc}|
% \end{quote}
% The encoding can also be selected in the document with:
% \begin{quote}
%    |\inputencoding{|\emph{encoding name}|}|
% \end{quote}
% The encodings provided by this pacakage are:
% \begin{itemize}
% \item |ascii| ASCII encoding for the range 32--127.
% \item |latin1| ISO Latin-1 encoding.
% \item |latin2| ISO Latin-2 encoding.
% \item |cp850| IBM 850 code page.
% \item |cp437| IBM 437 code page.
% \item |applemac| Macintosh encoding.
% \end{itemize}
% Each encoding has an associated |.def| file, for example
% |latin1.def| which defines the behaviour of each input character,
% using the commands:
% \begin{quote}
%    |\DeclareInputText{|\emph{slot}|}{|\emph{text}|}| \\
%    |\DeclareInputMath{|\emph{slot}|}{|\emph{math}|}| 
% \end{quote}
% This defines the input character \emph{slot} to be the
% \emph{text} material or \emph{math} material respectively.  
% For example, |latin1.def| defines slots |"D6| (\AE)
% and |"B5| ($\mu$) by saying:
%\begin{verbatim}
%    \DeclareInputText{"0D6}{\AE}
%    \DeclareInputMath{"0B5}{\mu}
%\end{verbatim}
% Note that the \emph{commands} should be robust, and should not be
% dependent on the output encoding.  The same \emph{slot} should not
% have both a text and a math declaration for it. (This restriction
% may be removed in future releases of inputenc).
%
% The |.def| file may also define
% commands using the declarations:\\
% |\providecommand| or |\ProvideTextCommandDefault|, 
%\begin{verbatim}
%    \ProvideTextCommandDefault{\textonequarter}{$\frac14$}
%    \DeclareInputText{"0BC}{\textonequarter}
%\end{verbatim}
% This means that a package can change the behaviour of the `!`' slot
% by redefining the command |\textexclamdown|.  See the documentation in
% |fntguide.tex| and |ltoutenc.dtx| for details of how to declare text 
% commands. 
%
% \StopEventually{}
%
% \section{Announcing the files}
%
% \changes{v0.9b}{1995/05/23}{Added applemac.def.}
% \changes{v0.9d}{1995/06/06}{Added applemac.def.}
%
% We announce the files:
%    \begin{macrocode}
%<package>\message{beta test version} 
%<package>\ProvidesPackage{inputenc}
%<ascii> \ProvidesFile{ascii.def}
%<latin1> \ProvidesFile{latin1.def}
%<latin2> \ProvidesFile{latin2.def}
%<cp850>  \ProvidesFile{cp850.def}
%<cp437>  \ProvidesFile{cp437.def}
%<applemac>  \ProvidesFile{applemac.def}
   [1995/06/06 v0.9d Input encoding file.]
%    \end{macrocode}
%
% \section{The package}
%
% \changes{v0.04}{1994/10/20}{Improved codeing of \cs{DeclareInputText} 
%    and changed name from \cs{DeclareInputCharacter}.}
%
% \changes{v0.9b}{1995/05/23}{Added hackery with \cs{IeC} in order to
%    avoid space being gobbled.}
%
% \begin{macro}{\DeclareInputText}
% \begin{macro}{\DeclareInputMath}
% \begin{macro}{\IeC}
%    The declaration commands declare a new active character.  The
%    math declaration is the usual trick with |\uppercase|.
%    The text declaration is sneakier, since in text space matters.
%    We look to see if the definition ends in a macro, by checking
%    whether it's |\meaning| ends in a space.  If it does, then we
%    add an irrelevant |\IeC| and braces around the definition, in
%    order to avoid any space after the active char being gobbled up
%    once the text is written out to an auxiliary file.
%    \begin{macrocode}
%<*package>
\def\DeclareInputMath#1{%
   \bgroup
      \uccode`\~#1%
      \uppercase{%
   \egroup
      \def~%
   }%
}
\def\DeclareInputText#1#2{%
   \def\@tempa{#2}%
   \def\@tempb##1 ${}
   \edef\@tempa{\expandafter\@tempb\meaning\@tempa$ $}%
   \ifx\@tempa\@empty
      \DeclareInputMath{#1}{#2}%
   \else
      \DeclareInputText{#1}{\IeC{#2}}%
   \fi
}
\DeclareRobustCommand{\IeC}[1]{#1}
%    \end{macrocode}
% \end{macro}
% \end{macro}
% \end{macro}
%
% \begin{macro}{\inputencoding}
%    To set the encoding to be \emph{foo}, we input an encoding file
%    \emph{foo}|.def| with the command
%    |\inputencoding|.  This sets all the slots
%    128--255 to be active characters, sets their initial definition
%    to be |\@undefined|, then inputs \emph{foo}|.def|.
%    \begin{macrocode}
\def\inputencoding#1{%
   \@tempcnta=128
   \loop\ifnum\@tempcnta<256
      \catcode\@tempcnta\active
      \bgroup
         \uccode`\~\@tempcnta
         \uppercase{%
      \egroup
         \let~\@undefined
      }%
      \advance\@tempcnta\@ne
   \repeat
   \input{#1.def}%
}
%    \end{macrocode}
% \end{macro}
% Then for each option, we input that encoding file.
%    \begin{macrocode}
\DeclareOption*{\inputencoding{\CurrentOption}}
\ProcessOptions
%</package>
%    \end{macrocode}
%
%
% \section{Default definitions for characters}
%
% Some input characters map to internal function which aren't found in
% either |T1| or |OT1| encoding. For this reason we are providing
% default definitions for them which will apply unless some output
% encoding is used which supports those glyphs.
%
% \changes{v0.9a}{1995/04/23}{Default settings moved to own section}
%
% \changes{v0.9b}{1995/05/23}{Corrected ordmasc and ordfem which had
%    been switched by mistake.}
%
%    \begin{macrocode}
%<latin1|cp850|applemac>\ProvideTextCommandDefault{\textregistered}{\textcircled{\textsc r}}
%<latin1|cp850>\ProvideTextCommandDefault{\textonequarter}{$\frac14$}
%<latin1|cp850>\ProvideTextCommandDefault{\textonehalf}{$\frac12$}
%<latin1|cp850>\ProvideTextCommandDefault{\textthreequarters}{$\frac34$}
%<applemac>\ProvideTextCommandDefault{\texttrademark}{\textsuperscript{TM}}
%<applemac|cp850>\ProvideTextCommandDefault{\textflorin}{\textit{f}}
%    \end{macrocode}
%
% Characters that are supposed to be used only in math will be defined
% by |\providecommand| because the \LaTeXe{} assumes that the font
% encoding for math fonts is static.
%    \begin{macrocode}
%<latin1|cp850|cp437|applemac>\providecommand{\mathdegree}{{{}^\circ}}
%<latin1|cp850>\providecommand{\mathonesuperior}{{{}^1}}
%<latin1|cp850|cp437>\providecommand{\mathtwosuperior}{{{}^2}}
%<latin1|cp850|cp437>\providecommand{\maththreesuperior}{{{}^3}}
%<latin1|applemac|cp850|cp437>\providecommand{\mathordmasculine}{{{}^o}}
%<latin1|applemac|cp850|cp437>\providecommand{\mathordfeminine}{{{}^a}}
%    \end{macrocode}
%
% \section{The ASCII encoding}
%
% The ASCII encoding only allows characters in the range 32--127, so
% we only need to provide an empty |.def| file.
%
% \section{The ISO Latin-1 encoding}
%
% The ISO Latin-1 encoding file defines the characters in the ISO
% encoding.
%
% Note that the following commands are normally not defined:
% |\textcent|, |\textcurrency|, |\textyen| and |\textbrokenbar|. This
% means that their use will result in a low-level undefined command
% name error except when an output encoding is used which provides
% these commands.
%
% \changes{v0.9a}{1995/04/23}{\cs{textonequarter} and friends should
%                     be declared with \cs{DeclareInputText}}
%
%    \begin{macrocode}
%<*latin1>
\DeclareInputText{"0A0}{~}                 \DeclareInputMath{"0B0}{\mathdegree}        
\DeclareInputText{"0A1}{\textexclamdown}   \DeclareInputMath{"0B1}{\pm}                
\DeclareInputText{"0A2}{\textcent}         \DeclareInputMath{"0B2}{\mathtwosuperior}   
\DeclareInputText{"0A3}{\textsterling}     \DeclareInputMath{"0B3}{\maththreesuperior}
\DeclareInputText{"0A4}{\textcurrency}     \DeclareInputText{"0B4}{\'{}}              
\DeclareInputText{"0A5}{\textyen}          \DeclareInputMath{"0B5}{\mu}                
\DeclareInputText{"0A6}{\textbrokenbar}    \DeclareInputText{"0B6}{\P}                 
\DeclareInputText{"0A7}{\S}                \DeclareInputMath{"0B7}{\cdot}              
\DeclareInputText{"0A8}{\"{}}              \DeclareInputText{"0B8}{\c{}}           
\DeclareInputText{"0A9}{\copyright}        \DeclareInputMath{"0B9}{\mathonesuperior}   
\DeclareInputMath{"0AA}{\mathordmasculine} \DeclareInputMath{"0BA}{\mathordfeminine}   
\DeclareInputText{"0AB}{\guillemotleft}    \DeclareInputText{"0BB}{\guillemotright}    
\DeclareInputMath{"0AC}{\lnot}             \DeclareInputText{"0BC}{\textonequarter}    
\DeclareInputText{"0AD}{\textendash}       \DeclareInputText{"0BD}{\textonehalf}       
\DeclareInputText{"0AE}{\textregistered}   \DeclareInputText{"0BE}{\textthreequarters} 
\DeclareInputText{"0AF}{\={}}              \DeclareInputText{"0BF}{\textquestiondown}  
%    \end{macrocode}
%    
%    \begin{macrocode}
\DeclareInputText{"0C0}{\`A}   \DeclareInputText{"0D0}{\DH}    
\DeclareInputText{"0C1}{\'A}   \DeclareInputText{"0D1}{\~N}    
\DeclareInputText{"0C2}{\^A}   \DeclareInputText{"0D2}{\`O}    
\DeclareInputText{"0C3}{\~A}   \DeclareInputText{"0D3}{\'O}    
\DeclareInputText{"0C4}{\"A}   \DeclareInputText{"0D4}{\^O}    
\DeclareInputText{"0C5}{\AA}   \DeclareInputText{"0D5}{\~O}    
\DeclareInputText{"0C6}{\AE}   \DeclareInputText{"0D6}{\"O}    
\DeclareInputText{"0C7}{\c C}  \DeclareInputMath{"0D7}{\times} 
\DeclareInputText{"0C8}{\`E}   \DeclareInputText{"0D8}{\O}     
\DeclareInputText{"0C9}{\'E}   \DeclareInputText{"0D9}{\`U}    
\DeclareInputText{"0CA}{\^E}   \DeclareInputText{"0DA}{\'U}    
\DeclareInputText{"0CB}{\"E}   \DeclareInputText{"0DB}{\^U}    
\DeclareInputText{"0CC}{\`I}   \DeclareInputText{"0DC}{\"U}    
\DeclareInputText{"0CD}{\'I}   \DeclareInputText{"0DD}{\'Y}    
\DeclareInputText{"0CE}{\^I}   \DeclareInputText{"0DE}{\TH}    
\DeclareInputText{"0CF}{\"I}   \DeclareInputText{"0DF}{\ss}    
%    \end{macrocode}
%    
%    \begin{macrocode}
\DeclareInputText{"0E0}{\`a}   \DeclareInputText{"0F0}{\dh} 
\DeclareInputText{"0E1}{\'a}   \DeclareInputText{"0F1}{\~n} 
\DeclareInputText{"0E2}{\^a}   \DeclareInputText{"0F2}{\`o} 
\DeclareInputText{"0E3}{\~a}   \DeclareInputText{"0F3}{\'o} 
\DeclareInputText{"0E4}{\"a}   \DeclareInputText{"0F4}{\^o} 
\DeclareInputText{"0E5}{\aa}   \DeclareInputText{"0F5}{\~o} 
\DeclareInputText{"0E6}{\ae}   \DeclareInputText{"0F6}{\"o} 
\DeclareInputText{"0E7}{\c c}  \DeclareInputMath{"0F7}{\div}
\DeclareInputText{"0E8}{\`e}   \DeclareInputText{"0F8}{\o}  
\DeclareInputText{"0E9}{\'e}   \DeclareInputText{"0F9}{\`u} 
\DeclareInputText{"0EA}{\^e}   \DeclareInputText{"0FA}{\'u} 
\DeclareInputText{"0EB}{\"e}   \DeclareInputText{"0FB}{\^u} 
\DeclareInputText{"0EC}{\`\i}  \DeclareInputText{"0FC}{\"u} 
\DeclareInputText{"0ED}{\'\i}  \DeclareInputText{"0FD}{\'y} 
\DeclareInputText{"0EE}{\^\i}  \DeclareInputText{"0FE}{\th} 
\DeclareInputText{"0EF}{\"\i}  \DeclareInputText{"0FF}{\"y} 
%</latin1>
%    \end{macrocode}
%
% \section{The ISO Latin-2 encoding}
%
% The ISO Latin-2 encoding file defines the characters
% in the ISO 8859-2 encoding. It was contributed
%  by Petr Sojka (\texttt{sojka@muni.cz}) with slight technical updates
%  by Frank.
%
% Note that the following command is not defined: 
% |\textcurrency|.
%
% Then the characters themselves:
%    \begin{macrocode}
%<*latin2>
\DeclareInputText{"0A0}{~}             \DeclareInputText{"0B0}{\r{}}    
\DeclareInputText{"0A1}{\k A}          \DeclareInputText{"0B1}{\k a}      
\DeclareInputText{"0A2}{\u{}}          \DeclareInputText{"0B2}{\c{}}      
\DeclareInputText{"0A3}{\L}            \DeclareInputText{"0B3}{\l}        
\DeclareInputText{"0A4}{\textcurrency} \DeclareInputText{"0B4}{\'{}}      
\DeclareInputText{"0A5}{\v L}          \DeclareInputText{"0B5}{\v l}      
\DeclareInputText{"0A6}{\'S}           \DeclareInputText{"0B6}{\'s}       
\DeclareInputText{"0A7}{\S}            \DeclareInputText{"0B7}{\v{}}      
\DeclareInputText{"0A8}{\"{}}          \DeclareInputText{"0B8}{\c{}}      
\DeclareInputText{"0A9}{\v S}          \DeclareInputText{"0B9}{\v s}      
\DeclareInputText{"0AA}{\c S}          \DeclareInputText{"0BA}{\c s}      
\DeclareInputText{"0AB}{\v T}          \DeclareInputText{"0BB}{\v t}      
\DeclareInputText{"0AC}{\'Z}           \DeclareInputText{"0BC}{\'z}       
\DeclareInputText{"0AD}{\textendash}   \DeclareInputText{"0BD}{\H{}}      
\DeclareInputText{"0AE}{\v Z}          \DeclareInputText{"0BE}{\v z}      
\DeclareInputText{"0AF}{\.Z}           \DeclareInputText{"0BF}{\.z}       
%    \end{macrocode}
%    
%    \begin{macrocode}
\DeclareInputText{"0C0}{\'R}     \DeclareInputText{"0D0}{\DH}   
\DeclareInputText{"0C1}{\'A}     \DeclareInputText{"0D1}{\'N}   
\DeclareInputText{"0C2}{\^A}     \DeclareInputText{"0D2}{\v N}  
\DeclareInputText{"0C3}{\u A}    \DeclareInputText{"0D3}{\'O}   
\DeclareInputText{"0C4}{\"A}     \DeclareInputText{"0D4}{\^O}   
\DeclareInputText{"0C5}{\'L}     \DeclareInputText{"0D5}{\H O}  
\DeclareInputText{"0C6}{\'C}     \DeclareInputText{"0D6}{\"O}   
\DeclareInputText{"0C7}{\c C}    \DeclareInputMath{"0D7}{\times}
\DeclareInputText{"0C8}{\v C}    \DeclareInputText{"0D8}{\v R}  
\DeclareInputText{"0C9}{\'E}     \DeclareInputText{"0D9}{\r U}  
\DeclareInputText{"0CA}{\k E}    \DeclareInputText{"0DA}{\'U}   
\DeclareInputText{"0CB}{\"E}     \DeclareInputText{"0DB}{\H U}  
\DeclareInputText{"0CC}{\v E}    \DeclareInputText{"0DC}{\"U}   
\DeclareInputText{"0CD}{\'I}     \DeclareInputText{"0DD}{\'Y}   
\DeclareInputText{"0CE}{\^I}     \DeclareInputText{"0DE}{\c T}  
\DeclareInputText{"0CF}{\v D}    \DeclareInputText{"0DF}{\ss}   
%    \end{macrocode}
%    
%    \begin{macrocode}
\DeclareInputText{"0E0}{\'r}     \DeclareInputText{"0F0}{\dh}  
\DeclareInputText{"0E1}{\'a}     \DeclareInputText{"0F1}{\'n}  
\DeclareInputText{"0E2}{\^a}     \DeclareInputText{"0F2}{\v n} 
\DeclareInputText{"0E3}{\u a}    \DeclareInputText{"0F3}{\'o}  
\DeclareInputText{"0E4}{\"a}     \DeclareInputText{"0F4}{\^o}  
\DeclareInputText{"0E5}{\'l}     \DeclareInputText{"0F5}{\H o} 
\DeclareInputText{"0E6}{\'c}     \DeclareInputText{"0F6}{\"o}  
\DeclareInputText{"0E7}{\c c}    \DeclareInputMath{"0F7}{\div} 
\DeclareInputText{"0E8}{\v c}    \DeclareInputText{"0F8}{\v r} 
\DeclareInputText{"0E9}{\'e}     \DeclareInputText{"0F9}{\r u} 
\DeclareInputText{"0EA}{\k e}    \DeclareInputText{"0FA}{\'u}  
\DeclareInputText{"0EB}{\"e}     \DeclareInputText{"0FB}{\H u} 
\DeclareInputText{"0EC}{\v e}    \DeclareInputText{"0FC}{\"u}  
\DeclareInputText{"0ED}{\'\i}    \DeclareInputText{"0FD}{\'y}  
\DeclareInputText{"0EE}{\^\i}    \DeclareInputText{"0FE}{\c t} 
\DeclareInputText{"0EF}{\v d}    \DeclareInputText{"0FF}{\.{}} 
%</latin2>
%    \end{macrocode}
%    
%
% \section{The IBM code page 850}
%
% \changes{v0.9d}{1995/06/06}{Made changes to cp850 suggested by
%    Christian Bartels}
%
% The coding for this inputencoding was contributed by Timo Knuutila
% (\texttt{knuutila@cs.utu.fi}),
% and edited by Christian Bartels 
% (\texttt{ii140ba@vm1.rz.rwth-aachen.de}).  
% The dos graphics `letters' and a few
% other positions are ignored (left undefined).
%
% Note that |\textcent|, |\textcurrency|, and |\textyen| are not defined.
%
%    \begin{macrocode}
%<*cp850>
\DeclareInputText{"080}{\c C}  \DeclareInputText{"090}{\'E}          
\DeclareInputText{"081}{\"u}   \DeclareInputText{"091}{\ae}          
\DeclareInputText{"082}{\'e}   \DeclareInputText{"092}{\AE}          
\DeclareInputText{"083}{\^a}   \DeclareInputText{"093}{\^o}          
\DeclareInputText{"084}{\"a}   \DeclareInputText{"094}{\"o}          
\DeclareInputText{"085}{\`a}   \DeclareInputText{"095}{\`o}          
\DeclareInputText{"086}{\aa}   \DeclareInputText{"096}{\^u}          
\DeclareInputText{"087}{\c c}  \DeclareInputText{"097}{\`u}          
\DeclareInputText{"088}{\^e}   \DeclareInputText{"098}{\"y}          
\DeclareInputText{"089}{\"e}   \DeclareInputText{"099}{\"O}          
\DeclareInputText{"08A}{\`e}   \DeclareInputText{"09A}{\"U}          
\DeclareInputText{"08B}{\"\i}  \DeclareInputText{"09B}{\o}           
\DeclareInputText{"08C}{\^\i}  \DeclareInputText{"09C}{\textsterling}
\DeclareInputText{"08D}{\`\i}  \DeclareInputText{"09D}{\O}           
\DeclareInputText{"08E}{\"A}   \DeclareInputMath{"09E}{\times}       
\DeclareInputText{"08F}{\AA}   \DeclareInputText{"09F}{\textflorin}
%    \end{macrocode}
%    
%    \begin{macrocode}
\DeclareInputText{"0A0}{\'a}
\DeclareInputText{"0A1}{\'\i}
\DeclareInputText{"0A2}{\'o}
\DeclareInputText{"0A3}{\'u}
\DeclareInputText{"0A4}{\~n}               %% "B0-"B4: DG                    
\DeclareInputText{"0A5}{\~N}               \DeclareInputText{"0B5}{\'A}        
\DeclareInputMath{"0A6}{\mathordmasculine} \DeclareInputText{"0B6}{\^A}       
\DeclareInputMath{"0A7}{\mathordfeminine}  \DeclareInputText{"0B7}{\`A}       
\DeclareInputText{"0A8}{\textquestiondown} \DeclareInputText{"0B8}{\copyright}
\DeclareInputText{"0A9}{\textregistered}
\DeclareInputMath{"0AA}{\lnot}
\DeclareInputText{"0AB}{\textonehalf}
\DeclareInputText{"0AC}{\textonequarter}   %% "B9-"BC: DG                   
\DeclareInputText{"0AD}{\textexclamdown}   \DeclareInputText{"0BD}{\textcent}
\DeclareInputText{"0AE}{\guillemotleft}    \DeclareInputText{"0BE}{\textyen} 
\DeclareInputText{"0AF}{\guillemotright}
%    \end{macrocode}
%    
%    \begin{macrocode}
% "BF-"C5: DG  
                                       \DeclareInputText{"0D0}{\dh}
                                       \DeclareInputText{"0D1}{\DH}
                                       \DeclareInputText{"0D2}{\^E}
                                       \DeclareInputText{"0D3}{\"E}
                                       \DeclareInputText{"0D4}{\`E}
                                       \DeclareInputText{"0D5}{\i} 
\DeclareInputText{"0C6}{\~a}           \DeclareInputText{"0D6}{\'I}
\DeclareInputText{"0C7}{\~A}           \DeclareInputText{"0D7}{\^I}
                                       \DeclareInputText{"0D8}{\"I}
% "C8-"CE: DG
                                       %% "D9-"DC: DG
                                       \DeclareInputText{"0DD}{\textbrokenbar}
                                       \DeclareInputText{"0DE}{\`I}
\DeclareInputText{"0CF}{\textcurrency}  %% "DF: DG
%    \end{macrocode}
%    
%    \begin{macrocode}
\DeclareInputText{"0E0}{\'O}   \DeclareInputText{"0F3}{\textendash}
\DeclareInputText{"0E1}{\ss}   \DeclareInputMath{"0F1}{\pm}               
\DeclareInputText{"0E2}{\^O}   %% "F2: DG (double underline)
\DeclareInputText{"0E3}{\`O}   \DeclareInputText{"0F3}{\textthreequarters}
\DeclareInputText{"0E4}{\~o}   \DeclareInputText{"0F4}{\P}                
\DeclareInputText{"0E5}{\~O}   \DeclareInputText{"0F5}{\S}                
\DeclareInputMath{"0E6}{\mu}   \DeclareInputMath{"0F6}{\div}              
\DeclareInputText{"0E7}{\th}   \DeclareInputText{"0F7}{\c{}}              
\DeclareInputText{"0E8}{\TH}   \DeclareInputMath{"0F8}{\mathdegree}       
\DeclareInputText{"0E9}{\'U}   \DeclareInputText{"0F9}{\"{}}              
\DeclareInputText{"0EA}{\^U}   \DeclareInputMath{"0FA}{\cdot}             
\DeclareInputText{"0EB}{\`U}   \DeclareInputMath{"0FB}{\mathonesuperior}  
\DeclareInputText{"0EC}{\'y}   \DeclareInputMath{"0FC}{\maththreesuperior}
\DeclareInputText{"0ED}{\'Y}   \DeclareInputMath{"0FD}{\mathtwosuperior}  
\DeclareInputText{"0EE}{\={}}  %% "FE: DG (box)
\DeclareInputText{"0EF}{\'{}}  \DeclareInputText{"0FF}{~}
%</cp850>
%    \end{macrocode}
%
% \section{The IBM codepage 437}
%
% \changes{v0.9d}{1995/06/06}{Added cp437}
%
% The coding for this inputencoding is based on work by
% Volker Kunert (\texttt{volker@numsun1.mathematik.uni-halle.de})
% and \texttt{bontus@al6000.physik.uni-siegen.de}.
% The dos graphics `letters' and a few
% other positions are ignored (left undefined).
%
%    \begin{macrocode}
%<*cp437>
\DeclareInputText{"80}{{\c C}}
\DeclareInputText{"81}{\"u}
\DeclareInputText{"82}{\'e}
\DeclareInputText{"83}{\^a}
\DeclareInputText{"84}{\"a}
\DeclareInputText{"85}{\`a}
\DeclareInputText{"86}{\aa}
\DeclareInputText{"87}{{\c c}}
\DeclareInputText{"88}{\^e}
\DeclareInputText{"89}{\"e}
\DeclareInputMath{"8A}{\`e}
\DeclareInputText{"8B}{\"\i}
\DeclareInputMath{"8C}{\^\i}
\DeclareInputText{"8D}{\`\i}
\DeclareInputText{"8E}{\"A}
\DeclareInputText{"8F}{\AA}
\DeclareInputText{"90}{\'E}
\DeclareInputText{"91}{\ae}
\DeclareInputText{"92}{\AE}
\DeclareInputText{"93}{\^o}
\DeclareInputText{"94}{\"o}
\DeclareInputText{"95}{\`o}
\DeclareInputText{"96}{\^u}
\DeclareInputText{"97}{\`u}
\DeclareInputText{"98}{\"y}
\DeclareInputText{"99}{\"O}
\DeclareInputMath{"9A}{\"U}
\DeclareInputText{"9B}{\textcent}
\DeclareInputMath{"9C}{\textsterling}
\DeclareInputText{"9D}{\textyen}
%\DeclareInputMath{"9E}{} % Pt
%\DeclareInputMath{"9F}{{\ensuremath{\rlap{-}\int}}} % should be int with dash 
\DeclareInputText{"A0}{\'a} % 160
\DeclareInputText{"A1}{\'\i}
\DeclareInputText{"A2}{\'o}
\DeclareInputText{"A3}{\'u}
\DeclareInputText{"A4}{\~n}
\DeclareInputText{"A5}{\~N}
\DeclareInputMath{"A6}{\mathordfeminine}
\DeclareInputMath{"A7}{\mathordmasculine}
\DeclareInputText{"A8}{\textquestiondown}
%\DeclareInputText{"A9}{\ensuremath{\lceil}} % left upper corner
%\DeclareInputMath{"AA}{\ensuremath{\rceil}} % right upper corner
\DeclareInputText{"AB}{\textonehalf}
\DeclareInputText{"AC}{\textonequarter}
\DeclareInputText{"AD}{\textexclamdown}
\DeclareInputText{"AE}{\guillemotleft}
\DeclareInputText{"AF}{\guillemotright}
%\DeclareInputText{"B0}{\textlightgraybox}
%\DeclareInputText{"B1}{\textgraybox}
%\DeclareInputText{"B2}{\textdarkgraybox}
%\DeclareInputMath{"B3}{} % vertical bar
%\DeclareInputText{"B4}{} % vertical bar with branch to left
%\DeclareInputText{"B5}{} % vertical bar with double branch to left
%\DeclareInputText{"B6}{} % double bar with single branch to left
%\DeclareInputText{"B7}{} % graphic 
%\DeclareInputText{"B8}{} % graphic 
%\DeclareInputMath{"B9}{} % vertical double bar with branch to left
%\DeclareInputMath{"BA}{} % vertical double bar 
%\DeclareInputText{"BB}{} % double upper right corner
%\DeclareInputMath{"BC}{} % double lower right corner
%\DeclareInputText{"BD}{} % graphic 
%\DeclareInputText{"BE}{} % graphic 
%\DeclareInputMath{"BF}{\ensuremath{\rceil}}
%\DeclareInputMath{"C0}{\ensuremath{\lfloor}}
%\DeclareInputText{"C1}{} % dash with branch up
%\DeclareInputText{"C2}{} % dash with branch down
%\DeclareInputText{"C3}{} % vertical bar with branch to right
\DeclareInputText{"C4}{\textendash}
%\DeclareInputText{"C5}{} % vertical bar crossed with dash
%\DeclareInputText{"C6}{} % graphic 
%\DeclareInputText{"C7}{} % graphic 
%\DeclareInputText{"C8}{} % double lower left corner
%\DeclareInputText{"C9}{} % double upper left corner
%\DeclareInputText{"CA}{} % double dash with branch up
%\DeclareInputText{"CB}{} % double dash with branch down
%\DeclareInputText{"CC}{} % double bar with branch right
%\DeclareInputText{"CD}{=} % double dash
%\DeclareInputText{"CE}{} % double bar crossing double dash
%\DeclareInputText{"CF}{} % graphic 
%\DeclareInputMath{"D0}{}
%\DeclareInputText{"D1}{} 
%\DeclareInputText{"D2}{}
%\DeclareInputText{"D3}{}
%\DeclareInputText{"D4}{}
%\DeclareInputText{"D5}{} 
%\DeclareInputText{"D6}{}
%\DeclareInputText{"D7}{}
%\DeclareInputText{"D8}{}
%\DeclareInputMath{"D9}{\ensuremath{\rfloor}} % lower right corner
%\DeclareInputMath{"DA}{\ensuremath{\lceil}}  % upper left corner
%\DeclareInputText{"DB}{} % black box
%\DeclareInputText{"DC}{} % lower half of black box
\DeclareInputText{"DD}{\textbrokenbar} % bar with gap
%\DeclareInputText{"DE}{}
%\DeclareInputText{"DF}{} % upper half of black box
\DeclareInputMath{"E0}{\alpha}
\DeclareInputMath{"E1}{\beta}
\DeclareInputMath{"E2}{\Gamma}
\DeclareInputMath{"E3}{\Pi}
\DeclareInputMath{"E4}{\Sigma}
\DeclareInputMath{"E5}{\sigma}
\DeclareInputMath{"E6}{\mu}
\DeclareInputMath{"E7}{\gamma}
\DeclareInputMath{"E8}{\Theta}
\DeclareInputMath{"E9}{\theta}
\DeclareInputMath{"EA}{\Omega}
\DeclareInputMath{"EB}{\delta}
\DeclareInputMath{"EC}{\infty}
\DeclareInputMath{"ED}{\emptyset}
\DeclareInputMath{"EE}{\varepsilon}  
\DeclareInputMath{"EF}{\cap}
\DeclareInputMath{"F0}{\equiv}
\DeclareInputMath{"F1}{\pm}
\DeclareInputMath{"F2}{\ge}
\DeclareInputMath{"F3}{\le}
%\DeclareInputMath{"F4}{}   % upper part of integral sign
%\DeclareInputMath{"F5}{}   % lower part of integral sign
\DeclareInputMath{"F6}{\div}
\DeclareInputText{"F7}{\c{}} % cedilla ?
\DeclareInputMath{"F8}{\mathdegree}
\DeclareInputMath{"F9}{\cdot} 
\DeclareInputMath{"FA}{\bullet} 
\DeclareInputMath{"FB}{\surd}
\DeclareInputMath{"FC}{\maththreesuperior}
\DeclareInputMath{"FD}{\mathtwosuperior}
%\DeclareInputText{"FE}{} % black square
\DeclareInputText{"FF}{~}
%</cp437>
%    \end{macrocode}
%
% \section{The Macintosh encoding}
%
% \changes{v0.09b}{1995/05/23}{Added Mac encoding}
% \changes{v0.09c}{1995/05/30}{Made mac encoding `active german quote
%    safe', and added the correct docstrip magic.}
%
% The coding for this input encoding was contributed by Constantin Kahn
% (\texttt{kahn@math.toronto.edu}), with minor modifications by Alan
% Jeffrey. 
%
%    \begin{macrocode}
%<*applemac>
\DeclareInputText{"080}{\"A}
\DeclareInputText{"081}{\AA}
\DeclareInputText{"082}{\c C}
\DeclareInputText{"083}{\'E}
\DeclareInputText{"084}{\~N}
\DeclareInputText{"085}{\"O}
\DeclareInputText{"086}{\"U}
\DeclareInputText{"087}{\'a}
\DeclareInputText{"088}{\`a}
\DeclareInputText{"089}{\^a}
\DeclareInputText{"08A}{\"a}
\DeclareInputText{"08B}{\~a}
\DeclareInputText{"08C}{\aa}
\DeclareInputText{"08D}{\c c}
\DeclareInputText{"08E}{\'e}
\DeclareInputText{"08F}{\`e}
\DeclareInputText{"090}{\^e}
\DeclareInputText{"091}{\"e}
\DeclareInputText{"092}{\'\i}
\DeclareInputText{"093}{\`\i}
\DeclareInputText{"094}{\^\i}
\DeclareInputText{"095}{\"\i}
\DeclareInputText{"096}{\~n}
\DeclareInputText{"097}{\'o}
\DeclareInputText{"098}{\`o}
\DeclareInputText{"099}{\^o}
\DeclareInputText{"09A}{\"o}
\DeclareInputText{"09B}{\~o}
\DeclareInputText{"09C}{\'u}
\DeclareInputText{"09D}{\`u}
\DeclareInputText{"09E}{\^u}
\DeclareInputText{"09F}{\"u}
\DeclareInputText{"0A0}{\dag}
\DeclareInputMath{"0A1}{\mathdegree}
\DeclareInputText{"0A2}{\textcent}
\DeclareInputText{"0A3}{\textsterling}
\DeclareInputText{"0A4}{\S}
\DeclareInputText{"0A5}{\textbullet}
\DeclareInputText{"0A6}{\P}
\DeclareInputText{"0A7}{\ss}
\DeclareInputText{"0A8}{\textregistered}
\DeclareInputText{"0A9}{\copyright}
\DeclareInputText{"0AA}{\texttrademark}
\DeclareInputText{"0AB}{\'{}}
\DeclareInputText{"0AC}{\"{}}
\DeclareInputMath{"0AD}{\neq}
\DeclareInputText{"0AE}{\AE}
\DeclareInputText{"0AF}{\O}
\DeclareInputMath{"0B0}{\infty}
\DeclareInputMath{"0B1}{\pm}
\DeclareInputMath{"0B2}{\leq}
\DeclareInputMath{"0B3}{\geq}
\DeclareInputText{"0B4}{\textyen}
\DeclareInputMath{"0B5}{\mu}
\DeclareInputMath{"0B6}{\partial}
\DeclareInputMath{"0B7}{\Sigma}
\DeclareInputMath{"0B8}{\Pi}
\DeclareInputMath{"0B9}{\pi}
\DeclareInputMath{"0BA}{\int}
\DeclareInputMath{"0BB}{\mathordfeminine}
\DeclareInputMath{"0BC}{\mathordmasculine}
\DeclareInputMath{"0BD}{\Omega}
\DeclareInputText{"0BE}{\ae}
\DeclareInputText{"0BF}{\o}
\DeclareInputText{"0C0}{\textquestiondown}
\DeclareInputText{"0C1}{\textexclamdown}
\DeclareInputMath{"0C2}{\lnot}
\DeclareInputMath{"0C3}{\surd}
\DeclareInputText{"0C4}{\textflorin}
\DeclareInputMath{"0C5}{\approx}
\DeclareInputMath{"0C6}{\Delta}
\DeclareInputText{"0C7}{\guillemotleft}
\DeclareInputText{"0C8}{\guillemotright}
\DeclareInputText{"0C9}{\dots}
\DeclareInputText{"0CA}{~}
\DeclareInputText{"0CB}{\`A}
\DeclareInputText{"0CC}{\~A}
\DeclareInputText{"0CD}{\~O}
\DeclareInputText{"0CE}{\OE}
\DeclareInputText{"0CF}{\oe}
\DeclareInputText{"0D0}{\textendash}
\DeclareInputText{"0D1}{\textemdash}
\DeclareInputText{"0D2}{\textquotedblleft}
\DeclareInputText{"0D3}{\textquotedblright}
\DeclareInputText{"0D4}{\textquoteleft}
\DeclareInputText{"0D5}{\textquoteright}
\DeclareInputMath{"0D6}{\div}
\DeclareInputMath{"0D7}{\diamond}
\DeclareInputText{"0D8}{\"y}
\DeclareInputText{"0D9}{\"Y}
\DeclareInputMath{"0DA}{/}
\DeclareInputText{"0DB}{\textcurrency}
\DeclareInputText{"0DC}{\guilsinglleft}
\DeclareInputText{"0DD}{\guilsinglright}
\DeclareInputText{"0DE}{fi}
\DeclareInputText{"0DF}{fl}
\DeclareInputText{"0E0}{\ddag}
\DeclareInputText{"0E1}{\textperiodcentered}
\DeclareInputText{"0E2}{\quotesinglbase}
\DeclareInputText{"0E3}{\quotedblbase}
\DeclareInputText{"0E4}{\perthousand}
\DeclareInputText{"0E5}{\^A}
\DeclareInputText{"0E6}{\^E}
\DeclareInputText{"0E7}{\'A}
\DeclareInputText{"0E8}{\"E}
\DeclareInputText{"0E9}{\`E}
\DeclareInputText{"0EA}{\'I}
\DeclareInputText{"0EB}{\^I}
\DeclareInputText{"0EC}{\"I}
\DeclareInputText{"0ED}{\`I}
\DeclareInputText{"0EE}{\'O}
\DeclareInputText{"0EF}{\^O}
\DeclareInputText{"0F0}{\textapplelogo}
\DeclareInputText{"0F1}{\`O}
\DeclareInputText{"0F2}{\'U}
\DeclareInputText{"0F3}{\^U}
\DeclareInputText{"0F4}{\`U}
\DeclareInputText{"0F5}{\i}
\DeclareInputText{"0F6}{\^{}}
\DeclareInputText{"0F7}{\~{}}
\DeclareInputText{"0F8}{\={}}
\DeclareInputText{"0F9}{\u{}}
\DeclareInputText{"0FA}{\.{}}
\DeclareInputText{"0FB}{\r{}}
\DeclareInputText{"0FC}{\c{}}
\DeclareInputText{"0FD}{\H{}}
\DeclareInputText{"0FE}{\k{}}
\DeclareInputText{"0FF}{\v{}}
\endinput
%</applemac>
%    \end{macrocode}
%
% \DeleteShortVerb{\|}
% \Finale
\endinput
