General ⇒ Problem with package ngerman
Problem with package ngerman
Hello everone!
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?
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?
NEW: TikZ book now 40% off at Amazon.com for a short time.

Problem with package ngerman
Use
instead of the ngerman package.
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:
For your problem with the makeindex file, you need to add ".idx" behind "%bm", so that it says . And if you configured a style yourself, and you want to use it you can add it with "-g -s style-file-whatever-its-name-is.sty".
So in the end it should look like.
If I remember correctly.
Next time do an online search first, please ...
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 ...

OS: Win 7 64-bit LaTeX: MikTeX 2.9 64-bit Editor: TXC 1 RC1
- 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
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Problem with package ngerman
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. 

OS: Win 7 64-bit LaTeX: MikTeX 2.9 64-bit Editor: TXC 1 RC1
- 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. [...]
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Problem with package ngerman
Oh, damn! Right, it is ".ist", not ".sty". That I totally overlooked, sorry. 

OS: Win 7 64-bit LaTeX: MikTeX 2.9 64-bit Editor: TXC 1 RC1