summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/base/utf8.def
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-08-27 18:16:22 +0000
committerKarl Berry <karl@freefriends.org>2006-08-27 18:16:22 +0000
commit4ab3220f33f1983f5aff7b7253ad229e44c952fe (patch)
treec9d2408cfe8c113537c0031bc7e50bda98a262dc /Master/texmf-dist/tex/latex/base/utf8.def
parent6e05e1819838930d7f7e4eb36620d2994a45b97b (diff)
latex core update from latex-tds (27aug06)
git-svn-id: svn://tug.org/texlive/trunk@2043 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/base/utf8.def')
-rw-r--r--Master/texmf-dist/tex/latex/base/utf8.def27
1 files changed, 16 insertions, 11 deletions
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}