-
Notifications
You must be signed in to change notification settings - Fork 1
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
parenthesis direction in minted #12
Comments
Hello There is a problem without bidi package! There is no problem in writing your file below: \begin{minted}{python} \begin{english} %+++++++ The following file has a problem with XeLaTeX(Note the space after x), not problem with LuaLaTeX. \documentclass[12pt]{article} \usepackage{polyglossia} \begin{document} x=[x] x=[x ] \LR{x=[x ]} \begin{english} \end{document} |
I was previously using
and it worked fine, without an explicit |
not probleam file: \documentclass[12pt]{article} \usepackage{bidi} \begin{document} %+++ solve your file: see page 33 minted.pdf \usepackage{etoolbox} |
Thanks for the workaround! |
After the recent update, the direction of parenthesis in minted environment is wrong
Minimal example showing the issue
\documentclass[12pt]{article}
\usepackage{amsmath}
\usepackage{minted,color}
\usepackage{polyglossia,bidi}
\setmainlanguage{hebrew}
\setotherlanguage{english}
\setmainfont{Times New Roman}
\setmonofont{Courier New}
\begin{document}
\begin{minted}{python}
x = [x ]
\end{minted}
\end{document}
Expected behavior
x = [x ]
PDF file
min_example.pdf
The text was updated successfully, but these errors were encountered: