As noted in Best practice for index construction -- recommendations and references, constructing an index requires time, dedication, and skill, and should almost certainly not be automated- the results could lead to a useless index.
However, the following code does what you requested: it makes an index entry for every entry that is contained in the textbf command.
Note, in particular, the arara directives at the top of the document; to compile the document (say, myfile.tex), simply run
arara myfile
Here's the complete code:
% arara: pdflatex
% arara: makeindex
% arara: pdflatex
\documentclass{article}
\usepackage{makeidx}
\let\oldtextbf\textbf
\renewcommand{\textbf}[1]{%
\oldtextbf{#1}%
\index{#1}
}
\makeindex
\begin{document}
\textbf{my text}
\clearpage
\textbf{another}
\printindex
\end{document}
\bfcommand, and you want to create an index of all occurrences of those words? – Jake Feb 05 '14 at 15:23\textbf{nilpotent},
then continuing on. I just want one page at the end of the document that lists all words that have been made bold, and references the page.
I haven't tried anything yet.
– Calculus08 Feb 05 '14 at 15:37