summaryrefslogtreecommitdiff
path: root/language/hyphenation/dkhyphen/dkhyphen.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /language/hyphenation/dkhyphen/dkhyphen.tex
Initial commit
Diffstat (limited to 'language/hyphenation/dkhyphen/dkhyphen.tex')
-rw-r--r--language/hyphenation/dkhyphen/dkhyphen.tex45
1 files changed, 45 insertions, 0 deletions
diff --git a/language/hyphenation/dkhyphen/dkhyphen.tex b/language/hyphenation/dkhyphen/dkhyphen.tex
new file mode 100644
index 0000000000..b5c9b4bde8
--- /dev/null
+++ b/language/hyphenation/dkhyphen/dkhyphen.tex
@@ -0,0 +1,45 @@
+%% dkhyphen.tex
+%% Copyright 1994 Frank Jensen (Frank.Jensen@hugin.com)
+%
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.3
+% 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.
+%
+% This work consists of the files dkcommon.tex, dkhyphen.tex and
+% dkspecial.tex.
+%
+% This file contains the hyphenation patterns for danish.
+%
+% The danish letters have been encoded as follows:
+% \ae -> X
+% \o -> Y
+% \aa -> Z
+%
+%
+% First, we input the patterns containing only `normal' letters (a-z).
+\input dkcommon
+
+% Next, we input patterns for the extra danish letters. We input them
+% twice: once for OT1 encoding and once for T1 encoding.
+
+% OT1 encoding: we have to specify a value for the \aa letter; it can
+% be any value (it will not be used, since OT1 doesn't contain the letter).
+\begingroup
+\lccode`X="1A
+\lccode`Y="1C
+\lccode`Z="97 % (almost) arbitrary
+\input dkspecial
+\endgroup
+
+% T1 encoding:
+\begingroup
+\lccode`X=230
+\lccode`Y=248
+\lccode`Z=229
+\input dkspecial
+\endgroup
+\endinput