Package: ipolish / 20220301-1

13-UTF8-characters.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
From: Robert Luberda <robert@debian.org>
Date: Sun, 23 Oct 2005 22:39:28 +0200
Subject: UTF8 characters

Add declarations of UTF-8 characters into polish.aff. This should make it
possible to check Polish UTF-8 documents with a `ispell -T utf8' command.
---
 polish.aff | 46 ++++++++++++++++++++++++++++++++++++----------
 1 file changed, 36 insertions(+), 10 deletions(-)

diff --git a/polish.aff b/polish.aff
index 6a54d36..a4874e9 100644
--- a/polish.aff
+++ b/polish.aff
@@ -7,21 +7,47 @@ allaffixes on
 nroffchars	().\\*
 texchars	()\[]{}<\>\\$*.%
 
-defstringtype  "nroff" "nroff" ".mm" ".ms" ".me" ".man" ".NeXT"
+defstringtype  "nroff" "nroff" ".mm" ".ms" ".me" ".man" ".NeXT" ".txt"
 
 boundarychars "-"
 boundarychars "'" 
 boundarychars "."
 wordchars [a-z] [A-Z]
-wordchars  
-wordchars  
-wordchars  
-wordchars  
-wordchars  
-wordchars  
-wordchars  
-wordchars  
-wordchars  
+stringchar  
+stringchar  
+stringchar  
+stringchar  
+stringchar  
+stringchar  
+stringchar  
+stringchar  
+stringchar  
+
+
+#
+# UTF-8
+#
+altstringtype "utf8" "TeX" ".txt"
+
+
+altstringchar \xC4\x85 
+altstringchar \xC4\x84 
+altstringchar \xC4\x87 
+altstringchar \xC4\x86 
+altstringchar \xC4\x99 
+altstringchar \xC4\x98 
+altstringchar \xC5\x82 
+altstringchar \xC5\x81 
+altstringchar \xC5\x84 
+altstringchar \xC5\x83 
+altstringchar \xC3\xB3 
+altstringchar \xC3\x93 
+altstringchar \xC5\x9B 
+altstringchar \xC5\x9A 
+altstringchar \xC5\xBA 
+altstringchar \xC5\xB9 
+altstringchar \xC5\xBC 
+altstringchar \xC5\xBB 
 
 
 prefixes