Closed
Description
Brief outline of the issue
Lines 140-144 of latex-xetex-bibdi.def
%\bidi@newrobustcmd*{\XeTeX}{\LR{\leavevmode$\smash{\hbox{X\lower.5ex
% \hbox{\kern-.125em\bidi@reflect@box{E}}\kern-.1667em \TeX}}$}}
%\bidi@newrobustcmd*{\XeLaTeX}{\LR{\leavevmode$\smash{\hbox{X\lower.5ex
% \hbox{\kern-.125em\bidi@reflect@box{E}}\kern-.1667em \LaTeX}}$}}
are causing an error message for me of the type,
[\XeTeX | \XeLaTeX ] already defined
I have a multilingual document using a special journal style and class that's pretty stable (HSSA), so it's hard for me to give an MWE. I've eliminated the obvious things: xltextra, fontspec. I'm not using arabtex. I am using polyglossia with other languages (greek, sanskrit, chinese). This issue arises when I add
\setotherlanguage{persian}
\newfontfamily\persianfont{Noto Sans Arabic}
Check/indicate
- Relevant to the
xepersian
package - [ x] The
bidi
package issue tracker has been searched for similar issues? - The
xepersian
package issue tracker has been searched for similar issues? - [x ] Links to <tex.stackexchange.com> discussion if appropriate
- Links to <qa.parsilatex.com> discussion if appropriate
Minimal example showing the issue
% !TEX TS-program = XeLaTeX
% !TEX encoding = UTF-8 Unicode
\documentclass{hssa}
\usepackage{hssa}
%
\setotherlanguage{persian} % this line alone produces the error message
%\newfontfamily\persianfont{Noto Sans Arabic}
\begin{document}
Hello world!
\end{document}
Activity