I'm using LyX, but I guess a solution would be some TeX code. I'm writing a document in English and I want to insert some Hebrew text, but the document encoding doesn't let me. Using Hebrew encoding for the entire document doesn't work as it ruins the TOC, etc. Is there a way to locally change the text's encoding?
+4
A:
Amir, I would suggest to change ALL de document encoding for some Unicode one - for example, UTF-8. Unicode encodings can support all writing systems. Is it possible? If not, why?
brandizzi
2010-07-04 14:21:55
When I do this I get an error that the character was "not set up to use with LaTeX".
Amir Rachum
2010-07-04 14:27:05
When I changed to utf8x, the TOC turns into Hebrew (??) and all the English in the TOC is reversed.
Amir Rachum
2010-07-04 14:30:39
Could you share some resumed verson of the document, or some files which produce this error? I usually recommend use XeTeX/XeLaTeX when people got weird problems with UTF-8 but it is just a general recomendation. I believe we can know better with some examples of yours.
brandizzi
2010-07-07 14:03:59
I actually got this to work with utf8x, thanks!
Amir Rachum
2010-07-08 00:01:58
@Amir: if you want a fixed-width, ASCII-compatible charset, Latin-8 supports Hebrew letters: you can use \RequirePackage[8859-8]{inputenc}.
Charles Stewart
2010-07-09 09:28:09
A:
The distribution from http://ivritex.sourceforge.net/ has several examples. Take a look -- one of them must have what you need.
AVB
2010-07-04 18:11:09