From 4ab3220f33f1983f5aff7b7253ad229e44c952fe Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Sun, 27 Aug 2006 18:16:22 +0000
Subject: latex core update from latex-tds (27aug06)

git-svn-id: svn://tug.org/texlive/trunk@2043 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/latex/base/utf8.def | 27 ++++++++++++++++-----------
 1 file changed, 16 insertions(+), 11 deletions(-)

(limited to 'Master/texmf-dist/tex/latex/base/utf8.def')

diff --git a/Master/texmf-dist/tex/latex/base/utf8.def b/Master/texmf-dist/tex/latex/base/utf8.def
index 65b48799d93..0e8b7726627 100644
--- a/Master/texmf-dist/tex/latex/base/utf8.def
+++ b/Master/texmf-dist/tex/latex/base/utf8.def
@@ -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".
 %% 
@@ -37,8 +37,9 @@
 %% and covered by LPPL is defined by the unpacking scripts (with
 %% extension .ins) which are part of the distribution.
 \ProvidesFile{utf8.def}
-   [2004/02/09 v1.1b UTF-8 support for inputenc]
+   [2006/03/30 v1.1i UTF-8 support for inputenc]
 \makeatletter
+\catcode`\ \saved@space@catcode
 \def\UTFviii@two@octets#1#2{\expandafter
     \UTFviii@defined\csname u8:#1\string#2\endcsname}
 \def\UTFviii@three@octets#1#2#3{\expandafter
@@ -47,8 +48,9 @@
     \UTFviii@defined\csname u8:#1\string#2\string#3\string#4\endcsname}
 \def\UTFviii@defined#1{%
   \ifx#1\relax
-      \PackageError{inputenc}{Unicode char \string#1 not set up\space
-                              for use with LaTeX}\@eha
+      \PackageError{inputenc}{Unicode\space char\space \string#1\space
+                              not\space set\space up\space
+                              for\space use\space with\space LaTeX}\@eha
   \else\expandafter
     #1%
   \fi
@@ -106,7 +108,8 @@
 }
 \gdef\parse@XML@charref{%
   \ifnum\count@<"A0\relax
-     \PackageError{inputenc}{Cannot define Unicode char value < 00A0}\@eha
+     \PackageError{inputenc}{Cannot\space define\space Unicode\space
+                             char\space value\space <\space 00A0}\@eha
   \else\ifnum\count@<"800\relax
      \parse@UTFviii@a,%
      \parse@UTFviii@b C\UTFviii@two@octets.,%
@@ -145,8 +148,10 @@
   \def\cdp@elt#1#2#3#4{%
     \wlog{Now handling font encoding #1 ...}%
     \lowercase{%
-       \InputIfFileExists{#1enc.dfu}}
-          {\wlog{... processing UTF-8 mapping file for font encoding #1}}%
+        \InputIfFileExists{#1enc.dfu}}%
+           {\wlog{... processing UTF-8 mapping file for font encoding
+                  #1}%
+            \catcode`\ 9\relax}%
           {\wlog{... no UTF-8 mapping file for font encoding #1}}%
   }
   \cdp@list
@@ -178,7 +183,7 @@
 \DeclareUnicodeCharacter{00AE}{\textregistered}
 \DeclareUnicodeCharacter{00BA}{\textordmasculine}
 \DeclareUnicodeCharacter{02C6}{\textasciicircum}
-\DeclareUnicodeCharacter{02CA}{\textasciitilde}
+\DeclareUnicodeCharacter{02DC}{\textasciitilde}
 \DeclareUnicodeCharacter{200C}{\textcompwordmark}
 \DeclareUnicodeCharacter{2026}{\textellipsis}
 \DeclareUnicodeCharacter{2122}{\texttrademark}
-- 
cgit v1.2.3

