I'm using LyX portable on windows, and I get this message

the selected document class article(hebrew) requires external files that are not avialable. ... the following prerequisites are installed: article.cls theorem.sty

I can't convert lyx to pdf. i have seen an answer to this question, but not for LyX portable.

  • Welcome to TeX.sx!
    – hpesoj626
    Mar 18, 2013 at 13:42
  • I write my thesis in Hebrew using XeLaTeX and the bidi package (היי, נעים להכיר ☺), and if it is possible for you to use XeLaTeX+bidi, I recommend it wholeheartedly. Everything works so much smoother, easier and with a greater flexibility in comparison to (pdf)LaTeX. Dec 15, 2014 at 18:35

1 Answer 1


If you are using Ubuntu or any linux distro try to do these:

  1. Search for texlive-latex-extra AND tex-math-extra AND texlive-lang-hebrew in any package manager and install them
  2. In LyX press Tools>Reconfigure
  3. Restart LyX
  • If Fedora or another RPMy distribution, yum install 'tex(missing.sty)' gets the missing piece(s) and dependencies.
    – vonbrand
    Mar 18, 2013 at 19:58
  • Thanks a lot, that did the job!
    – Ben
    Nov 16, 2019 at 11:50
  • Note that it is not tex-math-extra but texlive-math-extra
    – s5s
    Jan 16, 2020 at 22:25

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .