From dfd6f58fc57a32aa2cf92a89505c43a3a624d634 Mon Sep 17 00:00:00 2001
From: Manuel Pégourié-Gonnard <mpg@elzevir.fr>
Date: Sun, 30 May 2010 16:01:55 +0000
Subject: hyph-utf8, part 6/6

git-svn-id: svn://tug.org/texlive/trunk@18609 c570f23f-e606-0410-a88d-b1316a301751
---
 .../patterns/tex-special/spechyph-ot1-la.tex       | 25 ++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 Master/texmf-dist/tex/generic/hyph-utf8/patterns/tex-special/spechyph-ot1-la.tex

(limited to 'Master/texmf-dist/tex/generic/hyph-utf8/patterns/tex-special/spechyph-ot1-la.tex')

diff --git a/Master/texmf-dist/tex/generic/hyph-utf8/patterns/tex-special/spechyph-ot1-la.tex b/Master/texmf-dist/tex/generic/hyph-utf8/patterns/tex-special/spechyph-ot1-la.tex
new file mode 100644
index 00000000000..f6e0c589c26
--- /dev/null
+++ b/Master/texmf-dist/tex/generic/hyph-utf8/patterns/tex-special/spechyph-ot1-la.tex
@@ -0,0 +1,25 @@
+\begingroup
+
+\catcode"C3=\active
+\catcode"C5=\active
+%
+\def^^c3#1{%
+	\ifx#1^^a6^^1a\else % æ - U+00E6 - ae
+	\errmessage{Hyphenation pattern file corrupted or OT1 encoding not supported!}
+\fi}
+\def^^c5#1{%
+	\ifx#1^^93^^1b\else % œ - U+0153 - oe
+	\errmessage{Hyphenation pattern file corrupted or OT1 encoding not supported!}
+\fi}
+%
+% ensure all the chars above have valid lccode values
+%
+\lccode"1A="1A % æ - U+00E6 - ae
+\lccode"1B="1B % œ - U+0153 - oe
+
+% Ligatures ae and oe (in OT1)
+\patterns{
+æ1
+œ1
+}
+\endgroup
-- 
cgit v1.2.3

