GeneralAn error message while trying to compile...

General information and discussion about TeXnicCenter
Post Reply
siljeh
Posts: 1
Joined: Mon Jul 30, 2012 11:51 am

An error message while trying to compile...

Post by siljeh »

Hi,

I have just started to use LaTeX and TeXnicCenter again after some years "away" from it, and there is a lot that I do not remember, obviously... I have installed TeXnicCenter and MiKTeX and done the configuration. I manage to write and create a very basic document with just some text in it, but when I am trying to compile a .tex-file I got from my friend, it doesn't compile... I get this error message:

I couldn't open file name `D:\LaTeX\luftpute_poster.aux'
Couldn't find input index file D:\LaTeX\luftpute_poster nor D:\LaTeX\luftpute_poster.idx
Usage: C:\Program Files (x86)\MiKTeX 2.9\miktex\bin\makeindex.exe [-ilqrcgLT] [-s sty] [-o ind] [-t log] [-p num] [idx0 idx ...]

LaTeX-Result: 0 Error(s), 0 Warning(s), 0 Bad Box(es), 0 Page(s)

Can anyone help me?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

An error message while trying to compile...

Post by cgnieder »

It is impossible to say without more information but it seems you're either missing the files luftpute_poster.aux, luftpute_poster.tex and luftpute_poster.idx or you have somehow restricted the rights for reading and writing. Another (and I guess more probable) cause might be that your programs (pdflatex, makeindex) are not searching in the right paths...

Regards
site moderator & package author
User avatar
localghost
Site Moderator
Posts: 9201
Joined: Fri Feb 02, 2007 12:06 pm

Re: An error message while trying to compile...

Post by localghost »

The messages indicate that you are using TeXnicCenter (TXC) with the default settings where it automatically invokes BibTeX and MakeIndeX. With MiKTeX 2.9 these tools have got a security mechanism which prevents them to work with absolute paths. To suppress these messages the settings in TXC have to be modified correspondingly, that is to say replace "%bm" by "%tm" (see attachment). Note that if you don't have neither a bibliography nor an index, these messages will stay unless you check the corresponding boxes in the profile (see attachment). But since they don't affect the actual compiling process, they can be neglected.


Best regards and welcome to the board
Thorsten
Attachments
The settings in TXC on the (La)TeX tab.
The settings in TXC on the (La)TeX tab.
TXC2a4-Profiles-LaTeX-PDF-(La)TeX.png (48.08 KiB) Viewed 3463 times
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
Post Reply