1 % ----------------------------------------------------------------------
2 % Swedish hyphenation patterns.
4 % Copyright 1994 by Jan Michael Rynning. All rights reserved.
6 % This program may be distributed and/or modified under the conditions
7 % of the LaTeX Project Public License, either version 1.2 of this
8 % license or (at your option) any later version. The latest version of
9 % this license is in http://www.latex-project.org/lppl.txt and version
10 % 1.2 or later is part of all distributions of LaTeX version 1999/12/01
13 % Last update: 1994-03-03 (March 3, 1994).
15 % 1991-01-08: First version available for anonymous FTP.
16 % 1991-08-08: Changed \aa to \aa0 at end of line, to stop TeX from
17 % concatenating the patterns.
18 % 1991-09-03: Cleaned up lots of inconsistencies in the dictionary.
19 % As a consequence, the patterns shrunk a lot. Also
20 % added some 4000 one-syllable words, some of which were
21 % hyphenated by the old patterns, and some 1500 compound
22 % words, about half of which were incorrectly hyphenated
23 % by the old patterns.
24 % 1991-11-01: Added another some 6200 compound words, all of which were
25 % incorrectly hyphenated by the old patterns.
26 % 1991-11-13: Added another some 6500 compound words, all of which were
27 % incorrectly hyphenated by the old patterns.
28 % 1992-01-30: Changed macros to ^^, for use with LaTeX and dc fonts.
29 % 1994-03-03: The hyphenated dictionary now contains about 118,000
30 % words. The hyphenation now works much better for compound
31 % words. Patgen parameters: 1 2 20, 2 1 8, 1 4 7, 3 2 1, 1
34 % This file contains Swedish hyphenation patterns for TeX. It assumes
35 % that you have fonts with the Swedish letters in the positions where
36 % they occur in ISO Latin 1 (ISO 8859/1):
37 % Letter: \AA \"A \"O \'E \aa \"a \"o \'e
38 % Position: "C5 "C4 "D6 "C9 "E5 "E4 "F6 "E9
40 % Load this file into initex after plain.tex (or lplain.tex, splain.tex,
43 % The patterns were generated in such a way that they will hyphenate
44 % correctly if \lefthyphenmin>=1 and \righthyphenmin>=2.
46 % These hyphenation patterns work quite well for simple words, but not
47 % quite as well for compound words. I'm working on improving the
48 % quality, by adding more words. If you know any Swedish words which
49 % are not correctly hypheneted using these patterns, or if you have
50 % questions or comments, please contact me:
52 % Jan Michael Rynning <jmr@incolumitas.se>
53 % ----------------------------------------------------------------------
54 \message{Swedish hyphenation patterns, Jan Michael Rynning, 1994-03-03.}
56 % Set \catcode, \uccode, and \lccode for the Swedish letters.
57 % This should be done for all letters, really.
58 \catcode`^^c5=11 \catcode`^^c4=11 \catcode`^^d6=11 \catcode`^^c9=11
59 \catcode`^^e5=11 \catcode`^^e4=11 \catcode`^^f6=11 \catcode`^^e9=11
60 \uccode`^^c5=`^^c5 \uccode`^^c4=`^^c4 \uccode`^^d6=`^^d6 \uccode`^^c9=`^^c9
61 \uccode`^^e5=`^^c5 \uccode`^^e4=`^^c4 \uccode`^^f6=`^^d6 \uccode`^^e9=`^^c9
62 \lccode`^^c5=`^^e5 \lccode`^^c4=`^^e4 \lccode`^^d6=`^^f6 \lccode`^^c9=`^^e9
63 \lccode`^^e5=`^^e5 \lccode`^^e4=`^^e4 \lccode`^^f6=`^^f6 \lccode`^^e9=`^^e9
64 \patterns{ % just type <return> if you're not using INITEX
4761 % ======================================================================
4763 % ======================================================================
4769 % vim: set filetype=tex textwidth=72: