| 1 |
.TH MENDEX 1 |
| 2 |
\"===================================================================== |
| 3 |
.if t .ds TX \fRT\\h'-0.1667m'\\v'0.20v'E\\v'-0.20v'\\h'-0.125m'X\fP |
| 4 |
.if n .ds TX TeX |
| 5 |
.\" LX definition must follow TX so LX can use TX |
| 6 |
.if t .ds LX \fRL\\h'-0.36m'\\v'-0.15v'\s-2A\s0\\h'-0.15m'\\v'0.15v'\fP\*(TX |
| 7 |
.if n .ds LX LaTeX |
| 8 |
\"===================================================================== |
| 9 |
.SH NAME |
| 10 |
mendex \- Japanese index processor |
| 11 |
.SH SYNOPSIS |
| 12 |
\fBmendex\fR [-ilqrcgfEJSU] [\fB-s\fI sty\fR] [\fB-d\fI dic\fR] [\fB-o\fI ind\fR] [\fB-t\fI log\fR] [\fB-p\fI no\fR] [\fB-I\fI enc\fR] [\fB--help\fR] [\fB--\fR] [\fI idx0 idx1 idx2 ...\fR] |
| 13 |
.SH DESCRIPTION |
| 14 |
.PP |
| 15 |
The program \fImendex\fR is a general purpose hierarchical index generator; |
| 16 |
it accepts one or more input files (\fI.idx\fR; often produced by a text |
| 17 |
formatter such as \*(LX), sorts the entries, and produces an output file |
| 18 |
which can be formatted. It is almost compatible with \fImakeindex\fR, and |
| 19 |
additional feature for handling readings of kanji words is also available. |
| 20 |
.RE |
| 21 |
The formats of the input and output files are specified in a style file. |
| 22 |
The readings of kanji words can be specified in a dictionary file. |
| 23 |
.RE |
| 24 |
The index can have up to three levels (0, 1, and 2) of subitem nesting. |
| 25 |
.SH OPTIONS |
| 26 |
.PP |
| 27 |
.TP 10 |
| 28 |
\fB-i\fR |
| 29 |
Take input from stdin, even when index files are specified. |
| 30 |
.TP 10 |
| 31 |
\fB-l\fR |
| 32 |
Set \'sort by character order\'. By default, \'sort by word order\' is used. |
| 33 |
Details are described below. |
| 34 |
.TP 10 |
| 35 |
\fB-q\fR |
| 36 |
Quiet mode; send no message to \fIstderr\fR, except error |
| 37 |
messages and warnings. |
| 38 |
.TP 10 |
| 39 |
\fB-r\fR |
| 40 |
Disable implicit page range formation. By default, three or |
| 41 |
more successive pages are automatically abbreviated as a range |
| 42 |
(e.g. 1\(en5). |
| 43 |
.TP 10 |
| 44 |
\fB-c\fR |
| 45 |
Compress sequence of intermediate blanks (space(s) and/or tab(s)) into a space |
| 46 |
and ignore leading and trailing blank(s). |
| 47 |
By default, blanks in the index key are retained. |
| 48 |
.TP 10 |
| 49 |
\fB-g\fR |
| 50 |
Make Japanese index head \fIA\fR-line (\fIA, Ka, Sa, ...\fR; 10 characters) |
| 51 |
of the \fIgojuon\fR table (Japanese syllabary). By default, all 48 characters |
| 52 |
in the \fIgojuon\fR table are used. |
| 53 |
.TP 10 |
| 54 |
\fB-f\fR |
| 55 |
Force to output Kanji characters even non-existent in dictionaries. |
| 56 |
.TP 10 |
| 57 |
\fB-s\fI sty\fR |
| 58 |
Employ \fIsty\fR as the style file. |
| 59 |
.TP 10 |
| 60 |
\fB-d\fI dic\fR |
| 61 |
Employ \fIdic\fR as the dictionary file. The dictionary file is |
| 62 |
composed of lists of <\fIindex_word\fR\ \fIreading\fR>. |
| 63 |
.TP 10 |
| 64 |
\fB-o\fI ind\fR |
| 65 |
Employ \fIind\fR as the output index file. By default, the file |
| 66 |
name is created by appending the extension \fIind\fR to the base |
| 67 |
name of the first input file. |
| 68 |
.TP 10 |
| 69 |
\fB-t\fI log\fR |
| 70 |
Employ \fIlog\fR as the transcript file. By default, the file name |
| 71 |
is created by appending the extension \fIilg\fR to the base name |
| 72 |
of the first input file. |
| 73 |
.TP 10 |
| 74 |
\fB-p\fI no\fR |
| 75 |
Set the starting page number of the output index list to be |
| 76 |
\fIno\fR. The argument \fIno\fR may be numerical or one of |
| 77 |
the following: \fIany\fR (the next page to the end of contents), \fIodd\fR |
| 78 |
(the next odd page to the end of contents), \fIeven\fR (the next even page to the end of contents). |
| 79 |
.TP 10 |
| 80 |
\fB-E\fR |
| 81 |
Set input/output character encoding to EUC-JP. |
| 82 |
.TP 10 |
| 83 |
\fB-J\fR |
| 84 |
Set input/output character encoding to JIS (ISO-2022-JP). |
| 85 |
.TP 10 |
| 86 |
\fB-S\fR |
| 87 |
Set input/output character encoding to Shift_JIS. |
| 88 |
.TP 10 |
| 89 |
\fB-U\fR |
| 90 |
Set input/output character encoding to UTF-8. |
| 91 |
.TP 10 |
| 92 |
\fB-I\fI enc\fR |
| 93 |
Set internal character encoding to \fIenc\fR. The argument \fIenc\fR |
| 94 |
may be \fIeuc\fR (EUC-JP) or \fIutf8\fR (UTF-8). |
| 95 |
The default is set to \fIutf8\fR. |
| 96 |
.TP 10 |
| 97 |
\fB--help\fR |
| 98 |
Show summary of options. |
| 99 |
.TP 10 |
| 100 |
\fB--\fR |
| 101 |
Arguments after \fB--\fR are not taken as options. |
| 102 |
This is useful when the input file name starts with '-'. |
| 103 |
|
| 104 |
.SH "STYLE FILE" |
| 105 |
The style file informs \fImendex\fR about the format of the |
| 106 |
\fIidx\fR input files and the intended format of the final |
| 107 |
output file. The format is upper compatible with the one for |
| 108 |
\fImakeindex\fR. The style file contains a list of |
| 109 |
<\fIspecifier\fR\ \fIattribute\fR> pairs. |
| 110 |
There are two types of specifiers: input and output. |
| 111 |
Pairs do not have to appear in any particular order. |
| 112 |
A line begun by \'%\' is a comment. |
| 113 |
|
| 114 |
.PP |
| 115 |
\fBInput file style parameter\fR |
| 116 |
.TP 30 |
| 117 |
\fBkeyword\fR <string> |
| 118 |
"\\\\indexentry" |
| 119 |
.RS |
| 120 |
Command with an argument of index entry which is going to be processed. |
| 121 |
.RE |
| 122 |
.TP 30 |
| 123 |
\fBarg_open\fR <char> |
| 124 |
\'{\' |
| 125 |
.RS |
| 126 |
Opening delimiter which shows the beginning of index entry. |
| 127 |
.RE |
| 128 |
.TP 30 |
| 129 |
\fBarg_close\fR <char> |
| 130 |
\'}\' |
| 131 |
.RS |
| 132 |
Closing delimiter which shows the end of index entry. |
| 133 |
.RE |
| 134 |
.TP 30 |
| 135 |
\fBrange_open\fR <char> |
| 136 |
\'(\' |
| 137 |
.RS |
| 138 |
Opening delimiter which shows the beginning of page range. |
| 139 |
.RE |
| 140 |
.TP 30 |
| 141 |
\fBrange_close\fR <char> |
| 142 |
\')\' |
| 143 |
.RS |
| 144 |
Closing delimiter which shows the end of page range. |
| 145 |
.RE |
| 146 |
.TP 30 |
| 147 |
\fBlevel\fR <char> |
| 148 |
\'!\' |
| 149 |
.RS |
| 150 |
Delimiter which shows lower level. |
| 151 |
.RE |
| 152 |
.TP 30 |
| 153 |
\fBactual\fR <char> |
| 154 |
\'@\' |
| 155 |
.RS |
| 156 |
Symbol which shows the next sequence is to appear as index strings |
| 157 |
in the output file. |
| 158 |
.RE |
| 159 |
.TP 30 |
| 160 |
\fBencap\fR <char> |
| 161 |
\'|\' |
| 162 |
.RS |
| 163 |
Symbol which shows the next sequence is to be used as command name |
| 164 |
attached to the page number. |
| 165 |
.RE |
| 166 |
.TP 30 |
| 167 |
\fBpage_compositor\fR <string> |
| 168 |
"-" |
| 169 |
.RS |
| 170 |
Separator between page levels for a style with multi-levels of page numbers. |
| 171 |
.RE |
| 172 |
.TP 30 |
| 173 |
\fBpage_precedence\fR <string> |
| 174 |
"rnaRA" |
| 175 |
.RS |
| 176 |
Priority of expression for page number. |
| 177 |
\'R\' and \'r\' correspond to Roman. \'n\' corresponds to arabic numeral. |
| 178 |
\'A\' and \'a\' correspond to Latin alphabet. |
| 179 |
.RE |
| 180 |
.TP 30 |
| 181 |
\fBquote\fR <char> |
| 182 |
\'"\' |
| 183 |
.RS |
| 184 |
Escape character for \fImendex\fR parameters. |
| 185 |
.RE |
| 186 |
.TP 30 |
| 187 |
\fBescape\fR <char> |
| 188 |
\'\\\\\' |
| 189 |
.RS |
| 190 |
Escape character for general scripts. |
| 191 |
.RE |
| 192 |
|
| 193 |
\fBOutput file style parameter\fR |
| 194 |
.TP 30 |
| 195 |
\fBpreamble\fR <string> |
| 196 |
"\\\\begin{theindex}\\n" |
| 197 |
.RS |
| 198 |
Preamble of output file. |
| 199 |
.RE |
| 200 |
.TP 30 |
| 201 |
\fBpostamble\fR <string> |
| 202 |
"\\n\\n\\\\end{theindex}\\n" |
| 203 |
.RS |
| 204 |
Postamble of output file. |
| 205 |
.RE |
| 206 |
.TP 30 |
| 207 |
\fBsetpage_prefix\fR <string> |
| 208 |
"\\n \\\\setcounter{page}{" |
| 209 |
.RS |
| 210 |
Prefix of page number if start page is designated. |
| 211 |
.RE |
| 212 |
.TP 30 |
| 213 |
\fBsetpage_suffix\fR <string> |
| 214 |
"}\\n" |
| 215 |
.RS |
| 216 |
Suffix of page number if start page is designated. |
| 217 |
.RE |
| 218 |
.TP 30 |
| 219 |
\fBgroup_skip\fR <string> |
| 220 |
"\\n\\n \\\\indexspace\\n" |
| 221 |
.RS |
| 222 |
Strings to insert vertical space before new section of index. |
| 223 |
.RE |
| 224 |
.TP 30 |
| 225 |
\fBlethead_prefix\fR <string> |
| 226 |
"" |
| 227 |
.RS |
| 228 |
Prefix of heading for newly appeared heading letter. |
| 229 |
.RE |
| 230 |
.TP 30 |
| 231 |
\fBheading_prefix\fR <string> |
| 232 |
"" |
| 233 |
.RS |
| 234 |
Same as \fBlethead_prefix\fR. (compatible with makeindex) |
| 235 |
.RE |
| 236 |
.TP 30 |
| 237 |
\fBlethead_suffix\fR <string> |
| 238 |
"" |
| 239 |
.RS |
| 240 |
Suffix of heading for newly appeared heading letter. |
| 241 |
.RE |
| 242 |
.TP 30 |
| 243 |
\fBheading_suffix\fR <string> |
| 244 |
"" |
| 245 |
.RS |
| 246 |
Same as \fBlethead_suffix\fR. (compatible with makeindex) |
| 247 |
.RE |
| 248 |
.TP 30 |
| 249 |
\fBlethead_flag\fR <number> |
| 250 |
0 |
| 251 |
.RS |
| 252 |
Flag to control output of heading letters. |
| 253 |
\'0\', \'1\' and \'-1\' respectively denotes no output, uppercase and lowercase. |
| 254 |
.RE |
| 255 |
.TP 30 |
| 256 |
\fBheading_flag\fR <number> |
| 257 |
0 |
| 258 |
.RS |
| 259 |
Same as \fBlethead_flag\fR. (Note: makeindex uses a different name \fBheadings_flag\fR) |
| 260 |
.RE |
| 261 |
.TP 30 |
| 262 |
\fBitem_0\fR <string> |
| 263 |
"\\n \\\\item " |
| 264 |
.RS |
| 265 |
Command sequence inserted between primary level entries. |
| 266 |
.RE |
| 267 |
.TP 30 |
| 268 |
\fBitem_1\fR <string> |
| 269 |
"\\n \\\\subitem " |
| 270 |
.RS |
| 271 |
Command sequence inserted between sub level entries. |
| 272 |
.RE |
| 273 |
.TP 30 |
| 274 |
\fBitem_2\fR <string> |
| 275 |
"\\n \\\\subsubitem " |
| 276 |
.RS |
| 277 |
Command sequence inserted between subsub level entries. |
| 278 |
.RE |
| 279 |
.TP 30 |
| 280 |
\fBitem_01\fR <string> |
| 281 |
"\\n \\\\subitem " |
| 282 |
.RS |
| 283 |
Command sequence inserted between primaly and sub level entries. |
| 284 |
.RE |
| 285 |
.TP 30 |
| 286 |
\fBitem_x1\fR <string> |
| 287 |
"\\n \\\\subitem " |
| 288 |
.RS |
| 289 |
Command sequence inserted between primary and sub level entries |
| 290 |
when main entry does not have page number. |
| 291 |
.RE |
| 292 |
.TP 30 |
| 293 |
\fBitem_12\fR <string> |
| 294 |
"\\n \\\\subsubitem " |
| 295 |
.RS |
| 296 |
Command sequence inserted between sub and subsub level entries. |
| 297 |
.RE |
| 298 |
.TP 30 |
| 299 |
\fBitem_x2\fR <string> |
| 300 |
"\\n \\\\subsubitem " |
| 301 |
.RS |
| 302 |
Command sequence inserted between sub and subsub level entries |
| 303 |
when sub level entry does not have page number. |
| 304 |
.RE |
| 305 |
.TP 30 |
| 306 |
\fBdelim_0\fR <string> |
| 307 |
", " |
| 308 |
.RS |
| 309 |
Delimiter string between primary level entry and first page number. |
| 310 |
.RE |
| 311 |
.TP 30 |
| 312 |
\fBdelim_1\fR <string> |
| 313 |
", " |
| 314 |
.RS |
| 315 |
Delimiter string between sub level entry and first page number. |
| 316 |
.RE |
| 317 |
.TP 30 |
| 318 |
\fBdelim_2\fR <string> |
| 319 |
", " |
| 320 |
.RS |
| 321 |
Delimiter string between subsub level entry and first page number. |
| 322 |
.RE |
| 323 |
.TP 30 |
| 324 |
\fBdelim_n\fR <string> |
| 325 |
", " |
| 326 |
.RS |
| 327 |
Delimiter string between page numbers |
| 328 |
commonly used for any entry level. |
| 329 |
.RE |
| 330 |
.TP 30 |
| 331 |
\fBdelim_r\fR <string> |
| 332 |
"--" |
| 333 |
.RS |
| 334 |
Delimiter string between pages to show page range. |
| 335 |
.RE |
| 336 |
.TP 30 |
| 337 |
\fBdelim_t\fR <string> |
| 338 |
"" |
| 339 |
.RS |
| 340 |
Delimiter string output at the end of page number list. |
| 341 |
.RE |
| 342 |
.TP 30 |
| 343 |
\fBsuffix_2p\fR <string> |
| 344 |
"" |
| 345 |
.RS |
| 346 |
String to be inserted in place of \fBdelim_n\fR and the next page |
| 347 |
number when the two pages are contiguous. |
| 348 |
.RE |
| 349 |
It works only when the parameter is defined. |
| 350 |
.RE |
| 351 |
.TP 30 |
| 352 |
\fBsuffix_3p\fR <string> |
| 353 |
"" |
| 354 |
.RS |
| 355 |
String to be inserted in place of \fBdelim_r\fR and the third page |
| 356 |
number when the three pages are contiguous. |
| 357 |
The parameter is prior to \fBsuffix_mp\fR. |
| 358 |
.RE |
| 359 |
It works only when the parameter is defined. |
| 360 |
.RE |
| 361 |
.TP 30 |
| 362 |
\fBsuffix_mp\fR <string> |
| 363 |
"" |
| 364 |
.RS |
| 365 |
String to be inserted in place of \fBdelim_r\fR and the last page |
| 366 |
number when the three or more pages are contiguous. |
| 367 |
.RE |
| 368 |
It works only when the parameter is defined. |
| 369 |
.RE |
| 370 |
.TP 30 |
| 371 |
\fBencap_prefix\fR <string> |
| 372 |
"\\\\" |
| 373 |
.RS |
| 374 |
Prefix for an encapsulating command |
| 375 |
when the encapsulating command is added to the page number. |
| 376 |
.RE |
| 377 |
.TP 30 |
| 378 |
\fBencap_infix\fR <string> |
| 379 |
"{" |
| 380 |
.RS |
| 381 |
Prefix just before the page number |
| 382 |
when the encapsulating command is added to the page number. |
| 383 |
.RE |
| 384 |
.TP 30 |
| 385 |
\fBencap_suffix\fR <string> |
| 386 |
"}". |
| 387 |
.RS |
| 388 |
Suffix after the page number |
| 389 |
when the encapsulating command is added to the page number. |
| 390 |
.RE |
| 391 |
.TP 30 |
| 392 |
\fBline_max\fR <number> |
| 393 |
72 |
| 394 |
.RS |
| 395 |
Maximum number of one line. |
| 396 |
If exceed the number, lines are folded. |
| 397 |
.RE |
| 398 |
.TP 30 |
| 399 |
\fBindent_space\fR <string> |
| 400 |
"\t\t" |
| 401 |
.RS |
| 402 |
Space for indent which inserted to |
| 403 |
top of folded line. |
| 404 |
.RE |
| 405 |
.TP 30 |
| 406 |
\fBindent_length\fR <number> |
| 407 |
16 |
| 408 |
.RS |
| 409 |
Length of space for indent which inserted to top of folded line. |
| 410 |
.RE |
| 411 |
.TP 30 |
| 412 |
\fBsymhead_positive\fR <string> |
| 413 |
"Symbols" |
| 414 |
.RS |
| 415 |
Strings to output as heading letter for numbers and symbols |
| 416 |
when lethead_flag or heading_flag is positive number. |
| 417 |
.RE |
| 418 |
.TP 30 |
| 419 |
\fBsymhead_negative\fR <string> |
| 420 |
"symbols" |
| 421 |
.RS |
| 422 |
Strings to output as heading letter for numbers and symbols |
| 423 |
when lethead_flag or heading_flag is negative number. |
| 424 |
.RE |
| 425 |
.TP 30 |
| 426 |
\fBsymbol\fR <string> |
| 427 |
"" |
| 428 |
.RS |
| 429 |
Strings to output as heading letter for numbers and symbols |
| 430 |
when symbol_flag is non zero. |
| 431 |
.RE |
| 432 |
If specified, the option is prior to symhead_positive and symhead_negative. |
| 433 |
(Extended by mendex) |
| 434 |
.RE |
| 435 |
.TP 30 |
| 436 |
\fBsymbol_flag\fR <number> |
| 437 |
1 |
| 438 |
.RS |
| 439 |
Flag to output of symbol. If \'0\', do not output. |
| 440 |
(Extended by mendex) |
| 441 |
.RE |
| 442 |
.TP 30 |
| 443 |
\fBletter_head\fR <number> |
| 444 |
1 |
| 445 |
.RS |
| 446 |
Flag of heading letter for Japanese Kana. |
| 447 |
If \'1\' and \'2\', Katakana and Hiragana is used, respectively. |
| 448 |
(Extended by mendex) |
| 449 |
.RE |
| 450 |
.TP 30 |
| 451 |
\fBpriority\fR <number> |
| 452 |
0 |
| 453 |
.RS |
| 454 |
Flag of sorting method for index words composed of |
| 455 |
Japanese and non-Japanese (ex. Latin scripts). |
| 456 |
If non zero, one space (U+20) is inserted between |
| 457 |
Japanese sequence and non-Japanese sequence in sorting procedure. |
| 458 |
(Extended by mendex) |
| 459 |
.RE |
| 460 |
.TP 30 |
| 461 |
\fBcharacter_order\fR <string> |
| 462 |
"SNEJ" |
| 463 |
.RS |
| 464 |
Order of scripts and symbols. |
| 465 |
\'S\', \'N\', \'E\' and \'J\' respectively denotes symbol, numbers, English and Japanese. |
| 466 |
(Extended by mendex) |
| 467 |
Please make sure that \'S\' and \'N\' are next to each other, |
| 468 |
since \fBmendex\fR considers numbers as part of symbol. |
| 469 |
.RE |
| 470 |
.PP |
| 471 |
.SH ABOUT JAPANESE PROCESSING |
| 472 |
.PP |
| 473 |
\fImendex\fR has an additional feature to simplify the procedure of handling |
| 474 |
Japanese indexes, compared to \fImakeindex\fR. Users can save the effort |
| 475 |
of manually specifying a reading for every kanji word. |
| 476 |
.RE |
| 477 |
Japanese kanji words are usually sorted by the syllables of their readings |
| 478 |
(\fI\'Yomi\'\fR), which can be represented by kana (Hiragana, Katakana) scripts. |
| 479 |
\fImendex\fR accepts index words specified in kana expression directly on |
| 480 |
an input file, and also accepts conversion from index words to kana scripts |
| 481 |
by referring to Japanese dictionaries. |
| 482 |
.RE |
| 483 |
|
| 484 |
.LP |
| 485 |
Examples of internal simplification of syllables are shown below. |
| 486 |
.PP |
| 487 |
.RS |
| 488 |
.br |
| 489 |
かぶしきがいしゃ かふしきかいしや |
| 490 |
.br |
| 491 |
マッキントッシュ まつきんとつしゆ |
| 492 |
.br |
| 493 |
ワープロ わあふろ |
| 494 |
.RE |
| 495 |
.LP |
| 496 |
The dictionary file consists of list with <\'index_word\' \'reading\'>. |
| 497 |
The index word can be written in any scripts (kanji, kana, etc), |
| 498 |
and the reading must be in Hiragana or Katakana scripts. |
| 499 |
The delimiter between the index word and its reading is one or more tab(s) or space(s). |
| 500 |
.RE |
| 501 |
An example of a Japanese dictionary is shown below. |
| 502 |
.PP |
| 503 |
.RS |
| 504 |
.br |
| 505 |
漢字 かんじ |
| 506 |
.br |
| 507 |
読み よみ |
| 508 |
.br |
| 509 |
環境 かんきょう |
| 510 |
.br |
| 511 |
α アルファ |
| 512 |
.RE |
| 513 |
.LP |
| 514 |
Here, each index word is allowed to have only one Yomi. |
| 515 |
Though some kanji words (ex. 「表」) may have more than one Yomi\'s |
| 516 |
(ex. 「ひょう」 and 「おもて」), only one of them can be registered in the dictionary. |
| 517 |
When some different Yomi\'s are needed, they should be specified explicitly |
| 518 |
in kana expression (ex. \\index{ひょう@表} or \\index{おもて@表}) on the input file. |
| 519 |
.RE |
| 520 |
Moreover, a dictionary file is automatically referred |
| 521 |
by setting the file name at an environment variable \fIINDEXDEFAULTDICTIONARY\fR. |
| 522 |
The dictionary set by the environment variable can be used |
| 523 |
together with file(s) specified by \fI-d\fR option. |
| 524 |
.PP |
| 525 |
.SH ABOUT SORTING PROCEDURE |
| 526 |
.PP |
| 527 |
\fImendex\fR sorts indexes as is (\'sort by word order\') by default. |
| 528 |
Setting \fI-l\fR option, spaces between words in an index are truncated prior to |
| 529 |
sorting procedure (\'sort by character order\'). |
| 530 |
.RE |
| 531 |
Even when sort by character order, the index at output remains the original sequence |
| 532 |
without the truncation. |
| 533 |
.RE |
| 534 |
Follows show an example. |
| 535 |
.PP |
| 536 |
.RS |
| 537 |
\fIsort by word order sort by character order\fR |
| 538 |
.br |
| 539 |
X Window Xlib |
| 540 |
.br |
| 541 |
Xlib XView |
| 542 |
.br |
| 543 |
XView X Window |
| 544 |
.RE |
| 545 |
.LP |
| 546 |
In addition, two sorting methods can be applied for indexes |
| 547 |
which contains both Japanese kana and other scripts (e.g. Latin script). |
| 548 |
By setting \fIpriority\fR 0 (default) and 1 at a style file, |
| 549 |
a space between Japanese Kana and other scripts is inserted and |
| 550 |
not inserted respectively, prior to the sorting procedure. |
| 551 |
.RE |
| 552 |
Follows show an example. |
| 553 |
.PP |
| 554 |
.RS |
| 555 |
\fIpriority=0 priority=1\fR |
| 556 |
.br |
| 557 |
index sort indファイル |
| 558 |
.br |
| 559 |
indファイル index sort |
| 560 |
.RE |
| 561 |
.PP |
| 562 |
.SH ENVIRONMENT VARIABLES |
| 563 |
\fImendex\fR refers environment variables as follows. |
| 564 |
.PP |
| 565 |
.TP 10 |
| 566 |
\fIINDEXSTYLE\fR |
| 567 |
Directory where index style files exist. |
| 568 |
.TP 10 |
| 569 |
\fIINDEXDEFAULTSTYLE\fR |
| 570 |
Index style file to be referred to as default. |
| 571 |
.TP 10 |
| 572 |
\fIINDEXDICTIONARY\fR |
| 573 |
Directory where dictionary files exist. |
| 574 |
.TP 10 |
| 575 |
\fIINDEXDEFAULTDICTIONARY\fR |
| 576 |
Dictionary file which is automatically read. |
| 577 |
.PP |
| 578 |
.SH DETAIL |
| 579 |
Detailed specification is compatible with \fImakeindex\fR. |
| 580 |
.PP |
| 581 |
.SH KNOWN ISSUES |
| 582 |
When plural page number expression is used, \fI.idx\fR files should be |
| 583 |
specified along with the order of page numbers. Otherwise, |
| 584 |
wrong page numbers might be output. |
| 585 |
.PP |
| 586 |
.SH "SEE ALSO" |
| 587 |
tex(1), latex(1), makeindex(1) |
| 588 |
.SH AUTHOR |
| 589 |
This manual page was written by Japanese \*(TX Development Community. |