Gideon Livshits wrote:
Hello!
Firstly, I would like to thank you for your quick response to my
problem. It means a lot!
You're welcome. In general, you'll find people on the lyx mailing lists
to be very responsive and helpful :) .
(BTW, I'm CC-ing the mailing lists, so that this gets into the mailing
lists archives, and may prove useful to other users. For those other
users: this is correspondence regarding
http://bugzilla.lyx.org/show_bug.cgi?id=4228)
I sent an example file to the following address: [EMAIL PROTECTED]
I attach it again here.
The file you sent works for me --- so my guess is that it's a latex
configuration issue. See below...
Soon after posting the bug, I realized that I should have kept the
encoding default, which I did (as you mentioned). This changed the list
of errors - from about 8 to only one, in which it complained it was
lacking the jerus10 font, and therefore would produce neither dvi nor
postscript.
To clarify, I am giving you all the relevant details:
Under Document Settings I have made the following changes (to
accommodate Hebrew):
Document Class: article (Hebrew)
Postscript driver: Dvips (tried this because I saw the others weren't
working - it too doesn't work)
Fonts: Changed nothing (kept defaults)
The same goes for everything else, I only changed the language to
Hebrew. I *kept* the original tick under "Use language's default encoding".
Under Preferences the only change I made was to select Hebrew as the
default language instead of Hebrew (which I think is wrong anyway, since
it apparently applies to the language of interface, which I want to stay
in English).
(Hmm..., I think the user interface also has to do with locale settings
--- you should be able to change the default document language without
changing the UI, maybe by playing around with those. If you're compiling
from source, you can use the --disable-nls option when configuring, and
then the UI will certainly not change... But this has nothing to do with
the main problem we're discussing.)
So here it is:
User interface file: default
Bind file: mac
Default Language: Hebrew.
(also as an aside: some additional LyX setup which you might want to
perform is to use keymaps --- these allow you to use Hebrew without
having to switch languages at the keyboard level; and then also to have
some keybindings for switching languages. See Dekel's instructions at
http://www.cs.bgu.ac.il/~dekelts/lyx/instructions2.html, though you'll
have to play around with it to see which parts you want and which you
don't, they may not be up to date; and see
http://permalink.gmane.org/gmane.editors.lyx.devel/88941 for key
bindings files --- I would use these instead of the ones Dekel mentions.)
My Latex distribution is LiveTex 2007. You mention ivritex - I don't
know what this is, and I don't have it installed (at least I think I
don't). Would this fix everything? Do you know where I could get it?
ivritex (http://ivritex.sf.net) is the name of the project for adding
Hebrew support to babel. It used to be a standalone package, but has
been incorporated into the latest versions of babel, so if you have
babel 3.8 then it already includes hebrew support built-in. However, you
may still need other support packages (fonts, etc.).
I'm using TeXLive 2007 (I assume this is the same as LiveTeX?), though
I'm on Linux/debian. This already uses babel 3.8, so there's no need for
installing ivritex separately. There's a debian package called
texlive-lang-hebrew, which provides a latex package called cjhebrew
which provides the additional support needed. Try and see if you have
some similar package that you could install.
Another option is to use the culmus fonts. For that, I think that you'll
have to download the culmus fonts (http://culmus.sourceforge.net/,
chances are it's also bundled for your OS), as well as install (from
source) culmus-latex, which is an in-development part of ivritex for
supporting the culmus fonts
(http://sourceforge.net/project/showfiles.php?group_id=33341). Just
installing that package may be enough.
In either case, I think one or both of the two options mentioned above
is what will solve your issue (again, let us know either way). If you
still need more help with correctly setting up Hebrew with LaTeX, you
should also check out the ivritex mailing list.
Thanks a lot for all your help,
Gideon
P. S. Please tell me if I missed something or if you need more information.
Good luck, Gmar Hatima Tova!
Dov