kvafa / bidi

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

pause command not working correctly for right-to-left text! #1

Open mojtabaahmadi2020tl opened 2 years ago

mojtabaahmadi2020tl commented 2 years ago

Brief outline of the issue

Check/indicate

Minimal example showing the issue

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

\documentclass{beamer}
\usepackage[RTLdocument=on]{bidi}

\begin{document}

\begin{frame}
one 
\pause   
two 
\pause  
three 
\end{frame}

\end{document}

Expected behavior

Log and PDF files

test_bidi_pause.pdf test_bidi_pause.log

mojtabaahmadi2020tl commented 2 years ago

درود

\documentclass{report}
\usepackage{pgf} 

% در متن راست به چپ برعکسه خروجی!
\usepackage[RTLdocument=on]{bidi}

\makeatletter
\def\makhfi{\pgfsys@begininvisible}
\def\show{\pgfsys@endinvisible}
\makeatother

\begin{document}
one
\makhfi
two
\end{document}