General ⇒ Problem with package ngerman
Problem with package ngerman
I have to write a text for university with Latex, but i don't get it work.
I use Miktex + Texniccenter and we got a example .tex file, but I'm not able to convert the .tex file to a .pdf file:
If I onley try to build there occures this error message:
My Pdf-vieber appears and says that there was a error by opening.
Next Texniccenter give me this error:
[DocOpen("%bm.pdf")][FileOpen("%bm.pdf")]
The command cannot be executed
And in the error-log file there stands:
Couldn't find input index file ....name.idx
where name is the name of my .tex file.
When I delete the line:
\usepackage{ngerman}
and build again...
it is all working, but the error with .idx file is still there.
So what do I wrong? How can I use the ngerman package and how to solve the .idx Problem?
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
Problem with package ngerman
Code: Select all
\usepackage[ngerman]{babel}
The other problem with the AR should not have anything to do with the package ngerman.
Here are the things you have to insert for your DDE commands from top to bottom:
Code: Select all
[DocOpen("%bm.pdf")][DocOpen("%bm.pdf")][FileOpen("%bm.pdf")]
Code: Select all
[DocOpen("%bm.pdf")][DocOpen("%bm.pdf")][DocOpen("%bm.pdf")]
Code: Select all
[DocOpen("%bm.pdf")][DocClose("%bm.pdf")]
Code: Select all
"&bm".idx
So in the end it should look like
Code: Select all
-g -s style-file.sty" "&bm".idx
If I remember correctly.
Next time do an online search first, please ...

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Problem with package ngerman
The correct command line parameters for MakeIndex look slightly different.enrico wrote:[…] So in the end it should look like.Code: Select all
-g -s style-file.sty" "&bm".idx
If I remember correctly. […]
Code: Select all
-s <style-file>.ist -g "%bm"
Best regards
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Problem with package ngerman

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Problem with package ngerman
Works smoothly with TXC1 RC1 and TXC2 alpha 2 (Build 1071). The correct sequence of the command line arguments is determining, especially when using -g for German sorting. And the suffix *.ist is mandatory for index style files. With Xindy there is a much better tool for generating an index. Somewhere there also exist executables for MiKTeX.enrico wrote:Hm, last time (1 year ago) I used MakeIndex, TXC didn't want to use like the way you wrote it. Had a weird problem. [...]
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Problem with package ngerman
