I'm trying to get Hebrew to work for my LaTeX/LyX on Ubuntu 12.04. I have TeX Live 2012 installed and the Hebrew works for that. Then I followed the instructions for installing LyX + Hebrew support, this requires installing the culmus
LaTeX package. I've gotten this to install as well, however for some reason LaTeX doesn't recognize the file culmus.sty
.
The path for the file is
/usr/share/texmf-texlive/tex/latex/culmus/culmus.sty
I've also copied the file to my ~/texmf
directory.
I've run both mktexlsr
and texhash
, but when I try to compile a LaTeX file with \usepackage{culmus}
, I get
ERROR: LaTeX Error: File
culmus.sty
not found.
In addition, when I save the file in the ~/texmf
directory and compile, I no longer get that error, instead I get:
ERROR: I can't find file `jerus10'.
--- TeX said ---
<*> ...=ljfour; mag:=1; nonstopmode; input jerus10
Please type another input file name
! Emergency stop.
<*> ...=ljfour; mag:=1; nonstopmode; input jerus10
Transcript written on mfput.log.
grep: jerus10.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input jerus10' failed to make jerus10.tfm.
kpathsea: Appending font creation commands to missfont.log.
! Font LHE/cmr/m/n/10=jerus10 at 10.0pt not loadable: Metric (TFM) file not found.
<to be read again>
relax
l.2 \select@language{hebrew}
The file I'm using as a test goes as follows:
\documentclass[english,hebrew]{article}
\usepackage[utf8x]{inputenc}
\usepackage{babel}
%\usepackage{culmus}
\begin{document}
\selectlanguage{hebrew}
שלום לכל העולם!
\end{document}
Any help would be very appreciated!
Best Answer
There is a bug in Ubuntu's (and Debian's) version of
updmap
, a workaround is available in http://www.guyrutenberg.com/2012/04/20/installing-culmus-latex-on-ubuntu-11-10/(Discalimer: I maintain the culmus-latex package)