Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I am totally new to latex. I have downloaded Miktex (for Windows) and installed it to the root directory of my local hard drive.

I have a predefined latex template. When I try to compile this template (no matter using the command line or TexStudio, I get the following error:

Line 8: File 'default.sty' not found. \usepackage

The content of this line in the .tex file is \usepackage[english]{babel}

Asking Google for answers was not helpful. Any suggestions how to solve this problem?

share|improve this question
    
You probably have a \usepackage{default} that points to a non existent package. –  egreg Dec 1 '13 at 0:10
    
Thank you I had never thought that the solution was that easy. Sometimes we are just blind for the simple things. You can make an answer from this. –  Blackbam Dec 1 '13 at 0:26
add comment

1 Answer 1

up vote 1 down vote accepted

I've never heard about a default.sty file. It's a risk one incurs in when using templates found somewhere, which are customized in various ways and maybe refer to personal style files that are not available to the general public.

Judging from the error message, you have a line

\usepackage{default}

that you should remove.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.