Latex File Not Found
![](/file/13a3b9e931c19ca98e655.gif)
โก ALL INFORMATION CLICK HERE ๐๐ป๐๐ป๐๐ป
Latex File Not Found
LaTeX specific issues not fitting into one of the other forums of this category.
I've just started using LaTex and I installed the proText system on my Windows machine. I've got MikTeX 2.7 and TeXnicCenter (Greengrass) as my editor. For the first week of use, things were working fine and I was able to use the LaTeX to PDF output profile fine to create and modify two problem sets of mine. Then, when I tried it a few days ago, with my current file and those two past files, it stopped working. I got the following error message whenever I tried to build any of them: ! LaTeX Error: File `.cls' not found I first uninstalled and reinstalled everything to see if that would help and it did not. Then I started reading up on output profiles and fiddled with a few things there (with the command line arguments to pass to BibTeX and MakeIndex), hoping that I could find some way for pdfTeX to find my files (or whatever it is that's supposed to find the files). I'm stumped now though. In between the period when it was working correctly and when it wasn't working correctly (it was only a week), I did not make any significant changes to my filesystem that I know of... Anyways, help would be appreciated. Thanks.
Seems to me like your using plain TeX instead of LaTeX. You have to compile your document with latex or (as in your case) pdflatex . Another source of error could be the wrong introduction of the document class. Do not use \documentstyle[...]{article} , but use \documentclass[...]{article} . The first one is LateX2.09 style. If all that doesn't help, provide a minimal working example (MWE). Best regards and welcome aboard Thorsten
LaTeX Community Moderator How to make a "Minimal Example" Board Rules Avoidable Mistakes ยน System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
Thanks for the welcome, Thorsten. I think I'm using LaTeX and pdfLaTeX to compile my document. Here is what my tex file looks like: \documentclass{}[12pt]{article} \author{Edward Chien} \title{Homework 7} \begin{document} \end{document} And when I ask to build (and view) the current file in TeXnicCenter, this is what I get: --------------------Output Profile: LaTeX => PDF-------------------- This is pdfTeX, Version 3.141592-1.40.4 (MiKTeX 2.7) entering extended mode ("C:/Documents and Settings/Ed/My Documents/CS 25/HW7.tex" LaTeX2e <2005/12/01> Babel and hyphenation patterns for english, dumylang, nohyphenation, ge rman, ngerman, french, loaded. ! LaTeX Error: File `.cls' not found. Type X to quit or to proceed, or enter new name. (Default extension: cls) Enter File name: ! Emergency stop. 1.1 \documentclass{}[12pt] {article} ! ==> Fatal error occurred, no output PDF file produced! Transcript written on HW7.log. LaTeX-Result: 3 Error(s), 0 Warning(s), 0 Bad Box(es), 0 Page(s) As you can see, it seems to state that it's using LaTeX2e and pdfTeX. Also, I've been using the documentclass command from the beginning, so I don't think it's that. Any other ideas? Thank you, Ed
\documentclass { } [ 12pt ] { article }
ืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืื
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
\documentclass [ 12pt ] { article }
ืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืื
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Oh, whoops...I feel pretty foolish now...thanks for the help though, everybody.
hi guys.I've got the same problem. after 3 weeks which my texmaker was working well, suddenly i faced this problem. i didn't do any thing wrong. also i checked your solutions but it didn't work. any helpful idea would be welcome. i don't know what should i do!!
! LaTeX Error: File `ws-ijmpd.cls' not found.
you have request document class 'ws-ijmpd'
but the document class provides 'epsfig'
ืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืื
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืืื
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Last edited by Stefan Kottwitz on Fri Aug 10, 2012 4:48 pm, edited 1 time in total.
Hi, welcome to the board! Is it the class from here: World Scientific LaTeX2e template ? Did you download it? How did you install it? Can you post your file ws-ijmpd.cls as attachment here to a post? Stefan
No, it is a document class for Latex2e, for submiting paper in a journal. The site is http://www.worldscientific.com/page/ijm ... guidelines . Even the template show this message. Thanks.
Go to the MiKTeX package manager and install each individually. That works. I had the same problem after intalling Lyx. Best,
Topics
Active topics
Unanswered topics
News and Articles
Posts
Unread posts
New posts
Your posts
Other LaTeX forums
TeXwelt (deutsch)
goLaTeX (deutsch)
TeXnique (franรงais)
Topics
Active topics
Unanswered topics
News and Articles
Posts
Unread posts
New posts
Your posts
Other LaTeX forums
TeXwelt (deutsch)
goLaTeX (deutsch)
TeXnique (franรงais)
Advertisements by Advertisement Management
Powered by phpBB ยฎ Forum Software ยฉ phpBB Limited
Post by edc ยป Sat May 24, 2008 2:06 pm
Post by localghost ยป Sat May 24, 2008 2:42 pm
Post by edc ยป Sat May 24, 2008 3:05 pm
Post by gmedina ยป Sat May 24, 2008 3:12 pm
Post by edc ยป Sat May 24, 2008 3:23 pm
Post by abd ยป Sat Sep 03, 2011 10:11 am
Post by cosmology1905 ยป Fri Aug 10, 2012 3:47 pm
Post by Stefan Kottwitz ยป Fri Aug 10, 2012 4:51 pm
Post by cosmology1905 ยป Fri Aug 10, 2012 5:11 pm
Post by killpueino ยป Fri Nov 08, 2013 8:02 pm
Users browsing this forum: Google [Bot] and 7 guests
Sign up or log in to customize your list.
more stack exchange communities
company blog
Stack Overflow for Teams
โ Start collaborating and sharing organizational knowledge.
Create a free Team
Why Teams?
Asked
2 years, 11 months ago
25.8k 4 4 gold badges 37 37 silver badges 56 56 bronze badges
29 1 1 silver badge 3 3 bronze badges
Sorted by:
Reset to default
Highest score (default)
Trending (recent votes count more)
Date modified (newest first)
Date created (oldest first)
329 5 5 silver badges 19 19 bronze badges
Stack Overflow
Questions
Help
Products
Teams
Advertising
Collectives
Talent
Company
About
Press
Work Here
Legal
Privacy Policy
Terms of Service
Contact Us
Cookie Settings
Cookie Policy
Stack Exchange Network
Technology
Culture & recreation
Life & arts
Science
Professional
Business
API
Data
Accept all cookies
Customize settings
Find centralized, trusted content and collaborate around the technologies you use most.
Connect and share knowledge within a single location that is structured and easy to search.
first of all: I know this question is out there hundreds and thousands of times. But none of the given answers I found during the last four hours solved my specific problem and I am getting crazy here. I would be extremely grateful for any help and advice!
Trying to compile a very simple .tex file including an \includegraphics command, I end up getting a "file not found" error. Take the following as a very minimalistic example:
The image file is actually just called "b.jpg" (meanwhile), and it's definitely sitting in the same path as the tex-file. Adding ".jpg" to the command does not change a thing. Neither does calling graphics instead of graphicx .
The output file created contains the following:
Why does it begin with "This is pdfTeX", even though I explicitly chose pdflatex ? Might this be the key here?
I am using pdflatex in TeXnicCenter 2.02 with MikTex 2.9 in Win10 64bit. Already tried reinstalling MikTex.
Thanks in advance for any help, it's highly appreciated!
Have you tried adding \graphicspath{{./}} to your preamble after you import graphicx ? What this does is it makes the images in the same directory of the .tex file to your document to use. Afterwards, you can call \includegraphics{b.jpg} where you want to add your image.
Thanks for contributing an answer to Stack Overflow!
By clicking โPost Your Answerโ, you agree to our terms of service , privacy policy and cookie policy
To subscribe to this RSS feed, copy and paste this URL into your RSS reader.
Site design / logo ยฉ 2022 Stack Exchange Inc; user contributions licensed under CC BY-SA . revย 2022.9.9.42970
By clicking โAccept all cookiesโ, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy .
LaTeX specific issues not fitting into one of the other forums of this category.
! LaTeX Error: File `../projekt/preamble.tex' not found.
Type X to quit or to proceed,
or enter new name. (Default extension: tex)
Enter file name:
! Emergency stop.
l.1 \input{../projekt/preamble.tex}
*** (cannot \read from terminal in nonstop modes)
Here is how much of TeX's memory you used:
41620 strings out of 493921
908919 string characters out of 3144876
1096135 words of memory out of 3000000
44186 multiletter control sequences out of 15000+200000
31689 words of font info for 88 fonts, out of 3000000 for 9000
841 hyphenation exceptions out of 8191
70i,20n,78p,10488b,869s stack positions out of 5000i,500n,10000p,200000b,50000s
! ==> Fatal error occurred, no output PDF file produced!
\input{preamble.tex} % This seem to generate the error but I dont know why?
\input{macros.tex}
\begin{document}
\include{frontpage}
\include{titlepages}
\include{preface}
%\include{Forord}
\tableofcontents
Hi and welcome, you shouldn't externalise the whole preamble, this leads to confusion. For example, your macros are also defined in the preamble. There are may ways to externalize some parts of the code that will stay the same. you can also biuld your own format to speed up the compilation. LaTeX goes one folder up, into directory projekt and looks for file preamble.tex, but from the code i cannot see why. Please try to run your example from the command line, so we can rule the editor out. Btw: If you are not sure, you should omit file endings. LaTeX usually does a pretty good job in deciding what to input
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
\usepackage{}
\begin{document}
\end{documents}
Topics
Active topics
Unanswered topics
News and Articles
Posts
Unread posts
New posts
Your posts
Other LaTeX forums
TeXwelt (deutsch)
goLaTeX (deutsch)
TeXnique (franรงais)
Topics
Active topics
Unanswered topics
News and Articles
Posts
Unread posts
New posts
Your posts
Other LaTeX forums
TeXwelt (deutsch)
goLaTeX (deutsch)
TeXnique (franรงais)
Advertisements by Advertisement Management
Powered by phpBB ยฎ Forum Software ยฉ phpBB Limited
Post by Dyexz ยป Mon Nov 24, 2014 12:46 pm
Post by Johannes_B ยป Mon Nov 24, 2014 4:12 pm
Post by Dyexz ยป Mon Nov 24, 2014 7:02 pm
Users browsing this forum: Google [Bot] and 7 guests
Information and discussion about graphics, figures & tables in LaTeX documents.
! LaTeX Error: File 'catalog' not found. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... 1.213 \includegraphics[width=10cm]{catalog}
\documentclass[english, 12pt, a4paper]{article}
\usepackage{amsmath, amsfonts, amsthm}
\usepackage{babel}
\usepackage{graphicx}
\usepackage{booktabs}
\usepackage[T1]{fontenc}
\usepackage[cp1250]{inputenc}
\usepackage{alltt}
\usepackage{color}
\begin{figure}[h]
\includegraphics[width=10cm]{catalog}
\centering
\caption{Systematic errors of common astrometric catalogs in comparison to 2MASS catalog. Horizontal axis shows the difference in arcsecs and vertical axis shows the probability density in arcsec$^{-1}$ \cite{catalogs07}.
}
\end{figure}
Hi Shavril, welcome to the forum! Could you please post your .log file here, as attachment? The information in that file could help. Stefan
This is pdfTeX, Version 3.14159265-2.6-1.40.17 (MiKTeX 2.9) (preloaded format=pdflatex 2016.7.24) 30 JUL 2016 17:38
entering extended mode
**./Teze.tex
(Teze.tex
LaTeX2e <2016/03/31> patch level 1
Babel <3.9r> and hyphenation patterns for 75 language(s) loaded.
(D:\\texmf\tex\latex\base\article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(D:\\texmf\tex\latex\base\size12.clo
File: size12.clo 2014/09/29 v1.4h Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
) (D:\\texmf\tex\latex\amsmath\amsmath.sty
Package: amsmath 2016/03/10 v2.15b AMS math features
\@mathmargin=\skip43
For additional information on amsmath, use the
Top Cosplay
Drunk Wife Porno
Sex Video Massage Mama Sin