GeneralProblem with package ngerman

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Juggl3r
Posts: 1
Joined: Thu Apr 08, 2010 4:36 pm

Problem with package ngerman

Post by Juggl3r »

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?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Montag
Posts: 340
Joined: Wed Jul 15, 2009 9:25 am

Problem with package ngerman

Post by Montag »

Use

Code: Select all

\usepackage[ngerman]{babel}
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:

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")]
For your problem with the makeindex file, you need to add ".idx" behind "%bm", so that it says

Code: Select all

"&bm".idx
. 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

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
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Problem with package ngerman

Post by localghost »

enrico wrote:[…] So in the end it should look like

Code: Select all

-g -s style-file.sty" "&bm".idx
.
If I remember correctly. […]
The correct command line parameters for MakeIndex look slightly different.

Code: Select all

-s <style-file>.ist -g "%bm"

Best regards
Thorsten
Montag
Posts: 340
Joined: Wed Jul 15, 2009 9:25 am

Re: Problem with package ngerman

Post by Montag »

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
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Problem with package ngerman

Post by localghost »

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. [...]
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.
Montag
Posts: 340
Joined: Wed Jul 15, 2009 9:25 am

Re: Problem with package ngerman

Post by Montag »

Oh, damn! Right, it is ".ist", not ".sty". That I totally overlooked, sorry. :oops:
OS: Win 7 64-bit LaTeX: MikTeX 2.9 64-bit Editor: TXC 1 RC1
Post Reply