Closed jbezos closed 3 years ago
See https://tex.stackexchange.com/questions/602684/how-can-i-get-csquotes-and-babel-to-set-a-display-environment-rtl-for-hebrew-or/602689#602689 .
\documentclass{article} \usepackage[bidi=basic, english]{babel} \babelprovide[import]{hebrew} \babelfont[hebrew]{rm}{FreeSerif} \begin{document} % Wrong \begin{quotation} \begin{otherlanguage*}{hebrew} הַדָּבָר אֲשֶׁר־הָיָה אֶל־יִרְמְיָהוּ מֵאֵת יְהוָה בִּשְׁנַת [בַּ][שָּׁנָה] הָעֲשִׂרִית לְצִדְקִיָּהוּ מֶלֶךְ יְהוּדָה הִיא הַשָּׁנָה שְׁמֹנֶה־עֶשְׂרֵה שָׁנָה לִנְבוּכַדְרֶאצַּר׃ \end{otherlanguage*} \end{quotation} %Correct \begin{quotation} \foreignlanguage*{hebrew}{% הַדָּבָר אֲשֶׁר־הָיָה אֶל־יִרְמְיָהוּ מֵאֵת יְהוָה בִּשְׁנַת [בַּ][שָּׁנָה] הָעֲשִׂרִית לְצִדְקִיָּהוּ מֶלֶךְ יְהוּדָה הִיא הַשָּׁנָה שְׁמֹנֶה־עֶשְׂרֵה שָׁנָה לִנְבוּכַדְרֶאצַּר׃} \end{quotation} \end{document} ``
Well, I've realized this is in fact the documented behaviour, because otherlanguage* is equivalent to \foreignlanguage which only switch the text direction, not the paragraph one. So, I'll close it.
otherlanguage*
\foreignlanguage
See https://tex.stackexchange.com/questions/602684/how-can-i-get-csquotes-and-babel-to-set-a-display-environment-rtl-for-hebrew-or/602689#602689 .