Steps to reproduce the behavior:
makeindex thesis.nlo -s nomencl.ist -o thesis.nls via commandline works perfectly fine without any errors. Running pdflatex afterwards creates an index as expected. {
"name": "makeindex",
"command": "makeindex",
"args": [
"%DOCFILE%.nlo",
"-s nomencl.ist",
"-o %DOCFILE%.nls"
]
}
to have makeindex working (I followed #384).
{
"name": "pdflatex âžž bibtex âžž makeindex âžž pdflatex âžž pdflatex",
"tools": [
"pdflatex",
"bibtex",
"makeindex",
"pdflatex",
"pdflatex"
]
}
Index style file -o thesis.nls not found.
Usage: makeindex [-ilqrcgLT] [-s sty] [-o ind] [-t log] [-p num] [idx0 idx1 ...]
Expected behavior
I get no error and the building proceeds.
Desktop [Required]:
I think you need to split "-s nomencl.ist" into two arguments, the same for -o %DOCFILE%.nls. If it does not help, please post the complete logs of the extension.
@jlelong Ahhh...
That's kind of unintuitive but works perfectly.
This is because every entry inside args is automatically surrounded by an extra pair of quotes when passed to the spawn function.
Most helpful comment
I think you need to split
"-s nomencl.ist"into two arguments, the same for-o %DOCFILE%.nls. If it does not help, please post the complete logs of the extension.