kvafa / bidi

Bidirectional typesetting in plain TeX and LaTeX, using XeTeX
https://ctan.org/pkg/bidi
6 stars 1 forks source link

psscalebox from pstricks does not work correctly when bidi loaded #12

Closed bahman-mirzakhani closed 2 years ago

bahman-mirzakhani commented 2 years ago

Brief outline of the issue

When I use \psscalebox{<value>}{} in presence of bidi, the output pdf is not valid!

In the log file I see this error:

Error 35584 (driver return code) generating output; file exam-LaTeX.pdf may not be valid.

Check/indicate

Minimal example showing the issue

% !TEX TS-program = XeLaTeX
% !TEX encoding = UTF-8 Unicode

\documentclass{article}

\usepackage{pstricks}
\usepackage[RTLdocument]{bidi}

\begin{document}

    \psscalebox{1.2}{\pscircle{1.5}}

\end{document}

Expected behavior

Log and PDF files

exam-LaTeX.log

kvafa commented 2 years ago

This is by design and not considered an issue/bug; see here for instance.