GeneralTexniccenter can't find my index style file

General information and discussion about TeXnicCenter
Post Reply
acoustician
Posts: 3
Joined: Tue Jun 10, 2008 7:35 pm

Texniccenter can't find my index style file

Post by acoustician »

I have MikTeX 2.7 and TexnicCenter Beta 7.01 installed. I would like to use my own index style file "HBstyle1". I have changed the last entry in the profiles dialog to

"-g -s HBstyle1.ist "%bm".idx".

I put a copy of HBstyle1.ist in different places, e.g.

miktex/makeindex/HBstyle1.ist,
miktex/makeindex/german/HBstyle1.ist.

I refreshed FNDB several times. The compiler invariably claims: "Index style file HBstyle1.ist not found".

Where do I have to put it?

I'd be grateful for a hint.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
localghost
Site Moderator
Posts: 9201
Joined: Fri Feb 02, 2007 12:06 pm

Texniccenter can't find my index style file

Post by localghost »

acoustician wrote:[...]
I put a copy of HBstyle1.ist in different places, e.g.

miktex/makeindex/HBstyle1.ist,
miktex/makeindex/german/HBstyle1.ist.
[...]
And that exactly could be the wrong step. You only have to put one single copy of the file into the texmf tree. So, delete one of them. Perhaps the compiler doesn't really know which version to take.


Best regards
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
acoustician
Posts: 3
Joined: Tue Jun 10, 2008 7:35 pm

Re: Texniccenter can't find my index style file

Post by acoustician »

Thanks for your reply.

Now I've got one copy left: miktex/makeindex/german/HBstyle1.ist.

FNDB refreshed. Still doesn't work. File not found.

Where or what is the texmf tree?
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

Texniccenter can't find my index style file

Post by Stefan Kottwitz »

Hi,
acoustician wrote: FNDB refreshed. Still doesn't work. File not found.
At the moment I cannot tell you the reason, I have no Windows installed, I would have expected refreshing the FNDB should solve that. You still could try two ways, at least for testing: put the style file (.ist) into the same directory like your latex document and try it, or write the full path name of the style file into the profile dialog.
acoustician wrote: Where or what is the texmf tree?
It's the directory where the tex files are located. texmf stands for TeX and Metafont. See TeX Directory Structure or the explanation on tug.org if you are interested in details.

Stefan
LaTeX.org admin
acoustician
Posts: 3
Joined: Tue Jun 10, 2008 7:35 pm

Re: Texniccenter can't find my index style file

Post by acoustician »

I appreciate the comments.

In the meantime, the style file has been read. I had written one extension too many in the file name. It was a spelling error.

For the record: Several identical style files in different places do not affect the compilers behavior. They seem permissible.

I experimented much with my style file. The version that works without error messages (and does whatever little it is supposed to do right now) looks like this:

preamble "\begin{theindex} \noindent"
postamble "\end{theindex}"
headings_flag 1
heading_prefix ""
heading_suffix " \nopagebreak \indexspace \nopagebreak" 1

A command like "indent_length 8" is ignored. Why is that?
Post Reply