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.
General ⇒ Texniccenter can't find my index style file
-
- Posts: 3
- Joined: Tue Jun 10, 2008 7:35 pm
- localghost
- Site Moderator
- Posts: 9201
- 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
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
Board Rules
Avoidable Mistakes[/size]
¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
-
- Posts: 3
- Joined: Tue Jun 10, 2008 7:35 pm
Re: Texniccenter can't find my index style file
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?
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: 10290
- Joined: Mon Mar 10, 2008 9:44 pm
Texniccenter can't find my index style file
Hi,
Stefan
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
LaTeX.org admin
-
- Posts: 3
- Joined: Tue Jun 10, 2008 7:35 pm
Re: Texniccenter can't find my index style file
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?
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?