You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to set a german text with some hebrew paragraphs. Footnotes should be LTR. I'm compiling with lualatex on a current texlive.
With twocol and paragraph footnotes I managed the correct footnote layout as described in #980. But then I got the request to change one aparatus to normal, and it failed again. It only worked either by surrounding all footnotes with a \foreignlanguage command, or by hooking into an internal command:
\documentclass{article}
\usepackage[ngerman,bidi=basic,layout=footnotes]{babel}
\babelprovide[import,onchar=ids fonts]{hebrew}
\babelprovide[onchar=ids fonts]{ngerman}
\babelfont[ngerman]{rm}{TeXGyreHeros}
\babelfont[hebrew]{rm}{FreeSerif}
\usepackage[noend]{reledmac}
\arrangementX[B]{normal}
\beforeinsertingX[B]{\selectlanguage{ngerman}}%
\makeatletter
\AddToHookWithArguments
{cmd/prepare@prenotesX/before}
{\csname prepare@prenotesX@#1\endcsname}
%\newcommand\prepare@prenotesX@B{\selectlanguage{ngerman}} %works
\makeatother
\usepackage{kantlipsum}
\begin{document}
blub
\begin{selectlanguage}{hebrew}\tracingmacros=1
חלוקת עולם הטבע \footnoteB{footnote B in heb}לשלוש ממלכות,\foreignlanguage{ngerman}{\footnoteB{footnote B in heb in foreign language}} בספרו של ארנסט הקל משנת
תורת :
\end{selectlanguage}
blub
\end{document}
Without the patch:
With the patch
The text was updated successfully, but these errors were encountered:
I'm trying to set a german text with some hebrew paragraphs. Footnotes should be LTR. I'm compiling with lualatex on a current texlive.
With twocol and paragraph footnotes I managed the correct footnote layout as described in #980. But then I got the request to change one aparatus to normal, and it failed again. It only worked either by surrounding all footnotes with a \foreignlanguage command, or by hooking into an internal command:
Without the patch:
With the patch
The text was updated successfully, but these errors were encountered: