Open ExecutorElassus opened 4 years ago
Well I agree with the comment that the bidi redefinition is wrong/no longer up-to-date. But looking at the code it seems that the only thing bidi is trying to do is to change every \leftskip/\rightskip to \bidi@leftskip
and \bidi@rightskip
, so that it can switch their meaning in RTL-context. \bidi@leftskip
e.g. is defined like this:
\newcommand*{\bidi@leftskip}{\if@RTL\rightskip\else\leftskip\fi}
So the first step for a real solution is to make a feature request towards the KOMA-maintainer that he changes in his code every \leftskip/\rightskip to a command version that can be switched by packages like bidi. Then bidi will no longer have to patch anything.
Brief outline of the issue
Please see this thread: https://latex.org/forum/viewtopic.php?f=19&t=33483&p=112872#p112872 I have a document with figure wrap floats that define their width as percentage of the column. When compiling, Xetex throws errors like the following:
`! Missing number, treated as zero.