<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">%#!platex -kanji=utf8 mendex.tex
% ã“ã®æ–‡æ›¸ã¯æ—¥æœ¬èªžã§æ›¸ã‹ã‚Œã¦ã„ã¾ã™ (encoding: UTF-8N)
% ã‚¨ãƒ³ã‚³ãƒ¼ãƒ‰æŒ‡å®š (since e-pTeX 20160201)
\ifx\epTeXinputencoding\undefined\else
  \epTeXinputencoding utf8
\fi

\documentclass[a4paper,dvipdfmx]{jsarticle}

% ä¾å­˜ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸
\usepackage{otf}
\usepackage{enumitem}
\usepackage{shortvrb}
\usepackage{newverbs}
\usepackage[colorlinks]{hyperref}
\usepackage{pxjahyper}

% ãƒªã‚¹ãƒˆè¨­å®š
\setlist[description]{font=\normalfont, style=nextline}
\newenvironment{syntax}{\begin{quote}\small}{\end{quote}}

% ã‚¤ãƒ³ãƒ©ã‚¤ãƒ³ã‚³ãƒ¼ãƒ‰ç”¨è¨­å®š
\let\xpar\par
\MakeShortVerb{\|}
\newverbcommand{\ParamNum}{\jMeta{æ•´æ•°}\quad è¦å®šå€¤ï¼š}{\xpar}
\newverbcommand{\ParamChar}{\jMeta{æ–‡å­—}\quad è¦å®šå€¤ï¼š'}{'\xpar}
\newverbcommand{\ParamString}{\jMeta{æ–‡å­—åˆ—}\quad è¦å®šå€¤ï¼š"}{"\xpar}
\xspcode`\\=3

% æ–‡æ›¸ãƒžã‚¯ãƒ­
\newcommand{\SoftName}[1]{\textsf{#1}}
\newcommand{\FileName}[1]{\texttt{#1}}
\newcommand{\FileExtension}[1]{\texttt{.#1}}
\newcommand{\Meta}[1]{$\langle$\mbox{}\textit{#1}\mbox{}$\rangle$}
\newcommand{\jMeta}[1]{$\langle$\mbox{}\textsf{#1}\mbox{}$\rangle$}

% ãƒãƒ¼ã‚¸ãƒ§ãƒ³ç•ªå·å–å¾—
\IfFileExists{mendex-version.log}{%
  \immediate\openin10=mendex-version.log
  \readline10 to\MendexVersion
  \immediate\closein10
  \edef\MendexVersion{\noexpand\STRIP\MendexVersion\noexpand\NIL}
  \def\STRIP##1, ##2 (##3\NIL{\\\texttt{##2}}
}{\def\MendexVersion{}}

% æ–‡æ›¸æƒ…å&nbsp;±
\title{\SoftName{mendex}ï¼šç´¢å¼•æ•´å½¢ãƒ„ãƒ¼ãƒ« \MendexVersion}
\author{ã‚¢ã‚¹ã‚­ãƒ¼ãƒ»ãƒ¡ãƒ‡ã‚£ã‚¢ãƒ¯ãƒ¼ã‚¯ã‚¹ \and æ—¥æœ¬èªž\TeX é–‹ç™ºã‚³ãƒŸãƒ¥ãƒ‹ãƒ†ã‚£}

\begin{document}

\maketitle

\begin{abstract}
\SoftName{mendex}ã¯æ–‡æ›¸ã®ç´¢å¼•ã‚’ä½œæˆã™ã‚‹ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ãƒ„ãƒ¼ãƒ«ã§ã™ï¼Ž\LaTeX ã«ã‚ˆã‚ŠæŠ½å‡ºã•ã‚ŒãŸ
ç´¢å¼•ãƒªã‚¹ãƒˆãƒ•ã‚¡ã‚¤ãƒ«ï¼ˆ\FileExtension{idx}ï¼‰ã‚’ä¸¦ã¹æ›¿ãˆï¼Œå®Ÿéš›ã®ç´¢å¼•ã®ã‚½ãƒ¼ã‚¹ãƒ•ã‚¡ã‚¤ãƒ«ã®å½¢ã«
æ•´å½¢ã—ã¾ã™ï¼Ž\SoftName{makeindex}ã¨äº’æ›æ€§ãŒã‚ã‚Šï¼Œã•ã‚‰ã«ã€Œèª­ã¿ã€ã®æ‰±ã„ã®æ‰‹é–“ã‚’æ¸›ã‚‰ã™ã‚ˆã†ã«
ç‰¹æ®ŠåŒ–ã•ã‚Œã¦ã„ã¾ã™ï¼Žå‡ºåŠ›ã•ã‚Œã‚‹ç´¢å¼•ã®å½¢å¼ã¯ï¼Œã‚¹ã‚¿ã‚¤ãƒ«ãƒ•ã‚¡ã‚¤ãƒ«ã«å¾“ã£ã¦æ±ºå®šã•ã‚Œã¾ã™ï¼Žã¾ãŸï¼Œ
è¾žæ›¸ãƒ•ã‚¡ã‚¤ãƒ«ã‚’ä¸Žãˆã‚‹ã“ã¨ã«ã‚ˆã‚Šï¼Œç´¢å¼•ä¸­ã®æ¼¢å­—ã®èª­ã¿ãŒç™»éŒ²ã•ã‚Œã¾ã™ï¼Žç´¢å¼•ã®éšŽå±¤ã¯3æ®µéšŽã¾ã§
ä½œæˆã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ï¼Ž
\end{abstract}

\tableofcontents
\clearpage

\section{ä½¿ç”¨æ³•}

ã¯ã˜ã‚ã«\SoftName{mendex}ã®ä½¿ç”¨æ³•ã‚’ç¤ºã—ã¾ã™ï¼Ž
%
\begin{syntax}
|mendex [-ilqrcgfEJSU]|
|[-s| \Meta{sty}|]|
|[-d| \Meta{dic}|]|
|[-o| \Meta{ind}|]|
|[-t| \Meta{log}|]|
|[-p| \Meta{no}|]|
|[-I| \Meta{enc}|]| \\
\phantom{\texttt{mendex }}%
|[--help]|
|[--]|
|[|\Meta{idx0} \Meta{idx1} \Meta{idx2} |...]|
\end{syntax}

\subsection{ã‚ªãƒ—ã‚·ãƒ§ãƒ³}

\SoftName{mendex}ã§åˆ©ç”¨å¯èƒ½ãªã‚ªãƒ—ã‚·ãƒ§ãƒ³ã¯ä»¥ä¸‹ã®é€šã‚Šã§ã™ï¼Ž

\begin{description}[leftmargin=2cm]
\item[|-i|]
ç´¢å¼•ãƒªã‚¹ãƒˆãƒ•ã‚¡ã‚¤ãƒ«ãŒæŒ‡å®šã•ã‚Œã¦ã„ã‚‹å&nbsp;´åˆã§ã‚‚ï¼Œæ¨™æº–å…¥åŠ›ã‚’ç´¢å¼•ãƒªã‚¹ãƒˆã¨ã—ã¦ä½¿ç”¨ã—ã¾ã™ï¼Ž

\item[|-l|]
å˜èªžã¨å˜èªžã®é–“ã®ã‚¹ãƒšãƒ¼ã‚¹ã‚’ç„¡è¦–ã—ã¦è©°ã‚ï¼Œç´¢å¼•ã®ã‚½ãƒ¼ãƒˆã‚’æ–‡å­—é&nbsp;†ã§è¡Œã„ã¾ã™ï¼Ž
æŒ‡å®šã•ã‚Œãªã‘ã‚Œã°å˜èªžé&nbsp;†ã®ã‚½ãƒ¼ãƒˆã«ãªã‚Šã¾ã™
ï¼ˆã‚½ãƒ¼ãƒˆæ–¹æ³•ã«ã¤ã„ã¦ã¯å¾Œè¿°ï¼‰ï¼Ž

\item[|-q|]
é™ç²›ãƒ¢ãƒ¼ãƒ‰ã§ã™ï¼Žã‚¨ãƒ©ãƒ¼ãŠã‚ˆã³è­¦å‘Šä»¥å¤–ã¯æ¨™æº–ã‚¨ãƒ©ãƒ¼å‡ºåŠ›ã«å‡ºåŠ›ã—ã¾ã›ã‚“ï¼Ž

\item[|-r|]
ãƒšãƒ¼ã‚¸ç¯„å›²è¡¨ç¾ã‚’ç„¡åŠ¹ã«ã—ã¾ã™ï¼ŽæŒ‡å®šã—ãªã„ã¨ï¼Œé€£ç¶šã—ã¦å‡ºã¦ãã‚‹ç´¢å¼•ã«ã¤ã„ã¦ã¯ ``1--5'' ã®ã‚ˆã†ã«
ãƒšãƒ¼ã‚¸ç¯„å›²ã§è¡¨ç¾ã•ã‚Œã¾ã™ï¼Ž

\item[|-c|]
ã‚¹ãƒšãƒ¼ã‚¹ã‚„ã‚¿ãƒ–ã¨ã„ã£ãŸãƒ–ãƒ©ãƒ³ã‚¯ã‚’çŸ­ç¸®ã—ã¦ï¼Œã™ã¹ã¦1å€‹ã®åŠè§’ã‚¹ãƒšãƒ¼ã‚¹ã«ã—ã¾ã™ï¼Ž
ã¾ãŸï¼Œå‰å¾Œã®ãƒ–ãƒ©ãƒ³ã‚¯ã¯å‰Šé™¤ã•ã‚Œã¾ã™ï¼Ž

\item[|-g|]
æ—¥æœ¬èªžã®é&nbsp;­æ–‡å­—ã®åŒºåˆ‡ã‚Šã‚’ã€Œã‚ã‹ã•ãŸâ€¦â€¦ã‚ã€ã«ã—ã¾ã™ï¼Ž
æŒ‡å®šã—ãªã„ã¨ã€Œã‚ã„ã†ãˆâ€¦â€¦ã‚ã‚ã‚‘ã‚’ã‚“ã€ã«ãªã‚Šã¾ã™ï¼Ž

\item[|-f|]
è¾žæ›¸ãƒ•ã‚¡ã‚¤ãƒ«ã«ãªã„æ¼¢å­—ã‚‚å¼·åˆ¶çš„ã«å‡ºåŠ›ã™ã‚‹ãƒ¢ãƒ¼ãƒ‰ã§ã™ï¼Ž

\item[|-s| \Meta{sty}]
ãƒ•ã‚¡ã‚¤ãƒ«\Meta{sty}ã‚’ã‚¹ã‚¿ã‚¤ãƒ«ãƒ•ã‚¡ã‚¤ãƒ«ã¨è¦‹ãªã—ã¾ã™ï¼Žã‚¹ã‚¿ã‚¤ãƒ«ãƒ•ã‚¡ã‚¤ãƒ«ã‚’æŒ‡å®šã—ãªã‘ã‚Œã°ï¼Œ
ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã®ç´¢å¼•å½¢å¼ã§ä½œæˆã—ã¾ã™ï¼Ž

\item[|-d| \Meta{dic}]
ãƒ•ã‚¡ã‚¤ãƒ«\Meta{dic}ã‚’è¾žæ›¸ãƒ•ã‚¡ã‚¤ãƒ«ã¨è¦‹ãªã—ã¾ã™ï¼Žè¾žæ›¸ãƒ•ã‚¡ã‚¤ãƒ«ã¯æ—¥æœ¬èªžã®
``\jMeta{æ¼¢å­—} \jMeta{èª­ã¿}'' ã®ãƒªã‚¹ãƒˆã§æ§‹æˆã•ã‚Œã¾ã™ï¼Ž

\item[|-o| \Meta{ind}]
ãƒ•ã‚¡ã‚¤ãƒ«\Meta{ind}ã‚’å‡ºåŠ›ãƒ•ã‚¡ã‚¤ãƒ«ã¨è¦‹ãªã—ã¾ã™ï¼ŽæŒ‡å®šãŒãªã„å&nbsp;´åˆã¯æœ€åˆã®å…¥åŠ›ãƒ•ã‚¡ã‚¤ãƒ«ã®æ‹¡å¼µå­ã‚’
\FileExtension{ind}ã¨ã—ãŸã‚‚ã®ï¼Œå…¥åŠ›ãƒ•ã‚¡ã‚¤ãƒ«ãŒæ¨™æº–å…¥åŠ›ã®ã¿ã§ã‚ã‚Œã°æ¨™æº–å‡ºåŠ›ã«å‡ºåŠ›ã—ã¾ã™ï¼Ž

\item[|-t| \Meta{log}]
ãƒ•ã‚¡ã‚¤ãƒ«\Meta{log}ã‚’ãƒ­ã‚°ãƒ•ã‚¡ã‚¤ãƒ«ã¨è¦‹ãªã—ã¾ã™ï¼ŽæŒ‡å®šãŒãªã„å&nbsp;´åˆã¯æœ€åˆã®å…¥åŠ›ãƒ•ã‚¡ã‚¤ãƒ«ã®æ‹¡å¼µå­ã‚’
\FileExtension{ilg}ã¨ã—ãŸã‚‚ã®ï¼Œå…¥åŠ›ãƒ•ã‚¡ã‚¤ãƒ«ãŒæ¨™æº–å…¥åŠ›ã®ã¿ã§ã‚ã‚Œã°æ¨™æº–ã‚¨ãƒ©ãƒ¼å‡ºåŠ›ã®ã¿ã«
å‡ºåŠ›ã•ã‚Œã¾ã™ï¼Ž

\item[|-p| \Meta{no}]
\Meta{no}ã‚’ç´¢å¼•ãƒšãƒ¼ã‚¸ã®å…ˆé&nbsp;­ãƒšãƒ¼ã‚¸ã¨ã—ã¦æŒ‡å®šã—ã¾ã™ï¼Žã¾ãŸï¼Œ\TeX ã®ãƒ­ã‚°ãƒ•ã‚¡ã‚¤ãƒ«
ï¼ˆ\FileExtension{log}ï¼‰ã‚’å‚ç…§ã™ã‚‹ã“ã¨ã«ã‚ˆã‚Š |any|ï¼ˆæœ€çµ‚ãƒšãƒ¼ã‚¸ã®æ¬¡ã®ãƒšãƒ¼ã‚¸ã‹ã‚‰ï¼‰ï¼Œ
|odd|ï¼ˆæœ€çµ‚ãƒšãƒ¼ã‚¸ã®æ¬¡ã®å¥‡æ•°ãƒšãƒ¼ã‚¸ã‹ã‚‰ï¼‰ï¼Œ|even|ï¼ˆæœ€çµ‚ãƒšãƒ¼ã‚¸ã®æ¬¡ã®å¶æ•°ãƒšãƒ¼ã‚¸ã‹ã‚‰ï¼‰ã¨ã„ã£ãŸ
æŒ‡å®šã®ä»•æ–¹ã‚‚å¯èƒ½ã§ã™ï¼Ž

\item[|-E|]
å…¥å‡ºåŠ›æ–‡å­—ã‚¨ãƒ³ã‚³ãƒ¼ãƒ‡ã‚£ãƒ³ã‚°ã‚’EUC-JPã«æŒ‡å®šã—ã¾ã™ï¼Žå…¥åŠ›ãƒ•ã‚¡ã‚¤ãƒ«ï¼Œå‡ºåŠ›ãƒ•ã‚¡ã‚¤ãƒ«ã¨ã‚‚EUC-JPã¨ã—ã¦æ‰±ã„ã¾ã™ï¼Ž

\item[|-J|]
å…¥å‡ºåŠ›æ–‡å­—ã‚¨ãƒ³ã‚³ãƒ¼ãƒ‡ã‚£ãƒ³ã‚°ã‚’JIS (ISO-2022-JP)ã«æŒ‡å®šã—ã¾ã™ï¼Žå…¥åŠ›ãƒ•ã‚¡ã‚¤ãƒ«ï¼Œå‡ºåŠ›ãƒ•ã‚¡ã‚¤ãƒ«ã¨ã‚‚JISã¨ã—ã¦æ‰±ã„ã¾ã™ï¼Ž

\item[|-S|]
å…¥å‡ºåŠ›æ–‡å­—ã‚¨ãƒ³ã‚³ãƒ¼ãƒ‡ã‚£ãƒ³ã‚°ã‚’Shift\_JISã«æŒ‡å®šã—ã¾ã™ï¼Žå…¥åŠ›ãƒ•ã‚¡ã‚¤ãƒ«ï¼Œå‡ºåŠ›ãƒ•ã‚¡ã‚¤ãƒ«ã¨ã‚‚Shift\_JISã¨ã—ã¦æ‰±ã„ã¾ã™ï¼Ž

\item[|-U|]
å…¥å‡ºåŠ›æ–‡å­—ã‚¨ãƒ³ã‚³ãƒ¼ãƒ‡ã‚£ãƒ³ã‚°ã‚’UTF-8ã«æŒ‡å®šã—ã¾ã™ï¼Žå…¥åŠ›ãƒ•ã‚¡ã‚¤ãƒ«ï¼Œå‡ºåŠ›ãƒ•ã‚¡ã‚¤ãƒ«ã¨ã‚‚UTF-8ã¨ã—ã¦æ‰±ã„ã¾ã™ï¼Ž

\item[|-I| \Meta{enc}]
å†…éƒ¨ãƒãƒƒãƒ•ã‚¡ã®æ–‡å­—ã‚¨ãƒ³ã‚³ãƒ¼ãƒ‡ã‚£ãƒ³ã‚°ã‚’\Meta{enc}ã«æŒ‡å®šã—ã¾ã™ï¼Ž\Meta{enc}ã«ã¯ |euc|ï¼ˆEUC-JPï¼‰
ã¾ãŸã¯ |utf8|ï¼ˆUTF-8ï¼‰ãŒæŒ‡å®šå¯èƒ½ã§ã™ï¼Žã“ã®ã‚ªãƒ—ã‚·ãƒ§ãƒ³ãŒæŒ‡å®šã•ã‚Œã¦ã„ãªã„å&nbsp;´åˆã®ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆ
å€¤ã¯ |utf8| ã§ã™\footnote{v2.6fã¾ã§ã¯ã€Œãƒ‡ãƒ•ã‚©ãƒ«ãƒˆå€¤ãŒ |euc| ã§ï¼Œã‚ªãƒ—ã‚·ãƒ§ãƒ³ |-U| ãŒ
æ˜Žç¤ºçš„ã«æŒ‡å®šã•ã‚Œã¦ã„ã‚‹å&nbsp;´åˆã¯ |utf8| ã¨ãªã‚‹ã€ã¨ã„ã†ä»•æ§˜ã§ã—ãŸãŒï¼Œv3.0ã§å¤‰æ›´ã—ã¾ã—ãŸï¼Ž}ï¼Ž

\item[|--guess-input-enc| ãŠã‚ˆã³ |--no-guess-input-enc|]
å…¥åŠ›ãƒ•ã‚¡ã‚¤ãƒ«ã®æ–‡å­—ã‚³ãƒ¼ãƒ‰æŽ¨æ¸¬æ©Ÿèƒ½ã‚’æ˜Žç¤ºçš„ã«æœ‰åŠ¹åŒ–ã¾ãŸã¯ç„¡åŠ¹åŒ–ã—ã¾ã™ï¼Ž
\TeX~Live 2023ä»¥é™ã§ã¯ï¼Œãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã§æ–‡å­—ã‚³ãƒ¼ãƒ‰æŽ¨æ¸¬æ©Ÿèƒ½ãŒæœ‰åŠ¹ã§ã™ï¼Ž
% https://github.com/texjporg/tex-jp-build/issues/142

\item[|--help|]
ã‚ªãƒ—ã‚·ãƒ§ãƒ³ã®è¦ç´„ã‚’è¡¨ç¤ºã—ã¾ã™ï¼Ž

\item[|--|]
ä»¥é™ã¯ã‚ªãƒ—ã‚·ãƒ§ãƒ³æ–‡å­—åˆ—ã¨è§£é‡ˆã—ã¾ã›ã‚“ï¼Ž
ã“ã‚Œã¯ï¼Œãƒ•ã‚¡ã‚¤ãƒ«åã®å…ˆé&nbsp;­ã®æ–‡å­—ãŒ |-| ã§ã‚ã‚‹ãƒ•ã‚¡ã‚¤ãƒ«ã‚’æ‰±ã†å&nbsp;´åˆã«æœ‰ç”¨ã§ã™ï¼Ž
\end{description}

ä»¥ä¸Šã®ã†ã¡ï¼Œã‚ªãƒ—ã‚·ãƒ§ãƒ³ |-U|, |-I|, |--[no-]guess-input-enc|, |--help|, |--| ã¯
ã‚ªãƒªã‚¸ãƒŠãƒ«ã®ã‚¢ã‚¹ã‚­ãƒ¼ç‰ˆã«ã¯ãªã‹ã£ãŸæ©Ÿèƒ½ã§ï¼Œ
æ—¥æœ¬èªž\TeX é–‹ç™ºã‚³ãƒŸãƒ¥ãƒ‹ãƒ†ã‚£ã«ã‚ˆã£ã¦è¿½åŠ&nbsp;ã•ã‚Œã¾ã—ãŸï¼Ž
ã¾ãŸï¼Œ\SoftName{mendex} |version 3.5 [6-Jun-2021]|ä»¥é™ã§ã¯ï¼Œ|-s| ã‚ªãƒ—ã‚·ãƒ§ãƒ³ã«ã‚ˆã‚‹
ã‚¹ã‚¿ã‚¤ãƒ«ãƒ•ã‚¡ã‚¤ãƒ«ã‚’è¤‡æ•°æŒ‡å®šã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ï¼Ž
åŒã˜ãƒ‘ãƒ©ãƒ¡ãƒ¼ã‚¿ãŒè¤‡æ•°å›žæŒ‡å®šã•ã‚ŒãŸå&nbsp;´åˆã¯ï¼Œå¾Œã‹ã‚‰æŒ‡å®šã•ã‚ŒãŸæ–¹ãŒæœ‰åŠ¹ã«ãªã‚Šã¾ã™ï¼Ž
% https://github.com/texjporg/tex-jp-build/issues/116

\subsection{ã‚¹ã‚¿ã‚¤ãƒ«ãƒ•ã‚¡ã‚¤ãƒ«}

ã‚¹ã‚¿ã‚¤ãƒ«ãƒ•ã‚¡ã‚¤ãƒ«ã¯\SoftName{makeindex}ã®ã‚‚ã®ã¨ä¸Šä½äº’æ›ã§ã™ï¼Ž
å½¢å¼ã¯ ``\jMeta{ã‚¹ã‚¿ã‚¤ãƒ«ãƒ‘ãƒ©ãƒ¡ãƒ¼ã‚¿} \jMeta{å¼•æ•°}'' ã®ãƒªã‚¹ãƒˆã§æ§‹æˆã•ã‚Œã¾ã™ï¼Ž
ãƒ‘ãƒ©ãƒ¡ãƒ¼ã‚¿ã®è¨˜è¿°é&nbsp;†åºã¯è‡ªç”±ã§ã™ï¼Žã¾ãŸ `|%|' ä»¥é™ã¯ã‚³ãƒ¡ãƒ³ãƒˆã¨è¦‹ãªã•ã‚Œã¾ã™ï¼Ž

ä»¥ä¸‹ã«ã‚¹ã‚¿ã‚¤ãƒ«ãƒ‘ãƒ©ãƒ¡ãƒ¼ã‚¿ã¨ãã®ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆå€¤ã®ä¸€è¦§ã‚’ç¤ºã—ã¾ã™ï¼Ž
\begin{itemize}
 \item æ–‡å­—åˆ—åž‹ã¯ |'a'| ã®ã‚ˆã†ã«å˜å¼•ç”¨ç¬¦ã§å›²ã¿ã¾ã™ï¼Ž
 \item æ–‡å­—åž‹ã¯ |"abc"| ã®ã‚ˆã†ã«äºŒé‡å¼•ç”¨ç¬¦ã§å›²ã¿ã¾ã™ï¼Ž
 \item æ•´æ•°åž‹ã¯å˜ã«ã€Œ1ã€ã®ã‚ˆã†ã«10é€²æ•°è¡¨è¨˜ã§è¨˜è¿°ã—ã¾ã™ï¼Ž
\end{itemize}
åŸºæœ¬çš„ã«ã¯1è¡Œã«1é&nbsp;…ç›®ã‚’è¨˜è¿°ã—ã¾ã™ãŒï¼Œæ–‡å­—åˆ—åž‹ã¯ãã®å€¤ã®ç›´å‰ã‚„å€¤ã®é€”ä¸­ã§
æ”¹è¡Œã—ã¦ã‚‚æ§‹ã„ã¾ã›ã‚“ï¼Ž

\paragraph{å…¥åŠ›ãƒ•ã‚¡ã‚¤ãƒ«ã‚¹ã‚¿ã‚¤ãƒ«ãƒ‘ãƒ©ãƒ¡ãƒ¼ã‚¿}

\begin{description}[leftmargin=3.5cm]
\item[|keyword|] \ParamString*|\\indexentry|
å‡¦ç†å¯¾è±¡ã¨ã™ã‚‹ç´¢å¼•ã‚¨ãƒ³ãƒˆãƒªã‚’å¼•æ•°ã¨ã—ã¦æŒã¤ã‚³ãƒžãƒ³ãƒ‰ï¼Ž\\
å…¥åŠ›ãƒ•ã‚¡ã‚¤ãƒ«ï¼ˆ\FileExtension{idx}ï¼‰ã«ç¾ã‚Œã‚‹ã‚¨ãƒ³ãƒˆãƒªã®ã†ã¡ï¼Œ\SoftName{mendex}ã¯
|keyword| ã§æŒ‡å®šã•ã‚ŒãŸä»¥å¤–ã®é&nbsp;…ç›®ã‚’ç„¡è¦–ã—ã¾ã™ï¼Ž
% ä¾‹ï¼šç”¨èªžé›†ç”¨ã® gglo.ist ã¯ |\\glossaryentry| ã«å¤‰æ›´ã—ï¼Œ|\indexentry| ã‚’ç„¡è¦–

\item[|arg\string_open|] \ParamChar|{|
ç´¢å¼•ã‚¨ãƒ³ãƒˆãƒªæ–‡å­—åˆ—é–‹å§‹ã‚’è¡¨ã™æ–‡å­—ï¼Ž

\item[|arg\string_close|] \ParamChar|}|
ç´¢å¼•ã‚¨ãƒ³ãƒˆãƒªæ–‡å­—åˆ—çµ‚äº†ã‚’è¡¨ã™æ–‡å­—ï¼Ž

\item[|range\string_open|] \ParamChar|(|
ãƒšãƒ¼ã‚¸ç¯„å›²ã®é–‹å§‹ã‚’ç¤ºã™æ–‡å­—ï¼Ž

\item[|range\string_close|] \ParamChar|)|
ãƒšãƒ¼ã‚¸ç¯„å›²ã®çµ‚äº†ã‚’ç¤ºã™æ–‡å­—ï¼Ž

\item[|level|] \ParamChar|!|
å¾“å±žãƒ¬ãƒ™ãƒ«ã§ã‚ã‚‹ã“ã¨ã‚’ç¤ºã™æ–‡å­—ï¼Ž

\item[|actual|] \ParamChar|@|
ã“ã®ã‚·ãƒ³ãƒœãƒ«ã«ç¶šãæ–‡å­—åˆ—ãŒå®Ÿéš›ã®ç´¢å¼•æ–‡å­—åˆ—ã¨ã—ã¦å‡ºåŠ›ãƒ•ã‚¡ã‚¤ãƒ«ã«æ›¸ã‹ã‚Œã‚‹ï¼Ž\\
\SoftName{makeindex}ã§æ—¥æœ¬èªžã®ç´¢å¼•ã‚’ä½œæˆã—ã‚ˆã†ã¨ã™ã‚‹ã¨ï¼Œå…¨ã¦ã®é&nbsp;…ç›®ã«ã¤ã„ã¦
|\index{ã‹ã‚“ã˜@æ¼¢å­—}| ã®ã‚ˆã†ã« |actual| ã®ã‚·ãƒ³ãƒœãƒ«ã®å‰ã«ã€Œèª­ã¿ã€ã‚’ï¼Œ
å¾Œã‚ã«å®Ÿéš›ã«è¡¨ç¤ºã™ã‚‹ç´¢å¼•æ–‡å­—åˆ—ã‚’æ›¸ãå¿…è¦ãŒã‚ã‚Šã¾ã—ãŸï¼Ž
\SoftName{mendex}ã§ã¯è¾žæ›¸ãƒ•ã‚¡ã‚¤ãƒ«ã‚’ç”¨ã„ã‚‹ã“ã¨ã§æ‰‹é–“ã‚’æœ€å°é™ã«ã§ãã¾ã™ãŒï¼Œ
è¾žæ›¸ã¨ç•°ãªã‚‹èª­ã¿ã‚’æŒã¤é&nbsp;…ç›®ãŒã‚ã‚‹å&nbsp;´åˆã«ã“ã®æ›¸å¼ã‚’ç”¨ã„ã¾ã™ï¼Ž

\item[|encap|] \ParamChar+|+ \par
ã“ã®ã‚·ãƒ³ãƒœãƒ«ã«ç¶šãæ–‡å­—åˆ—ãŒï¼Œãƒšãƒ¼ã‚¸ç•ªå·ã«ä»˜ãã‚³ãƒžãƒ³ãƒ‰åã¨ã—ã¦ä½¿ã‚ã‚Œã‚‹ï¼Ž

\item[|page\string_compositor|] \ParamString*|-|
éšŽå±¤åŒ–ã•ã‚ŒãŸãƒšãƒ¼ã‚¸ç•ªå·ã«ãŠã‘ã‚‹éšŽå±¤é–“ã®åŒºåˆ‡ã‚Šæ–‡å­—ï¼Ž

\item[|page\string_precedence|] \ParamString*|rnaRA|
ãƒšãƒ¼ã‚¸ç•ªå·ã®è¨˜æ³•ã®å„ªå…ˆé&nbsp;†ä½ï¼Ž`|R|' ãŠã‚ˆã³ `|r|' ã¯ãƒ­ãƒ¼ãƒžæ•°å­—ï¼Œ`|n|' ã¯ã‚¢ãƒ©ãƒ“ã‚¢æ•°å­—ï¼Œ
`|A|' ãŠã‚ˆã³ `|a|' ã¯ã‚¢ãƒ«ãƒ•ã‚¡ãƒ™ãƒƒãƒˆã«ã‚ˆã‚‹è¨˜æ³•ã‚’è¡¨ã™ï¼Ž
\footnote{ãƒ­ãƒ¼ãƒžæ•°å­—ã¨ã‚¢ãƒ©ãƒ“ã‚¢æ•°å­—ã®ãƒšãƒ¼ã‚¸ç•ªå·ãŒæ··åœ¨ã™ã‚‹ã¨ãï¼Œ
\SoftName{makeindex}ä¸¦ã¿ã«å‹•ä½œã™ã‚‹ã‚ˆã†ã«ãªã£ãŸã®ã¯
|version 3.6 [4-Sep-2021]|ä»¥é™ï¼Ž}
% https://github.com/texjporg/tex-jp-build/issues/112

\item[|quote|] \ParamChar|"|
\SoftName{mendex}ã®ãƒ‘ãƒ©ãƒ¡ãƒ¼ã‚¿æ–‡å­—ã«å¯¾ã™ã‚‹ã‚¨ã‚¹ã‚±ãƒ¼ãƒ—ã‚­ãƒ£ãƒ©ã‚¯ã‚¿ï¼Ž

\item[|escape|] \ParamChar|\\|
ä¸€èˆ¬çš„ãªæ–‡å­—ã«å¯¾ã™ã‚‹ã‚¨ã‚¹ã‚±ãƒ¼ãƒ—ã‚­ãƒ£ãƒ©ã‚¯ã‚¿ï¼Ž
\end{description}

\paragraph{å‡ºåŠ›ãƒ•ã‚¡ã‚¤ãƒ«ã‚¹ã‚¿ã‚¤ãƒ«ãƒ‘ãƒ©ãƒ¡ãƒ¼ã‚¿}

\begin{description}[leftmargin=3.5cm]
\item[|preamble|] \ParamString*|\\begin{theindex}\n|
å‡ºåŠ›ãƒ•ã‚¡ã‚¤ãƒ«å…ˆé&nbsp;­ã®æ–‡å­—åˆ—ï¼Ž

\item[|postamble|] \ParamString*|\n\n\\end{theindex}\n|
å‡ºåŠ›ãƒ•ã‚¡ã‚¤ãƒ«æœ«å°¾ã®æ–‡å­—åˆ—ï¼Ž

\item[|setpage\string_prefix|] \ParamString*|\n  \\setcounter{page}{|
é–‹å§‹ãƒšãƒ¼ã‚¸ã‚’è¨­å®šã™ã‚‹ã¨ãã®ï¼Œãƒšãƒ¼ã‚¸ç•ªå·ã®å‰ã«ä»˜ã‘ã‚‹æ–‡å­—åˆ—ï¼Ž

\item[|setpage\string_suffix|] \ParamString*|}\n|
é–‹å§‹ãƒšãƒ¼ã‚¸ã‚’è¨­å®šã™ã‚‹ã¨ãã®ï¼Œãƒšãƒ¼ã‚¸ç•ªå·ã®å¾Œã«ä»˜ã‘ã‚‹æ–‡å­—åˆ—ï¼Ž

\item[|group\string_skip|] \ParamString*|\n\n  \\indexspace\n|
æ–°é&nbsp;…ç›®ï¼ˆé&nbsp;­æ–‡å­—ï¼‰ã®å‰ã«æŒ¿å…¥ã™ã‚‹ç¸¦ã‚¹ãƒšãƒ¼ã‚¹ã‚’è¡¨ã™æ–‡å­—åˆ—ï¼Ž

\item[|lethead\string_prefix|] \ParamString*||
é&nbsp;­æ–‡å­—ã®å‰ã«ä»˜ã‘ã‚‹ã‚³ãƒžãƒ³ãƒ‰æ–‡å­—åˆ—ï¼Ž
\SoftName{makeindex}ã¯ã“ã®ãƒ‘ãƒ©ãƒ¡ãƒ¼ã‚¿ã‚’èªè­˜ã—ã¾ã›ã‚“ï¼Ž

\item[|heading\string_prefix|] \ParamString*||
|lethead_prefix| ã¨åŒã˜ï¼Žï¼ˆ\SoftName{makeindex}äº’æ›ï¼‰

\item[|lethead\string_suffix|] \ParamString*||
é&nbsp;­æ–‡å­—ã®å¾Œã«ä»˜ã‘ã‚‹ã‚³ãƒžãƒ³ãƒ‰æ–‡å­—åˆ—ï¼Ž
\SoftName{makeindex}ã¯ã“ã®ãƒ‘ãƒ©ãƒ¡ãƒ¼ã‚¿ã‚’èªè­˜ã—ã¾ã›ã‚“ï¼Ž

\item[|heading\string_suffix|] \ParamString*||
|lethead_suffix| ã¨åŒã˜ï¼Žï¼ˆ\SoftName{makeindex}äº’æ›ï¼‰

\item[|lethead\string_flag|] \ParamNum|0|
é&nbsp;­æ–‡å­—ã®å‡ºåŠ›ã®ãƒ•ãƒ©ã‚°ï¼Ž|0| ã®ã¨ãå‡ºåŠ›ã—ãªã„ï¼Ž|0|ã‚ˆã‚Šå¤§ãã„ã¨ãã¯è‹±å­—ã‚’å¤§æ–‡å­—ã§ï¼Œ
|0|ã‚ˆã‚Šå°ã•ã„ã¨ãã¯å°æ–‡å­—ã§å‡ºåŠ›ã™ã‚‹ï¼Ž
\SoftName{makeindex}ã¯ã“ã®ãƒ‘ãƒ©ãƒ¡ãƒ¼ã‚¿ã‚’èªè­˜ã—ã¾ã›ã‚“ï¼Ž
% 2014å¹´ä»¥å‰ã® ind.pdf ã«ã¯è¨€åŠã•ã‚Œã¦ã„ãŸãŒï¼Œå°‘ãªãã¨ã‚‚1993å¹´ä»¥é™ã® makeindex ã®
% ã‚½ãƒ¼ã‚¹ã‚³ãƒ¼ãƒ‰ã‚’è¦‹ã‚‹ã¨ |lethead_flag| ã‚’èªè­˜ã—ãªã‹ã£ãŸï¼Ž
% |lethead_prefix| ã¨ |lethead_suffix| ã‚‚åŒæ§˜ï¼Ž

\item[|heading\string_flag|] \ParamNum|0|
|lethead_flag| ã¨åŒã˜ï¼Žï¼ˆ\SoftName{mendex}å°‚ç”¨ï¼Œ\SoftName{makeindex}ã«ã¯èªè­˜ã•ã‚Œãªã„ï¼‰

\item[|headings\string_flag|] \ParamNum|0|
|lethead_flag| ã¨åŒã˜ï¼Žï¼ˆ\SoftName{mendex} v3.6ã§æ–°ãŸã«ã‚µãƒãƒ¼ãƒˆï¼Œ\SoftName{makeindex}äº’æ›ï¼‰
% https://github.com/texjporg/tex-jp-build/issues/124

\item[|item\string_0|] \ParamString*|\n  \\item |
ä¸»ã‚¨ãƒ³ãƒˆãƒªé–“ã«æŒ¿å…¥ã™ã‚‹ã‚³ãƒžãƒ³ãƒ‰ï¼Ž

\item[|item\string_1|] \ParamString*|\n    \\subitem |
ã‚µãƒ–ã‚¨ãƒ³ãƒˆãƒªé–“ã«æŒ¿å…¥ã™ã‚‹ã‚³ãƒžãƒ³ãƒ‰ï¼Ž

\item[|item\string_2|] \ParamString*|\n      \\subsubitem |
ã‚µãƒ–ã‚µãƒ–ã‚¨ãƒ³ãƒˆãƒªé–“ã«æŒ¿å…¥ã™ã‚‹ã‚³ãƒžãƒ³ãƒ‰ï¼Ž

\item[|item\string_01|] \ParamString*|\n    \\subitem |
ä¸»âˆ’ã‚µãƒ–ã‚¨ãƒ³ãƒˆãƒªé–“ã«æŒ¿å…¥ã™ã‚‹ã‚³ãƒžãƒ³ãƒ‰ï¼Ž

\item[|item\string_x1|] \ParamString*|\n    \\subitem |
ä¸»ã‚¨ãƒ³ãƒˆãƒªã«ãƒšãƒ¼ã‚¸ç•ªå·ãŒãªã„ã¨ãã«ï¼Œä¸»âˆ’ã‚µãƒ–ã‚¨ãƒ³ãƒˆãƒªé–“ã«æŒ¿å…¥ã™ã‚‹ã‚³ãƒžãƒ³ãƒ‰ï¼Ž

\item[|item\string_12|] \ParamString*|\n    \\subsubitem |
ã‚µãƒ–âˆ’ã‚µãƒ–ã‚µãƒ–ã‚¨ãƒ³ãƒˆãƒªé–“ã«æŒ¿å…¥ã™ã‚‹ã‚³ãƒžãƒ³ãƒ‰ï¼Ž

\item[|item\string_x2|] \ParamString*|\n    \\subsubitem |
ã‚µãƒ–ã‚¨ãƒ³ãƒˆãƒªã«ãƒšãƒ¼ã‚¸ç•ªå·ãŒãªã„ã¨ãã«ï¼Œã‚µãƒ–âˆ’ã‚µãƒ–ã‚µãƒ–ã‚¨ãƒ³ãƒˆãƒªé–“ã«æŒ¿å…¥ã™ã‚‹ã‚³ãƒžãƒ³ãƒ‰ï¼Ž

\item[|delim\string_0|] \ParamString*|, |
ä¸»ã‚¨ãƒ³ãƒˆãƒªã¨æœ€åˆã®ãƒšãƒ¼ã‚¸ç•ªå·ã®é–“ã®åŒºåˆ‡ã‚Šæ–‡å­—åˆ—ï¼Ž

\item[|delim\string_1|] \ParamString*|, |
ã‚µãƒ–ã‚¨ãƒ³ãƒˆãƒªã¨æœ€åˆã®ãƒšãƒ¼ã‚¸ç•ªå·ã®é–“ã®åŒºåˆ‡ã‚Šæ–‡å­—åˆ—ï¼Ž

\item[|delim\string_2|] \ParamString*|, |
ã‚µãƒ–ã‚µãƒ–ã‚¨ãƒ³ãƒˆãƒªã¨æœ€åˆã®ãƒšãƒ¼ã‚¸ç•ªå·ã®é–“ã®åŒºåˆ‡ã‚Šæ–‡å­—åˆ—ï¼Ž

\item[|delim\string_n|] \ParamString*|, |
ãƒšãƒ¼ã‚¸ç•ªå·é–“ã®åŒºåˆ‡ã‚Šæ–‡å­—åˆ—ï¼Žã©ã®ã‚¨ãƒ³ãƒˆãƒªãƒ¬ãƒ™ãƒ«ã«ã‚‚å…±é€šï¼Ž

\item[|delim\string_r|] \ParamString*|--|
ãƒšãƒ¼ã‚¸ç¯„å›²ã‚’ç¤ºã™ã¨ãã®ï¼Œãƒšãƒ¼ã‚¸ç•ªå·é–“ã®åŒºåˆ‡ã‚Šæ–‡å­—åˆ—ï¼Ž

\item[|delim\string_t|] \ParamString*||
ãƒšãƒ¼ã‚¸ç•ªå·ã®ãƒªã‚¹ãƒˆã®çµ‚ç«¯ã«å‡ºåŠ›ã™ã‚‹æ–‡å­—åˆ—ï¼Ž

\item[|suffix\string_2p|] \ParamString*||
ãƒšãƒ¼ã‚¸ç•ªå·ãŒ2ãƒšãƒ¼ã‚¸é€£ç¶šã™ã‚‹å&nbsp;´åˆã«ï¼Œ|delim_n| ã¨2ãƒšãƒ¼ã‚¸ç›®ã®ç•ªå·ã®ä»£ã‚ã‚Šã«ä»˜åŠ&nbsp;ã™ã‚‹æ–‡å­—åˆ—ï¼Ž
æ–‡å­—åˆ—ãŒå®šç¾©ã•ã‚Œã¦ã„ã‚‹å&nbsp;´åˆã«ã®ã¿æœ‰åŠ¹ï¼Ž

\item[|suffix\string_3p|] \ParamString*||
ãƒšãƒ¼ã‚¸ç•ªå·ãŒ3ãƒšãƒ¼ã‚¸é€£ç¶šã™ã‚‹å&nbsp;´åˆã«ï¼Œ|delim_r| ã¨3ãƒšãƒ¼ã‚¸ç›®ã®ç•ªå·ã®ä»£ã‚ã‚Šã«ä»˜åŠ&nbsp;ã™ã‚‹æ–‡å­—åˆ—ï¼Ž
|suffix_mp| ã‚ˆã‚Šå„ªå…ˆã•ã‚Œã‚‹ï¼Žæ–‡å­—åˆ—ãŒå®šç¾©ã•ã‚Œã¦ã„ã‚‹å&nbsp;´åˆã«ã®ã¿æœ‰åŠ¹ï¼Ž

\item[|suffix\string_mp|] \ParamString*||
ãƒšãƒ¼ã‚¸ç•ªå·ãŒ3ãƒšãƒ¼ã‚¸ã¾ãŸã¯ãã‚Œä»¥ä¸Šé€£ç¶šã™ã‚‹å&nbsp;´åˆã«ï¼Œ|delim_r| ã¨æœ«å°¾ã®ãƒšãƒ¼ã‚¸ç•ªå·ã®ä»£ã‚ã‚Šã«
ä»˜åŠ&nbsp;ã™ã‚‹æ–‡å­—åˆ—ï¼Ž
æ–‡å­—åˆ—ãŒå®šç¾©ã•ã‚Œã¦ã„ã‚‹å&nbsp;´åˆã«ã®ã¿æœ‰åŠ¹ï¼Ž

\item[|encap\string_prefix|] \ParamString*|\\|
ãƒšãƒ¼ã‚¸ç•ªå·ã«ã‚³ãƒžãƒ³ãƒ‰ã‚’ä»˜ã‘ã‚‹ã¨ãã®ï¼Œã‚³ãƒžãƒ³ãƒ‰åã®å‰ã«ä»˜ã‘ã‚‹æ–‡å­—åˆ—ï¼Ž

\item[|encap\string_infix|] \ParamString*|{|
ãƒšãƒ¼ã‚¸ç•ªå·ã«ã‚³ãƒžãƒ³ãƒ‰ã‚’ä»˜ã‘ã‚‹ã¨ãã®ï¼Œãƒšãƒ¼ã‚¸ç•ªå·ã®å‰ã«ä»˜ã‘ã‚‹æ–‡å­—åˆ—ï¼Ž

\item[|encap\string_suffix|] \ParamString*|}|
ãƒšãƒ¼ã‚¸ç•ªå·ã«ã‚³ãƒžãƒ³ãƒ‰ã‚’ä»˜ã‘ã‚‹ã¨ãã®ï¼Œãƒšãƒ¼ã‚¸ç•ªå·ã®å¾Œã«ä»˜ã‘ã‚‹æ–‡å­—åˆ—ï¼Ž

\item[|line\string_max|] \ParamNum|72|
1è¡Œã®æœ€å¤§æ–‡å­—æ•°ï¼Žãã‚Œã‚’è¶…ãˆã‚‹ã¨æŠ˜ã‚Šè¿”ã™ï¼Ž

\item[|indent\string_space|] \ParamString*|\t\t|
æŠ˜ã‚Šè¿”ã—ãŸè¡Œã®é&nbsp;­ã«æŒ¿å…¥ã™ã‚‹ã‚¹ãƒšãƒ¼ã‚¹ï¼Ž

\item[|indent\string_length|] \ParamNum|16|
æŠ˜ã‚Šè¿”ã—ãŸè¡Œã®é&nbsp;­ã«æŒ¿å…¥ã•ã‚Œã‚‹ã‚¹ãƒšãƒ¼ã‚¹ã®é•·ã•ï¼Ž

\item[|symhead\string_positive|] \ParamString*|Symbols|
|lethead_flag|ï¼ˆã¾ãŸã¯ |heading_flag| ã¾ãŸã¯ |headings_flag|ï¼‰ãŒæ­£æ•°ã®å&nbsp;´åˆã«
è¨˜å·ã®é&nbsp;­æ–‡å­—ã¨ã—ã¦å‡ºåŠ›ã™ã‚‹æ–‡å­—åˆ—ï¼Ž

\item[|symhead\string_negative|] \ParamString*|symbols|
|lethead_flag|ï¼ˆã¾ãŸã¯ |heading_flag| ã¾ãŸã¯ |headings_flag|ï¼‰ãŒè²&nbsp;æ•°ã®å&nbsp;´åˆã«
è¨˜å·ã®é&nbsp;­æ–‡å­—ã¨ã—ã¦å‡ºåŠ›ã™ã‚‹æ–‡å­—åˆ—ï¼Ž

\item[|symbol|] \ParamString*||
|symbol_flag| ãŒ|0|ã§ãªã„å&nbsp;´åˆã«ï¼Œè¨˜å·ã®é&nbsp;­æ–‡å­—ã¨ã—ã¦å‡ºåŠ›ã™ã‚‹æ–‡å­—åˆ—ï¼Ž
æ–‡å­—åˆ—ãŒå®šç¾©ã•ã‚Œã¦ã„ã‚Œã°ï¼Œ|symhead_positive| ãŠã‚ˆã³ |symhead_negative| ã‚ˆã‚Š
å„ªå…ˆã•ã‚Œã‚‹ï¼Žï¼ˆ\SoftName{mendex}å°‚ç”¨ï¼‰

\item[|numhead\string_positive|] \ParamString*|Numbers|
|lethead_flag|ï¼ˆã¾ãŸã¯ |heading_flag| ã¾ãŸã¯ |headings_flag|ï¼‰ãŒæ­£æ•°ï¼Œ
ã‹ã¤ |symbol_flag| ãŒ|2|ã®å&nbsp;´åˆã«æ•°å­—ã®é&nbsp;­æ–‡å­—ã¨ã—ã¦å‡ºåŠ›ã™ã‚‹æ–‡å­—åˆ—ï¼Ž

\item[|numhead\string_negative|] \ParamString*|numbers|
|lethead_flag|ï¼ˆã¾ãŸã¯ |heading_flag| ã¾ãŸã¯ |headings_flag|ï¼‰ãŒè²&nbsp;æ•°ï¼Œ
ã‹ã¤ |symbol_flag| ãŒ|2|ã®å&nbsp;´åˆã«æ•°å­—ã®é&nbsp;­æ–‡å­—ã¨ã—ã¦å‡ºåŠ›ã™ã‚‹æ–‡å­—åˆ—ï¼Ž

\item[|symbol\string_flag|] \ParamNum|1|
æ•°å­—ãƒ»è¨˜å·ã®é&nbsp;­æ–‡å­—ã®å‡ºåŠ›ãƒ•ãƒ©ã‚°ï¼Ž|0|ã®ã¨ãè¦‹å‡ºã—ã‚’å‡ºåŠ›ã—ãªã„ï¼Ž
|1|ã®ã¨ãæ•°å­—ã‚’è¨˜å·ã®ä¸€éƒ¨ã¨ã—ã¦æ‰±ã„è¨˜å·ã®è¦‹å‡ºã—ã‚’å‡ºåŠ›ã™ã‚‹ï¼Ž
|2|ã®ã¨ãæ•°å­—ã¨è¨˜å·ã‚’åˆ¥ã®é›†åˆã«åˆ†é¡žã—æ•°å­—ã¨è¨˜å·ã®è¦‹å‡ºã—ã‚’å‡ºåŠ›ã™ã‚‹ï¼Ž
ï¼ˆ\SoftName{mendex}å°‚ç”¨ï¼Œå€¤|2|ã®ã‚µãƒãƒ¼ãƒˆã¯v3.6ä»¥é™ï¼‰

\item[|letter\string_head|] \ParamNum|1|
æ—¥æœ¬èªžã®é&nbsp;­æ–‡å­—ã®å‡ºåŠ›ã®ãƒ•ãƒ©ã‚°ï¼Ž|1|ã®ã¨ãã‚«ã‚¿ã‚«ãƒŠï¼Œ|2|ã®ã¨ãã²ã‚‰ãŒãªã§å‡ºåŠ›ã™ã‚‹ï¼Ž
ï¼ˆ\SoftName{mendex}å°‚ç”¨ï¼‰

\item[|priority|] \ParamNum|0|
è‹±å­—ã¨æ—¥æœ¬èªžã¨ã®æ··åœ¨ã—ãŸç´¢å¼•èªžã®ã‚½ãƒ¼ãƒˆæ–¹æ³•ã«ã¤ã„ã¦ã®ãƒ•ãƒ©ã‚°ï¼Ž|0|ã§ãªã‘ã‚Œã°è‹±å­—ã¨
æ—¥æœ¬èªžã¨ã®é–“ã«åŠè§’ã‚¹ãƒšãƒ¼ã‚¹ã‚’å…¥ã‚ŒãŸçŠ¶æ…‹ã§ã‚½ãƒ¼ãƒˆã™ã‚‹ï¼Žï¼ˆ\SoftName{mendex}å°‚ç”¨ï¼‰

\item[|character\string_order|] \ParamString*|SNEJ|
è¨˜å·ï¼Œè‹±å­—ï¼Œæ—¥æœ¬èªžã®å„ªå…ˆé&nbsp;†ä½ï¼Ž
`|S|' ã¯è¨˜å·ï¼Œ`|N|' ã¯æ•°å­—ï¼Œ`|E|' ã¯è‹±å­—ï¼Œ`|J|' ã¯æ—¥æœ¬èªžã‚’è¡¨ã™ï¼Ž
ï¼ˆ\SoftName{mendex}å°‚ç”¨ï¼‰

å¾Œè¿°ã®ã¨ãŠã‚Šï¼Œ|symbol_flag| ãŒ|1|ä»¥ä¸‹ã®å&nbsp;´åˆã«\SoftName{mendex}ã¯
ç´¢å¼•é&nbsp;…ç›®ã®åˆ†é¡žã¨ã—ã¦ã€Œæ•°å­—ã€ã¯ã€Œè¨˜å·ã€ã«å«ã‚ã‚‹ä»•æ§˜ã¨ã—ã¦ã„ã¾ã™
\footnote{\SoftName{makeindex}ã§ã¯ï¼Œè¨˜å·é¡žã¨æ•°å­—ã‚’åˆ¥ã®ãƒ–ãƒ­ãƒƒã‚¯ã«
ï¼ˆ|group\_skip| ã‚’æŒ¿å…¥ï¼‰ã—ã¾ã™ãŒï¼Œ\SoftName{mendex}ã§ã¯åŒä¸€ã®ãƒ–ãƒ­ãƒƒã‚¯ã«ã—ã¾ã™ï¼Ž}ã®ã§ï¼Œ
`|S|' ã¨ `|N|' ã¯å¿…ãšéš£ã‚Šåˆã‚ã›ã¦ãã&nbsp;ã•ã„ï¼ˆæ•°å­—ã¨æ•°å­—ä»¥å¤–ã®è¨˜å·ã®é&nbsp;†åºå…¥ã‚Œæ›¿ãˆã¯å¯èƒ½ã§ã™ï¼‰ï¼Ž
% ã‚‚ã¨ã‚‚ã¨ "SEJ" ã¨ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã•ã‚Œã¦ã„ãŸãŒï¼Œå®Ÿè£…ã«åˆã‚ã›ã¦ "SNEJ" ã¨è¦å®šã™ã‚‹ï¼Ž
% ä»¥ä¸‹ã®è­°è«–ã‚‚å‚è€ƒã«ï¼Ž
% https://github.com/texjporg/mendex-doc/issues/10

ãªãŠï¼Œ|character_order| ã«é–¢ä¿‚ã™ã‚‹æ–‡å­—ç¨®ã®åˆ¤åˆ¥ã«ãŠã„ã¦ã¯ï¼Œ
åŠè§’ã‚¹ãƒšãƒ¼ã‚¹ã‚‚ã€Œè¨˜å·ã€ã¨ã—ã¦æ‰±ã‚ã‚Œã¾ã™ã®ã§ï¼Œæ³¨æ„ã—ã¦ãã&nbsp;ã•ã„ï¼Ž
% å‰æ°¸å¾¹ç¾Ž è‘—ã€ŽLaTeX2e è¾žå…¸ å¢—è£œæ”¹è¨‚ç‰ˆã€ç¿”æ³³ç¤¾ï¼Œ2018ï¼Œp.516
\end{description}

\subsection{å‚è€ƒï¼š\SoftName{makeindex}ã¨ã®æ¯”è¼ƒ}
\SoftName{mendex}ã¯åŸºæœ¬çš„ã«\SoftName{makeindex}ã¨äº’æ›ã§ã™ãŒï¼Œä»¥ä¸‹ã®ç‚¹ã§ç•°ãªã‚Šã¾ã™ï¼Ž

\begin{itemize}
\item \SoftName{makeindex}ã«ã¯ç´¢å¼•é&nbsp;…ç›®ã®åˆ†é¡žã¨ã—ã¦ã€Œè¨˜å·ã€ï¼Œã€Œã‚¢ãƒ«ãƒ•ã‚¡ãƒ™ãƒƒãƒˆã€ã®
  ä»–ã«ï¼Œæ•°å­—ã®ã¿ã®é&nbsp;…ç›®ã¨ã—ã¦ã€Œæ•°å­—ã€ã¨ã„ã†åˆ†é¡žãŒã‚ã‚Šã¾ã™ãŒï¼Œ
  \SoftName{mendex}ã§ã¯ |symbol_flag| ãŒ|1|ä»¥ä¸‹ã®å&nbsp;´åˆã«æ•°å­—ã‚’ã€Œè¨˜å·ã€ã«å«ã‚ã¾ã™ï¼Ž
  ã¾ãŸï¼Œãã®ã¨ã\SoftName{makeindex}ã«å­˜åœ¨ã™ã‚‹ã‚¹ã‚¿ã‚¤ãƒ«ãƒ‘ãƒ©ãƒ¡ãƒ¼ã‚¿ã®ã†ã¡ï¼Œ
  |numhead_positive| ã¨ |numhead_negative| ã¯èªè­˜ã•ã‚Œã¾ã›ã‚“ï¼Ž
  \SoftName{mendex} v3.6ä»¥é™ã§ã¯ |symbol_flag| ã‚’|2|ã«è¨­å®šã™ã‚‹ã¨ã€Œè¨˜å·ã€ã¨ã€Œæ•°å­—ã€ãŒ
  åŒºåˆ¥ã•ã‚Œ |numhead_positive| ã¨ |numhead_negative| ã¯èªè­˜ã•ã‚Œã¾ã™ï¼Ž

\item æ•°å­—ãƒ»è¨˜å·â†’æ¬§æ–‡â†’å’Œæ–‡ã®é&nbsp;†ã«ã“ã&nbsp;ã‚ã‚‰ãªã„ç´¢å¼•ã®ä½œæˆãŒå¯èƒ½ã§ã™
  ï¼ˆ|character_order| ãƒ‘ãƒ©ãƒ¡ãƒ¼ã‚¿ã‚’è¿½åŠ&nbsp;ï¼‰ï¼Žä»–ã«\SoftName{mendex}ã§è¿½åŠ&nbsp;ã•ã‚ŒãŸ
  ã‚¹ã‚¿ã‚¤ãƒ«ãƒ‘ãƒ©ãƒ¡ãƒ¼ã‚¿ã«ã¯ï¼Œ|symbol|ï¼Œ|symbol_flag|ï¼Œ|letter_head|ï¼Œ|priority|ãŒã‚ã‚Šã¾ã™ï¼Ž

\item \SoftName{makeindex}ã® |headings_flag| ã¯ï¼Œ\SoftName{mendex} v3.5ä»¥å‰ã§ã¯
  |heading_flag| ã¨ãªã£ã¦ãŠã‚Šäº’æ›æ€§ãŒã‚ã‚Šã¾ã›ã‚“ã§ã—ãŸãŒï¼Œ
  \SoftName{mendex} v3.6ã« |headings_flag| ãŒè¿½åŠ&nbsp;ã•ã‚Œã¾ã—ãŸï¼Ž
  ã¾ãŸï¼Œ|lethead_flag|ï¼Œ|lethead_prefix|ï¼Œ|lethead_suffix| ã¯ï¼Œã‹ã¤ã¦\SoftName{makeindex}ã®
  æ–‡æ›¸ã§è¨€åŠã•ã‚Œã¦ã„ã¾ã—ãŸãŒï¼Œç¾åœ¨ã¯å‰Šé™¤ã•ã‚Œ\SoftName{mendex}å°‚ç”¨ã¨ãªã£ã¦ã„ã¾ã™ï¼Ž

\item \SoftName{makeindex}ã®é&nbsp;…ç›®ã®ä¸¦ã³é&nbsp;†ã¯ï¼Œé&nbsp;­æ–‡å­—ã¯
  ã€Œè¨˜å·ã€ã€Œæ•°å­—ã€ã€Œã‚¢ãƒ«ãƒ•ã‚¡ãƒ™ãƒƒãƒˆã€ã«åˆ†ã‘ã¦ä¸¦ã¹ã‚‰ã‚Œã¾ã™ãŒï¼Œ2æ–‡å­—ç›®ä»¥é™ã¯å˜ç´”ã«
  ASCIIã‚³ãƒ¼ãƒ‰é&nbsp;†ã¨ãªã‚Šï¼Œè¨˜å·ã‚ˆã‚Šã‚¢ãƒ«ãƒ•ã‚¡ãƒ™ãƒƒãƒˆãŒå…ˆã«ãªã‚‹å&nbsp;´åˆã‚‚ã‚ã‚Šã¾ã™ï¼Ž
  \SoftName{mendex}ã®è‹±æ•°å­—ã®ä¸¦ã³ã¯ï¼Œ2æ–‡å­—ç›®ä»¥é™ã‚‚
  ã€Œè¨˜å·ã€ã€Œæ•°å­—ã€ã€Œã‚¢ãƒ«ãƒ•ã‚¡ãƒ™ãƒƒãƒˆã€ã®åˆ†é¡žãŒè€ƒæ…®ã•ã‚Œã¾ã™ï¼Ž

\item \SoftName{makeindex}ã«ã¯ |-g| ã‚ªãƒ—ã‚·ãƒ§ãƒ³ã§ãƒ‰ã‚¤ãƒ„èªžè¾žæ›¸é&nbsp;†
  ï¼ˆè¨˜å·â†’ã‚¢ãƒ«ãƒ•ã‚¡ãƒ™ãƒƒãƒˆå°æ–‡å­—â†’ã‚¢ãƒ«ãƒ•ã‚¡ãƒ™ãƒƒãƒˆå¤§æ–‡å­—â†’æ•°å­—ï¼‰ã§ä¸¦ã¹ã‚‹ã‚ˆã†ã«ã§ãã¾ã™ãŒï¼Œ
  \SoftName{mendex}ã§ã¯ã‚µãƒãƒ¼ãƒˆã—ã¦ã„ã¾ã›ã‚“ï¼Žä»£ã‚ã‚Šã«ï¼Œ|-g| ã‚ªãƒ—ã‚·ãƒ§ãƒ³ã¯
  æ—¥æœ¬èªžã®é&nbsp;­æ–‡å­—ã®åŒºåˆ‡ã‚Šã‚’åˆ‡ã‚Šæ›ãˆã‚‹ã‚ªãƒ—ã‚·ãƒ§ãƒ³ã«ãªã£ã¦ã„ã¾ã™ï¼Ž
\end{itemize}

% [TODO] å‰æ°¸å¾¹ç¾Ž è‘—ã€ŽLaTeX2eè¾žå…¸ å¢—è£œæ”¹è¨‚ç‰ˆã€(2018) ã®æ°—ã«ãªã‚‹è¨˜è¿°
% (2021-06-08 @aminophen)
%
% (1) p.512
% æ–‡å­—åž‹ã®å€¤ã¨ã—ã¦æ–‡å­—ã€Œ'ã€ã‚’æŒ‡å®šã™ã‚‹å&nbsp;´åˆï¼Œ
% mendex ç”¨ã® ist ãƒ•ã‚¡ã‚¤ãƒ«ã§ã¯ã€Œ'''ã€ã¨è¨˜è¿°ã—ã¾ã™ãŒï¼Œ
% makeindex ç”¨ã® ist ãƒ•ã‚¡ã‚¤ãƒ«ã§ã¯ã€Œ'\''ã€ã¨è¨˜è¿°ã—ã¾ã™ï¼Ž
%
% (2) p.516
% makeindex ã‚’ç”¨ã„ã‚‹å&nbsp;´åˆã«ã¯ï¼Œpage_precedence ãƒ‘ãƒ©ãƒ¡ãƒ¼ã‚¿ã§ã®ã€Œrã€ãªã©ã®é&nbsp;†åºã‚’
% æ–‡æ›¸å…¨ä½“ã«ãŠã‘ã‚‹ã€Œãƒšãƒ¼ã‚¸ç•ªå·ã®å½¢å¼ã®å¤‰æ›´é&nbsp;†ã€ã«åˆã‚ã›ã¦ãŠãã¨ï¼Œ
% ï¼ˆidx ãƒ•ã‚¡ã‚¤ãƒ«ã‚’è¤‡æ•°ã«åˆ†å‰²ã—ã¦ã„ã‚‹å&nbsp;´åˆã«ã‚‚ï¼‰ç´¢å¼•é&nbsp;…ç›®ã§ã®ãƒšãƒ¼ã‚¸ç•ªå·ãƒªã‚¹ãƒˆã‚’
% é©åˆ‡ã«ä¸¦ã¹æ›¿ãˆã‚‹ã“ã¨ãŒã§ãã¾ã™ï¼Ž
% â†’ https://github.com/texjporg/tex-jp-build/issues/112 ã¨ã‚‚é–¢é€£

% [TODO] ã•ã‚‰ãªã‚‹ mendex / makeindex æŒ™å‹•ã®é•ã„
% https://github.com/texjporg/tex-jp-build/issues/173
%
% æŒ™å‹•ã®ç•°ãªã‚‹ä¾‹ï¼š \index{one brace {@\string}}
%   makeindex: \item \string}, 1
%   (up)mendex: \item one brace {@\string}, 1
% =&gt; ãã®å¾Œã® latex ã§ makeindex ã¯å¤§ä¸ˆå¤«ã&nbsp;ãŒ (up)mendex ã¯ã‚¨ãƒ©ãƒ¼ã«ãªã‚‹

\section{æ—¥æœ¬èªžã®æ‰±ã„ã«ã¤ã„ã¦}

\SoftName{mendex}ã¯æ—¥æœ¬èªžã®ç´¢å¼•ã‚’ã§ãã‚‹ã&nbsp;ã‘æ¥½ã«æ‰±ãˆã‚‹ã‚ˆã†ã«ãªã£ã¦ã„ã¾ã™ï¼Ž
\SoftName{makeindex}ã§ã¯æ—¥æœ¬èªžã®ç´¢å¼•ãŒæ­£ã—ãè¾žæ›¸é&nbsp;†ã«ã‚½ãƒ¼ãƒˆã™ã‚‹ãŸã‚ã«ã¯ï¼Œã²ã‚‰ãŒãªã¾ãŸã¯
ã‚«ã‚¿ã‚«ãƒŠã«æƒãˆï¼Œæ‹—éŸ³ï¼Œæ’¥éŸ³ï¼Œæ¿ç‚¹ã‚’é™¤ã„ãŸèª­ã¿ã‚’ä»˜ã‘ãªã‘ã‚Œã°ãªã‚Šã¾ã›ã‚“ã§ã—ãŸ
ï¼ˆè‡ªå‹•çš„ã«æƒãˆã‚‹ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã‚‚ã‚ã‚‹ï¼‰ï¼Ž
\SoftName{mendex}ã§ã¯ã‚«ãƒŠã«ã¤ã„ã¦ã¯ã™ã¹ã¦è‡ªå‹•çš„ã«æƒãˆï¼Œã¾ãŸæ¼¢å­—ã«ã¤ã„ã¦ã¯
è¾žæ›¸ãƒ•ã‚¡ã‚¤ãƒ«ã‚’è¨­å®šã™ã‚‹ã“ã¨ã«ã‚ˆã‚Šå„ç´¢å¼•èªžã”ã¨ã«èª­ã¿ã‚’ä»˜ã‘ã‚‹ä½œæ¥­ã‚’
ã‹ãªã‚Šè§£æ¶ˆã§ãã¾ã™ï¼Žä»¥ä¸‹ã«å†…éƒ¨ã§ã®ã‚«ãƒŠã®å¤‰æ›ä¾‹ã‚’ç¤ºã—ã¾ã™ï¼Ž
%
\begin{quote}
\begin{tabular}{ll}
ã‹ã¶ã—ããŒã„ã—ã‚ƒ &amp; ã‹ãµã—ãã‹ã„ã—ã‚„ \\
ãƒžãƒƒã‚­ãƒ³ãƒˆãƒƒã‚·ãƒ¥ &amp; ã¾ã¤ãã‚“ã¨ã¤ã—ã‚† \\
ãƒ¯ãƒ¼ãƒ—ãƒ­ &amp; ã‚ã‚ãµã‚
\end{tabular}
\end{quote}

è¾žæ›¸ãƒ•ã‚¡ã‚¤ãƒ«ã¯ ``\jMeta{æ¼¢å­—} \jMeta{èª­ã¿}'' ã®ãƒªã‚¹ãƒˆã§æ§‹æˆã•ã‚Œã¾ã™ï¼Ž
\jMeta{æ¼¢å­—}ã¨\jMeta{èª­ã¿}ã®åŒºåˆ‡ã‚Šã¯ã‚¿ãƒ–ã¾ãŸã¯ã‚¹ãƒšãƒ¼ã‚¹ã§ã™ï¼Ž
ä»¥ä¸‹ã«è¾žæ›¸ã®ä¾‹ã‚’ç¤ºã—ã¾ã™ï¼Ž
%
\begin{quote}
\begin{tabular}{ll}
æ¼¢å­— &amp; ã‹ã‚“ã˜ \\
èª­ã¿ &amp; ã‚ˆã¿ \\
ç’°å¢ƒ &amp; ã‹ã‚“ãã‚‡ã† \\
$\alpha$ &amp; ã‚¢ãƒ«ãƒ•ã‚¡
\end{tabular}
\end{quote}

è¾žæ›¸ã«ç™»éŒ²ã™ã‚‹æ¼¢å­—ã«ã¤ã„ã¦ã¯ï¼Œèª­ã¿æ–¹ãŒ1é€šã‚Šã«ãªã‚‹ã‚ˆã†é€ã‚Šä»®åã‚’ä»˜ã‘ã¦ãã&nbsp;ã•ã„ï¼Ž
ã€Œè¡¨ã€ï¼Œã€Œæ€§è³ªã€ã®ã‚ˆã†ã«é€ã‚Šä»®åã«ã‚ˆã‚‰ãš2é€šã‚Šã®èª­ã¿æ–¹ãŒã§ãã‚‹èªžã«ã¤ã„ã¦ã¯ã©ã¡ã‚‰ã‹
1ã¤ã—ã‹ç™»éŒ²ã§ãã¾ã›ã‚“ï¼Žä»–ã®èª­ã¿æ–¹ã«ã¤ã„ã¦ã¯å„ç´¢å¼•èªžã¸èª­ã¿ã‚’ä»˜ã‘ã‚‹ã“ã¨ã§å¯¾å¿œã—ã¦ãã&nbsp;ã•ã„ï¼Ž
ã¾ãŸï¼Œç’°å¢ƒå¤‰æ•° |INDEXDEFAULTDICTIONARY| ã«è¾žæ›¸ãƒ•ã‚¡ã‚¤ãƒ«ã‚’ç™»éŒ²ã™ã‚‹ã“ã¨ã«ã‚ˆã‚Šï¼Œè‡ªå‹•çš„ã«
è¾žæ›¸ã‚’å‚ç…§ã—ã¾ã™ï¼Žç’°å¢ƒå¤‰æ•°ã«ç™»éŒ²ã—ãŸè¾žæ›¸ã¯ |-d| ã§æŒ‡å®šã—ãŸè¾žæ›¸ã¨ä½µç”¨ã§ãã¾ã™ï¼Ž

\section{ã‚½ãƒ¼ãƒˆæ–¹æ³•ã«ã¤ã„ã¦}

\SoftName{mendex}ã¯é€šå¸¸ã¯å…¥åŠ›ã•ã‚ŒãŸç´¢å¼•èªžã‚’ãã®ã¾ã¾ã‚½ãƒ¼ãƒˆã—ã¾ã™ï¼Ž|-l| ã‚ªãƒ—ã‚·ãƒ§ãƒ³ãŒ
ä»˜ã‘ã‚‰ã‚ŒãŸå&nbsp;´åˆï¼Œè¤‡æ•°ã®å˜èªžã§æ§‹æˆã•ã‚Œã‚‹ç´¢å¼•èªžã«ã¤ã„ã¦ã¯ï¼Œã‚½ãƒ¼ãƒˆã™ã‚‹ã¨ãã«å˜èªžã¨å˜èªžã®é–“ã®
ã‚¹ãƒšãƒ¼ã‚¹ã‚’è©°ã‚ã¦ã‚½ãƒ¼ãƒˆã—ã¾ã™ï¼Žã“ã“ã§ã¯å‰è€…ã‚’å˜èªžé&nbsp;†ã‚½ãƒ¼ãƒˆï¼Œå¾Œè€…ã‚’æ–‡å­—é&nbsp;†ã‚½ãƒ¼ãƒˆã¨å‘¼ã¶ã“ã¨ã«
ã—ã¾ã™ï¼Žæ–‡å­—é&nbsp;†ã‚½ãƒ¼ãƒˆã®å&nbsp;´åˆï¼Œå®Ÿéš›ã«å‡ºåŠ›ã•ã‚Œã‚‹æ–‡å­—åˆ—ã¯ã‚¹ãƒšãƒ¼ã‚¹ã‚’å«ã‚“ã&nbsp;çŠ¶æ…‹ã®ã‚‚ã®ã§ã™ã®ã§ï¼Œ
ç´¢å¼•èªžè‡ªä½“ãŒå¤‰åŒ–ã™ã‚‹ã“ã¨ã¯ã‚ã‚Šã¾ã›ã‚“ï¼Žä»¥ä¸‹ã«ä¾‹ã‚’ç¤ºã—ã¾ã™ï¼Ž
%
\begin{quote}
\begin{tabular}{ll}
\emph{å˜èªžé&nbsp;†ã‚½ãƒ¼ãƒˆ} &amp; \emph{æ–‡å­—é&nbsp;†ã‚½ãƒ¼ãƒˆ} \\
X Window &amp; Xlib \\
Xlib &amp; XView \\
XView &amp; X Window
\end{tabular}
\end{quote}

ã¾ãŸï¼Œæ—¥æœ¬èªžâˆ’è‹±å­—é–“ã§ã‚‚ä¼¼ãŸã‚ˆã†ãªã‚½ãƒ¼ãƒˆæ–¹æ³•ãŒã‚ã‚Šã¾ã™ï¼Ž
ã‚¹ã‚¿ã‚¤ãƒ«ãƒ•ã‚¡ã‚¤ãƒ«ã§ |priority| ã‚’|0|ä»¥å¤–ã«æŒ‡å®šã—ãŸå&nbsp;´åˆï¼Œéš£æŽ¥ã—ãŸæ—¥æœ¬èªžã¨è‹±å­—ã®é–“ã«
åŠè§’ã‚¹ãƒšãƒ¼ã‚¹ã‚’å…¥ã‚Œã¦ã‚½ãƒ¼ãƒˆã—ã¾ã™ï¼Žä»¥ä¸‹ã«ä¾‹ã‚’ç¤ºã—ã¾ã™ï¼Ž
%
\begin{quote}
\begin{tabular}{ll}
|priority 0| &amp; |priority 1| \\
index sort &amp; indãƒ•ã‚¡ã‚¤ãƒ« \\
indãƒ•ã‚¡ã‚¤ãƒ« &amp; index sort
\end{tabular}
\end{quote}

\section{ç’°å¢ƒå¤‰æ•°ãƒ»kpathseaãƒ©ã‚¤ãƒ–ãƒ©ãƒªå¤‰æ•°ã«ã¤ã„ã¦}

\SoftName{mendex}ã§ã¯ï¼Œ\FileName{texmf.cnf}ã‚„ç’°å¢ƒå¤‰æ•°ã§
ä»¥ä¸‹ã®å¤‰æ•°ã‚’è¨­å®šã™ã‚Œã°ãã‚Œã‚’ä½¿ç”¨ã—ã¾ã™ï¼Ž

% [TODO] æ•¢ãˆã¦ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆåŒ–ã—ãªã„ãŒï¼š
% https://github.com/texjporg/tex-jp-build/issues/175
%
% * å¤‰æ•° |INDEXSTYLE| ã«ã¤ã„ã¦ï¼š
%   ç’°å¢ƒå¤‰æ•°ã®æœ«å°¾ãŒ |INDEXSTYLE=.;./bar/;| ã®ã‚ˆã†ã«ã‚»ãƒ‘ãƒ¬ãƒ¼ã‚¿ã§çµ‚ã‚ã‚‹å&nbsp;´åˆï¼Œ
%   å¾“æ¥ã®\SoftName{mendex}ã§ã¯ç’°å¢ƒå¤‰æ•°ã®ãƒ‘ã‚¹ã‹ã‚‰ã—ã‹æ¤œç´¢ã•ã‚Œãªã‹ã£ãŸãŒï¼Œ
%   \SoftName{makeindex}ãŒ\FileName{texmf.cnf}ã®è¨­å®šå€¤ã‚’è£œã£ã¦æ¤œç´¢ã™ã‚‹ã“ã¨ã«
%   åˆã‚ã›ã‚‹ãŸã‚ï¼Œ\TeX~Live 2025ä»¥é™ã¯kpathseaã®é–¢æ•°|kpse_find_file|ã‚’ä½¿ã†ã‚ˆã†ã«ã—ãŸï¼Ž
%
% * å¤‰æ•° |INDEXDICTIONARY| ã«ã¤ã„ã¦ã¯ï¼Œè¾žæ›¸ãƒ•ã‚¡ã‚¤ãƒ«ã‚’|kpse_find_file|ãŒ
%   ã‚µãƒãƒ¼ãƒˆã—ãªã„ãŸã‚ï¼Œç‹¬è‡ªå®Ÿè£…ã‚’ç¶­æŒã—ãŸï¼Ž

\begin{description}[leftmargin=5cm]
\item[|INDEXSTYLE|]
ç´¢å¼•ã‚¹ã‚¿ã‚¤ãƒ«ãƒ•ã‚¡ã‚¤ãƒ«ãŒã‚ã‚‹ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªï¼Ž

\item[|INDEXDEFAULTSTYLE|]
ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã§å‚ç…§ã™ã‚‹ç´¢å¼•ã‚¹ã‚¿ã‚¤ãƒ«ãƒ•ã‚¡ã‚¤ãƒ«ï¼Ž

\item[|INDEXDICTIONARY|]
è¾žæ›¸ãŒã‚ã‚‹ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªï¼Ž

\item[|INDEXDEFAULTDICTIONARY|]
å¸¸ã«å‚ç…§ã™ã‚‹è¾žæ›¸ãƒ•ã‚¡ã‚¤ãƒ«ï¼Ž

\item[|guess\string_input\string_kanji\string_encoding|]
å…¥åŠ›ãƒ•ã‚¡ã‚¤ãƒ«ã®æ–‡å­—ã‚³ãƒ¼ãƒ‰æŽ¨æ¸¬æ©Ÿèƒ½ã‚’æœ‰åŠ¹ã¨ã™ã‚‹ã‹å¦ã‹ï¼ˆ\TeX~Live 2023ä»¥é™ï¼‰ï¼Ž
å€¤ãŒ1ãªã‚‰ã°æœ‰åŠ¹ï¼Œ0ãªã‚‰ã°ç„¡åŠ¹ï¼Ž
\end{description}

\section{æ—¢çŸ¥ã®å•é¡Œ}
è¤‡æ•°ã®ãƒšãƒ¼ã‚¸è¨˜æ³•ã‚’ä½¿ç”¨ã™ã‚‹å&nbsp;´åˆï¼Œãƒšãƒ¼ã‚¸é&nbsp;†ã«ç´¢å¼•ãƒªã‚¹ãƒˆãƒ•ã‚¡ã‚¤ãƒ«ï¼ˆ\FileExtension{idx}ï¼‰ã‚’
ä¸Žãˆãªã„ã¨ãƒšãƒ¼ã‚¸ç•ªå·ã‚’èª¤èªã™ã‚‹ã“ã¨ãŒã‚ã‚Šã¾ã™ï¼Ž

% ã¾ãŸï¼Œ\SoftName{makeindex}ã«æ¯”ã¹ã‚‹ã¨å®Ÿè¡Œé€Ÿåº¦ãŒé…ããªã£ã¦ã„ã¾ã™ï¼Ž

\section{ãƒˆãƒ©ãƒ–ãƒ«ã‚·ãƒ¥ãƒ¼ãƒ†ã‚£ãƒ³ã‚°}
\SoftName{mendex}ã§ã‚‚ï¼Œ\SoftName{makeindex}ç”¨ã®ã‚¹ã‚¿ã‚¤ãƒ«ãƒ•ã‚¡ã‚¤ãƒ«ã‚’æµç”¨ã™ã‚‹ã“ã¨ãŒã§ãã‚‹
å&nbsp;´åˆãŒã‚ã‚Šã¾ã™ï¼ŽãŸã&nbsp;ã—ï¼ŒæœŸå¾…é€šã‚Šã«å‹•ä½œã—ãªã„å&nbsp;´åˆã‚‚ã‚ã‚‹ãŸã‚ï¼Œæ³¨æ„ç‚¹ã‚’æŒ™ã’ã¦ãŠãã¾ã™ï¼Ž
% 2021å¹´6æœˆç¾åœ¨ï¼Œ\TeX~Liveã® |texmf-dist/makeindex| ä»¥ä¸‹ã«åŽéŒ²ã•ã‚Œã¦ã„ã‚‹ã‚‚ã®ã¯
% ã»ã¨ã‚“ã©ä½¿ã„ã¥ã‚‰ã„ï¼Ž

\subsection{\FileName{gind.ist}ã‚„\FileName{gglo.ist}ãŒä½¿ãˆãªã„}
\LaTeXe ä»˜å±žã®\FileName{gind.ist}ã‚„\FileName{gglo.ist}ã¯ï¼Œ\SoftName{doc}ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ã¨
ä½µç”¨ã™ã‚‹ã“ã¨ã‚’æƒ³å®šã—ã¦ä½œã‚‰ã‚Œã¦ã„ã¾ã™ï¼Ž
\begin{verbatim}
    ! Undefined control sequence.
    l.3  \makeatletter\scan@allowedfalse
\end{verbatim}
ã®ã‚¨ãƒ©ãƒ¼ã‚’é¿ã‘ã‚‹ãŸã‚ã«ï¼Œ\verb+\usepackage{doc}+ ã‚’è¿½åŠ&nbsp;ã—ã¦ãã&nbsp;ã•ã„ï¼Ž

\subsection{æ¼¢å­—ã®èª­ã¿ã‚’ä¸ŽãˆãŸã¤ã‚‚ã‚Šãªã®ã«ã‚¨ãƒ©ãƒ¼ãŒå‡ºã‚‹}
è¾žæ›¸ãƒ•ã‚¡ã‚¤ãƒ«ã‚’ä½¿ç”¨ã—ãªã„ï¼Œã‚ã‚‹ã„ã¯è¾žæ›¸ãƒ•ã‚¡ã‚¤ãƒ«ã¨ç•°ãªã‚‹èª­ã¿ã‚’å€‹åˆ¥æŒ‡å®šã™ã‚‹å&nbsp;´åˆã«
|\index{ã‹ã‚“ã˜@æ¼¢å­—}| ã®æ›¸å¼ã§ã€Œèª­ã¿ã€ã‚’æŒ‡å®šã—ãŸã«ã‚‚ã‹ã‹ã‚ã‚‰ãšï¼Œ
\begin{verbatim}
  Error: æ¼¢å­— is no entry in dictionary file in mybook.idx, line 1.
  0 entries accepted, 1 rejected.
\end{verbatim}
ã®ã‚ˆã†ãªã‚¨ãƒ©ãƒ¼ãŒå‡ºã¦ï¼Œç´¢å¼•ãŒä½œæˆã•ã‚Œãªã„ã“ã¨ãŒã‚ã‚Šã¾ã™ï¼Žã“ã“ã§ã‚ªãƒ—ã‚·ãƒ§ãƒ³ |-f| ã‚’ä½¿ç”¨ã—ã¦ã‚‚ï¼Œ
å®Ÿéš›ã«å‡ºåŠ›ã•ã‚Œã‚‹ç´¢å¼•æ–‡å­—åˆ—ãŒ |ã‹ã‚“ã˜@æ¼¢å­—| ã¨ãªã£ã¦ã—ã¾ã„ã¾ã™ï¼Ž

ã“ã®åŽŸå›&nbsp;ã®å¤šãã¯ï¼Œã‚¹ã‚¿ã‚¤ãƒ«ãƒ•ã‚¡ã‚¤ãƒ«ãŒ |actual| ã‚’ |@| ã‹ã‚‰ä»–ã®æ–‡å­—ã«å¤‰æ›´ã—ã¦ã„ã‚‹å&nbsp;´åˆã§ã™ï¼Ž
ä¾‹ãˆã°\FileName{gind.ist}ã‚„\FileName{gglo.ist}ï¼Œãã®æ´¾ç”Ÿã‚¹ã‚¿ã‚¤ãƒ«ãƒ•ã‚¡ã‚¤ãƒ«ã¯
|actual| ã‚’ |=| ã«å¤‰æ›´ã—ã¦ã„ã¾ã™ã®ã§ï¼Œãã‚Œã‚‰ã‚’ä½¿ç”¨ã™ã‚‹å&nbsp;´åˆã¯ |\index{ã‹ã‚“ã˜=æ¼¢å­—}| ã®æ›¸å¼ã‚’
ç”¨ã„ã‚‹ã®ãŒæ­£ã—ã„ã€Œèª­ã¿ã€ã®æŒ‡å®šæ³•ã§ã™ï¼Ž

\section{ãƒã‚°å&nbsp;±å‘Šå…ˆãƒ»é–‹ç™ºå…ƒ}
ç¾åœ¨ï¼Œ\SoftName{mendex}ã¯æ—¥æœ¬èªž\TeX é–‹ç™ºã‚³ãƒŸãƒ¥ãƒ‹ãƒ†ã‚£ã«ã‚ˆã‚Šãƒ¡ãƒ³ãƒ†ãƒŠãƒ³ã‚¹ã•ã‚Œã¦ã„ã¾ã™ï¼Ž
\begin{itemize}
  \item \url{https://github.com/texjporg/tex-jp-build} ï¼ˆæœ¬ä½“ã®ã‚½ãƒ¼ã‚¹ã‚³ãƒ¼ãƒ‰ï¼‰
  \item \url{https://github.com/texjporg/mendex-doc} ï¼ˆã“ã®æ–‡æ›¸ã‚’å«ã‚€ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆé¡žï¼‰
\end{itemize}

\begin{thebibliography}{99}
 \bibitem{yoshi2018} å‰æ°¸ å¾¹ç¾Ž è‘—ï¼Œ
   ã€ŒLaTeX2e è¾žå…¸ å¢—è£œæ”¹è¨‚ç‰ˆã€ï¼Œç¿”æ³³ç¤¾ï¼Œ2018ï¼Ž
 \bibitem{munepi2019} munepiï¼Œ
   ã€Œã¼ãã®ã‹ã‚“ãŒãˆãŸã•ã„ãã‚‡ã†ã®LaTeXç´¢å¼•ã‚¹ã‚¿ã‚¤ãƒ«ãƒ•ã‚¡ã‚¤ãƒ«ã€ï¼Œ2019/12/09ï¼Ž\\
   \url{https://qiita.com/munepi/items/2e1524859e24b5fb44bc}
 \bibitem{kumazawa} Yoshiki KUMAZAWAï¼Œ
   ã€Œmakeidx.sty: LaTeX ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ã€ï¼Ž\\
   \url{http://xyoshiki.web.fc2.com/tex/makeidx.html}
\end{thebibliography}

\clearpage
\appendix

\section{ç´¢å¼•ã‚¹ã‚¿ã‚¤ãƒ«ã®ä¾‹ (\FileName{jpbase.ist})}
ã“ã®æ–‡æ›¸ã¨ä¸€ç·’ã«é…å¸ƒã—ã¦ã„ã‚‹ç´¢å¼•ã‚¹ã‚¿ã‚¤ãƒ«\FileName{jpbase.ist}ã«ã¤ã„ã¦èª¬æ˜Žã—ã¾ã™ï¼Ž

ä¸»ãªå†…å®¹ã¯ä»¥ä¸‹ã®é€šã‚Šã§ã™ï¼ˆå…¨ä½“ã¯å®Ÿéš›ã®ãƒ•ã‚¡ã‚¤ãƒ«å‚ç…§ï¼‰ï¼Ž
\begin{quote}
\hrule\vskip10pt\noautospacing\noautoxspacing
\begin{verbatim}
%% Use general commands (M. Yamamoto, @munepi)
headings_flag    1
heading_prefix   "\n\\makeidxhead{"
heading_suffix   "}"
delim_0          "\\idxdelim "
delim_1          "\\idxdelim "
delim_2          "\\idxdelim "
symhead_positive "\\symbolindexname"
%
heading_flag     1
symbol           "\\symbolindexname"
%
%% Custom settings for mendex
% è¦‹å‡ºã—ã‚’ã²ã‚‰ãŒãªã§å‡ºåŠ›: 2ï¼ˆæ—¢å®šå€¤ã¯ã‚«ã‚¿ã‚«ãƒŠ: 1ï¼‰
letter_head      2
% ä¸¦ã¹æ›¿ãˆé&nbsp;†ã‚’æ—¥æœ¬èªžâ†’è‹±å­—â†’è¨˜å·ï¼æ•°å­—ã«å¤‰æ›´ã™ã‚‹ãªã‚‰ä»¥ä¸‹ã‚’æœ‰åŠ¹ã«
%character_order  "JESN"
% æ—¥æœ¬èªžã¨è‹±å­—ã®é–“ã«åŠè§’ã‚¹ãƒšãƒ¼ã‚¹ã‚’å…¥ã‚Œã¦ã‚½ãƒ¼ãƒˆã™ã‚‹ãªã‚‰ä»¥ä¸‹ã‚’æœ‰åŠ¹ã«
%priority         1
%
%% Output design based on dot.ist by Y. Kumazawa
preamble   "\\begin{theindex}\n
\\providecommand\\idxdelim{\\space\\dotfill\\space}
\\providecommand\\makeidxhead[1]{...(ç•¥)... #1 ...(ç•¥)...}
\\providecommand\\symbolindexname{Symbols}\n"
postamble  "\n\n\\end{theindex}\n"
\end{verbatim}
\vskip10pt\hrule
\end{quote}

ã“ã®ã‚¹ã‚¿ã‚¤ãƒ«ã§ã¯
\begin{itemize}
 \item è¦‹å‡ºã—ã®é£¾ã‚Š â†’ |\makeidxhead|
 \item ç´¢å¼•é&nbsp;…ç›®ã¨ãƒšãƒ¼ã‚¸ç•ªå·ã®åŒºåˆ‡ã‚Š â†’ |\idxdelim|
 \item è¨˜å·ãƒ»æ•°å­—é¡žã®è¦‹å‡ºã—æ–‡å­—åˆ— â†’ |\symbolindexname|
\end{itemize}
ã¨ã„ã†\LaTeX å‘½ä»¤ã«åˆ‡ã‚Šå‡ºã™ã“ã¨ã§ï¼Œãƒ¦ãƒ¼ã‚¶ãŒ\LaTeX ã®ç¯„å›²å†…ã§è‡ªç”±ã«ãƒ‡ã‚¶ã‚¤ãƒ³ã‚’å®šç¾©ã§ãã‚‹
ã‚ˆã†ã«ã—ã¦ã„ã¾ã™ï¼Žãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã®å®šç¾©ã‚‚ |preamble| ãƒ‘ãƒ©ãƒ¡ãƒ¼ã‚¿ã§ä¸Žãˆã¾ã™ã®ã§ï¼Œ
ã“ã‚Œã‚‰ã®å‘½ä»¤ã‚’å®šç¾©ã›ãšã«\FileName{jpbase.ist}å˜ä½“ã§ã‚‚å‹•ä½œã—ã¾ã™ï¼Ž
æ—¢å®šã®ãƒ‡ã‚¶ã‚¤ãƒ³ã¯ä»¥ä¸‹ã®ã‚ˆã†ã«å®šç¾©ã—ã¦ã„ã¾ã™ï¼Ž
\begin{verbatim}
    \providecommand{\idxdelim}{\space\dotfill\space}
    \providecommand{\makeidxhead}[1]{{\vbox{\hbox to \linewidth{%
      \sffamily\bfseries #1\ \hskip\fill}\vskip1pt\hrule}}\nopagebreak}
    \providecommand{\symbolindexname}{Symbols}
\end{verbatim}

ã“ã‚Œã‚‰ã®å‘½ä»¤ã‚’ãƒ—ãƒªã‚¢ãƒ³ãƒ–ãƒ«ã§äºˆã‚å®šç¾©ã—ã¦ãŠã‘ã°ï¼Œãã‚ŒãŒå„ªå…ˆã•ã‚Œã¾ã™ï¼Žä¾‹ãˆã°
\begin{verbatim}
    \newcommand{\makeidxhead}[1]{{\vbox{\hbox to \linewidth{%
      \sffamily\bfseries â–&nbsp;\hfill #1\hfill â–&nbsp;}\vskip1pt\hrule}}\nopagebreak}
\end{verbatim}
ã¨ã™ã‚Œã°è¦‹å‡ºã—ã®è¡¨ç¤ºå½¢å¼ãŒ
\begingroup
    \newcommand{\makeidxhead}[1]{{\vbox{\hbox to \linewidth{%
      \sffamily\bfseries â–&nbsp;\hfill #1\hfill â–&nbsp;}\vskip1pt\hrule}}\nopagebreak}
    \begin{minipage}{.3\linewidth}
    \makeidxhead{ã‚}
    \end{minipage}
\endgroup
ã«ãªã‚Šã¾ã™ã—ï¼Œ
\begin{verbatim}
    \newcommand{\symbolindexname}{è¨˜å·ãƒ»æ•°å­—}}
\end{verbatim}
ã¨ã™ã‚Œã°è¨˜å·é¡žã®è¦‹å‡ºã—ãŒã€ŒSymbolsã€ã‹ã‚‰ã€Œè¨˜å·ãƒ»æ•°å­—ã€ã«å¤‰ã‚ã‚Šã¾ã™ï¼Ž

ä»¥é™ã®ãƒšãƒ¼ã‚¸ã§ã¯ï¼Œç´¢å¼•ã‚¹ã‚¿ã‚¤ãƒ«ãŠã‚ˆã³ã‚ªãƒ—ã‚·ãƒ§ãƒ³ã®é©ç”¨ä¾‹ã‚’ç¤ºã—ã¾ã™ï¼Ž
\begin{itemize}
 \item |mendex sample|ï¼ˆãƒ‡ãƒ•ã‚©ãƒ«ãƒˆé€šã‚Šï¼‰
 \item |mendex -s jpbase sample|ï¼ˆã‚¹ã‚¿ã‚¤ãƒ«é©ç”¨ï¼‰
 \item |mendex -s jpbase -g sample|ï¼ˆã•ã‚‰ã«é&nbsp;­æ–‡å­—ã®åŒºåˆ‡ã‚Šã‚’ã€Œã‚ã‹ã•â€¦ã‚ã€ã«ï¼‰
 \item ä¸Šè¨˜ã‚¹ã‚¿ã‚¤ãƒ«ã« |priority 1| ã‚’è¿½åŠ&nbsp;ï¼ˆ|alignç’°å¢ƒ| ã¨ |alignatç’°å¢ƒ| ã®é&nbsp;†åºã«æ³¨ç›®ï¼‰
 \item ä¸Šè¨˜ã‚¹ã‚¿ã‚¤ãƒ«ã« |character_order "JESN"| ã‚’è¿½åŠ&nbsp;
 \item |mendex -s jpbase -g -l sample|ï¼ˆç©ºç™½æ–‡å­—ã‚’ç„¡è¦–ã—ã¦æ–‡å­—é&nbsp;†ã‚½ãƒ¼ãƒˆã«ï¼‰
\end{itemize}
ç´¢å¼•ã‚¹ã‚¿ã‚¤ãƒ«\FileName{jpbase.ist}ã‚’ãƒ™ãƒ¼ã‚¹ã«ä¸€éƒ¨å¤‰æ›´ã—ãŸã„å&nbsp;´åˆã¯ï¼Œãƒ•ã‚¡ã‚¤ãƒ«ã‚’è¤‡è£½ã—ã¦
åˆ¥åã«å¤‰æ›´ã—ã¦ã‹ã‚‰ç·¨é›†ã™ã‚‹ã¨è‰¯ã„ã§ã—ã‚‡ã†ï¼Ž
ãªãŠï¼Œ\SoftName{mendex} |version 3.5 [6-Jun-2021]|ä»¥é™ã§åˆ©ç”¨å¯èƒ½ãªã€Œã‚¹ã‚¿ã‚¤ãƒ«ãƒ•ã‚¡ã‚¤ãƒ«ã‚’
è¤‡æ•°æŒ‡å®šã§ãã‚‹æ©Ÿèƒ½ã€ã‚’ç”¨ã„ã‚Œã°ï¼Œå…ƒã®\FileName{jpbase.ist}ã‹ã‚‰ã®è¿½åŠ&nbsp;ãƒ‘ãƒ©ãƒ¡ãƒ¼ã‚¿ã®ã¿è¨˜è¼‰
ã—ãŸå°ã•ãªã‚¹ã‚¿ã‚¤ãƒ«ãƒ•ã‚¡ã‚¤ãƒ«ï¼ˆä¾‹ãˆã°\FileName{mystyle.ist}ï¼‰ã‚’æº–å‚™ã—ã¦ï¼Œä»¥ä¸‹ã®ã‚³ãƒžãƒ³ãƒ‰ã§
ç°¡å˜ã«é©ç”¨ã§ãã¾ã™ï¼Ž
\begin{verbatim}
    $ mendex -s jpbase -s mystyle ...
\end{verbatim}

ãªãŠï¼Œã‚µãƒ³ãƒ—ãƒ«ã¨ã—ã¦ä½¿ç”¨ã—ãŸ\FileName{sample.idx}ã¯ä»¥ä¸‹ã®é€šã‚Šã§ã™ï¼ˆä¸€éƒ¨ã®ã¿ï¼‰ï¼Ž
\clearpage
\begin{quote}
\hrule\vskip10pt\noautospacing\noautoxspacing
\begin{verbatim}
% sample.idx
\indexentry{DVI viewer}{18}
\indexentry{ã‚³ãƒ³ãƒ‘ã‚¤ãƒ«}{18}
\indexentry{ãƒ­ã‚°ãƒ•ã‚¡ã‚¤ãƒ«}{18}
\indexentry{dvips}{22}
...(ç•¥)...
\indexentry{alignã‹ã‚“ãã‚‡ã†@alignç’°å¢ƒ}{183}
\indexentry{alignatã‹ã‚“ãã‚‡ã†@alignatç’°å¢ƒ}{184}
...(ç•¥)...
\indexentry{ã‚­ãƒ£ãƒ—ã‚·ãƒ§ãƒ³}{288}
\indexentry{ãƒ•ãƒ­ãƒ¼ãƒˆ}{288}
\indexentry{graphicsãƒ‘ãƒƒã‚±ãƒ¼ã‚¸}{300}
\indexentry{graphicxãƒ‘ãƒƒã‚±ãƒ¼ã‚¸}{300}
\end{verbatim}
\vskip10pt\hrule
\end{quote}

\def\IndexExample#1#2#3{%
  \def\indexname{ç´¢å¼•ã®ä¾‹#1ï¼ˆ#2ï¼‰}%
  \AddToHookNext{env/theindex/end}{\par\baselineskip12pt\vfill\vfill #3\par\vfill}%
  \InputIfFileExists{\jobname-sub-#1.ind}{}{\typeout{Rerun!}}}
\IndexExample{0}{\texttt{mendex}ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆ}{}
\IndexExample{1}{\texttt{mendex -s jpbase}}{}
\IndexExample{2}{\texttt{mendex -s jpbase -g}}{}
\IndexExample{3}{ã‚¹ã‚¿ã‚¤ãƒ«ã«\texttt{priority 1}ã‚’è¿½åŠ&nbsp;}{%
  æ³¨ï¼šä¾‹2ã¨æ³¨æ„æ·±ãè¦‹æ¯”ã¹ã¦ãã&nbsp;ã•ã„ï¼Žæ—¢å®šã§ã¯æ—¥æœ¬èªžæ–‡å­—ã‚ˆã‚Šã‚‚è‹±å­—ã®æ–¹ãŒ
  å…ˆï¼ˆ``alignatç’°å¢ƒ''â†’``alignç’°å¢ƒ''ï¼‰ã§ã™ãŒï¼Œ\texttt{priority}ã‚’\texttt{1}ã«è¨­å®š
  ã™ã‚‹ã¨ï¼Œæ—¥æœ¬èªžâˆ’è‹±å­—é–“ã«åŠè§’ã‚¹ãƒšãƒ¼ã‚¹ã‚’å…¥ã‚Œã¦ã‚½ãƒ¼ãƒˆã•ã‚Œã‚‹ãŸã‚ï¼Œé&nbsp;†ç•ªãŒå…¥ã‚Œæ›¿ã‚ã‚Šã¾ã™ï¼Ž}
\IndexExample{4}{ã‚¹ã‚¿ã‚¤ãƒ«ã«\texttt{character\_order "JESN"}ã‚’è¿½åŠ&nbsp;}{%
  æ³¨ï¼šä¾‹2ã¨æ³¨æ„æ·±ãè¦‹æ¯”ã¹ã¦ãã&nbsp;ã•ã„ï¼ŽãªãŠï¼Œã“ã“ã§\texttt{priority}ã¯\texttt{0}ã®ã¾ã¾
  ã¨ã—ã¦ã„ã¾ã™ï¼Ž\texttt{character\_order}ã®æ–‡å­—ç¨®ã®åˆ¤åˆ¥ã«ãŠã„ã¦ã¯ï¼Œ
  åŠè§’ã‚¹ãƒšãƒ¼ã‚¹ã‚‚è¨˜å·é¡žã¨ã—ã¦æ‰±ã‚ã‚Œã¾ã™ï¼Žãã®çµæžœï¼Œæ—¥æœ¬èªžæ–‡å­—ã‚ˆã‚Šè‹±å­—ãŒ
  å¾Œï¼ˆ``alignç’°å¢ƒ''â†’``alignatç’°å¢ƒ''ï¼‰ã‹ã¤ï¼Œè‹±å­—ã‚ˆã‚ŠåŠè§’ã‚¹ãƒšãƒ¼ã‚¹ãŒ
  å¾Œï¼ˆ``dvips''â†’``DVI viewer''ï¼‰ã«ãªã£ã¦ã„ã¾ã™ï¼Ž}
\IndexExample{5}{\texttt{mendex -s jpbase -g -l}}{%
  æ³¨ï¼šä¾‹2ã¨æ³¨æ„æ·±ãè¦‹æ¯”ã¹ã¦ãã&nbsp;ã•ã„ï¼Ž\texttt{-l}ã‚ªãƒ—ã‚·ãƒ§ãƒ³ã«ã‚ˆã‚Šç©ºç™½æ–‡å­—ã‚’ç„¡è¦–ã—ã¦
  æ–‡å­—é&nbsp;†ï¼ˆPâ†’Vï¼‰ã«ä¸¦ã¹ãŸãŸã‚ï¼Œ``dvips''â†’``DVI viewer''ã®é&nbsp;†ç•ªã«å…¥ã‚Œæ›¿ã‚ã‚Šã¾ã—ãŸï¼Ž}

%%% ä»¥ä¸‹ï¼Œè£œåŠ©ãƒ•ã‚¡ã‚¤ãƒ«
\begin{filecontents*}[overwrite]{\jobname-sub.idx}
\indexentry{DVI viewer}{18}
\indexentry{ã‚³ãƒ³ãƒ‘ã‚¤ãƒ«}{18}
\indexentry{ãƒ­ã‚°ãƒ•ã‚¡ã‚¤ãƒ«}{18}
\indexentry{dvips}{22}
\indexentry{ã”ã†ã˜@åˆå­—}{34}
\indexentry{$&gt;$}{35}
\indexentry{$&lt;$}{35}
\indexentry{ãƒ—ãƒªã‚¢ãƒ³ãƒ–ãƒ«}{44}
\indexentry{ã‚¯ãƒ©ã‚¹ãƒ•ã‚¡ã‚¤ãƒ«}{45}
\indexentry{ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ãƒ•ã‚¡ã‚¤ãƒ«}{45}
\indexentry{NFSS}{52}
\indexentry{ã‚¨ãƒ³ã‚³ãƒ¼ãƒ‰}{52}
\indexentry{ã‚·ãƒªãƒ¼ã‚º}{52}
\indexentry{ãƒ•ã‚¡ãƒŸãƒª}{52}
\indexentry{ã‚µã‚¤ã‚º}{53}
\indexentry{ã‚·ã‚§ã‚¤ãƒ—}{53}
\indexentry{ã‚¨ãƒ³ã‚³ãƒ¼ãƒ‰}{63}
\indexentry{ãƒ•ã‚¡ãƒŸãƒª}{64}
\indexentry{ã‚·ãƒªãƒ¼ã‚º}{66}
\indexentry{ã‚·ã‚§ã‚¤ãƒ—}{67}
\indexentry{ã‚µã‚¤ã‚º}{68}
\indexentry{ã—ã‚‡ãŸã„ã¦ã„ãŽãƒ•ã‚¡ã‚¤ãƒ«@æ›¸ä½“å®šç¾©ãƒ•ã‚¡ã‚¤ãƒ«}{75}
\indexentry{abstractã‹ã‚“ãã‚‡ã†@abstractç’°å¢ƒ}{87}
\indexentry{itemizeã‹ã‚“ãã‚‡ã†@itemizeç’°å¢ƒ}{92}
\indexentry{enumerateã‹ã‚“ãã‚‡ã†@enumerateç’°å¢ƒ}{93}
\indexentry{descriptionã‹ã‚“ãã‚‡ã†@descriptionç’°å¢ƒ}{94}
\indexentry{quotationã‹ã‚“ãã‚‡ã†@quotationç’°å¢ƒ}{97}
\indexentry{quoteã‹ã‚“ãã‚‡ã†@quoteç’°å¢ƒ}{97}
\indexentry{verbatimã‹ã‚“ãã‚‡ã†@verbatimç’°å¢ƒ}{99}
\indexentry{ãƒ—ãƒªãƒŸãƒ†ã‚£ãƒ–}{113}
\indexentry{ã‚«ã‚¦ãƒ³ã‚¿}{131}
\indexentry{ãƒœãƒƒã‚¯ã‚¹}{134}
\indexentry{minipageã‹ã‚“ãã‚‡ã†@minipageç’°å¢ƒ}{137}
\indexentry{$&gt;$}{146}
\indexentry{$&lt;$}{146}
\indexentry{ãƒ‡ã‚£ã‚¹ãƒ—ãƒ¬ã‚¤ã™ã†ã—ã@ãƒ‡ã‚£ã‚¹ãƒ—ãƒ¬ã‚¤æ•°å¼}{152}
\indexentry{ãƒ†ã‚­ã‚¹ãƒˆã™ã†ã—ã@ãƒ†ã‚­ã‚¹ãƒˆæ•°å¼}{152}
\indexentry{equationã‹ã‚“ãã‚‡ã†@equationç’°å¢ƒ}{153}
\indexentry{ã‚¢ã‚¯ã‚»ãƒ³ãƒˆãã”ã†@ã‚¢ã‚¯ã‚»ãƒ³ãƒˆè¨˜å·}{156}
\indexentry{ãˆã‚“ã–ã‚“ã—@æ¼”ç®—å­}{158}
\indexentry{ã‹ã‚“ã‘ã„ãˆã‚“ã–ã‚“ã—@é–¢ä¿‚æ¼”ç®—å­}{159}
\indexentry{ã‚®ãƒªã‚·ãƒ£ã‚‚ã˜@ã‚®ãƒªã‚·ãƒ£æ–‡å­—}{161}
\indexentry{ã‹ã‚“ã‘ã„ãˆã‚“ã–ã‚“ã—@é–¢ä¿‚æ¼”ç®—å­}{162}
\indexentry{ã«ã“ã†ãˆã‚“ã–ã‚“ã—@äºŒé&nbsp;…æ¼”ç®—å­}{163}
\indexentry{ã¶ã‚“ã™ã†@åˆ†æ•°}{167}
\indexentry{ã‹ã›ã‚“@ä¸‹ç·š}{168}
\indexentry{ã¸ã„ã»ã†ã“ã‚“@å¹³æ–¹æ&nbsp;¹}{168}
\indexentry{ãŽã‚‡ã†ã‚Œã¤@è¡Œåˆ—}{169}
\indexentry{equationã‹ã‚“ãã‚‡ã†@equationç’°å¢ƒ}{172}
\indexentry{eqnarrayã‹ã‚“ãã‚‡ã†@eqnarrayç’°å¢ƒ}{173}
\indexentry{casesã‹ã‚“ãã‚‡ã†@casesç’°å¢ƒ}{182}
\indexentry{alignã‹ã‚“ãã‚‡ã†@alignç’°å¢ƒ}{183}
\indexentry{alignatã‹ã‚“ãã‚‡ã†@alignatç’°å¢ƒ}{184}
\indexentry{gatherã‹ã‚“ãã‚‡ã†@gatherç’°å¢ƒ}{185}
\indexentry{multilineã‹ã‚“ãã‚‡ã†@multilineç’°å¢ƒ}{185}
\indexentry{tabbingã‹ã‚“ãã‚‡ã†@tabbingç’°å¢ƒ}{190}
\indexentry{tabbingã‹ã‚“ãã‚‡ã†@tabbingç’°å¢ƒ}{194}
\indexentry{arrayã‹ã‚“ãã‚‡ã†@arrayç’°å¢ƒ}{203}
\indexentry{tabularã‹ã‚“ãã‚‡ã†@tabularç’°å¢ƒ}{203}
\indexentry{ãƒ•ãƒ­ãƒ¼ãƒˆã‚ªãƒ–ã‚¸ã‚§ã‚¯ãƒˆ}{210}
\indexentry{pictureã‹ã‚“ãã‚‡ã†@pictureç’°å¢ƒ}{220}
\indexentry{ascmacãƒ‘ãƒƒã‚±ãƒ¼ã‚¸}{234}
\indexentry{ãã†ã”ã•ã‚“ã—ã‚‡ã†@ç›¸äº’å‚ç…§}{244}
\indexentry{plextãƒ‘ãƒƒã‚±ãƒ¼ã‚¸}{266}
\indexentry{plextãƒ‘ãƒƒã‚±ãƒ¼ã‚¸}{279}
\indexentry{ã‚Œã‚“ã™ã†ã˜@é€£æ•°å­—}{279}
\indexentry{ã‹ã‚“ã™ã†ã˜@æ¼¢æ•°å­—}{280}
\indexentry{enumerateã‹ã‚“ãã‚‡ã†@enumerateç’°å¢ƒ}{281}
\indexentry{ã¼ã†ã¦ã‚“@å‚ç‚¹}{282}
\indexentry{minipageã‹ã‚“ãã‚‡ã†@minipageç’°å¢ƒ}{285}
\indexentry{tabularã‹ã‚“ãã‚‡ã†@tabularç’°å¢ƒ}{286}
\indexentry{pictureã‹ã‚“ãã‚‡ã†@pictureç’°å¢ƒ}{287}
\indexentry{ã‚­ãƒ£ãƒ—ã‚·ãƒ§ãƒ³}{288}
\indexentry{ãƒ•ãƒ­ãƒ¼ãƒˆ}{288}
\indexentry{graphicsãƒ‘ãƒƒã‚±ãƒ¼ã‚¸}{300}
\indexentry{graphicxãƒ‘ãƒƒã‚±ãƒ¼ã‚¸}{300}
\end{filecontents*}
%
\begin{filecontents*}[overwrite]{\jobname-sub-3.ist}
priority 1
\end{filecontents*}
%
\begin{filecontents*}[overwrite]{\jobname-sub-4.ist}
character_order "JESN"
\end{filecontents*}
%%% ä»¥ä¸Šï¼Œè£œåŠ©ãƒ•ã‚¡ã‚¤ãƒ«

\end{document}
</pre></body></html>