I am attempting to use VSCode to generate an index that is separated by the first letter of the word as shown here 
I created the .ist file as suggested:
headings_flag 1
heading_prefix "{\\textbf{"
heading_suffix "}}\\nopagebreak\n"
and placed the .ist file into a folder named "Packages".
I am not getting the Index to show up with the modified settings as shown above. Can you assist me in getting the correct output?
Thanks!
CODE
\documentclass[a4paper,12pt]{book}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{imakeidx}
\makeindex[options=-s ../Packages/myindex.ist, intoc]
\begin{document}
Some text.\index{Apple}\index{Apricot}\index{Avocado}\index{Banana}
\index{Bilberry}\index{Blackberry}\index{Blackcurrant}\index{Blueberry}
\index{Currant}\index{Cherry}\index{Cherimoya}\index{Clementine}
\index{Date}\index{Damson}\index{Dragonfruit}\index{Durian}
\index{Eggplant}\index{Elderberry}\index{Feijoa}\index{Gooseberry}
\index{Grape}\index{Grapefruit}\index{Guava}\index{Huckleberry}
\index{Jackfruit}\index{Jambul}\index{Kiwi fruit}\index{Kumquat}
\index{Legume}\index{Lemon}\index{Lime}\index{Lychee}\index{Mandarine}
\index{Mango}\index{Melon}\index{Nectarine}\index{Orange}\index{Peach}
\index{Pear}\index{Pitaya}\index{Physalis}\index{Plum}\index{Pineapple}
\index{Pomegranate}\index{Purple Mangosteen}\index{Raisin}\index{Raspberry}
\index{Rambutan}\index{Redcurrant}\index{Salal berry}\index{Satsuma}
\index{Star fruit}\index{Strawberry}\index{Tangerine}\index{Tomato}
\index{Ugli fruit}\index{Watermelon}\index{Ziziphus mauritiana}
\newpage
\cleardoublepage
\printindex
\end{document}
-s myindex.ist,and putmyindex,istin the same directory as the document and got the output you asked for, https://www.overleaf.com/read/tpjvtpcnwfwc#838713 – David Carlisle Nov 30 '23 at 21:19.logor.llglog files – David Carlisle Nov 30 '23 at 23:09.idxfile has the entries....I also get the message from the VSCodelogfile...runsystem(makeindex -s ../Packages/myindex.ist Example_Index.idx)...executed safely (allowed).Although this takes place, I do not see the.llgfile – Joe Dec 01 '23 at 17:13.ilgnot.llg– David Carlisle Dec 01 '23 at 17:41../Packagesand put the ist next to the document – David Carlisle Dec 01 '23 at 17:43pdflatex yourfile.texand check that works. – David Carlisle Dec 01 '23 at 20:56cmdprompt viapdflatex myfile.tex, I get the correct index to show up. – Joe Dec 01 '23 at 21:04