Skip to content

Commit

Permalink
alphabet/*: add test for new latin locale options, more (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
t-tk committed Jun 19, 2021
1 parent 419d1e9 commit 0683619
Show file tree
Hide file tree
Showing 13 changed files with 1,609 additions and 1 deletion.
10 changes: 9 additions & 1 deletion doc/samples/alphabet/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ltn:
done ; \
done
for num in 1 2; do \
for loc in da de nb nn ca vi; do \
for loc in da fr gl nb nn ca vi; do \
locx=$${loc}1 ; \
$(UPMENDEX) alpha_$$loc.idx -s mdxsty_head$$num.ist -s mdxsty_$$locx.ist -t alpha_$$locx$$num.ilg -o alpha_$$locx$$num.ind ; \
done ; \
Expand All @@ -22,6 +22,14 @@ ltn:
done ; \
done ; \
done
for num in 1 2; do \
for x in 1 2 3; do \
for loc in de; do \
locx=$$loc$$x ; \
$(UPMENDEX) alpha_$$loc.idx -s mdxsty_head$$num.ist -s mdxsty_$$locx.ist -t alpha_$$locx$$num.ilg -o alpha_$$locx$$num.ind ; \
done ; \
done ; \
done
for num in 1 2 3; do \
for x in 1 2; do \
for loc in es; do \
Expand Down
4 changes: 4 additions & 0 deletions doc/samples/alphabet/mdxsty_de2.ist
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
% -*- coding: utf-8 -*-

icu_locale "de@collation=search"

4 changes: 4 additions & 0 deletions doc/samples/alphabet/mdxsty_de3.ist
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
% -*- coding: utf-8 -*-

icu_locale "de-AT@collation=phonebook"

4 changes: 4 additions & 0 deletions doc/samples/alphabet/mdxsty_fr1.ist
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
% -*- coding: utf-8 -*-

icu_locale "fr-CA"

4 changes: 4 additions & 0 deletions doc/samples/alphabet/mdxsty_gl1.ist
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
% -*- coding: utf-8 -*-

icu_locale "gl@collation=search"

184 changes: 184 additions & 0 deletions doc/samples/alphabet/output/alpha_de21.ind
Original file line number Diff line number Diff line change
@@ -0,0 +1,184 @@
\begin{theindex}

\centerline{\bfseries --- A ---}\par\nobreak
\item a\leaders\hbox{$\cdot$}\hfill 201
\item A\leaders\hbox{$\cdot$}\hfill 101
\item aa\leaders\hbox{$\cdot$}\hfill 1000
\item ad\leaders\hbox{$\cdot$}\hfill 1001
\item ae\leaders\hbox{$\cdot$}\hfill 1002
\item ä\leaders\hbox{$\cdot$}\hfill 1006
\item Ä\leaders\hbox{$\cdot$}\hfill 1005
\item äa\leaders\hbox{$\cdot$}\hfill 1007
\item äz\leaders\hbox{$\cdot$}\hfill 1008
\item af\leaders\hbox{$\cdot$}\hfill 1003
\item az\leaders\hbox{$\cdot$}\hfill 1004

\indexspace

\centerline{\bfseries --- B ---}\par\nobreak
\item b\leaders\hbox{$\cdot$}\hfill 202
\item B\leaders\hbox{$\cdot$}\hfill 102

\indexspace

\centerline{\bfseries --- C ---}\par\nobreak
\item c\leaders\hbox{$\cdot$}\hfill 203
\item C\leaders\hbox{$\cdot$}\hfill 103

\indexspace

\centerline{\bfseries --- D ---}\par\nobreak
\item d\leaders\hbox{$\cdot$}\hfill 204
\item D\leaders\hbox{$\cdot$}\hfill 104

\indexspace

\centerline{\bfseries --- E ---}\par\nobreak
\item e\leaders\hbox{$\cdot$}\hfill 205
\item E\leaders\hbox{$\cdot$}\hfill 105

\indexspace

\centerline{\bfseries --- F ---}\par\nobreak
\item f\leaders\hbox{$\cdot$}\hfill 206
\item F\leaders\hbox{$\cdot$}\hfill 106

\indexspace

\centerline{\bfseries --- G ---}\par\nobreak
\item g\leaders\hbox{$\cdot$}\hfill 207
\item G\leaders\hbox{$\cdot$}\hfill 107

\indexspace

\centerline{\bfseries --- H ---}\par\nobreak
\item h\leaders\hbox{$\cdot$}\hfill 208
\item H\leaders\hbox{$\cdot$}\hfill 108

\indexspace

\centerline{\bfseries --- I ---}\par\nobreak
\item i\leaders\hbox{$\cdot$}\hfill 209
\item I\leaders\hbox{$\cdot$}\hfill 109

\indexspace

\centerline{\bfseries --- J ---}\par\nobreak
\item j\leaders\hbox{$\cdot$}\hfill 210
\item J\leaders\hbox{$\cdot$}\hfill 110

\indexspace

\centerline{\bfseries --- K ---}\par\nobreak
\item k\leaders\hbox{$\cdot$}\hfill 211
\item K\leaders\hbox{$\cdot$}\hfill 111

\indexspace

\centerline{\bfseries --- L ---}\par\nobreak
\item l\leaders\hbox{$\cdot$}\hfill 212
\item L\leaders\hbox{$\cdot$}\hfill 112

\indexspace

\centerline{\bfseries --- M ---}\par\nobreak
\item m\leaders\hbox{$\cdot$}\hfill 213
\item M\leaders\hbox{$\cdot$}\hfill 113

\indexspace

\centerline{\bfseries --- N ---}\par\nobreak
\item n\leaders\hbox{$\cdot$}\hfill 214
\item N\leaders\hbox{$\cdot$}\hfill 114

\indexspace

\centerline{\bfseries --- O ---}\par\nobreak
\item o\leaders\hbox{$\cdot$}\hfill 215
\item O\leaders\hbox{$\cdot$}\hfill 115
\item oa\leaders\hbox{$\cdot$}\hfill 2000
\item ö\leaders\hbox{$\cdot$}\hfill 2003
\item Ö\leaders\hbox{$\cdot$}\hfill 2002
\item öa\leaders\hbox{$\cdot$}\hfill 2004
\item öz\leaders\hbox{$\cdot$}\hfill 2005
\item oz\leaders\hbox{$\cdot$}\hfill 2001

\indexspace

\centerline{\bfseries --- P ---}\par\nobreak
\item p\leaders\hbox{$\cdot$}\hfill 216
\item P\leaders\hbox{$\cdot$}\hfill 116

\indexspace

\centerline{\bfseries --- Q ---}\par\nobreak
\item q\leaders\hbox{$\cdot$}\hfill 217
\item Q\leaders\hbox{$\cdot$}\hfill 117

\indexspace

\centerline{\bfseries --- R ---}\par\nobreak
\item r\leaders\hbox{$\cdot$}\hfill 218
\item R\leaders\hbox{$\cdot$}\hfill 118

\indexspace

\centerline{\bfseries --- S ---}\par\nobreak
\item s\leaders\hbox{$\cdot$}\hfill 219
\item S\leaders\hbox{$\cdot$}\hfill 119
\item sa\leaders\hbox{$\cdot$}\hfill 4002
\item ss\leaders\hbox{$\cdot$}\hfill 4003
\item ß\leaders\hbox{$\cdot$}\hfill 4000
\item ẞ\leaders\hbox{$\cdot$}\hfill 4001
\item st\leaders\hbox{$\cdot$}\hfill 4004
\item sz\leaders\hbox{$\cdot$}\hfill 4005

\indexspace

\centerline{\bfseries --- T ---}\par\nobreak
\item t\leaders\hbox{$\cdot$}\hfill 220
\item T\leaders\hbox{$\cdot$}\hfill 120

\indexspace

\centerline{\bfseries --- U ---}\par\nobreak
\item u\leaders\hbox{$\cdot$}\hfill 221
\item U\leaders\hbox{$\cdot$}\hfill 121
\item ua\leaders\hbox{$\cdot$}\hfill 3000
\item ü\leaders\hbox{$\cdot$}\hfill 3003
\item Ü\leaders\hbox{$\cdot$}\hfill 3002
\item üa\leaders\hbox{$\cdot$}\hfill 3004
\item üz\leaders\hbox{$\cdot$}\hfill 3005
\item uz\leaders\hbox{$\cdot$}\hfill 3001

\indexspace

\centerline{\bfseries --- V ---}\par\nobreak
\item v\leaders\hbox{$\cdot$}\hfill 222
\item V\leaders\hbox{$\cdot$}\hfill 122

\indexspace

\centerline{\bfseries --- W ---}\par\nobreak
\item w\leaders\hbox{$\cdot$}\hfill 223
\item W\leaders\hbox{$\cdot$}\hfill 123

\indexspace

\centerline{\bfseries --- X ---}\par\nobreak
\item x\leaders\hbox{$\cdot$}\hfill 224
\item X\leaders\hbox{$\cdot$}\hfill 124

\indexspace

\centerline{\bfseries --- Y ---}\par\nobreak
\item y\leaders\hbox{$\cdot$}\hfill 225
\item Y\leaders\hbox{$\cdot$}\hfill 125

\indexspace

\centerline{\bfseries --- Z ---}\par\nobreak
\item z\leaders\hbox{$\cdot$}\hfill 226
\item Z\leaders\hbox{$\cdot$}\hfill 126

\end{theindex}

0 comments on commit 0683619

Please sign in to comment.