Debian Codegraph @

texmf-dist/doc/support/upmendex/present/src/upmendex-slide-ctan.tex

raw
1 %#!xelatex
2 \documentclass[aspectratio=169,10pt]{beamer}
3 %\usepackage{zxjatype}
4 %\usepackage[ipaex]{zxjafont}
5
6 \usepackage{fontspec}
7 \usepackage{polyglossia}
8 \usepackage{anyfontsize}
9 \usepackage{fancyvrb}
10 \usepackage{multirow}
11 \usepackage{arydshln}
12 \usepackage{hyperref}
13
14 \usepackage{makeidx}
15 \makeindex
16
17 \setdefaultlanguage{japanese}
18 %\setromanfont{Noto Serif}
19 %\setmainfont{Noto Serif}
20 %\setsansfont{Noto Serif}
21 \setmainfont{Noto Serif CJK JP}[Language=Japanese,Script=CJK]
22 \setsansfont{Noto Sans CJK JP}[Language=Japanese,Script=CJK]
23 \setmonofont{Noto Sans Mono CJK JP}
24 %\setmainfont{DejaVu Sans}
25 %\setsansfont{DejaVu Sans}
26
27 %\newfontfamily\englishfont{Noto Serif}
28 \newfontfamily\englishfont{DejaVu Sans}
29 \setotherlanguage{english}
30 \newfontfamily\japanesefont{Noto Serif CJK JP}[Language=Japanese,Script=CJK]
31 \newfontfamily\koreanfont{Noto Serif CJK KR}[Language=Korean,Script=Hangul]
32 \setotherlanguage{korean}
33 \newfontfamily\thaifont{Noto Serif Thai}[Language=Thai,Script=Thai]
34 %\newfontfamily\thaifont{DejaVu Sans}[Script=Thai]
35 \setotherlanguage{thai}
36 \newfontfamily\hebrewfont{Noto Serif Hebrew}[Script=Hebrew]
37 %\newfontfamily\hebrewfont{DejaVu Sans}[Script=Hebrew]
38 %\newfontfamily\hebrewfont{DejaVu Sans}
39 %\newfontfamily\hebrewfont{SILEOT.ttf}[Script=Hebrew]
40 \setotherlanguage{hebrew}
41 %\newfontfamily\arabicfont{Noto Naskh Arabic}[Script=Arabic]
42 \newfontfamily\arabicfont{DejaVu Sans}[Script=Arabic]
43 \setotherlanguage{arabic}
44
45 \usetheme{Tokyo}
46 %\usetheme{Copenhagen}
47 %\usetheme{CambridgeUS}
48 %\usetheme{Berlin}
49 %\usetheme{Boadilla}
50 %\usetheme{Madrid}
51 %\usetheme{Antibes}
52 %\usetheme{Montpellier}
53 %\usetheme{Berkeley}
54 %\usetheme{Goettingen}
55 %\usetheme{Singapore}%% 候補
56 %\usetheme{Szeged}
57 %\usetheme{Luebeck}
58 %\usetheme{Warsaw}
59 %\usetheme{AnnArbor}
60 \usecolortheme{seahorse}%% 候補
61 %\useoutertheme[subsection=false]{miniframes}
62 %\useoutertheme{infolines}
63 %\setbeamertemplate{headline}[infolines theme]
64 %\setbeamertemplate{footline}[miniframes theme]
65 %\setbeamertemplate{footline}[split]
66 %\setbeamertemplate{footline}[miniframes theme]
67 %\setbeamertemplate{footline}[split theme]
68
69 \newcommand{\colRd}{\color{purple}}
70 \newcommand{\colBk}{\color{black}}
71 \newcommand{\colGy}{\color{darkgray}}
72 \newcommand{\colGn}{\color{teal}}
73 \newcommand{\colBl}{\color{blue}}
74 %\newcommand{\verbVS}{\vspace*{-2.5ex}}
75 \newcommand{\exclamation}{!}
76
77
78 \title{\textjapanese{upmendexで作る多言語索引}\\
79 ~Multilingual index processing by upmendex}
80
81 \author{田中 琢爾\\~TANAKA Takuji}
82
83 \begin{document}
84 \year=2026\month=2\day=15
85
86 \begin{japanese}
87 \frame{\titlepage}
88 \end{japanese}
89
90 \section{Overview}
91 \begin{frame}{Overview}
92
93 \begin{columns}
94 \begin{column}{65mm}
95
96 \begin{itemize}
97 \item Feature of \textbf{upmendex}\\
98 --- Multilingual index processor
99 \item Localization
100 \begin{itemize}
101 \item Latin, Cyrillic, Greek
102 \item CJK (Chinese, Japanese, Korean)
103 \item Brahmic (Devanagari, Thai, \ldots)
104 \item Arabic, Hebrew
105 \end{itemize}
106 \item Multilingual environment
107 \item Benchmark
108 \end{itemize}
109 \end{column}
110
111 \begin{column}{65mm}
112
113 \begin{center}
114 \fbox{%
115 \includegraphics[scale=0.50]{city_texconf-03-cropa.pdf}%
116 }
117 \end{center}
118 \end{column}
119 \end{columns}
120
121 \end{frame}
122 \subsection{Feature of upmendex}
123 \begin{frame}{Feature of upmendex~~{\scriptsize (Ver. 1.22)}}
124 \renewcommand{\thefootnote}{$\dagger$}
125 \begin{columns}
126 \begin{column}{120mm}
127 \begin{center}
128 \begin{itemize}
129 \item Index processor
130 \begin{itemize}
131 \item Upper compatible with \textbf{MakeIndex}/\textbf{Mendex}
132 \item Work with upLaTeX/LuaLaTeX/XeLaTeX
133 \end{itemize}
134 \item Localization
135 \begin{itemize}
136 \item Support 72 Languages / 22 Scripts
137 \begin{itemize}
138 \item Latin (incl. non-English), Cyrillic, Greek
139 \item CJK (Chinese, Japanese, Korean)
140 \item Brahmic (Devanagari, Bengali, Thai, \ldots)
141 \item Arabic, Hebrew
142 \item Symbol, Number
143 \end{itemize}
144 \end{itemize}
145 \item Multilingualization
146 \begin{itemize}
147 \item Unicode, UTF-8
148 \item ICU\footnotemark{} (Collation, Case Conversion, Category Property)
149 \item Environment for babel/polyglossia
150 \end{itemize}
151 \end{itemize}
152 \end{center}
153 \vspace{2mm}
154 {\footnotesize $\dagger$ ICU: International Components for Unicode}
155 %\footnotetext[1]{International Components for Unicode}
156 \end{column}
157 \end{columns}
158 \end{frame}
159
160 % - - % - - % - - % - - % - - % - - % - - % - - % - - %
161
162 \subsection{Script, Language, Locale}
163
164 %\setmonofont{Noto Sans Mono CJK TC}
165 \begin{frame}[fragile]{Language, Script, Locale}
166
167 \setlength\dashlinedash{0.5pt}
168 \setlength\dashlinegap{1.0pt}
169
170 \begin{columns}
171 \begin{column}{70mm}
172 \footnotesize
173 \begin{center}
174 \begin{tabular}{ccc}
175 Language & Script / Index & ICU locale \\\hline\hline
176 English & Latin & root \\
177 Spanish & Latin & es \\
178 German & Latin & de \\
179 Turkish & Latin & tr \\
180 \ldots & & \\\hdashline
181 Russian & Cyrillic & ru \\
182 Ukrainian & Cyrillic & uk \\
183 \ldots & & \\\hdashline
184 Greek & Greek & el \\\hline
185 \multirow{4}{*}{Chinese} & Hanzi / Pinyin & zh \\
186 & Hanzi / Stroke & zh-u-co-stroke \\
187 & Hanzi / Radical-Stroke & zh-u-co-unihan \\
188 & Hanzi / Zhuyin & zh-u-co-zhuyin \\\hdashline
189 Japanese & Kana \& Hanzi / Kana & ja \\\hdashline
190 Korean & Hangul & ko \\\hline
191 \end{tabular}
192 \end{center}
193 \end{column}
194 \begin{column}{58mm}
195 \footnotesize
196 \begin{center}
197 \begin{tabular}{ccc}
198 Language & Script / Index & ICU locale \\\hline\hline
199 Hindi & Devanagari & hi \\
200 Marathi & Devanagari & mr \\
201 Bengali & Bengali & bn \\
202 \ldots & & \\\hdashline
203 Thai & Thai & th \\\hline
204 Persian & Arabic & fa \\
205 Arabic & Arabic & ar \\
206 \ldots & & \\\hdashline
207 Hebrew & Hebrew & he \\
208 Yiddish & Hebrew & yi \\\hline
209 \multirow{2}{*}{Common} & Symbol & \\
210 & Number & \\\hline
211 \end{tabular}
212 \end{center}
213 \vspace{2mm}
214 \normalsize
215 \textbf{upmendex} supports 72 languages,\\22 scripts \& 110 locales.
216 \end{column}
217 \end{columns}
218 %\vskip2ex
219 \end{frame}
220
221 % - - % - - % - - % - - % - - % - - % - - % - - % - - %
222
223 \section{Scripts}
224 \subsection{Latin, Cyrillic, Greek}
225 \begin{frame}{Latin, Cyrillic, Greek}
226 \begin{columns}
227 \begin{column}{120mm}
228 \begin{center}
229 \large
230 \begin{itemize}
231 \item Sorting (Collation) | ソート順
232 \item Diacritical mark | ダイアクリティカルマーク
233 \item Digraph/Trigraph | ダイグラフ/トライグラフ
234 \end{itemize}
235 \end{center}
236 \end{column}
237 \end{columns}
238 \end{frame}
239
240 % - - % - - % - - % - - % - - % - - % - - % - - % - - %
241
242 \setmonofont{Noto Sans Mono}
243 \begin{frame}[fragile]{German, Phonebook Sort Order}
244
245 \begin{columns}
246 \begin{column}{55mm}
247
248 \setmonofont{Noto Sans Mono}
249 \begin{block}{Collation Rule~~\scriptsize locale: de-u-co-phonebk}
250 \begin{Verbatim}[%
251 fontfamily=tt,
252 fontsize=\fontsize{8.0}{8.0},
253 commandchars=!<>]
254 &!colRd!-AE<<ä<<<Ä
255 &OE<<ö<<<Ö
256 &UE<<ü<<<Ü
257 !colGy!-...
258 \end{Verbatim}
259 \end{block}
260 \begin{exampleblock}{Style File *.ist~~\scriptsize locale: de-u-co-phonebk}
261 \begin{Verbatim}[%
262 fontfamily=tt,
263 fontsize=\fontsize{8.0}{8.0},
264 commandchars=!<>]
265 !colRd!-icu_locale "de-u-co-phonebk"
266 \end{Verbatim}
267 \end{exampleblock}
268 \begin{exampleblock}{German Inputs in *.tex}
269 \begin{Verbatim}[%
270 fontfamily=tt,
271 fontsize=\fontsize{8.0}{8.0},
272 commandchars=!<>]
273 ad\index{ad}.
274 ae\index{!colRd!-ae!colBk!-}.
275 AE\index{!colRd!-AE!colBk!-}.
276 ä\index{!colRd!-ä!colBk!-}.
277 Ä\index{!colRd!-Ä!colBk!-}.
278 af\index{af}.
279 !colGy!-...
280 \end{Verbatim}
281 \end{exampleblock}
282 \end{column}
283
284 \begin{column}{38mm}
285 \begin{center}
286 \fbox{%
287 \includegraphics[scale=0.48]{de00a-02-crop.pdf}%
288 }\\[2mm]%
289 default
290 \end{center}
291 \end{column}
292
293 \begin{column}{38mm}
294 \begin{center}
295 \fbox{%
296 \includegraphics[scale=0.48]{de00b-02-crop.pdf}%
297 }\\[2mm]%
298 phonebook sort order
299 \end{center}
300 \end{column}
301 \end{columns}
302
303 \end{frame}
304
305 %AD\index{AD}.
306 %AF\index{AF}.
307
308 % - - % - - % - - % - - % - - % - - % - - % - - % - - %
309
310 \begin{frame}[fragile]{Lithuanian, Sort Order of Y}
311
312 \begin{columns}
313 \begin{column}{60mm}
314
315 \setmonofont{Noto Sans Mono}
316 \begin{block}{Collation Rule~~\scriptsize locale: lt}
317 \begin{Verbatim}[%
318 fontfamily=tt,
319 fontsize=\fontsize{8.0}{8.0},
320 commandchars=!<>]
321 &!colRd!-I<<į<<<Į<<y<<<Y
322 !colGy!-...
323 \end{Verbatim}
324 \end{block}
325 \begin{exampleblock}{Lithuanian Inputs in *.tex}
326 \begin{Verbatim}[%
327 fontfamily=tt,
328 fontsize=\fontsize{8.0}{8.0},
329 commandchars=!<>]
330 i\index{i}.
331 I\index{I}.
332 į\index{į}.
333 Į\index{Į}.
334 y\index{y}.
335 Y\index{Y}.
336 !colGy!-...
337 \end{Verbatim}
338 \end{exampleblock}
339 \end{column}
340
341 \begin{column}{60mm}
342 \begin{center}
343 \fbox{%
344 \includegraphics[scale=0.48]{lt00-02-crop.pdf}%
345 }%
346 \end{center}
347 \end{column}
348 \end{columns}
349
350 \end{frame}
351
352 % - - % - - % - - % - - % - - % - - % - - % - - % - - %
353
354 \begin{frame}[fragile]{Slovak, Diacritical Mark}
355
356 \begin{columns}
357 \begin{column}{55mm}
358
359 \setmonofont{Noto Sans Mono}
360 \begin{block}{Collation Rule~~\scriptsize locale: sk}
361 \begin{Verbatim}[%
362 fontfamily=tt,
363 fontsize=\fontsize{8.0}{8.0},
364 commandchars=!<>]
365 &!colRd!-O<ô<<<Ô
366 !colGy!-...
367 \end{Verbatim}
368 \end{block}
369 \begin{block}{Collation Rule~~\scriptsize locale: sk-u-co-search}
370 \begin{Verbatim}[%
371 fontfamily=tt,
372 fontsize=\fontsize{8.0}{8.0},
373 commandchars=!<>]
374 &!colRd!-L<ĺ<<<Ĺ<ľ<<<Ľ
375 &!colRd!-O<ó<<<Ó<ô<<<Ô
376 !colGy!-...
377 \end{Verbatim}
378 \end{block}
379 \begin{exampleblock}{Slovak Inputs in *.tex}
380 \begin{Verbatim}[%
381 fontfamily=tt,
382 fontsize=\fontsize{8.0}{8.0},
383 commandchars=!<>]
384 l\index{l}.
385 ĺ\index{ĺ}.
386 ľ\index{ľ}.
387 o\index{o}.
388 ó\index{ó}.
389 ô\index{ô}.
390 \end{Verbatim}
391 \end{exampleblock}
392 \end{column}
393
394 \begin{column}{38mm}
395 \begin{center}
396 \fbox{%
397 \includegraphics[scale=0.48]{sk00a-02-crop.pdf}%
398 }\\[2mm]%
399 default
400 \end{center}
401 \end{column}
402
403 \begin{column}{38mm}
404 \begin{center}
405 \fbox{%
406 \includegraphics[scale=0.48]{sk00b-02-crop.pdf}%
407 }\\[2mm]%
408 General-Purpose Search
409 \end{center}
410 \end{column}
411 \end{columns}
412
413 \end{frame}
414
415 % - - % - - % - - % - - % - - % - - % - - % - - % - - %
416
417 \begin{frame}[fragile]{Turkish, Dotless / Dotted I}
418
419 \begin{columns}
420 \begin{column}{47mm}
421 \setmainfont{Noto Serif}
422 \setsansfont{Noto Sans}
423 %\begin{center}
424 \normalsize
425 \begin{tabular}{c|cc}
426 language & upper & lower \\\hline\hline
427 \multirow{2}{*}{Turkish}
428 & İ & i \\
429 & I & ı \\\hline
430 English & I & i \\
431 \end{tabular}
432 %\end{center}
433 \end{column}
434
435 \begin{column}{40mm}
436 \setmonofont{Noto Sans Mono}
437 \begin{block}{Collation Rule~~\scriptsize locale: tr}
438 \begin{Verbatim}[%
439 fontfamily=tt,
440 fontsize=\fontsize{8.0}{8.0},
441 commandchars=!<>]
442 &[before 1]!colRd!-i<ı<<<I
443 &!colRd!-i<<<İ
444 !colGy!-...
445 \end{Verbatim}
446 \end{block}
447 \begin{exampleblock}{Turkish Inputs in *.tex}
448 \begin{Verbatim}[%
449 fontfamily=tt,
450 fontsize=\fontsize{8.0}{8.0},
451 commandchars=!<>]
452 h\index{h}.
453 H\index{H}.
454 i\index{i}.
455 ı\index{!colRd!-ı!colBk!-}.
456 I\index{I}.
457 İ\index{!colRd!-İ!colBk!-}.
458 j\index{j}.
459 J\index{J}.
460 !colGy!-...
461 \end{Verbatim}
462 \end{exampleblock}
463 \end{column}
464
465 \begin{column}{43mm}
466 \begin{center}
467 \fbox{%
468 \includegraphics[scale=0.48]{tr00-02-crop.pdf}%
469 }\\[2mm]%
470 Turkish
471 \end{center}
472 \end{column}
473 \end{columns}
474
475 \end{frame}
476
477 % - - % - - % - - % - - % - - % - - % - - % - - % - - %
478
479 \begin{frame}[fragile]{Hungarian, Digraphs and Trigraph}
480
481 \begin{columns}
482 \begin{column}{52mm}
483
484 \setmonofont{Noto Sans Mono}
485 \begin{block}{Collation Rule~~\scriptsize locale: hu}
486 \begin{Verbatim}[%
487 fontfamily=tt,
488 fontsize=\fontsize{8.0}{8.0},
489 commandchars=!<>]
490 &!colRd!-C<cs!colBk!-<<<Cs<<<CS
491 &!colRd!-D<dz!colBk!-<<<Dz<<<DZ
492 &!colRd!-DZ<dzs!colBk!-<<<Dzs<<<DZS
493 !colGy!-...
494 \end{Verbatim}
495 \end{block}
496 \begin{exampleblock}{Hungarian Inputs in *.tex}
497 \begin{Verbatim}[%
498 fontfamily=tt,
499 fontsize=\fontsize{8.0}{8.0},
500 commandchars=!<>]
501 cr\index{cr}.
502 cs\index{!colRd!-cs!colBk!-}.
503 ct\index{ct}.
504 dy\index{dy}.
505 dz\index{!colRd!-dz!colBk!-}.
506 dzr\index{dzr}.
507 dzs\index{!colRd!-dzs!colBk!-}.
508 dzt\index{dzt}.
509 e\index{e}.
510 !colGy!-...
511 \end{Verbatim}
512 \end{exampleblock}
513 \end{column}
514
515 \begin{column}{75mm}
516 \begin{center}
517 \fbox{%
518 \includegraphics[scale=0.48]{hu00-02-crop.pdf}%
519 }%
520 \end{center}
521 \end{column}
522 \end{columns}
523
524 \end{frame}
525
526 % - - % - - % - - % - - % - - % - - % - - % - - % - - %
527
528 \begin{frame}[fragile]{Cyrillic \& Greek}
529
530 \begin{columns}
531 \begin{column}{46mm}
532
533 \setmonofont{Noto Sans Mono}
534 \begin{exampleblock}{Russian Inputs in *.tex}
535 \begin{Verbatim}[%
536 fontfamily=tt,
537 fontsize=\fontsize{8.0}{8.0},
538 commandchars=!<>]
539 цветок\index{цветок}.
540 птица\index{птица}.
541 ветер\index{ветер}.
542 луна\index{луна}.
543 \end{Verbatim}
544 \end{exampleblock}
545
546 \begin{exampleblock}{Greek Inputs in *.tex}
547 \begin{Verbatim}[%
548 fontfamily=tt,
549 fontsize=\fontsize{8.0}{8.0},
550 commandchars=!<>]
551 λουλούδι\index{λουλούδι}.
552 πουλί\index{πουλί}.
553 άνεμος\index{άνεμος}.
554 φεγγάρι\index{φεγγάρι}.
555 \end{Verbatim}
556 \end{exampleblock}
557 \end{column}
558
559 \begin{column}{43mm}
560 \begin{center}
561 \fbox{%
562 \includegraphics[scale=0.48]{ru00-02-crop.pdf}%
563 }\\[2mm]%
564 Russian, Cyrillic
565 \end{center}
566 \end{column}
567
568 \begin{column}{38mm}
569 \begin{center}
570 \fbox{%
571 \includegraphics[scale=0.48]{el00-02-crop.pdf}%
572 }\\[2mm]%
573 Greek
574 \end{center}
575 \end{column}
576 \end{columns}
577
578 \end{frame}
579
580 % - - % - - % - - % - - % - - % - - % - - % - - % - - %
581
582 \subsection{CJK (Chinese, Japanese, Korean)}
583 \begin{frame}{CJK (Chinese, Japanese, Korean)}
584 \begin{columns}
585 \begin{column}{120mm}
586 \begin{center}
587 \large
588 \begin{itemize}
589 \item Chinese: 4 kinds of sort order | 中国語: 4種のソート順
590 \item Japanese: Reading, Extended Kana\\
591 \hspace{57mm} | 日本語: 読み、仮名拡張
592 \item Korean: composed/decomposed | 韓国語: 完成型・組合型
593 \end{itemize}
594 \end{center}
595 \end{column}
596 \end{columns}
597 \end{frame}
598
599 % - - % - - % - - % - - % - - % - - % - - % - - % - - %
600
601 \setmonofont{Noto Sans Mono CJK TC}
602 \begin{frame}[fragile]{Chinese, Han Ideograph Sort Order}
603
604 \begin{center}
605
606 \begin{columns}
607
608 \begin{column}{77mm}
609 \begin{exampleblock}{Style File *.ist~~\scriptsize locale: zh-u-co-unihan}
610 \begin{Verbatim}[%
611 fontfamily=tt,
612 fontsize=\fontsize{8.0}{8.0},
613 commandchars=!<>]
614 !colGy!-%icu_locale "zh"
615 !colGy!-%icu_locale "zh-u-co-stroke"
616 !colRd!-icu_locale "zh-u-co-unihan"
617 !colGy!-%icu_locale "zh-u-co-zhuyin"
618 hanzi_head "一部;丨部;丶部;丿部;乙部;亅部;二部;亠部;
619 !colGy!-...
620 \end{Verbatim}
621 \end{exampleblock}
622 \end{column}
623
624 \begin{column}{52mm}
625 \begin{exampleblock}{Chinese Inputs in *.tex}
626 \begin{Verbatim}[%
627 fontfamily=tt,
628 fontsize=\fontsize{8.0}{8.0},
629 commandchars=!<>]
630 花\index{花 (8, 艸, huā, ㄏㄨㄚ)}
631 鳥\index{鳥 (11, 鳥, niǎo, ㄋㄧㄠˇ)}
632 風\index{風 (9, 風, fēng, ㄈㄥ)}
633 月\index{月 (4, 月, yuè, ㄩㄝˋ)}
634 \end{Verbatim}
635 \end{exampleblock}
636 \end{column}
637 \end{columns}
638 \vskip2ex
639 \begin{tabular}{cc|c}
640 \multicolumn{2}{c|}{sort order} & locale \\\hline
641 Pinyin & 拼音 & zh \\
642 Stroke & 筆畫數 & zh-u-co-stroke\\
643 Radical-Stroke & 部首筆畫數 & zh-u-co-unihan \\
644 Zhuyin (Bopomofo) & 注音符號 & zh-u-co-zhuyin
645 \end{tabular}
646 \end{center}
647
648 \end{frame}
649
650 % - - % - - % - - % - - % - - % - - % - - % - - % - - %
651
652 \begin{frame}[fragile]{Chinese, Han Ideograph Sort Order}
653 \begin{columns}
654 \begin{column}{73mm}
655 \begin{exampleblock}{Pinyin {\footnotesize Sort Order~~拼音~~\scriptsize locale: zh}}
656 \makeatletter
657 %\def\verbatim@font{\footnotesize\textjapanese}
658 \def\verbatim@font{\fontsize{7.5}{7.5}\selectfont\textjapanese}
659 \makeatother
660 \begin{Verbatim}[%
661 fontfamily=tt,
662 fontsize=\fontsize{7.5}{7.5},
663 commandchars=!<>]
664 \centerline{\bfseries --- !colRd!-F!colBk!- ---}\par\nobreak
665 \item 風 (9, 風, !colRd!-fēng!colBk!-, ㄈㄥ)\leaders\hbox{ }\hfill 1
666
667 \indexspace
668
669 \centerline{\bfseries --- !colRd!-H!colBk!- ---}\par\nobreak
670 \item 花 (8, 艸, !colRd!-huā!colBk!-, ㄏㄨㄚ)\leaders\hbox{ }\hfill 1
671 \end{Verbatim}
672 \end{exampleblock}
673 \begin{exampleblock}{Stroke {\footnotesize Sort Order~~筆畫數~~\scriptsize zh-u-co-stroke}}
674 \makeatletter
675 %\def\verbatim@font{\footnotesize\textjapanese}
676 \def\verbatim@font{\fontsize{7.5}{7.5}\selectfont\textjapanese}
677 \makeatother
678 \begin{Verbatim}[%
679 fontfamily=tt,
680 fontsize=\fontsize{7.5}{7.5},
681 commandchars=!<>]
682 \centerline{\bfseries --- !colRd!-四畫!colBk!- ---}\par\nobreak
683 \item 月 (!colRd!-4!colBk!-, 月, yuè, ㄩㄝˋ)\leaders\hbox{ }\hfill 1
684
685 \indexspace
686
687 \centerline{\bfseries --- !colRd!-八畫!colBk!- ---}\par\nobreak
688 \item 花 (!colRd!-8!colBk!-, 艸, huā, ㄏㄨㄚ)\leaders\hbox{ }\hfill 1
689 \end{Verbatim}
690 \end{exampleblock}
691 \end{column}
692 \begin{column}{73mm}
693 \begin{exampleblock}{Radical-Stroke {\footnotesize Sort Order~~部首筆畫數~~\scriptsize zh-u-co-unihan}}
694 \begin{Verbatim}[%
695 fontfamily=tt,
696 fontsize=\fontsize{7.5}{7.5},
697 commandchars=!<>]
698 \centerline{\bfseries --- !colRd!-月部!colBk!- ---}\par\nobreak
699 \item 月 (4, !colRd!-月!colBk!-, yuè, ㄩㄝˋ)\leaders\hbox{ }\hfill 1
700
701 \indexspace
702
703 \centerline{\bfseries --- !colRd!-艸部!colBk!- ---}\par\nobreak
704 \item 花 (8, !colRd!-艸!colBk!-, huā, ㄏㄨㄚ)\leaders\hbox{ }\hfill 1
705 \end{Verbatim}
706 \end{exampleblock}
707 \begin{exampleblock}{Zhuyin {\footnotesize (Bopomofo) Sort Order~~注音符號~~\scriptsize zh-u-co-zhuyin}}
708 \makeatletter
709 %\def\verbatim@font{\footnotesize\textjapanese}
710 \def\verbatim@font{\fontsize{7.5}{7.5}\selectfont\textjapanese}
711 \makeatother
712 \begin{Verbatim}[%
713 fontfamily=tt,
714 fontsize=\fontsize{7.5}{7.5},
715 commandchars=!<>]
716 \centerline{\bfseries --- !colRd!-ㄈ!colBk!- ---}\par\nobreak
717 \item 風 (9, 風, fēng, !colRd!-ㄈㄥ!colBk!-)\leaders\hbox{ }\hfill 1
718
719 \indexspace
720
721 \centerline{\bfseries --- !colRd!-ㄋ!colBk!- ---}\par\nobreak
722 \item 鳥 (11, 鳥, niǎo, !colRd!-ㄋㄧㄠˇ!colBk!-)\leaders\hbox{ }\hfill
723 \end{Verbatim}
724 \end{exampleblock}
725 \end{column}
726 \end{columns}
727 \begin{center}
728 \textbf{upmendex} Output *.ind
729 \end{center}
730 \end{frame}
731
732 % - - % - - % - - % - - % - - % - - % - - % - - % - - %
733
734 \begin{frame}[fragile]{Chinese, Han Ideograph Sort Order}
735
736 \begin{columns}
737
738 \begin{column}{38mm}
739 \begin{center}
740 \fbox{%
741 \includegraphics[scale=0.48]{zh00a-02-crop.pdf}%
742 }\\[2mm]%
743 拼音\\
744 pinyin
745 \end{center}
746 \end{column}
747
748 \begin{column}{38mm}
749 \begin{center}
750 \fbox{%
751 \includegraphics[scale=0.48]{zh00b-02-crop.pdf}%
752 }\\[2mm]%
753 筆畫數\\
754 stroke
755 \end{center}
756 \end{column}
757
758 \begin{column}{38mm}
759 \begin{center}
760 \fbox{%
761 \includegraphics[scale=0.48]{zh00c-02-crop.pdf}%
762 }\\[2mm]%
763 部首筆畫數\\
764 radical-stroke
765 \end{center}
766 \end{column}
767
768 \begin{column}{38mm}
769 \begin{center}
770 \fbox{%
771 \includegraphics[scale=0.48]{zh00d-02-crop.pdf}%
772 }\\[2mm]%
773 注音符號\\
774 zhuyin (bopomofo)
775 \end{center}
776 \end{column}
777 \end{columns}
778
779 \end{frame}
780
781 % - - % - - % - - % - - % - - % - - % - - % - - % - - %
782
783 \begin{frame}[fragile]{Chinese, Polyphone (多音字)}
784
785 \begin{columns}
786 \begin{column}{55mm}
787
788 \setmonofont{Noto Sans Mono CJK TC}
789 \setsansfont{Noto Sans}
790 %\setsansfont{Noto Sans CJK TC}
791 \begin{exampleblock}{Input with Polyphone in *.tex}
792 \begin{Verbatim}[%
793 fontfamily=tt,
794 fontsize=\fontsize{8.0}{8.0},
795 commandchars=!<>]
796 重新\index{重新 (chóng xīn)}
797 重要\index{重要 (zhòng yào)}
798 長年\index{長年 (cháng nián)}
799 長短\index{長短 (cháng duǎn)}
800 長大\index{長大 (zhǎng dà)}
801 \end{Verbatim}
802 \end{exampleblock}
803
804 \begin{exampleblock}{Style File *.ist}
805 \begin{Verbatim}[%
806 fontfamily=tt,
807 fontsize=\fontsize{8.0}{8.0},
808 commandchars=!<>]
809 icu_locale "zh"
810 %icu_locale "zh-u-co-zhuyin"
811 !colRd!-icu_rules "&常<<長年<<長短 &崇<<重新"!colBk!-
812 \end{Verbatim}
813 \end{exampleblock}
814 \end{column}
815
816 \begin{column}{38mm}
817 \begin{center}
818 \fbox{%
819 \includegraphics[scale=0.48]{zh01a-02-crop.pdf}%
820 }\\[2mm]%
821 拼音\\
822 pinyin
823 \end{center}
824 \end{column}
825
826 \begin{column}{38mm}
827 \begin{center}
828 \fbox{%
829 \includegraphics[scale=0.48]{zh01b-02-crop.pdf}%
830 }\\[2mm]%
831 注音符號\\
832 zhuyin (bopomofo)
833 \end{center}
834 \end{column}
835 \end{columns}
836
837 \end{frame}
838
839 % - - % - - % - - % - - % - - % - - % - - % - - % - - %
840
841 \begin{frame}[fragile]{Chinese, Customize Strokes}
842
843 \begin{columns}
844 \begin{column}{55mm}
845
846 \setmonofont{Noto Sans Mono CJK TC}
847 \setsansfont{Noto Sans}
848 %\setsansfont{Noto Sans CJK TC}
849 \begin{exampleblock}{Inputs in *.tex}
850 \begin{Verbatim}[%
851 fontfamily=tt,
852 fontsize=\fontsize{8.0}{8.0},
853 commandchars=!<>]
854 一\index{一 (1 stroke)}
855 二\index{二 (2 strokes)}
856 三\index{三 (3 strokes)}
857 之\index{之 (3 or 4 strokes)}
858 亖\index{亖 (4 strokes)}
859 四\index{四 (5 strokes)}
860 \end{Verbatim}
861 \end{exampleblock}
862
863 \begin{exampleblock}{Style File *.ist}
864 \begin{Verbatim}[%
865 fontfamily=tt,
866 fontsize=\fontsize{8.0}{8.0},
867 commandchars=!<>]
868 icu_locale "zh-u-co-stroke"
869 !colRd!-icu_rules "&'\uFDD0\u2803'<之"!colBk!-
870 \end{Verbatim}
871 \end{exampleblock}
872 \end{column}
873
874 \begin{column}{38mm}
875 \begin{center}
876 \fbox{%
877 \includegraphics[scale=0.48]{zh02a-02-crop.pdf}%
878 }\\[2mm]%
879 Default
880 \end{center}
881 \end{column}
882
883 \begin{column}{38mm}
884 \begin{center}
885 \fbox{%
886 \includegraphics[scale=0.48]{zh02b-02-crop.pdf}%
887 }\\[2mm]%
888 Customized
889 \end{center}
890 \end{column}
891 \end{columns}
892
893 \end{frame}
894
895 % - - % - - % - - % - - % - - % - - % - - % - - % - - %
896
897 \setmonofont{Noto Sans Mono CJK JP}[Language=Japanese,Script=CJK]
898 \begin{frame}[fragile]{Japanese, Sort by Reading~{\normalsize (Yomi)}}
899
900 \begin{columns}
901 \begin{column}{75mm}
902 \begin{exampleblock}{Japanese Inputs with Reading {\footnotesize(Yomi)} in *.tex}
903 \begin{Verbatim}[%
904 fontfamily=tt,
905 fontsize=\fontsize{8.0}{8.0},
906 commandchars=!<>]
907 \newcommand{\YomiTag}[1]{\relax}
908
909 %% \index{!colRd!-reading!colBk!-@!colRd!-index_word!colBk!-}
910 生酒\index{なまざけ@生酒}。
911 生一本\index{きいっぽん@生一本}。
912 生け簀\index{いけす@生け簀}。
913 生絹\index{きぎぬ@生絹\YomiTag{きぎぬ}}%
914 \index{すずし@生絹\YomiTag{すずし}}。
915 生飯\index{さば@生飯}。
916 生姜\index{しょうが@生姜}。
917 生活\index{せいかつ@生活\YomiTag{せいかつ}}
918 \index{たつき@生活\YomiTag{たつき}}。
919 !colGy!-...
920 \end{Verbatim}
921 \end{exampleblock}
922 %\vspace{2mm}
923 {\footnotesize
924 Japanese words consist of Hanzi (ideographs) \& Kana (syllabaries),
925 sorted by reading (yomi), indexed by Kana.\\[1.0ex]
926 This feature is implemented by \textbf{ASCII mendex}.}
927 \end{column}
928
929 \begin{column}{60mm}
930 \vspace{-2mm}
931 \begin{center}
932 \fbox{%
933 \includegraphics[scale=0.48]{yomi00-02-crop.pdf}%
934 }%
935 \end{center}
936 \end{column}
937 \end{columns}
938
939 \end{frame}
940
941 % - - % - - % - - % - - % - - % - - % - - % - - % - - %
942
943 \begin{frame}[fragile]{Japanese, Reading \& Dictionary}
944
945 \begin{columns}
946 \begin{column}{57mm}
947 \begin{exampleblock}{Japanese Inputs in *.tex}
948 \begin{Verbatim}[%
949 fontfamily=tt,
950 fontsize=\fontsize{8.0}{8.0},
951 commandchars=!<>]
952 生酒\index{生酒}。
953 生一本\index{生一本}。
954 生け簀\index{生け簀}。
955 生絹\index{生絹}%
956 \index{すずし@生絹\YomiTag{すずし}}。
957 生え抜き\index{生え抜き}。
958 !colGy!-...
959 \end{Verbatim}
960 \end{exampleblock}
961 \begin{exampleblock}{Dictionary *.dic}
962 \begin{Verbatim}[%
963 fontfamily=tt,
964 fontsize=\fontsize{8.0}{8.0},
965 commandchars=!<>]
966 !colRd!-index_word!colBk!- !colRd!-reading!colBk!-
967 生酒 なまざけ
968 生一本 きいっぽん
969 生け簀 いけす
970 生絹 きぎぬ
971 生え抜き はえぬき
972 !colGy!-...
973 \end{Verbatim}
974 %生飯\index{生飯}。
975 %生飯 さば
976 \end{exampleblock}
977 %\vspace{2mm}
978 {\footnotesize Implemented by \textbf{ASCII mendex}.}
979 \end{column}
980
981 \begin{column}{82mm}
982 \begin{center}
983 \fbox{%
984 \includegraphics[scale=0.48]{yomi01-02-crop.pdf}%
985 }%
986 \end{center}
987 \end{column}
988 \end{columns}
989
990 \end{frame}
991
992 % - - % - - % - - % - - % - - % - - % - - % - - % - - %
993
994 \begin{frame}[fragile]{Japanese, Hentaigana}
995
996 \setmonofont{ipamjm.ttf}[Language=Japanese,Script=CJK]
997 \begin{columns}
998 \begin{column}{57mm}
999 \begin{exampleblock}{Inputs with Hentaigana in *.tex}
1000 \begin{Verbatim}[%
1001 fontfamily=tt,
1002 fontsize=\fontsize{8.0}{8.0},
1003 commandchars=!<>]
1004 𛀥𛁛𛂦゙\index{𛀥𛁛𛂦゙}
1005 う𛂁ぎ\index{う𛂁ぎ}
1006 𛁈る𛀸\index{𛁈る𛀸}
1007 𛁋𛁅\index{𛁋𛁅}
1008 天𛂱゚𛃭\index{天𛂱゚𛃭}
1009 !colGy!-...
1010 \end{Verbatim}
1011 \end{exampleblock}
1012 \begin{exampleblock}{Dictionary for Hentaigana *.dic}
1013 \setsansfont{Noto Sans}
1014 \begin{Verbatim}[%
1015 fontfamily=tt,
1016 fontsize=\fontsize{8.0}{8.0},
1017 commandchars=!<>]
1018 !sffamily!-!colRd!-index_word!colBk!- !colRd!-reading!colBk!-
1019 𛀥 き
1020 𛁛 そ
1021 𛂦 は
1022 𛂁 な
1023 𛁈 し
1024 𛀸 こ
1025 !colGy!-...
1026 \end{Verbatim}
1027 %𛁋 す
1028 \end{exampleblock}
1029 \end{column}
1030
1031 \begin{column}{82mm}
1032 \begin{center}
1033 \fbox{%
1034 \includegraphics[scale=0.48]{jp01-02-crop.pdf}%
1035 }%
1036 \end{center}
1037 \end{column}
1038 \end{columns}
1039
1040 \end{frame}
1041
1042 % - - % - - % - - % - - % - - % - - % - - % - - % - - %
1043
1044 \begin{frame}[fragile]{Extended Kana in JIS X 0213}
1045
1046 \begin{columns}
1047 \begin{column}{55mm}
1048
1049 \setmonofont{Noto Sans Mono CJK JP}[Language=Japanese,Script=CJK]
1050 \setsansfont{Noto Sans CJK JP}[Language=Japanese,Script=CJK]
1051 %\setmonofont{ipamjm.ttf}[Language=Japanese,Script=CJK]
1052 %\setmonofont{mkanaplus-regular.ttf}[Language=Japanese,Script=CJK]
1053 %\setsansfont{mkanaplus-regular.ttf}[Language=Japanese,Script=CJK]
1054 \begin{exampleblock}{Extended Kana Inputs in *.tex}
1055 \begin{Verbatim}[%
1056 fontfamily=tt,
1057 fontsize=\fontsize{8.0}{8.0},
1058 commandchars=!<>]
1059 か゚\index{か゚}. % NGA
1060 き゚\index{き゚}. % NGI
1061 く゚\index{く゚}. % NGU
1062 !colGy!-...
1063 ゟ\index{ゟ}. % Hiragana Digraph Yori
1064 ヿ\index{ヿ}. % Katakana Digraph Koto
1065 \end{Verbatim}
1066 \end{exampleblock}
1067
1068 \begin{exampleblock}{Aynu itak Inputs in *.tex}
1069 \begin{Verbatim}[%
1070 fontfamily=tt,
1071 fontsize=\fontsize{8.0}{8.0},
1072 commandchars=!<>]
1073 ㇰ\index{ㇰ}
1074 ㇱ\index{ㇱ}
1075 ㇲ\index{ㇲ}
1076 ㇷ゚\index{ㇷ゚}
1077 セ゚\index{セ゚}
1078 ツ゚\index{ツ゚}
1079 ト゚\index{ト゚}
1080 !colGy!-...
1081 \end{Verbatim}
1082 \end{exampleblock}
1083 \end{column}
1084
1085 %ク\index{ク}
1086 %ㇳ\index{ㇳ}
1087 %ㇴ\index{ㇴ}
1088
1089
1090 \begin{column}{38mm}
1091 \begin{center}
1092 \fbox{%
1093 \includegraphics[scale=0.48]{jp04-02-crop.pdf}%
1094 }
1095 \end{center}
1096 \end{column}
1097
1098 \begin{column}{38mm}
1099 \begin{center}
1100 \fbox{%
1101 \includegraphics[scale=0.48]{jp05-02-crop.pdf}%
1102 }
1103 \end{center}
1104 \end{column}
1105 \end{columns}
1106
1107 \end{frame}
1108
1109 % - - % - - % - - % - - % - - % - - % - - % - - % - - %
1110
1111
1112
1113 % - - % - - % - - % - - % - - % - - % - - % - - % - - %
1114
1115 \begin{frame}[fragile]{Japanese, Archaic Kana}
1116
1117 \begin{columns}
1118 \begin{column}{55mm}
1119
1120 \setmonofont{mkanaplus-regular.ttf}[Language=Japanese,Script=CJK]
1121 \setsansfont{mkanaplus-regular.ttf}[Language=Japanese,Script=CJK]
1122 \begin{exampleblock}{Archaic Kana Inputs in *.tex}
1123 \begin{Verbatim}[%
1124 fontfamily=tt,
1125 fontsize=\fontsize{8.0}{8.0},
1126 commandchars=!<>]
1127 𛀁\index{𛀁}. % !colRd!-Hiragana Archaic YE
1128 % or !colRd!-Hentaigana E-1
1129 𛄟\index{𛄟}. % Hiragana WU
1130 𛄠\index{𛄠}. % Katakana YI
1131 𛄡\index{𛄡}. % Katakana YE
1132 𛄢\index{𛄢}. % Katakana WU
1133 !colGy!-...
1134 \end{Verbatim}
1135 \end{exampleblock}
1136 \begin{exampleblock}{Dictionary: \footnotesize ``𛀁'' is Hentaigana E-1}
1137 \begin{Verbatim}[%
1138 fontfamily=tt,
1139 fontsize=\fontsize{8.0}{8.0},
1140 commandchars=!<>]
1141 !colRd!-𛀁 え
1142 \end{Verbatim}
1143 \end{exampleblock}
1144 \begin{exampleblock}{Style: \footnotesize ``𛀁'' is Hiragana Archaic YE}
1145 \begin{Verbatim}[%
1146 fontfamily=tt,
1147 fontsize=\fontsize{8.0}{8.0},
1148 commandchars=!<>]
1149 icu_rules "!colRd!-&ゆ<𛀁<<<𛄡<よ!colBk!-"
1150 \end{Verbatim}
1151 \end{exampleblock}
1152 \end{column}
1153
1154 \begin{column}{38mm}
1155 \begin{center}
1156 \fbox{%
1157 \includegraphics[scale=0.48]{jp02-02-crop.pdf}%
1158 }
1159 \end{center}
1160 \end{column}
1161
1162 \begin{column}{38mm}
1163 \begin{center}
1164 \fbox{%
1165 \includegraphics[scale=0.48]{jp03-02-crop.pdf}%
1166 }
1167 \end{center}
1168 \end{column}
1169 \end{columns}
1170
1171 \end{frame}
1172
1173 % - - % - - % - - % - - % - - % - - % - - % - - % - - %
1174
1175 \setmonofont{Noto Sans Mono CJK KR}[Language=Korean,Script=Hangul]
1176 \begin{frame}[fragile]{Korean, Modarn / Archaic Hangul}
1177 \begin{korean}
1178
1179 \begin{columns}
1180 \begin{column}{18mm}
1181 \begin{block}{\hfil ideograph\hfil\\\hfil\scriptsize 한자\hfil}
1182 \begin{center}
1183 \LARGE \colBl 日
1184 \end{center}
1185 \end{block}
1186 \end{column}
1187 \begin{column}{18mm}
1188 \begin{block}{\hfil modarn\hfil\\\hfil\scriptsize 현대 한글\hfil}
1189 \begin{center}
1190 \begin{tabular}{c}
1191 \LARGE {\colBl 일} \\[0.5mm]
1192 \scriptsize U+C77C
1193 \end{tabular}
1194 \end{center}
1195 \end{block}
1196 \end{column}
1197 \begin{column}{87mm}
1198 \begin{block}{\hfil archaic, composed / decomposed\hfil\\\hfil\scriptsize 옛 한글, 완성형 / 조합형 (完成型 / 組合型)\hfil}
1199 \begin{tabular}{cccccccc}
1200 \multirow{2}{*}{\LARGE{\colBl ᅀᅵᇙ〮} =~} & \Large{\colBl ᅀ} & \multirow{2}{*}{+} & \Large{\colBl ᅵ} & \multirow{2}{*}{+}& \Large{\colBl ᇙ} & \multirow{2}{*}{+} & \Large{\colBl 〮} \\[2mm]
1201 & \scriptsize{\parbox[u]{7.8mm}{\hfil U+1140\hfil\\\hspace*{0.8mm}첫소리\\\hspace*{1.7mm}初聲}} &&
1202 \scriptsize{\parbox[u]{11.3mm}{\hfil U+1175\hfil\\가운뎃소리\\\hspace*{2.7mm}中聲}} &&
1203 \scriptsize{\parbox[u]{7.8mm}{\hfil U+11D9\hfil\\\hspace*{0.8mm}끝소리\\\hspace*{1.7mm}終聲}} &&
1204 \scriptsize{\parbox[u]{7.8mm}{\hfil U+302E\hfil\\\hspace*{1.7mm}방점\\\hspace*{1.7mm}傍點}}
1205 \end{tabular}
1206 \end{block}
1207 \end{column}
1208 \end{columns}
1209 \vskip3ex
1210 \begin{center}
1211 %\footnotesize
1212 \begin{tabular}{c|cc@{~~}c|c@{~~}c@{~~}c}
1213 & Unicode block & \multicolumn{2}{c|}{style} & upmendex & upLaTeX & XeLaTeX \\\hline\hline
1214 modarn & Hangul Syllables & composed & 완성형 & ✓ & ✓ & ✓ \\
1215 \footnotesize{ex. 일} & Hangul Jamo & decompopsed & 조합형 & ✓ & N.A. & ✓ \\\hline
1216 archaic & Private Use Area & composed & 완성형 & \footnotesize{via dictionary} & ✓ & ✓ \\
1217 \footnotesize{ex. ᅀᅵᇙ〮} & Hangul Jamo & decomposed & 조합형 & ✓ & N.A. & ✓ \\\hline
1218 \end{tabular}
1219 \end{center}
1220
1221 % 일 U+C77C \scriptsize{(完成型)}\scriptsize{(組合型)}
1222 %
1223 % 한
1224 % 한
1225 % 
1226 % ᅀᆞᇙ
1227
1228 \end{korean}
1229 \end{frame}
1230
1231 % - - % - - % - - % - - % - - % - - % - - % - - % - - %
1232
1233 \setmonofont{Noto Sans Mono CJK KR}[Language=Korean,Script=Hangul]
1234 \begin{frame}[fragile]{Korean Hangul}
1235
1236 \begin{columns}
1237 \begin{column}{70mm}
1238
1239 \setmonofont{Noto Sans Mono CJK KR}
1240 \begin{exampleblock}{Hangul Inputs in *.tex}
1241 \begin{Verbatim}[%
1242 fontfamily=tt,
1243 fontsize=\fontsize{8.0}{8.0},
1244 commandchars=!<>]
1245 쓰\index{쓰 (composed)}.
1246 쓰\index{쓰 (decomposed)}.
1247
1248 ᄊ!,ᆞ\index{ᄊ!,ᆞ (archaic)}.
1249 ᄊ!,ᆞ!,〯\index{ᄊ!,ᆞ!,〯 (archaic with tone mark)}.
1250 ᄊᆞ\index{ᄊᆞ (Hanyang PUA)}.
1251 !colGy!-...
1252 \end{Verbatim}
1253 \end{exampleblock}
1254 \begin{exampleblock}{Dictionary for PUA code *.dic}
1255 \begin{Verbatim}[%
1256 fontfamily=tt,
1257 fontsize=\fontsize{8.0}{8.0},
1258 commandchars=!<>]
1259 !colRd!-Hanyang!;PUA!;code!colBk!- !colRd!-decomposed!colBk!-
1260 ᄊᆞ ᄊ!,ᆞ
1261 ᄊᆡ ᄊ!,ᆡ
1262 !colGy!-...
1263 \end{Verbatim}
1264 \end{exampleblock}
1265 \end{column}
1266
1267 \begin{column}{60mm}
1268 \begin{center}
1269 \fbox{%
1270 \includegraphics[scale=0.48]{ko03-02-crop.pdf}%
1271 }%
1272 \end{center}
1273 \end{column}
1274 \end{columns}
1275
1276 \end{frame}
1277
1278 % - - % - - % - - % - - % - - % - - % - - % - - % - - %
1279
1280 \subsection{Complex Text Layout}
1281 \begin{frame}{Complex Text Layout}
1282 \begin{columns}
1283 \begin{column}{80mm}
1284 \begin{center}
1285 \large
1286 \begin{itemize}
1287 \item Brahmic scripts:\\
1288 Devanagari, Bengali, Gurmukhi,
1289 Gujarati, Oriya, Tamil, Telugu,
1290 Kannada, Malayalam, Sinhala,\\
1291 Thai, Lao
1292 \item Arabic, Hebrew: R-to-L typeset
1293 \end{itemize}
1294 \vskip2ex
1295 \begin{itemize}
1296 \item Symbol, Number
1297 \end{itemize}
1298 \end{center}
1299 \end{column}
1300 \end{columns}
1301 \end{frame}
1302
1303 % - - % - - % - - % - - % - - % - - % - - % - - % - - %
1304
1305 \setmonofont{Noto Sans Mono}
1306 \begin{frame}[fragile]{Devanagari \& Thai~~{\scriptsize (experimental)}}
1307
1308 \begin{columns}
1309 \begin{column}{50mm}
1310
1311 %\setsansfont{Noto Sans}
1312 \setmonofont{Noto Serif Devanagari}[Language=Hindi,Script=Devanagari]
1313 \setmainfont{Noto Sans Mono}
1314 \setsansfont{Noto Sans}
1315 \begin{exampleblock}{Hindi Inputs in *.tex}
1316 \begin{Verbatim}[%
1317 fontfamily=tt,
1318 fontsize=\fontsize{8.0}{8.0},
1319 commandchars=!<>,
1320 baselinestretch=1.5]
1321 फूल!,!sffamily!-\index{!ttfamily!-!,फूल!,!sffamily!-}
1322 चिड़िया!,!sffamily!-\index{!ttfamily!-!,चिड़िया!,!sffamily!-}
1323 हवा!,!sffamily!-\index{!ttfamily!-!,हवा!,!sffamily!-}
1324 चांद!,!sffamily!-\index{!ttfamily!-!,चांद!,!sffamily!-}
1325 !colGy!-...
1326 \end{Verbatim}
1327 \end{exampleblock}
1328 \setmonofont{Noto Serif Thai}[Language=Thai,Script=Thai]
1329 \setmainfont{Noto Sans Mono}
1330 \setsansfont{Noto Sans}
1331 %\setsansfont{Noto Sans CJK JP}[Language=Japanese,Script=CJK]
1332 \begin{exampleblock}{Thai Inputs in *.tex}
1333 \begin{Verbatim}[%
1334 fontfamily=tt,
1335 fontsize=\fontsize{8.0}{8.0},
1336 commandchars=!<>,
1337 baselinestretch=1.5]
1338 ดอกไม้!,!sffamily!-\index{!ttfamily!-!,ดอกไม้!,!sffamily!-}
1339 นก!,!sffamily!-\index{!ttfamily!-!,นก!,!sffamily!-}
1340 ลม!,!sffamily!-\index{!ttfamily!-!,ลม!,!sffamily!-}
1341 ดวงจันทร์!,!sffamily!-\index{!ttfamily!-!,ดวงจันทร์!,!sffamily!-}
1342 !sffamily!colGy!-...
1343 \end{Verbatim}
1344 \end{exampleblock}
1345 \end{column}
1346
1347 \begin{column}{79mm}
1348
1349 \begin{columns}
1350 \begin{column}{39mm}
1351 \begin{center}
1352 \fbox{%
1353 \includegraphics[scale=0.48]{hi00-02-crop.pdf}%
1354 }\\[2mm]%
1355 Hindi, Devanagari
1356 \end{center}
1357 \end{column}
1358
1359 \begin{column}{39mm}
1360 \begin{center}
1361 \fbox{%
1362 \includegraphics[scale=0.48]{th00-02-crop.pdf}%
1363 }\\[2mm]%
1364 Thai
1365 \end{center}
1366 \end{column}
1367 \end{columns}
1368 \vspace{2mm}
1369 \begin{center}
1370 {\normalsize Typeset by XeLaTeX}
1371 \end{center}
1372 \end{column}
1373
1374 \end{columns}
1375
1376 \end{frame}
1377
1378 % - - % - - % - - % - - % - - % - - % - - % - - % - - %
1379
1380 \setmonofont{Noto Sans Mono}
1381 \begin{frame}[fragile]{Thai/Lao Prevowels Reordering~~{\scriptsize (experimental)}}
1382
1383 \begin{columns}
1384 \begin{column}{72mm}
1385 \setmonofont{Noto Serif Thai}[Language=Thai,Script=Thai]
1386 \setmainfont{Noto Sans Mono}
1387 \setsansfont{Noto Sans}
1388 \begin{exampleblock}{Thai Inputs in *.tex}
1389
1390 \begin{Verbatim}[%
1391 fontfamily=tt,
1392 fontsize=\fontsize{8.0}{8.0},
1393 commandchars=!<>]
1394 หมา!,!sffamily!-\index{!ttfamily!-!,หมา!,!sffamily!-}
1395 หมู!,!sffamily!-\index{!ttfamily!-!,หมู!,!sffamily!-}
1396 แมว!,!sffamily!-\index{!ttfamily!-!,!colRd!-แ!colBl!-ม!colBk!-ว!,!sffamily!-}
1397 ไม่มีปัญหา!,!sffamily!-\index{!ttfamily!-!,!colRd!-ไ!colBl!-ม่!colBk!-มีปัญหา!,!sffamily!-}
1398 มา!,!sffamily!-\index{!ttfamily!-!,!colBl!-ม!colBk!-า!,!sffamily!-}
1399 ห!,!sffamily!-\index{!ttfamily!-!,ห!,!sffamily!-}
1400 ม!,!sffamily!-\index{!ttfamily!-!,!colBl!-ม!colBk!-!,!sffamily!-}
1401 \end{Verbatim}
1402 \end{exampleblock}
1403 %\vspace{2mm}
1404 {\footnotesize
1405 A sequence of
1406 \setmonofont{Noto Serif Thai}[Language=Thai,Script=Thai]%
1407 a Thai vowel {\ttfamily เ\;แ\;โ\;ใ\;ไ} or
1408 \setmonofont{Noto Serif Lao}[Language=Lao,Script=Lao]%
1409 a Lao vowel {\ttfamily ເ\;ແ\;ໂ\;ໃ\;ໄ} %
1410 \setmonofont{Noto Serif Thai}[Language=Thai,Script=Thai]%
1411 followed by a Thai consonant {\ttfamily ก\;ข\;ค\;ฆ\;ง\;}\ldots\ or
1412 \setmonofont{Noto Serif Lao}[Language=Lao,Script=Lao]%
1413 a Lao consonant {\ttfamily ກ\;ຂ\;ຄ\;ງ\;}\ldots\ is
1414 placed after the consonant for collation purposes.
1415 }
1416 \end{column}
1417
1418 \begin{column}{54mm}
1419 \vspace{-2mm}
1420 \begin{center}
1421 \fbox{%
1422 \includegraphics[scale=0.48]{th01-02-crop.pdf}%
1423 }%
1424 \end{center}
1425 \end{column}
1426 \end{columns}
1427
1428 \end{frame}
1429
1430 % - - % - - % - - % - - % - - % - - % - - % - - % - - %
1431
1432 \begin{frame}[fragile]{Brahmic Scripts~~{\scriptsize (experimental)}}
1433
1434 \begin{columns}
1435 \begin{column}{55mm}
1436
1437 \setmonofont{Noto Serif Devanagari}[Language=Hindi,Script=Devanagari]
1438 \setmainfont{Noto Sans Mono}
1439 \setsansfont{Noto Sans}
1440 \begin{exampleblock}{Multiscript Inputs in *.tex}
1441 \begin{Verbatim}[%
1442 fontfamily=tt,
1443 fontsize=\fontsize{8.0}{8.0},
1444 commandchars=!<>,
1445 baselinestretch=1.5]
1446 !sffamily!-!colRd!-\begin{hindi}!colBk!-
1447 हिंदी!,!sffamily!-\index{!ttfamily!-!,हिंदी!,!sffamily!-(Hindi, Devanagari)}
1448 मराठी!,!sffamily!-\index{!ttfamily!-!,मराठी!,!sffamily!-(Marathi, Devanagari)}
1449 नेपाली!,!sffamily!-\index{!ttfamily!-!,नेपाली!,!sffamily!-(Nepali, Devanagari)}
1450 !sffamily!-!colRd!-\end{hindi}!colBk!-
1451 !colGy!-...
1452 \end{Verbatim}
1453 \end{exampleblock}
1454 \setmonofont{Noto Serif Bengali}[Script=Bengali]
1455 \vspace{-4mm}
1456 \begin{exampleblock}{}
1457 \begin{Verbatim}[%
1458 fontfamily=tt,
1459 fontsize=\fontsize{8.0}{8.0},
1460 commandchars=!<>,
1461 baselinestretch=1.5]
1462 !sffamily!-!colRd!-\begin{bengali}!colBk!-
1463 বাংলা!,!sffamily!-\index{!ttfamily!-!,বাংলা!,!sffamily!-(Bengali)}
1464 অসমীয়াা!,!sffamily!-\index{!ttfamily!-!,অসমীয়া!,!sffamily!-(Assamese, Bengali)}
1465 !sffamily!-!colRd!-\end{bengali}!colBk!-
1466 !colGy!-...
1467 \end{Verbatim}
1468 \end{exampleblock}
1469 \begin{center}
1470 Supports 12 Brahmic scripts,\\
1471 15 languages.
1472 \end{center}
1473 \end{column}
1474
1475 \begin{column}{72mm}
1476 \begin{center}
1477 \fbox{%
1478 \includegraphics[scale=0.48]{br00-02-crop.pdf}%
1479 }\\[1mm]%
1480 \footnotesize with XeLaTeX \& polyglossia
1481 \end{center}
1482 \end{column}
1483 \end{columns}
1484
1485 \end{frame}
1486
1487 % - - % - - % - - % - - % - - % - - % - - % - - % - - %
1488
1489 \setmonofont{Noto Sans Mono}
1490 \begin{frame}[fragile]{Arabic \& Hebrew~~{\scriptsize (experimental)}}
1491
1492 \begin{columns}
1493 \begin{column}{50mm}
1494
1495 %\setsansfont{Noto Sans}
1496 %\setmonofont{Noto Serif Devanagari}[Language=Hindi,Script=Devanagari]
1497 \setmonofont{DejaVu Sans}[Script=Arabic]
1498 \setmainfont{Noto Sans Mono}
1499 \setsansfont{Noto Sans}
1500 \begin{exampleblock}{Arabic Inputs in *.tex}
1501 \begin{Verbatim}[%
1502 fontfamily=tt,
1503 fontsize=\fontsize{8.0}{8.0},
1504 commandchars=!<>,
1505 baselinestretch=1.5]
1506 زهرة!,!sffamily!-\index{!ttfamily!-!,زهرة!,!sffamily!-}
1507 عصفور!,!sffamily!-\index{!ttfamily!-!,عصفور!,!sffamily!-}
1508 ريح!,!sffamily!-\index{!ttfamily!-!,ريح!,!sffamily!-}
1509 القمر!,!sffamily!-\index{!ttfamily!-!,القمر!,!sffamily!-}
1510 !colGy!-...
1511 \end{Verbatim}
1512 \end{exampleblock}
1513
1514 %\setmonofont{Noto Serif Hebrew}[Script=Hebrew]
1515 \setmonofont{DejaVu Sans}[Script=Hebrew]
1516 \setmainfont{Noto Sans Mono}
1517 \setsansfont{Noto Sans}
1518 \begin{exampleblock}{Hebrew Inputs in *.tex}
1519 \begin{Verbatim}[%
1520 fontfamily=tt,
1521 fontsize=\fontsize{8.0}{8.0},
1522 commandchars=!<>,
1523 baselinestretch=1.5]
1524 פֶּרַח!,!sffamily!-\index{!ttfamily!-!,פֶּרַח!,!sffamily!-}
1525 ציפור!,!sffamily!-\index{!ttfamily!-!,ציפור!,!sffamily!-}
1526 רוּחַ!,!sffamily!-\index{!ttfamily!-!,רוּחַ!,!sffamily!-}
1527 ירח!,!sffamily!-\index{!ttfamily!-!,ירח!,!sffamily!-}
1528 !colGy!-...
1529 \end{Verbatim}
1530 \end{exampleblock}
1531
1532 \end{column}
1533
1534 \begin{column}{79mm}
1535
1536 \begin{columns}
1537 \begin{column}{39mm}
1538 \begin{center}
1539 \fbox{%
1540 \includegraphics[scale=0.48]{ar00-02-crop.pdf}%
1541 }\\[2mm]%
1542 Arabic
1543 \end{center}
1544 \end{column}
1545
1546 \begin{column}{39mm}
1547 \begin{center}
1548 \fbox{%
1549 \includegraphics[scale=0.48]{he00-02-crop.pdf}%
1550 }\\[2mm]%
1551 Hebrew
1552 \end{center}
1553 \end{column}
1554 \end{columns}
1555 \vspace{2mm}
1556 \begin{center}
1557 {\normalsize R-to-L typeset by XeLaTeX.\\
1558 \textbf{upmendex} processes only indexing.}
1559 \end{center}
1560 \end{column}
1561 \end{columns}
1562
1563 \end{frame}
1564
1565 % - - % - - % - - % - - % - - % - - % - - % - - % - - %
1566
1567 \selectlanguage{japanese}
1568 \selectbackgroundlanguage{japanese}
1569 \setmainfont{Noto Serif CJK JP}[Language=Japanese,Script=CJK]
1570 \setsansfont{Noto Sans CJK JP}[Language=Japanese,Script=CJK]
1571 \setmonofont{Noto Sans Mono CJK JP}
1572
1573 \begin{frame}{Symbol, Number}
1574
1575 \begin{center}
1576 \scriptsize
1577 \begin{tabular}{c|cc|c}
1578 Script & charType & example & treatment by upmendex \\\hline\hline
1579 Latin & \texttt{\colBl Lu, Ll, Lo,} ... : letters & ABCabcAaⓐ & directly pass to ICU collator \\
1580 Greek & \texttt{\colBl Lu, Ll, Lo,} ... : letters & ΑΒΓαβγ & direct \\
1581 Cyrillic & \texttt{\colBl Lu, Ll, Lo,} ... : letters & АБВабв & direct \\
1582 %Thai & Lo, \ldots : letters & \begin{thai}กขฃคฅฆ\end{thai} & direct \\
1583 Kana & \texttt{\colBl Lo} : other letter & あいうアア㋐㌀ & direct \\
1584 Hangul & \texttt{\colBl Lo} : other letter & \begin{korean}가나다ᄁ㉡㉰㉼\end{korean} & direct \\
1585 Hanzi & \texttt{\colBl Lo} : other letter & 花鳥風月 & lookup dictionary or direct \\
1586 --- & \texttt{\colBl Lm} : modifier letter & ー゙゚ー & direct \\\hline
1587 \multirow{2}{*}{Number} & \texttt{\colBl Nd} : dicimal digit number & 012012 & direct \\
1588 & \texttt{\colBl No} : other number & ¹²③❹➄➏🄈⑻⒐ & lookup dictionary or direct \\\hline
1589 \multirow{5}{*}{Symbol} & \texttt{\colBl Sk} : modifier symbol & ¨¯´^`゛゜& direct \\
1590 & \texttt{\colBl Sm} : math symbol & ÷▷♯ & lookup dictionary or direct \\
1591 & \texttt{\colBl So} : other symbol & ☃〠☎♥⚽⚾ & lookup dictionary or direct \\
1592 & \texttt{\colBl Sc} : currency symbol & €\$$¢£¥¥₩₩ & lookup dictionary or direct \\
1593 & \texttt{\colBl Po, Pd, Mn, Me,} ... : other punctuation etc. & ⁈⁉¡¿†\#§¶— & direct \\\hline
1594 --- & \texttt{\colBl Cc} : control character & ESC, BS, DEL & ignore \\
1595 --- & \texttt{\colBl Cf} : format character & BOM, RLM & diect \\
1596 others & \texttt{\colBl Lo,} etc. (unknown scripts) & & lookup dic or direct (option ``-f'') or ignore \\\hline
1597 \end{tabular}
1598 \end{center}
1599 \begin{center}
1600 \setsansfont{Noto Sans}
1601 Characters are classified by Unicode \textsl{General Category Values} or ``charTypes''\\
1602 \vskip1.2ex
1603 \tiny Ref. \url{https://unicode.org/reports/tr44/\#General_Category_Values}
1604 \end{center}
1605
1606 \end{frame}
1607 %€\$$¢££¥¥₩₩
1608
1609 % - - % - - % - - % - - % - - % - - % - - % - - % - - %
1610
1611 \section{Multilingual Environment}
1612 \subsection{with upLaTeX/pxbabel}
1613
1614 \setmonofont{Noto Sans Mono CJK JP}
1615 \begin{frame}[fragile]{Multilingual Environment with upLaTeX/pxbabel}
1616 \begin{columns}
1617 \begin{column}{83mm}
1618 \begin{exampleblock}{Block Setting for Scripts in Style File *.ist}
1619 \makeatletter
1620 %\def\verbatim@font{\footnotesize\textjapanese}
1621 \def\verbatim@font{\fontsize{7.5}{7.5}\selectfont\textjapanese}
1622 \makeatother
1623 \begin{Verbatim}[%
1624 fontfamily=tt,
1625 fontsize=\fontsize{7.5}{7.5},
1626 commandchars=!<>]
1627
1628 script_preamble cyrillic "\n!colRd!-\\fontencoding{T2A}\\selectfont!colBk!-"
1629 script_postamble cyrillic "\n!colRd!-\\fontencoding{T1}\\selectfont!colBk!-"
1630
1631 script_preamble hangul "\n!colRd!-\\begin{otherlanguage}{korean}!colBk!-"
1632 script_postamble hangul "\n!colRd!-\\end{otherlanguage}!colBk!-"
1633
1634 script_preamble hanzi "\n!colRd!-\\begin{otherlanguage}{tchinese}!colBk!-"
1635 script_postamble hanzi "\n!colRd!-\\end{otherlanguage}!colBk!-"
1636
1637 \end{Verbatim}
1638 \end{exampleblock}
1639 \end{column}
1640 \begin{column}{60mm}
1641 \begin{exampleblock}{\textbf{upmendex} Output *.ind}
1642 \begin{Verbatim}[%
1643 fontfamily=tt,
1644 fontsize=\fontsize{7.5}{7.5},
1645 commandchars=!<>]
1646 \centerline{\bfseries --- С ---}\par\nobreak
1647 \item София\leaders\hbox{~}\hfill 1
1648 !colGy!-...
1649 !colRd!-\fontencoding{T1}\selectfont
1650
1651 \indexspace
1652
1653 \centerline{--- サ ---}\par\nobreak
1654 \item さいたま\leaders\hbox{~}\hfill {1}
1655 \item 札幌\leaders\hbox{~}\hfill {1}
1656 !colGy!-...
1657 !colRd!-\begin{otherlanguage}{korean}
1658
1659 \indexspace
1660
1661 \centerline{\bfseries --- ㅂ ---}\par\nobreak
1662 \item 부산(釜山)\leaders\hbox{~}\hfill 1
1663 !colGy!-...
1664 !colRd!-\end{otherlanguage}
1665 \end{Verbatim}
1666 \end{exampleblock}
1667 \end{column}
1668 \end{columns}
1669
1670 \end{frame}
1671
1672 % - - % - - % - - % - - % - - % - - % - - % - - % - - %
1673
1674 \subsection{with XeLaTeX/polyglossia}
1675 %\setmainfont{DejaVu Sans}
1676 %\setsansfont{DejaVu Sans}
1677 %\setmainfont{Noto Serif Hebrew}[Script=Hebrew]
1678 %\setsansfont{Noto Serif Hebrew}[Script=Hebrew]
1679 %\setmonofont{Noto Serif Hebrew}[Script=Hebrew]
1680 %\setmainfont{SILEOT.ttf}
1681 %\setsansfont{SILEOT.ttf}
1682 %\setmonofont{SILEOT.ttf}
1683 \begin{frame}[fragile]{Multilingual Environment with XeLaTeX/polyglossia}
1684 \begin{columns}
1685 \begin{column}{72mm}
1686 \begin{exampleblock}{Block Setting for Scripts in Style File *.ist}
1687 \setmonofont{Noto Sans Mono CJK JP}
1688 \begin{Verbatim}[%
1689 fontfamily=tt,
1690 fontsize=\fontsize{7.5}{7.5},
1691 commandchars=!<>]
1692
1693 script_preamble cyrillic "\n!colRd!-\\begin{russian}!colBk!-"
1694 script_postamble cyrillic "\n!colRd!-\\end{russian}!colBk!-"
1695
1696 script_preamble kana "\n!colRd!-\\begin{japanese}!colBk!-"
1697 script_postamble kana "\n!colRd!-\\end{japanese}!colBk!-"
1698
1699 script_preamble hangul "\n\n!colRd!-\\begin{korean}!colBk!-"
1700 script_postamble hangul "\n!colRd!-\\end{korean}!colBk!-"
1701
1702 script_preamble hebrew "\n!colRd!-\\begin{hebrew}!colBk!-"
1703 script_postamble hebrew "\n!colRd!-\\end{hebrew}!colBk!-"
1704
1705 \end{Verbatim}
1706 \end{exampleblock}
1707 \end{column}
1708
1709 \begin{column}{64mm}
1710 \vspace{-2mm}
1711 \begin{exampleblock}{\textbf{upmendex} Output *.ind}
1712 \setmonofont{Noto Sans Mono CJK JP}
1713 \begin{Verbatim}[%
1714 fontfamily=tt,
1715 fontsize=\fontsize{7.5}{7.5},
1716 commandchars=!<>]
1717 \centerline{--- さ ---}\par\nobreak
1718 \item さいたま\leaders\hbox{~}\hfill {1}
1719 !colGy!-...
1720 !colRd!-\end{japanese}
1721
1722 !colRd!-\begin{korean}
1723
1724 \indexspace
1725
1726 \centerline{--- ㄷ ---}\par\nobreak
1727 \item 대구(大邱)\leaders\hbox{~}\hfill {1}
1728 !colGy!-...
1729 !colRd!-\end{korean}
1730 \end{Verbatim}
1731 %\setmainfont{DejaVu Sans}
1732 \setsansfont{SILEOT.ttf}
1733 %\setmonofont{SILEOT.ttf}
1734 %\setmonofont{Noto Serif Hebrew}[Script=Hebrew]
1735 \setmonofont{DejaVu Sans}[Script=Hebrew]
1736 %\setmainfont{Noto Sans Mono}
1737 %\setsansfont{Noto Sans}
1738 \begin{hebrew}
1739 \begin{Verbatim}[%
1740 fontfamily=tt,
1741 fontsize=\fontsize{7.5}{7.5},
1742 commandchars=!<>]
1743 !colRd!-\begin{hebrew}
1744
1745 \indexspace
1746
1747 \centerline{--- א ---}\par\nobreak
1748 \item אשדוד!,\leaders\hbox{~}\hfill {2}
1749 !colGy!-...
1750 !colRd!-\end{hebrew}
1751 \end{Verbatim}
1752 \end{hebrew}
1753 \end{exampleblock}
1754 \end{column}
1755 \end{columns}
1756
1757 \end{frame}
1758
1759 % - - % - - % - - % - - % - - % - - % - - % - - % - - %
1760
1761 \subsection{Output}
1762 \begin{frame}[fragile]{Output of Multilingual Index}
1763 \begin{columns}
1764
1765 \begin{column}{60mm}
1766 \begin{center}
1767 \fbox{%
1768 \includegraphics[scale=0.43]{city1-03-crop.pdf}%
1769 }\\[1mm]%
1770 \footnotesize with upLaTeX \& pxbabel
1771 \end{center}
1772 \end{column}
1773
1774 \begin{column}{60mm}
1775 \begin{center}
1776 \fbox{%
1777 \includegraphics[scale=0.43]{city0-03-crop.pdf}%
1778 }\\[1mm]%
1779 \footnotesize with XeLaTeX \& polyglossia
1780 \end{center}
1781 \end{column}
1782 \end{columns}
1783
1784 \end{frame}
1785
1786 % - - % - - % - - % - - % - - % - - % - - % - - % - - %
1787
1788 \section{Benchmark}
1789 \begin{frame}{Benchmark}
1790
1791 \begin{center}
1792 \footnotesize
1793 \begin{tabular}{c|c|c|c|c}
1794 & makeindex & mendex & upmendex & xindy \\\hline\hline
1795 internal encoding & 8bit 1byte & EUC-JP & UTF-16 & Unicode \\
1796 Collator & locale & ASCII, Kana & ICU collator & \\\hline
1797 Latin & ✓ & ✓ ASCII & Lang:37, Locale:63 & Lang:33 \\
1798 Greek & & & Lang:1, Locale:1 & Lang:1 \\
1799 Cyrillic & & & Lang:9, Locale:9 & Lang:6 \\\hdashline
1800 Chinese & & & Lang:1, Locale:4 & \\
1801 \multirow{2}{*}{Japanese} & & \multirow{2}{*}{✓ (Yomi, Dict)} & ✓ (Yomi, Dict) & \\
1802 & & & Lang:1, Locale:2 & \\
1803 Korean & & & Lang:1, Locale:3 & \\\hdashline
1804 South Asian & & & Script:10, Lang:13, Locale:16 & \\
1805 Thai / Lao & & & Script:2, Lang:2, Locale:2 & \\
1806 Arabic & & & Lang:7, Locale:8 & \\
1807 Hebrew & & & Lang:2, Locale:2 & Lang:1 \\\hdashline
1808 Other & & & & Lang:4 \\\hline
1809 Total & & Lang:2 & Script:22, Lang:72, Locale:110 & Lang:44 \\
1810 \end{tabular}
1811 \end{center}
1812
1813 \end{frame}
1814
1815 % - - % - - % - - % - - % - - % - - % - - % - - % - - %
1816
1817 \begin{frame}{Languages by Number of Native Speakers}
1818
1819 \setlength\dashlinedash{0.5pt}
1820 \setlength\dashlinegap{1.0pt}
1821
1822 \begin{center}
1823 \scriptsize
1824 \begin{tabular}{ccc|r|cccc}
1825 & Language & Script & \multicolumn{1}{c|}{speakers} & ICU & polyglossia & upmendex & xindy \\\hline\hline
1826 1 & Chinese & {\colRd Hanzi } & 1,370,000,000 & ✓ & ✓ & ✓ & \\
1827 2 & Engish & Latin & 530,000,000 & ✓ & ✓ & ✓ & ✓ \\
1828 3 & Hindi & {\colBl Devanagari} & 490,000,000 & ✓ & ✓ & ✓ & \\
1829 4 & Spanish & Latin & 420,000,000 & ✓ & ✓ & ✓ & ✓ \\
1830 5 & Arabic & {\colGn Arabic } & 230,000,000 & ✓ & ✓ & ✓ & \\\hdashline
1831 6 & Bengali & {\colBl Bengali } & 220,000,000 & ✓ & ✓ & {\colBl ✓ v1.20} & \\
1832 7 & Portuguese & Latin & 215,000,000 & ✓ & ✓ & ✓ & ✓ \\
1833 8 & Russian & Cyrillic & 180,000,000 & ✓ & ✓ & ✓ & ✓ \\
1834 9 & Japanese & {\colRd Kana \& Hanzi } & 134,000,000 & ✓ & ✓ & ✓ & \\
1835 10 & German & Latin & 130,000,000 & ✓ & ✓ & ✓ & ✓ \\\hline
1836 11 & French & Latin & 123,000,000 & ✓ & ✓ & ✓ & ✓ \\
1837 12 & Punjabi & {\colBl Gurmukhi } & 90,000,000 & ✓ & ✓ & {\colBl ✓ v1.20} & \\
1838 13 & Javanese & Latin & 75,000,000 & ✓ & ✓ & ✓ & \\
1839 14 & Korean & {\colRd Hangul } & 75,000,000 & ✓ & ✓ & ✓ & \\
1840 15 & Vietnamese & Latin & 70,000,000 & ✓ & ✓ & ✓ & ✓ \\\hdashline
1841 16 & Telugu & {\colBl Telugu } & 70,000,000 & ✓ & ✓ & {\colBl ✓ v1.20} & \\
1842 17 & Marathi & {\colBl Devanagari} & 68,000,000 & ✓ & ✓ & ✓ & \\
1843 18 & Tamil & {\colBl Tamil } & 74,000,000 & ✓ & ✓ & {\colBl ✓ v1.20} & \\
1844 19 & Persian & {\colGn Arabic } & 46,000,000 & ✓ & ✓ & ✓ & \\
1845 20 & Urdu & {\colGn Arabic } & 61,000,000 & ✓ & ✓ & ✓ & \\\hline
1846 \end{tabular}
1847 \\
1848 {\tiny Ref. \url{https://ja.wikipedia.org/wiki/ネイティブスピーカーの数が多い言語の一覧}}
1849 \end{center}
1850 \end{frame}
1851
1852 % - - % - - % - - % - - % - - % - - % - - % - - % - - %
1853
1854 \begin{frame}{Languages used on the Internet}
1855
1856 \setlength\dashlinedash{0.5pt}
1857 \setlength\dashlinegap{1.0pt}
1858
1859 \begin{columns}
1860 \begin{column}{69mm}
1861 \begin{center}
1862 \scriptsize
1863 %\tiny
1864 \begin{tabular}{cc@{~}c@{~}c|c@{~~}c@{~~}c@{~~}c}
1865 & Language & share & Script & ICU & pg & upm & xnd\\\hline\hline
1866 1 & English & 63.4~\% & Latin & root & ✓ & ✓ & ✓ \\
1867 2 & Russian & 7.1~\% & Cyrillic & ru & ✓ & ✓ & ✓ \\
1868 3 & Spanish & 3.9~\% & Latin & es & ✓ & ✓ & ✓ \\
1869 4 & German & 3.7~\% & Latin & de & ✓ & ✓ & ✓ \\
1870 5 & Turkish & 3.5~\% & Latin & tr & ✓ & ✓ & ✓ \\\hdashline
1871 6 & Persian & 2.5~\% & {\colGn Arabic } & fa & ✓ & ✓ & \\
1872 7 & French & 2.0~\% & Latin & root & ✓ & ✓ & ✓ \\
1873 8 & Japanese & 1.9~\% & {\colRd Kana } & ja & ✓ & ✓ & \\
1874 9 & Portuguese & 1.8~\% & Latin & pt & ✓ & ✓ & ✓ \\
1875 10 & Chinese & 1.3~\% & {\colRd Hanzi } & zh & ✓ & ✓ & \\\hline
1876 11 & Vietnamese & 1.3~\% & Latin & vi & ✓ & ✓ & ✓ \\
1877 12 & Italian & 1.0~\% & Latin & root & ✓ & ✓ & ✓ \\
1878 13 & Arabic & 0.9~\% & {\colGn Arabic } & ar & ✓ & ✓ & \\
1879 14 & Polish & 0.9~\% & Latin & pl & ✓ & ✓ & ✓ \\
1880 15 & Greek & 0.7~\% & Greek & el & ✓ & ✓ & ✓ \\\hdashline
1881 16 & Dutch & 0.7~\% & Latin & nl & ✓ & ✓ & ✓ \\
1882 17 & Indonesian & 0.7~\% & Latin & root & ✓ & ✓ & \\% polyglossia では malayのvariant
1883 18 & Korean & 0.6~\% & {\colRd Hangul } & ko & ✓ & ✓ & \\
1884 19 & Czech & 0.4~\% & Latin & cs & ✓ & ✓ & ✓ \\
1885 20 & Thai & 0.4~\% & {\colBl Thai } & th & ✓ & ✓ & \\\hline
1886 \end{tabular}
1887 \end{center}
1888 \end{column}
1889 \begin{column}{83mm}
1890 \begin{center}
1891 \scriptsize
1892 %\tiny
1893 \begin{tabular}{cc@{~}c@{~}c|c@{~~}c@{~~}c@{~~}c}
1894 & Language & share & Script & ICU & pg & upm & xnd\\\hline\hline
1895 21 & Ukrainian & 0.3~\% & Cyrillic & uk & ✓ & ✓ & ✓ \\
1896 22 & Hebrew & 0.3~\% & {\colGn Hebrew } & he & ✓ & ✓ & ✓ \\
1897 23 & Swedish & 0.3~\% & Latin & sv & ✓ & ✓ & ✓ \\
1898 24 & Romanian & 0.3~\% & Latin & ro & ✓ & ✓ & ✓ \\
1899 25 & Hungarian & 0.3~\% & Latin & hu & ✓ & ✓ & ✓ \\\hdashline
1900 26 & Danish & 0.2~\% & Latin & da & ✓ & ✓ & ✓ \\
1901 27 & Slovak & 0.2~\% & Latin & sk & ✓ & ✓ & ✓ \\
1902 28 & Serbian & 0.2~\% & Latn, Cyrl & sr & ✓ & ✓ & ✓ \\ %Latin, Cyrillic
1903 29 & Bulgarian & 0.1~\% & Cyrillic & bg & ✓ & ✓ & ✓ \\
1904 30 & Finnish & 0.1~\% & Latin & fi & ✓ & ✓ & ✓ \\\hline
1905 31 & Croatian & 0.1~\% & Latin & hr & ✓ & ✓ & ✓ \\
1906 32 & Lithuanian & 0.1~\% & Latin & lt & ✓ & ✓ & ✓ \\
1907 33 & Norwegian (Bokmål) & 0.1~\% & Latin & nb & ✓ & ✓ & ✓ \\
1908 34 & Hindi & 0.1~\% & {\colBl Devanagari} & hi & ✓ & ✓ & \\
1909 35 & Norwegian (nynorsk) & 0.1~\% & Latin & nn & ✓ & ✓ & ✓ \\\hdashline
1910 36 & Slovenian & 0.1~\% & Latin & sl & ✓ & ✓ & ✓ \\ % Slovenian
1911 37 & Latvian & 0.1~\% & Latin & lv & ✓ & ✓ & ✓ \\ %(1.02)
1912 38 & Estonian & 0.1~\% & Latin & et & ✓ & ✓ & ✓ \\%(1.02)
1913 39 & Azerbaijani & < 0.1~\% & Latin & az & & ✓ & \\ %Latin, ペルシャ文字, Cyrillic
1914 40 & Catalan & < 0.1~\% & Latin & root & ✓ & ✓ & \\\hline
1915 \end{tabular}
1916 \end{center}
1917 \end{column}
1918 \end{columns}
1919 %\\
1920 {\tiny Ref. \url{https://ja.wikipedia.org/wiki/インターネットにおける言語の使用}}
1921 \end{frame}
1922
1923 % - - % - - % - - % - - % - - % - - % - - % - - % - - %
1924
1925 \begin{frame}{To Do}
1926 \begin{columns}
1927 \begin{column}{120mm}
1928 \begin{center}
1929 \begin{itemize}
1930 \item Support more scripts\\
1931 \begin{itemize}
1932 \item Khmer, Myanmar (Burmese)
1933 \item Tibetan, Mongolian
1934 \item Armenian, Georgian
1935 \item Ethiopic (Amharic)
1936 \item etc.
1937 \end{itemize}
1938 \item Support more locales\\
1939 \begin{itemize}
1940 \item Latin Script: Sorbian, Hausa, Igbo, Yoruba, Kalaallisut, Breton, Uzbek
1941 \item etc.
1942 \end{itemize}
1943 \end{itemize}
1944 \vskip1.5ex
1945 {\Large Feedback is welcome}\\
1946 {\tiny \url{https://github.com/t-tk/upmendex-package/issues}}
1947 \end{center}
1948 \end{column}
1949 \end{columns}
1950
1951 \end{frame}
1952
1953 % - - % - - % - - % - - % - - % - - % - - % - - % - - %
1954
1955 \section{Summary}
1956 \begin{frame}{Summary}
1957
1958 \begin{columns}
1959 \begin{column}{70mm}
1960
1961 I introduced multilingual index processor \textbf{upmendex}.
1962
1963 \begin{itemize}
1964 \item Feature\\
1965 \item Localization: 72 Languages, 22 Scripts
1966 \begin{itemize}
1967 \item Latin, Cyrillic, Greek
1968 \item CJK (Chinese, Japanese, Korean)
1969 \item Devanagari, Bengali, Thai, \ldots
1970 \item Arabic, Hebrew
1971 \item Symbol, Number
1972 \end{itemize}
1973 \item Multilingualization
1974 \begin{itemize}
1975 \item Environment for\\
1976 upLaTeX/babel \& XeLaTeX/polyglossia
1977 \end{itemize}
1978 \end{itemize}
1979 \end{column}
1980
1981 \begin{column}{65mm}
1982
1983 \begin{center}
1984 \fbox{%
1985 \includegraphics[scale=0.50]{city_texconf-03-cropa.pdf}%
1986 }
1987 \end{center}
1988 \end{column}
1989 \end{columns}
1990
1991 \end{frame}
1992
1993 % - - % - - % - - % - - % - - % - - % - - % - - % - - %
1994
1995 \section{References}
1996 \begin{frame}{References}
1997
1998 \begin{enumerate}
1999 \item \href{https://asciidwango.github.io/ptex/}{ASCII Nihongo TeX (Publishing TeX)}, ASCII MEDIA WORKS (web site by DWANGO Co., Ltd.).
2000 The site distributes \href{https://asciidwango.github.io/ptex/base/sources.html\#mendexk}{mendexk} source files.
2001 \item \href{https://github.com/t-tk/upmendex-package}{Source/Document distribution of upmendex --- multilingual index processor @ GitHub}.\\
2002 \href{https://ctan.org/pkg/upmendex/}{upmendex @ CTAN}
2003 \item \href{http://www.t-lab.opal.ne.jp/tex/uptex_en.html}{upTeX, upLaTeX ― unicode version of pTeX, pLaTeX}
2004 \item \href{https://icu.unicode.org/}{International Components for Unicode (ICU)}
2005 \item \href{https://github.com/zr-tex8r/PXbase}{PXbase --- LaTeX: Support library for other PX packages @ GitHub}.
2006 The repository distributes pxbabel.\\
2007 \href{https://ctan.org/pkg/pxbase/}{pxbase @ CTAN}
2008 \item \href{https://github.com/reutenauer/polyglossia}{polyglossia --- An alternative to Babel for XeLaTeX and LuaLaTeX @ GitHub}.\\
2009 \href{https://ctan.org/pkg/polyglossia/}{polyglossia @ CTAN}
2010 \item \href{https://tug.org/tug2013/slides/shikano.pdf}{``Indexing Makes Your Book Perfect''} by SHIKANO Keiichiro at \href{https://tug.org/tug2013/}{TUG2013}, October, Tokyo.
2011 \end{enumerate}
2012
2013
2014 \end{frame}
2015
2016 \end{document}
2017
2018
2019
2020 \end{frame}
2021
2022