GeneralPdfLatex error 'iopart.cls' not found

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

PdfLatex error 'iopart.cls' not found

Post by davidemartini74 »

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

Recommended reading 2024:

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

NEW: TikZ book now 40% off at Amazon.com for a short time.

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

PdfLatex error 'iopart.cls' not found

Post by Johannes_B »

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

Re: PdfLatex error 'iopart.cls' not found

Post by davidemartini74 »

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

PdfLatex error 'iopart.cls' not found

Post by hugovdberg »

iopart.cls apparently calls for another file not included in your latex installation, try downloading it from http://hal.archives-ouvertes.fr/docs/00 ... part12.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

Re: PdfLatex error 'iopart.cls' not found

Post by davidemartini74 »

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

PdfLatex error 'iopart.cls' not found

Post by hugovdberg »

localghost wrote:You can pass some instructions to the compiler during the compilation process in the very first line of your master file.

Code: Select all

%& -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
Post Reply