summaryrefslogtreecommitdiff
path: root/tex/context/base/cont-usr.ori
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2004-08-15 00:00:00 +0200
committerHans Hagen <pragma@wxs.nl>2004-08-15 00:00:00 +0200
commit57f1545214ebba9625b9be722d4e4f9357dab87a (patch)
tree29dd99fb0b08de5fca50a557e8af043ea082478a /tex/context/base/cont-usr.ori
parent599c5089a184d1967ec8dc66307de52378e911d4 (diff)
downloadcontext-57f1545214ebba9625b9be722d4e4f9357dab87a.tar.gz
stable 2004.08.15
Diffstat (limited to 'tex/context/base/cont-usr.ori')
-rw-r--r--tex/context/base/cont-usr.ori20
1 files changed, 14 insertions, 6 deletions
diff --git a/tex/context/base/cont-usr.ori b/tex/context/base/cont-usr.ori
index 22b8a63f5..6c6c2f121 100644
--- a/tex/context/base/cont-usr.ori
+++ b/tex/context/base/cont-usr.ori
@@ -50,7 +50,17 @@
\definefilesynonym [lang-tr.pat] [trhyph.tex]
\definefilesynonym [lang-ua.pat] [ukrenhyp.tex]
\definefilesynonym [lang-uk.pat] [ukhyphen.tex]
-\definefilesynonym [lang-us.pat] [ushyph1.tex]
+\definefilesynonym [lang-us.pat] [ushyph.tex]
+
+%D Ah, something changed in 2003 with respect to ushyph.tex, so let's
+%D fall back when needed. I first noticed this during a workshop at the
+%D practical tex conference 2004 in sf. Yet another proof of a mess in
+%D filenames.
+
+ \doiffileelse{ushyph.tex} {\definefilesynonym[lang-us.pat][ushyph.tex]}
+{\doiffileelse{ushyph1.tex} {\definefilesynonym[lang-us.pat][ushyph1.tex]}
+{\doiffileelse{ushyph2.tex} {\definefilesynonym[lang-us.pat][ushyph2.tex]}
+ {\definefilesynonym[lang-us.pat][ukhyph.tex]}}}
%D When the dutch spelling changed, new patterns were
%D constructed. For long these were named \type {dutch96.pat}.
@@ -60,11 +70,9 @@
%D files as well as their coding is one of the dark areas of
%D \TEX\ distributions.
-\doiffileelse{nehyph96.tex}
- {\definefilesynonym[lang-nl.pat][nehyph96.tex]}
- {\doiffileelse{dutch96.pat}
- {\definefilesynonym[lang-nl.pat][dutch96.pat]}
- {\definefilesynonym[lang-nl.pat][nehyph.tex]}}
+ \doiffileelse{nehyph96.tex} {\definefilesynonym[lang-nl.pat][nehyph96.tex]}
+{\doiffileelse{dutch96.pat} {\definefilesynonym[lang-nl.pat][dutch96.pat]}
+ {\definefilesynonym[lang-nl.pat][nehyph.tex]}}
%D Pattern files are (can be) encoded! And, alas, not all
%D pattern files are self contained, which is why (for the