Theresa Arzadon-Labajo

Hebrew TeX fonts on RHEL/Fedora

Posted by Theresa Arzadon-Labajo (tarzadon) on Oct 06 2014
Tech Stuff >> Unix-Linux


Part 1. Install Hebrew fonts



If you don't already have a TeX implementation installed, run:
$ sudo yum install texlive
$ sudo yum install texlive-babel-hebrew
Install the culmus fonts:
$ sudo yum install culmus*
$ wget http://sourceforge.net/projects/ivritex/files/latest/download?source=files
$ tar xzvf culmus-latex-0.7-r1.tar.gz
$ make
     - if CULMUSDIR is not in /usr/share/fonts or TEXMFDIR is not in /usr/share/texmf, then pass these arguments along
# make install (Do this as root)
Verify culmus.map is enabled:
$ updmap --listmaps | grep culmus
Map culmus.map enabled in /usr/share/texlive/texmf-config/web2c/updmap.cfg

Part 2. Configure LyX


$ sudo yum install lyx
Run lyx
Go to Tools -> Preferences->Editing->Shortcuts.  Next to Bind file, it should say cua.  If not, download the file cua_he.bind and save it to ~/.lyx/bind. Then, choose this file in "Browse..."
Go to Language Settings and make sure "Enable RTL support" is checked off.
To switch to the Hebrew layout, use F12. For English, press F11.
Restart Lyx for the changes to take effect.

Part 3. Using culmus-latex


To use culmus-latex, add it to the preamble of the document:
\usepackage{culmus}

This uses Frank Ruehl as the default font.  To use David, use:
\usepackage[use-david]{culmus}

Troubleshooting



  1. If you get any errors about morisawa.map or otf-cktx.map, run
    $ udpmap --disable morisawa.map
    $ udpmap --disable otf-cktx.map
    These deal with Japanese fonts that are enabled, but missing.

  2. David Bold Italic font errors:
    Font HE8/cmr/bx/it/10=davidbi at 10.0pt not loadable: Metric (TFM) file not found


    This error is because there is a bug in the culmus-latex package. culmus.sty references davidbi but is not in culmus.map, nor is there a davidbi.tfm file. DavidCLM-BoldItalic.afm and DavidCLM-BoldItalic.pfa do exist though.

  3. Error 84 returned from iconv when converting from UCS-4LE to ISO-8859-15: Invalid or incomplete multibyte or wide character

    Change the encoding to:
    Document->Settings->Language->Encoding->Hebrew cp1255


References:



http://wiki.lyx.org/LyX/HebrewOnLinux#toc3
http://www.guyrutenberg.com/culmus-latex/

Last changed: Feb 27 2020 at 4:02 PM

Back