LyXCan't compile LyX document with Hebrew letters

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
YS9901
Posts: 4
Joined: Tue Mar 03, 2015 4:22 pm

Can't compile LyX document with Hebrew letters

Post by YS9901 »

Hi, I'm new to LyX and I have an irritating bug which prevents me to compile documents in Hebrew. When I insert English letters I can compile the document to a P.D.F file. But when I'm using Hebrew letters, for example, typing the Hebrew letter 'alef', I get the following error:
"Undefined control sequence <argument> \alef"
I have installed all the packages for using Hebrew letters so I don't understand why I'm getting this error. Thanks for anyone who is willing to give me some help.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Can't compile LyX document with Hebrew letters

Post by Johannes_B »

Hi and welcome,

i don't know hebrew, but isn't it aleph?

Nevertheless, i suggest to use XeLaTeX. You can use your regular (system) font you use for writing hebrew as well as english.

Using XeTeX in LyX
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
YS9901
Posts: 4
Joined: Tue Mar 03, 2015 4:22 pm

Re: Can't compile LyX document with Hebrew letters

Post by YS9901 »

Thanks I will try it
scottkosty
Site Moderator
Posts: 542
Joined: Sat Sep 01, 2012 6:38 am

Re: Can't compile LyX document with Hebrew letters

Post by scottkosty »

Did it work? Are you able to compile LyX's Hebrew documents? (look in examples/he and in doc/he). I can compile them all fine on Ubuntu with the fonts installed.
Post Reply