imakeidx:未找到 truexindy

imakeidx:未找到 truexindy

当我运行时imakeidx出现\usepackage[truexindy]{imakeidx}以下错误:

sh: truexindy: command not found

不确定这里发生了什么。

这是 OSX 上最新的 TL2015。

答案1

可能文档不是很清楚,但该truexindy选项的正确用法是作为值program

\documentclass{article}
\usepackage{imakeidx}

\makeindex[
  program=truexindy,
  options= -C utf8 -M texindy -L english,
]

\begin{document}

X\index{X}

\printindex

\end{document}

您应该知道想要传递给什么选项xindy

运行后,这是日志的相关部分pdflatex -shell-escape simifilm.tex

This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015) (preloaded format=pdflatex 2016.2.27)  15 MAR 2016 19:04
entering extended mode
 \write18 enabled.
 %&-line parsing enabled.
**simifilm
(./simifilm.tex
LaTeX2e <2016/02/01>
Babel <3.9q> and hyphenation patterns for 81 language(s) loaded.
(/usr/local/texlive/2015/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/local/texlive/2015/texmf-dist/tex/latex/base/size10.clo
File: size10.clo 2014/09/29 v1.4h Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
(/usr/local/texlive/2015/texmf-dist/tex/latex/imakeidx/imakeidx.sty
Package: imakeidx 2013/07/11 v1.3a Package for typesetting indices in a synchro
nous mode

[...]

\simifilm@idxfile=\write3
\openout3 = `simifilm.idx'.


Writing index file simifilm.idx
No file simifilm.aux.
\openout1 = `simifilm.aux'.

LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 9.
LaTeX Font Info:    ... okay on input line 9.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 9.
LaTeX Font Info:    ... okay on input line 9.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 9.
LaTeX Font Info:    ... okay on input line 9.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 9.
LaTeX Font Info:    ... okay on input line 9.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 9.
LaTeX Font Info:    ... okay on input line 9.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 9.
LaTeX Font Info:    ... okay on input line 9.
[1

{/usr/local/texlive/2015/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]
runsystem(xindy -C utf8 -M texindy -L english simifilm.idx)...executed.


(./simifilm.ind) [2

] (./simifilm.aux) ) 
Here is how much of TeX's memory you used:
 8005 strings out of 493033
 156764 string characters out of 6134139
 175299 words of memory out of 5000000
 11567 multiletter control sequences out of 15000+600000
 4553 words of font info for 17 fonts, out of 8000000 for 9000
 1141 hyphenation exceptions out of 8191
 41i,4n,44p,10430b,275s stack positions out of 5000i,500n,10000p,200000b,80000s
</usr/local/texlive/2015/texmf-dist/fonts/type1/public/amsf
onts/cm/cmbx10.pfb></usr/local/texlive/2015/texmf-dist/fonts/type1/public/amsfo
nts/cm/cmbx12.pfb></usr/local/texlive/2015/texmf-dist/fonts/type1/public/amsfon
ts/cm/cmr10.pfb>
Output written on simifilm.pdf (2 pages, 25008 bytes).
PDF statistics:
 23 PDF objects out of 1000 (max. 8388607)
 15 compressed objects within 1 object stream
 0 named destinations out of 1000 (max. 500000)
 1 words of extra memory for PDF output out of 10000 (max. 10000000)

控制台上的消息xindy

Opening logfile "/dev/null" (done)
Reading indexstyle...
Loading module "/var/folders/8b/hx9v58ln1txgzv4v32_vpbr40000gn/T/zObxVZbCmD"...
Loading module "lang/english/utf8-lang.xdy"...
Loading module "lang/english/utf8.xdy"...
Finished loading module "lang/english/utf8.xdy".
Finished loading module "lang/english/utf8-lang.xdy".
Loading module "texindy.xdy"...
Loading module "numeric-sort.xdy"...
Finished loading module "numeric-sort.xdy".
Loading module "latex.xdy"...
Loading module "tex.xdy"...
Finished loading module "tex.xdy".
Finished loading module "latex.xdy".
Loading module "latex-loc-fmts.xdy"...
Finished loading module "latex-loc-fmts.xdy".
Loading module "makeindex.xdy"...
Finished loading module "makeindex.xdy".
Loading module "latin-lettergroups.xdy"...
Finished loading module "latin-lettergroups.xdy".
Finished loading module "texindy.xdy".
Finished loading module "/var/folders/8b/hx9v58ln1txgzv4v32_vpbr40000gn/T/zObxVZbCmD".
Finished reading indexstyle.
Finalizing indexstyle... (done)

Reading raw-index "/var/folders/8b/hx9v58ln1txgzv4v32_vpbr40000gn/T/vIfQlONOYA"...
Finished reading raw-index.

Processing index... [10%] [20%] [30%] [40%] [50%] [60%] [70%] [80%] [90%] [100%]
Finished processing index.

Writing markup... [10%] [20%] [30%] [40%] [50%] [60%] [70%] [80%] [90%] [100%]
Markup written into file "./simifilm.ind".

这表明运行成功,并且确实得到了预期的结果。

相关内容