I am trying to compile a document that contains both English and Hebrew. The problem is, that although I have selected Documents | Settings | Use non-tex fonts via XeTeX |LuaTeX, there is no option to export the file to PDF via Xetex (LuaTex always gives me all sorts of errors about not recognizing fonts). I then tried to see if XeTeX is installed, by entering the following into a terminal:
sudo apt-get install texlive-xetex
In case it helps/matters: I'm running Lyx 2.0 on a Linux Mint machine. An extensive search, unfortunately, yielded no answers that worked.
So, my question is: How can I export the document to PDF via XeTeX (I only have the LuaTeX option)?
(P.S. If this question has been previously answered, I'd greatly appreciate a link to the page!)
Best Answer
You need to select the font. For an example, do the following. After
in LyX go to File > Open, click on the
examples
button, click onhe
and opensplash.lyx
. Then go to Document Settings > Fonts, checkUse non-TeX fonts
and for all of the fonts, chooseFrank Ruehl CLM
(this was installed by theculmus
package, along with several others). Finally, changeArticle (Hebrew)
toarticle
and compile.The last change is necessary because (although I'm not sure why), XeTeX does not seem to like the following (which is added by
Article (Hebrew)
:Following the above steps leads to the following pdf
produced by the following code: