General ⇒ Output profile error: LaTeX Error: File `.cls' not found
Output profile error: LaTeX Error: File `.cls' not found
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.
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Output profile error: LaTeX Error: File `.cls' not found
Best regards and welcome aboard
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Output profile error: LaTeX Error: File `.cls' not found
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 <v3.8h> and hyphenation patterns for english, dumylang, nohyphenation, ge
rman, ngerman, french, loaded.
! LaTeX Error: File `.cls' not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: cls)
Enter File name:
! Emergency stop.
<read *>
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
Output profile error: LaTeX Error: File `.cls' not found
Code: Select all
\documentclass{}[12pt]{article}
Code: Select all
\documentclass[12pt]{article}
Re: Output profile error
Re: Output profile error
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!!

-
- Posts: 2
- Joined: Fri Aug 10, 2012 3:24 pm
Output profile error: LaTeX Error: File `.cls' not found
Code: Select all
! LaTeX Error: File `ws-ijmpd.cls' not found.
you have request document class 'ws-ijmpd'
but the document class provides 'epsfig'
Code: Select all
\documentclass{ws-ijmpd}
\begin{document}
I've tried
\usepackage{epsfig}
, but nothing happened.Thanks.
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
Output profile error: LaTeX Error: File `.cls' not found
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
-
- Posts: 2
- Joined: Fri Aug 10, 2012 3:24 pm
Re: Output profile error: LaTeX Error: File `.cls' not found
The site is http://www.worldscientific.com/page/ijm ... guidelines.
Even the template show this message.
Thanks.
-
- Posts: 1
- Joined: Fri Nov 08, 2013 8:00 pm
Re: Output profile error: LaTeX Error: File `.cls' not found
Best,