summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/hyph-utf8/patterns/tex-special/spechyph-ot1-la.tex
diff options
context:
space:
mode:
authorManuel Pégourié-Gonnard <mpg@elzevir.fr>2010-05-30 16:01:55 +0000
committerManuel Pégourié-Gonnard <mpg@elzevir.fr>2010-05-30 16:01:55 +0000
commitdfd6f58fc57a32aa2cf92a89505c43a3a624d634 (patch)
treed0ad8b418498264fdcda2e2a7a86de1c79336e3d /Master/texmf-dist/tex/generic/hyph-utf8/patterns/tex-special/spechyph-ot1-la.tex
parent6de65625fde5a29ef12184748427b745b01d869e (diff)
hyph-utf8, part 6/6
git-svn-id: svn://tug.org/texlive/trunk@18609 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/hyph-utf8/patterns/tex-special/spechyph-ot1-la.tex')
-rw-r--r--Master/texmf-dist/tex/generic/hyph-utf8/patterns/tex-special/spechyph-ot1-la.tex25
1 files changed, 25 insertions, 0 deletions
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