0

I started using latex in Ubuntu 14.4 with Texstudio editor. In windows i didn't get any error for the same document, but in Ubuntu i get many errors.

\documentclass[conference]{IEEEtran}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{afterpage}

\ifCLASSINFOpdf
  \usepackage[nocompress]{cite}
\else
  \usepackage{cite}
\fi

\begin{document}

hello testing


% make the title area
\maketitle

% As a general rule, do not put math, special symbols or citations
% in the abstract

\end{document}

File `IEEEtran.cls' not found. \usepackage

Agaz Wani
  • 215
  • 2
    TeXLive in Ubuntu is a complicated matter, it is spread out into many many Ubuntu packages, and it is har to know which Ubuntu package provides which LaTeX file. Either install all Ubuntu TeXLive (texlive-full), or install apt-file and use it to search for which Ubuntu package provides IEEEtran.cls or install upstream TeXLive (tug.org/texlive) manually. – daleif Sep 29 '16 at 12:12
  • At least on my Ubuntu (old one) apt-file search IEEEtran.cls returns texlive-publishers – daleif Sep 29 '16 at 12:13
  • 1
    see http://tex.stackexchange.com/questions/73016/how-do-i-install-an-individual-package-on-a-linux-system or http://tex.stackexchange.com/questions/1092/how-to-install-vanilla-texlive-on-debian-or-ubuntu – samcarter_is_at_topanswers.xyz Sep 29 '16 at 12:16
  • If you have the possibilities, I would not use the build in ubuntu linux but install a complete up-to-date texlive. – samcarter_is_at_topanswers.xyz Sep 29 '16 at 12:17
  • @samcarter aren't you refering til the build in ubuntu texlive, bit hard to ewmove the build in Linux from Ubuntu ;-) – daleif Sep 29 '16 at 12:21
  • 1
    @daleif yeah, of course you are right. Ubuntu without linux would be ... interesting :) – samcarter_is_at_topanswers.xyz Sep 29 '16 at 12:25
  • Is there any news here? – Johannes_B Apr 16 '17 at 06:31

0 Answers0