Skip to content

Commit

Permalink
documentation of lethead_*, headings_flag
Browse files Browse the repository at this point in the history
  • Loading branch information
aminophen committed Jun 6, 2021
1 parent 16e40ce commit 7a060c2
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 9 deletions.
6 changes: 3 additions & 3 deletions mendex.1
Expand Up @@ -231,7 +231,7 @@ Prefix of heading for newly appeared heading letter.
\fBheading_prefix\fR <string>
""
.RS
Same as \fBlethead_prefix\fR.
Same as \fBlethead_prefix\fR. (compatible with makeindex)
.RE
.TP 30
\fBlethead_suffix\fR <string>
Expand All @@ -243,7 +243,7 @@ Suffix of heading for newly appeared heading letter.
\fBheading_suffix\fR <string>
""
.RS
Same as \fBlethead_suffix\fR.
Same as \fBlethead_suffix\fR. (compatible with makeindex)
.RE
.TP 30
\fBlethead_flag\fR <number>
Expand All @@ -256,7 +256,7 @@ Flag to control output of heading letters.
\fBheading_flag\fR <number>
0
.RS
Same as \fBlethead_flag\fR.
Same as \fBlethead_flag\fR. (Note: makeindex uses a different name \fBheadings_flag\fR)
.RE
.TP 30
\fBitem_0\fR <string>
Expand Down
6 changes: 3 additions & 3 deletions mendex.1.ja
Expand Up @@ -200,7 +200,7 @@ mendexのパラメータ文字に対するエスケープキャラクタ。
\fBheading_prefix\fR <文字列>
""
.RS
lethead_prefixと同じ。
lethead_prefixと同じ。(makeindex互換)
.RE
.TP 30
\fBlethead_suffix\fR <文字列>
Expand All @@ -212,7 +212,7 @@ lethead_prefixと同じ。
\fBheading_suffix\fR <文字列>
""
.RS
lethead_suffixと同じ。
lethead_suffixと同じ。(makeindex互換)
.RE
.TP 30
\fBlethead_flag\fR <数値>
Expand All @@ -224,7 +224,7 @@ lethead_suffixと同じ。
\fBheading_flag\fR <数値>
0
.RS
lethead_flagと同じ。
lethead_flagと同じ。makeindexではheadings_flagという名称のため、互換性がありません。
.RE
.TP 30
\fBitem_0\fR <文字列>
Expand Down
18 changes: 15 additions & 3 deletions mendex.tex
Expand Up @@ -230,22 +230,29 @@ \subsection{スタイルファイル}
\item[|lethead\string_prefix|] \ParamString*||
頭文字の前に付けるコマンド文字列.
\SoftName{makeindex}はこのパラメータを認識しません.
\item[|heading\string_prefix|] \ParamString*||
|lethead_prefix| と同じ.
|lethead_prefix| と同じ.\SoftName{makeindex}互換)
\item[|lethead\string_suffix|] \ParamString*||
頭文字の後に付けるコマンド文字列.
\SoftName{makeindex}はこのパラメータを認識しません.
\item[|heading\string_suffix|] \ParamString*||
|lethead_suffix| と同じ.
|lethead_suffix| と同じ.\SoftName{makeindex}互換)
\item[|lethead\string_flag|] \ParamNum|0|
頭文字の出力のフラグ.|0| のとき出力しない.|0|より大きいときは英字を大文字で,
|0|より小さいときは小文字で出力する.
\SoftName{makeindex}はこのパラメータを認識しません.
% 2014年以前の ind.pdf には言及されていたが,少なくとも1993年以降の makeindex の
% ソースコードを見ると |lethead_flag| を認識しなかった.
% |lethead_prefix| と |lethead_suffix| も同様.
\item[|heading\string_flag|] \ParamNum|0|
|lethead_flag| と同じ.
|lethead_flag| と同じ.\\
\SoftName{makeindex}では |headings_flag| という名称のため,互換性がありません.
\item[|item\string_0|] \ParamString*|\n \\item |
主エントリ間に挿入するコマンド.
Expand Down Expand Up @@ -363,6 +370,11 @@ \subsection{参考:\SoftName{makeindex}との比較}
(|character_order|パラメータを追加).他に\SoftName{mendex}で追加された
スタイルパラメータには,|symbol|,|symbol_flag|,|letter_head|,|priority|があります.
\item \SoftName{makeindex}の |headings_flag| は,\SoftName{mendex} では
|heading_flag| となっており,互いに互換性がありません.
また,|lethead_flag|,|lethead_prefix|,|lethead_suffix|は,かつて\SoftName{makeindex}の
文書で言及されていましたが,現在は削除され\SoftName{mendex}専用となっています.
\item \SoftName{makeindex}の項目の並び順は,頭文字は
「記号」「数字」「アルファベット」に分けて並べられますが,2文字目以降は単純に
ASCIIコード順となり,記号よりアルファベットが先になる場合もあります.
Expand Down

0 comments on commit 7a060c2

Please sign in to comment.