-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
layout=graphics fail with breakable box (tcolorbox package) #95
Comments
With
|
Adding \makeatletter
\def\bbl@pictsetdir{%
\ifcase\bbl@thetextdir
\let\bbl@pictresetdir\relax
\else
\leavevmode\unskip\textdir TLT\relax
\def\bbl@pictresetdir{\textdir TRT\relax}%
\fi}%
\makeatother |
Thank you. Graphics in RTL are, as you know, problematic. I'd like to make some tests before making the final decision. |
@jbezos maybe patch of
Changes was in
|
Sadly, it breaks some of the figures in my test files. So, I have to investigate further. |
With last update of latex layout graphics produce an error exactly with this part
|
This is another issue. I'll open a new one. |
As to the issue with
Which doesn't mean it is the solution. |
@seloumi After some tests, I'd say this little addition is enough. I'm closing this issue, but don't hesitate to re-open it if necessary. |
Thanks @jbezos for the solution, I have posted the issue on pgf repository to create an adapted pgfpicture env for RTL context which can solve large number of related issues. |
@seloumi I'll have a look at it. |
I've added a little and tentative piece of code to set the picture box and place the origin (0,0) at the correct place (lower left corner). In my tests, the text is correctly rendered, too. Any shift inside this box should be done by the corresponding graphics package. |
This example with option
layout=graphics
produce breakable box out of page ( the non breakable one is ok)The text was updated successfully, but these errors were encountered: