adding index using texnic

Venom20

Senior member
Apr 12, 2011
259
0
0
Hello all, I can't seem to get my index to show and I'm hoping someone can assist me.

I have placed
Code:
\makeindex
in the preamble. In the project folder I can see the correct .idx file and when opened in notepad, the entries are correctly generated.

I have also temporarily used the package
Code:
showidx
so that I can confirm that the entries are there.

I generate the output then generate the output again because I was told that the first time creates the list and the second time displays it where I have chosen to display it.

I have chosen to display it at the end of the book and added the like
Code:
\printindex
More specifically I added:

Code:
\cleardoublepage
\addcontentsline{toc}{chapter}{Index}
\printindex
so that the index will show up in the table of contents. Sadly, I cannot get it to display. I am wondering if it is because I am outputting to a .pdf. Does it only work for .ps or .dvi?
 

uclabachelor

Senior member
Nov 9, 2009
448
0
71
Hello all, I can't seem to get my index to show and I'm hoping someone can assist me.

I have placed
Code:
\makeindex
in the preamble. In the project folder I can see the correct .idx file and when opened in notepad, the entries are correctly generated.

I have also temporarily used the package
Code:
showidx
so that I can confirm that the entries are there.

I generate the output then generate the output again because I was told that the first time creates the list and the second time displays it where I have chosen to display it.

I have chosen to display it at the end of the book and added the like
Code:
\printindex
More specifically I added:

Code:
\cleardoublepage
\addcontentsline{toc}{chapter}{Index}
\printindex
so that the index will show up in the table of contents. Sadly, I cannot get it to display. I am wondering if it is because I am outputting to a .pdf. Does it only work for .ps or .dvi?

If you're wondering why there hasn't been a response to your question, it's probably because no one understands what you are talking about.

What's texinc? What are the snippets of code suppose to do? Are {toc}{chapter}{index} template tags?
 

Crusty

Lifer
Sep 30, 2001
12,684
2
81
If you're wondering why there hasn't been a response to your question, it's probably because no one understands what you are talking about.

What's texinc? What are the snippets of code suppose to do? Are {toc}{chapter}{index} template tags?

He's using LaTeX. texnic is an editor.
 

Venom20

Senior member
Apr 12, 2011
259
0
0
If you're wondering why there hasn't been a response to your question, it's probably because no one understands what you are talking about.

Several people use Texnic on this forum. I was assuming that no one answered because either they are unsure or cannot be bothered. People who are familiar with Latex or the editor Texnic should be familiar with the "snippets".

Unfortunately this still stumps me, if/when I find a solution I shall report back. Might take a while though, I have now placed the index on the backburner.