[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tetex-latex-heb problems



Hi all

I only recently became aware of the fact that the package tetex-latex-heb
(my add-on package for adding the necessary files for hebrew support in
latex. An early version of it is part of Mandrake) no longer works
properly on Mandrake 8.0 (and possibly other systems).

Symptom: when trying to typeset the test documennt that comes with the
package ('elatex /usr/share/doc/tetex-latex-heb/test-heb.doc') latex has
the following error:


  )) (/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>

The reason for that is that the version of the texmf tree in the tetex
package of mandrake 8.0 (and probably some other systems) already includes
a version of the hebrew latex package. However this package seems to be a
bit partial and a bit broken.

Systems affected are systems whose tex tree includes version 3.7 of the
babel system. To test that (assuming that your tex tree is under
/usr/share/texmf)

  grep "Babel system release" /usr/share/texmf/tex/generic/babel/babel.sty

will produce:

  %% This file is part of the Babel system release 3.7.

I'm not sure exactly what is the best way to fix this. But anyway, a
tempoarary workaround is to tell tex to look for files from the
tetex-latex-heb package before searching the rest of the texmf tree when
it looks for a certain file. to do that set:

TEXMF='.:/usr/share/texmf/tex/generic/babel/hebrew:!!/usr/share/texmf//'
export TEXMF

or, for tcsh:

setenv TEXMF '.:/usr/share/texmf/tex/generic/babel/hebrew:\!\!/usr/share/texmf//'

(I believe that the extra quoting of '!!' is needed)

Current version of the package can be found at
ftp://linux.org.il/pub/Hebrew/HebLatex/

See also http://ivritex.sf.net for future updates

-- 
Tzafrir Cohen
mailto:tzafrir@technion.ac.il
http://www.technion.ac.il/~tzafrir


=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il