LaTeX forum ⇒ GeneralPdfLatex error 'iopart.cls' not found

LaTeX specific issues not fitting into one of the other forums of this category.
davidemartini74
Posts: 3
Joined: Thu Feb 20, 2014 6:31 pm

PdfLatex error 'iopart.cls' not found

Postby davidemartini74 » Thu Feb 20, 2014 6:38 pm

Hi,
I've this problem while trying to convert a TeX file to PDF:

[sys-user@sigmaphisrv x86_64-linux]$ pdflatex /home/sys-user/Scaricati/prova.tex
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
%&-line parsing enabled.
entering extended mode
(/home/sys-user/Scaricati/prova.tex
LaTeX2e <2005/12/01>
Babel <v3.8h> and hyphenation patterns for english, usenglishmax, dumylang, nohyphenation, arabic, basque, bulgarian, coptic, welsh, czech, slovak, german, ngerman, danish, esperanto, spanish, catalan, galician, estonian, farsi, finnish, french, greek, monogreek, ancientgreek, croatian, hungarian, interlingua, ibycus, indonesian, icelandic, italian, latin, mongolian, dutch, norsk, polish, portuguese, pinyin, romanian, russian, slovenian, uppersorbian, serbian, swedish, turkish, ukenglish, ukrainian, loaded.

! LaTeX Error: File `iopart.cls' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: cls)

Please, help me!!!!
Thank you

Tags:

User avatar
Johannes_B
Site Moderator
Posts: 3583
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Thu Feb 20, 2014 6:50 pm

Download the cls file to your project folder.

If you want to use this class for multiple projects, you need to put it in a local texmf-tree and refresh the database.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

davidemartini74
Posts: 3
Joined: Thu Feb 20, 2014 6:31 pm

Postby davidemartini74 » Fri Feb 21, 2014 4:42 pm

Hi and thank you for your quick answer!
Now the problem is changed to another missing file:

! LaTeX Error: File `iopart12.clo' not found.

The original one seems to be solved but I cannot create the PDF!!
Thanks

hugovdberg
Posts: 133
Joined: Sat Feb 25, 2012 6:12 pm
Location: 's-Hertogenbosch, Netherlands

Postby hugovdberg » Fri Feb 21, 2014 5:47 pm

iopart.cls apparently calls for another file not included in your latex installation, try downloading it from http://hal.archives-ouvertes.fr/docs/00/73/73/68/TEX/iopart12.clo, if you look closely it is almost the same link as Johannes posted above, so if any more iopart files are missing please try to get that file from that server first ;)
Ubuntu 13.10 + Tex Live 2013 + Texmaker / Windows 7 Pro + MikTex 2.9 + TexnicCenter / Android 4.3 + TexPortal + DroidEdit

davidemartini74
Posts: 3
Joined: Thu Feb 20, 2014 6:31 pm

Postby davidemartini74 » Fri Feb 21, 2014 6:20 pm

FANTASTIC!!!! Now it works!!!
Solved for me! Thank you!!!!
:D

Well, is it possible to specify a path for the PDF output?
Something like:

pdflatex test.tex /usr/www/html/LaTeX/test.pdf

Many many thx!!!!

hugovdberg
Posts: 133
Joined: Sat Feb 25, 2012 6:12 pm
Location: 's-Hertogenbosch, Netherlands

Postby hugovdberg » Fri Feb 21, 2014 6:40 pm

localghost wrote:You can pass some instructions to the compiler during the compilation process in the very first line of your master file.
  1. %& -output-directory=C:/pdfout -aux-directory=C:/temp

Output and auxiliary directories are set to the given paths only for this document.


Best regards
Thorsten¹


From this topic: latex output files in a different directory to input files?
As you can see you can both specify a directory where your final document is placed as well as a temporary directory to store the auxiliary files latex creates. Make you pass these arguments to other tools as well or they will not be able to find your files ;)
Ubuntu 13.10 + Tex Live 2013 + Texmaker / Windows 7 Pro + MikTex 2.9 + TexnicCenter / Android 4.3 + TexPortal + DroidEdit


Return to “General”

Who is online

Users browsing this forum: No registered users and 11 guests