KileKile can't find "master file"

Information and discussion about Kile, an integrated LaTeX environment for Linux KDE
Post Reply
colmatrix
Posts: 6
Joined: Tue Oct 27, 2009 11:57 pm

Kile can't find "master file"

Post by colmatrix »

Hi there,

I'm a total newbie to Kile and LaTeX, so go easy on me ;)

I have installed Kile (and Lyx) in Kubuntu 9.10. Lyx works fine, but I've been trying to mess around with Kile but I get the same error message no matter what I do -

"Could not determine the master file for this document"

This seems to happen no matter what template I follow, whether the document class is book, article etc.

What does this error message even mean? :cry:

I've tried googling for an answer, but got nothing helpful. Any ideas?

Thanks in advance!

Recommended reading 2024:

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

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

User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: Kile can't find "master file"

Post by frabjous »

Usually you get this error if either (1) the file you you are trying to compile does not begin with a \documentclass command (so Kile assumes it is something to be inserted into another via \input or \include, etc.) or (2) you have not saved the file at all yet with a recognizable name.

I suspect your problem is probably (2). Save the file at least once (so it has a file name to use), and then try to build/compile it.
colmatrix
Posts: 6
Joined: Tue Oct 27, 2009 11:57 pm

Re: Kile can't find "master file"

Post by colmatrix »

I just saved the file, and it worked. Simple as that! Cheers! :D
Post Reply