kvafa / bidi

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

problem font number in latinitems #23

Open Tex-Ahmadi opened 1 year ago

Tex-Ahmadi commented 1 year ago

Brief outline of the issue

Check/indicate

Minimal example showing the issue

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

\documentclass[10pt]{beamer}

\usepackage{xepersian}
\settextfont{Yas}
\setdigitfont{Yas}
\setlatintextfont{Times New Roman}

\begin{document}
\begin{frame}{فونت اعداد محیط لاتین در محیط لیست}

تست
\begin{itemize}
\begin{latinitems}
\item[10] latinitems itemize
\end{latinitems}
\end{itemize}
%+++++++
\begin{enumerate}
\begin{latinitems}
\item latinitems enumerate
\end{latinitems}
\end{enumerate}
%++++++
\begin{latin}
\begin{enumerate}
\item latin enumerate
\end{enumerate}
%
\begin{itemize}
\item[20] latin itemize
\end{itemize}
\end{latin}

\end{frame}

\end{document}

Expected behavior

Log and PDF files

latinitems-xep1213.pdf