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
{{ message }}
This repository was archived by the owner on May 14, 2020. It is now read-only.
it becomes obvious that showframe does not recognize text area and margins correctly when \setdefaultlanguage{arabic} is used.
This problem is not restricted to the showframe package but to packages using the information about the page layout in general, of course, for example the thumbs package.
The text was updated successfully, but these errors were encountered:
bidi is (depending on the loading order of the various packages) trying to patch eso-pic, which imho the wrong place. It would make more sense to switch back to LTR before the atbegshi picture.
\documentclass[a4paper]{book}%
\usepackage{atbegshi}
\usepackage{etoolbox}
\usepackage{xcolor,graphicx}
%
\makeatletter
\patchcmd\AtBegShi@BeginPicture{\begingroup}{\begingroup\@RTLfalse}{}{\fail}
\makeatother
\usepackage{polyglossia}
\setdefaultlanguage{arabic}
\newfontfamily\arabicfont[Script=Arabic]{Amiri}
%load later to avoid the eso-pic patch:
\usepackage{showframe}
\usepackage{wallpaper}
\begin{document}
\ThisCenterWallPaper{1}{example-image-duck}
A\newpage B\newpage C
\end{document}
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
(Moving from reutenauer/polyglossia#33)
When compiling this example:
it becomes obvious that showframe does not recognize text area and margins correctly when
\setdefaultlanguage{arabic}
is used.This problem is not restricted to the showframe package but to packages using the information about the page layout in general, of course, for example the thumbs package.

The text was updated successfully, but these errors were encountered: