1

As the answer here state, after installing culmus-latex, the following document

\documentclass{article}
\usepackage{ucs}
\usepackage[utf8x]{inputenc}
\usepackage[english,hebrew]{babel}
\begin{document} 
שלום \L{World}!
\end{document}

compiles with pdflatex with no errors. After changing the document class to extarticle, the following error occurs: Command \l@chapter undefined. \fi}}}}. The error comes from the file rlbabel.def. In this file there is the following code (starting at line 401):

\@ifclassloaded{letter}{}{%
\@ifclassloaded{slides}{}{%
  \@ifclassloaded{article}{}{%
    \renewcommand*\l@chapter[2]{%
      \ifnum \c@tocdepth >\m@ne
      \addpenalty{-\@highpenalty}%
      \vskip 1.0em \@plus\p@
      \setlength\@tempdima{1.5em}%
      \begingroup
         \parindent \z@ \if@rl\leftskip\else\rightskip\fi \@pnumwidth
         \parfillskip -\@pnumwidth
         \leavevmode \bfseries
         \advance\if@rl\rightskip\else\leftskip\fi\@tempdima
         \hskip -\if@rl\rightskip\else\leftskip\fi
         #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss#2}\par
         \penalty\@highpenalty
      \endgroup
      \fi}}}}

It seems that babel-hebrew checks if the document class is one of letter, slides or article, if so it does nothing, else it changes the definition of \l@chapter.

Wouldn't it make more sense to check if the command \l@chapter exists and by that determine if it should be changed? if so, who should i contact about the subject?

From this page it looks like there is no active maintainer to babel-hebrew, and the documentation was last updated in 2013.

3
  • 1
    Maybe try to contact the active maintainer Arthur Rosendahl. He has other packages that were updated just recently. Dec 29, 2022 at 0:40
  • See ctan.org/author/reutenauer Dec 29, 2022 at 0:41
  • 1
    @Dr.ManuelKuehner, thank you, probably because it is late i missed the fact that there is an active maintainer...
    – Udi Fogiel
    Dec 29, 2022 at 0:45

0

You must log in to answer this question.

Browse other questions tagged .