I've configured Texmaker to create the auxiliary files in the \build
subfolder.
Everything is working fine, except for the index... while compiling the .tex file, the console says:
Process started
Input index file FILE.idx not found. Usage: makeindex [-ilqrcg] [-s sty] [-o ind] [-t log] [-p num] [idx0 idx1 ...]
system returned with code 1
And of course the index is not being generated in the output .PDF file.
I've also added the \build
prefix to the "Makeindex" field in the configuration panel of Texmaker (as suggested by Texmaker itself), as you can see in the image below, but it's still not working.
Is there any solution that does not require to manually move the .IDX file from the \build
folder to the main folder in order to properly read the index?
Thank you in advance.
build/%.idx
(linux pathway), yet in the text\build
(windows pathway) is used. Do you compile in a Linux OS or in a Microsoft OS? They useslash
respectivelybackslash
to denote directory pathways.slash
orbackslash
to denote a directory path. TeXMaker adapts that to the OS its installed on. Following your question line, I could use the\build
folder on my Windows 11 / MikTeX configuration compiling PDFLatex > Makeindex > PDFLatex. The PDF contained the index as required and all files except the.tex
were contained in the\buikd
folder.