Document Classeselsarticle | No Files created

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
argan
Posts: 18
Joined: Thu May 05, 2011 10:46 am

elsarticle | No Files created

Post by argan »

Hi, everyone.

I'm still a bit new to LaTex and a bit unsure of how it works. I've tried to google for solutions, but haven't really come up with anything worthwhile. My problem is that I wish to use the document class elsarticle, found at http://www.elsevier.com/wps/find/author ... elsarticle. The only installation instructions they give is to unzip it to the local tree of the Tex distribution. What does this mean?

I have MikTex 2.9 and TeXnic Center 1.0 installed. I downloaded the above .zip-file, but decided to see if there was any mention of elsarticle in the MikTex Package Manager instead, and there was so I installed it from there.

However, when I use TexNic-center to try to compile code (using just the templates provided with elsarticle) and view it as a DVI (with Yap), it just says that "Windows API error 2. The system cannot find the file specified."

Do you think there is something missing?

Thanks for any input.

/Björn

Recommended reading 2024:

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

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

elsarticle | No Files created

Post by localghost »

argan wrote:[…] "Windows API error 2. The system cannot find the file specified." […]
This error message indicates that there is a more systematical problem that is not really related to LaTeX itself. I suggest to open a command line a try a compilation from there.


Thorsten
argan
Posts: 18
Joined: Thu May 05, 2011 10:46 am

Re: elsarticle | No Files created

Post by argan »

Thanks.

Doing it with the windows command-line seemed to help. It seemed like there were some packages missing. Strange that I've never had that problem before.

Oh well, thanks for the tip. :)

/Björn
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

elsarticle | No Files created

Post by localghost »

In the end it could have been the well known issue of TeXnicCenter with MiKTeX [1]. So it will always occur in case that packages have to be installed subsequently. Try the suggested remedy or think about using another editor.

[1] MiKTeX 2.9 Issues
Post Reply