Closed amarakon closed 1 year ago
IIR, the order of columns is reversed, too (Arabic is first at the left, although hidden, and then at the right).
That would explain why the Arabic is not visible on the first page.
I’m not sure what paracol
is doing, but the following piece of code seems to fix it (although the direction is hardcoded). I’ve done it a little blindly:
\makeatletter
\edef\pcol@output{\pagedir TRT \bodydir TRT \unexpanded\expandafter{\pcol@output}}
\makeatother
The following seems better:
\edef\pcol@output{\bodydir\pagedir\unexpanded\expandafter{\pcol@output}}
The following seems better:
\edef\pcol@output{\bodydir\pagedir\unexpanded\expandafter{\pcol@output}}
This works, thanks. If the problem is from paracol
and not babel
, you can close this issue.
Followup to #233. Previously, there was an issue where English and Arabic documents broke within a
multicols
environment from themulticol
package. This has since been fixed. However, the issue still persists within aparacol
environment from theparacol
package. This only happens when inserting a paragraph end before\end{otherlanguage}
, but I want to insert a paragraph end before\end{otherlanguage}
, so that thelinebreaker
package can work. On the first page of the following document, the English text is shifted all the way to the left edge of the document, and the Arabic text is not visible.