Skip to content
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

Math Digits #29

Open
5 tasks
Mahicopoli opened this issue Nov 30, 2021 · 1 comment
Open
5 tasks

Math Digits #29

Mahicopoli opened this issue Nov 30, 2021 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Mahicopoli
Copy link


Hi,
I write a simple tex file. When I enter the command \setmathdigitfont is see the following error:
_xepersian_mathsdigitspec_primitive_font_char_if_exist:nF ...
\l_fontspec_font "#1\scan
...

Brief outline of the issue

Check/indicate

  • Relevant to the bidi package
  • The bidi package issue tracker has been searched for similar issues?
  • Issue tracker has been searched for similar issues?
  • 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{book}

\usepackage{xepersian}
\setlength{\textheight}{25cm}
\settextfont{Persian Modern}
%\setlatintextfont{Persian Modern}
\setmathdigitfont{Tahoma}
%\setmathsfdigitfont{Persian Modern}
%\setmathttdigitfont{Persian Modern}
\begin{document}
 سلام 123456790
\[1023\] 
  $1234567890$
\end{document}

Expected behavior

Log and PDF files

Test2.pdf
Test2.log

@Mahicopoli Mahicopoli added the bug Something isn't working label Nov 30, 2021
@bahman-mirzakhani
Copy link

Hi,
See the last my comment in #17

@vafa-khalighi
Copy link

I sincerely apologize for being very slow and get to this issue quite late.
I have uploaded version 23.2 of the xepersian package to CTAN which fixes this issue. You can see the Release Announcement. Please test the new version against this issue; if it indeed fixes the issue, then please close this issue and if it does not, then please let me know what needs to be done so that I can fix it.

Please also note that I had to move the GitHub repository to a new place. The new repository can be found here. If you have reported any issues in the old repository, there is no need to re-report it in the new one but for the new issues, please kindly use the new repository.

There is also a Discussions section on the new repository which you can use to ask questions that need my attention. The announcements for future versions of the xepersian package also will appear in Discussions under Announcements.

Finally, if you ever need to contact me directly, you can find my email address in the PDF documentation on the second title page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants