General ⇒ Texniccenter can't find my index style file
-
- Posts: 3
- Joined: Tue Jun 10, 2008 7:35 pm
Texniccenter can't find my index style file
"-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.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Texniccenter can't find my index style file
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.acoustician wrote:[...]
I put a copy of HBstyle1.ist in different places, e.g.
miktex/makeindex/HBstyle1.ist,
miktex/makeindex/german/HBstyle1.ist.
[...]
Best regards
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Posts: 3
- Joined: Tue Jun 10, 2008 7:35 pm
Re: Texniccenter can't find my index style file
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?
- Stefan Kottwitz
- Site Admin
- Posts: 10350
- Joined: Mon Mar 10, 2008 9:44 pm
Texniccenter can't find my index style file
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: FNDB refreshed. Still doesn't work. File not found.
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.acoustician wrote: Where or what is the texmf tree?
Stefan
-
- Posts: 3
- Joined: Tue Jun 10, 2008 7:35 pm
Re: Texniccenter can't find my index style file
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?