so i want to make an index that shows where certain words appear in which pages in the output pdf
let's say I have a document that contains a certain amount of the word "avocado" and at the end of the file, i want texstudio to show which page contains that word something like
avocado- 10, 15, 420, 500,
is anything like that possible and if not, what's the closest I can do? i did try using makeindex, printindex and all that and maybe that was it, but i can't seem to figure out how those work either
makeindex
is the solution. You could provide an example showing what you've tried and got by far.\begin{theindex} \index{avocado} \index{potato} \end{theindex}
and then also put a printindex call at the end of the main document