summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/xelatex/xepersian/xepersian-mathsdigitspec.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/xepersian/xepersian-mathsdigitspec.sty')
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/xepersian-mathsdigitspec.sty21
1 files changed, 12 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/xepersian-mathsdigitspec.sty b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-mathsdigitspec.sty
index 96857f65449..3b33393661f 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/xepersian-mathsdigitspec.sty
+++ b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-mathsdigitspec.sty
@@ -7,7 +7,10 @@
%% xepersian.dtx (with options: `table,xepersian-mathsdigitspec.sty')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2020 Vafa Khalighi
+%% Vafa Khalighi
+%% tex-persian@vafa.ac
+%%
+%% Copyright (c) 2008--2022 Vafa Khalighi
%% Copyright (c) 2018--2020 bidi-tex GitHub Organization
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
@@ -18,7 +21,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10882}
+%% \CheckSum{10887}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
@@ -37,7 +40,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{xepersian-mathsdigitspec}
- [2018/12/16 v1.1.7 Unicode Persian maths digits in XeLaTeX]
+ [2022/02/01 v1.1.8 Unicode Persian maths digits in XeLaTeX]
\def\new@mathgroup{\alloc@8\mathgroup\chardef\@cclvi}
\let\newfam\new@mathgroup
\def\select@group#1#2#3#4{%
@@ -125,7 +128,7 @@
\cs_new_eq:NN \orig_mathtt:n \mathtt
\NewDocumentCommand \new@mathbf { m } {
\orig_mathbf:n {
- \int_step_inline:nnnn { `0 } { \c_one } { `9 } {
+ \int_step_inline:nnnn { `0 } { \c_one_int } { `9 } {
\mathcode ##1 = \numexpr "100 * \symnew@mathbf@font@digits + ##1 \relax
}
#1
@@ -133,7 +136,7 @@
}
\NewDocumentCommand \new@mathit { m } {
\orig_mathit:n {
- \int_step_inline:nnnn { `0 } { \c_one } { `9 } {
+ \int_step_inline:nnnn { `0 } { \c_one_int } { `9 } {
\mathcode ##1 = \numexpr "100 * \symnew@mathit@font@digits + ##1 \relax
}
#1
@@ -141,7 +144,7 @@
}
\NewDocumentCommand \new@mathrm { m } {
\orig_mathrm:n {
- \int_step_inline:nnnn { `0 } { \c_one } { `9 } {
+ \int_step_inline:nnnn { `0 } { \c_one_int } { `9 } {
\mathcode ##1 = \numexpr "100 * \symnew@mathrm@font@digits + ##1 \relax
}
#1
@@ -149,7 +152,7 @@
}
\NewDocumentCommand \new@mathsf{ m } {
\orig_mathsf:n {
- \int_step_inline:nnnn { `0 } { \c_one } { `9 } {
+ \int_step_inline:nnnn { `0 } { \c_one_int } { `9 } {
\mathcode ##1 = \numexpr "100 * \symnew@mathsf@font@digits + ##1 \relax
}
#1
@@ -157,7 +160,7 @@
}
\NewDocumentCommand \new@mathtt{ m } {
\orig_mathtt:n {
- \int_step_inline:nnnn { `0 } { \c_one } { `9 } {
+ \int_step_inline:nnnn { `0 } { \c_one_int } { `9 } {
\mathcode ##1 = \numexpr "100 * \symnew@mathtt@font@digits + ##1 \relax
}
#1
@@ -179,7 +182,7 @@
\prg_new_conditional:Nnn \__xepersian_mathsdigitspec_primitive_font_char_if_exist:n {p,TF,T,F}
{
- \etex_iffontchar:D \l_fontspec_font "#1 \scan_stop:
+ \tex_iffontchar:D \l_fontspec_font "#1 \scan_stop:
\prg_return_true:
\else:
\prg_return_false: