summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/base/inputenc.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/base/inputenc.sty')
-rw-r--r--Master/texmf-dist/tex/latex/base/inputenc.sty17
1 files changed, 12 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/base/inputenc.sty b/Master/texmf-dist/tex/latex/base/inputenc.sty
index 6e54dfddb4f..08d97c89a2e 100644
--- a/Master/texmf-dist/tex/latex/base/inputenc.sty
+++ b/Master/texmf-dist/tex/latex/base/inputenc.sty
@@ -8,7 +8,7 @@
%%
%% This is a generated file.
%%
-%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004
+%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006
%% The LaTeX3 Project and any individual authors listed elsewhere
%% in this file.
%%
@@ -16,12 +16,12 @@
%% --------------------------------------------------------------
%%
%% It may be distributed and/or modified under the
-%% conditions of the LaTeX Project Public License, either version 1.3
+%% conditions of the LaTeX Project Public License, either version 1.3c
%% of this license or (at your option) any later version.
%% The latest version of this license is in
%% http://www.latex-project.org/lppl.txt
-%% and version 1.3 or later is part of all distributions of LaTeX
-%% version 2003/12/01 or later.
+%% and version 1.3c or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
%%
%% This file has the LPPL maintenance status "maintained".
%%
@@ -51,9 +51,10 @@
%% Right bracket \] Circumflex \^ Underscore \_
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
+
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{inputenc}
- [2004/02/05 v1.0d Input encoding file]
+ [2006/05/05 v1.1b Input encoding file]
\def\DeclareInputMath#1{%
\@inpenc@test
\bgroup
@@ -80,14 +81,17 @@
\fi
}
\def\inputencoding#1{%
+ \the\inpenc@prehook
\gdef\@inpenc@test{\global\let\@inpenc@test\relax}%
\edef\@inpenc@undefined{\noexpand\@inpenc@undefined@{#1}}%
+ \edef\inputencodingname{#1}%
\@inpenc@loop\^^A\^^H%
\@inpenc@loop\^^K\^^K%
\@inpenc@loop\^^N\^^_%
\@inpenc@loop\^^?\^^ff%
\advance\endlinechar\@M
\xdef\saved@space@catcode{\the\catcode`\ }%
+ \catcode`\ 9\relax
\input{#1.def}%
\advance\endlinechar-\@M
\catcode`\ \saved@space@catcode\relax
@@ -96,7 +100,10 @@
{No characters defined\MessageBreak
by input encoding change to `#1'\MessageBreak}%
\fi
+ \the\inpenc@posthook
}
+\newtoks\inpenc@prehook
+\newtoks\inpenc@posthook
\def\@inpenc@undefined@#1{\PackageError{inputenc}%
{Keyboard character used is undefined\MessageBreak
in inputencoding `#1'}%