General ⇒ PdfLatex error 'iopart.cls' not found
-
- Posts: 3
- Joined: Thu Feb 20, 2014 6:31 pm
PdfLatex error 'iopart.cls' not found
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
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
PdfLatex error 'iopart.cls' not found
If you want to use this class for multiple projects, you need to put it in a local texmf-tree and refresh the database.
-
- Posts: 3
- Joined: Thu Feb 20, 2014 6:31 pm
Re: PdfLatex error 'iopart.cls' not found
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
-
- Posts: 133
- Joined: Sat Feb 25, 2012 6:12 pm
PdfLatex error 'iopart.cls' not found
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 
-
- Posts: 3
- Joined: Thu Feb 20, 2014 6:31 pm
Re: PdfLatex error 'iopart.cls' not found
Solved for me! Thank you!!!!

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!!!!
-
- Posts: 133
- Joined: Sat Feb 25, 2012 6:12 pm
PdfLatex error 'iopart.cls' not found
From this topic: latex output files in a different directory to input files?localghost wrote:You can pass some instructions to the compiler during the compilation process in the very first line of your master file.Output and auxiliary directories are set to the given paths only for this document.Code: Select all
%& -output-directory=C:/pdfout -aux-directory=C:/temp
Best regards
Thorsten¹
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
