I've installed lyx-1.1.6fix3 rpm packages form www.lyx.org on redhat 7.2 and tetex-latex-heb-1.0.2-2.noarch.rpm from Mandrake and :
This is the file created by lyx %% LyX 1.1 created this file. For more info, see http://www.lyx.org/. %% Do not edit unless you really know what you are doing. \documentclass[hebrew,english]{article} \usepackage[cp1255,latin1]{inputenc} \usepackage{babel} \makeatletter %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands. \providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@} \makeatother \begin{document} \selectlanguage{hebrew} \inputencoding{cp1255} &fkaf;&ayin;&yod;&het;&fkaf;&ayin; \selectlanguage{english} \end{document} And this is the error when running elatex This is e-TeX, Version 3.14159-2.1 (Web2C 7.3.1) entering extended mode (newfile1.tex LaTeX2e <2000/06/01> Babel <v3.7h> and hyphenation patterns for american, french, german, ngerman, i talian, nohyphenation, loaded. (/usr/share/texmf/tex/latex/base/article.cls Document Class: article 2000/05/19 v1.4b Standard LaTeX document class (/usr/share/texmf/tex/latex/base/size10.clo)) (/usr/share/texmf/tex/latex/base/inputenc.sty (/usr/share/texmf/tex/generic/babel/cp1255.def) (/usr/share/texmf/tex/latex/base/latin1.def)) (/usr/share/texmf/tex/generic/babel/babel.sty (/usr/share/texmf/tex/generic/babel/rlbabel.def) (/usr/share/texmf/tex/generic/babel/hebrew.ldf (/usr/share/texmf/tex/generic/babel/babel.def) Package babel Warning: No hyphenation patterns were loaded for (babel) the language `Hebrew' ) (/usr/share/texmf/tex/generic/babel/english.ldf)) (/usr/share/texmf/tex/generic/babel/lheenc.def ! LaTeX Error: Missing \begin{document}. See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help. ... l.73 $ </LHEenc> Thanks a lot ---------------- Tomas B. Winkler HUJI CSE