diff options
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/xepersian-hm/kashida-xepersian-hm.def')
-rw-r--r-- | Master/texmf-dist/tex/xelatex/xepersian-hm/kashida-xepersian-hm.def | 33 |
1 files changed, 20 insertions, 13 deletions
diff --git a/Master/texmf-dist/tex/xelatex/xepersian-hm/kashida-xepersian-hm.def b/Master/texmf-dist/tex/xelatex/xepersian-hm/kashida-xepersian-hm.def index 9d57fff9972..ab66aae3083 100644 --- a/Master/texmf-dist/tex/xelatex/xepersian-hm/kashida-xepersian-hm.def +++ b/Master/texmf-dist/tex/xelatex/xepersian-hm/kashida-xepersian-hm.def @@ -1,16 +1,24 @@ %% -%% This is file `kashida-xepersian-hm.def' +%% This is file `kashida-xepersian-hm.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% xepersian-hm.dtx (with options: `kashida-xepersian-hm') %% -%% Copyright (c) Hossein Movahhedian 2020 +%% Copyright (C) 2020 Hossein Movahhedian %% -%% It may be distributed and/or modified under the LaTeX Project Public License, -%% version 1.3c or higher (your choice). The latest version of -%% this license is at: http://www.latex-project.org/lppl.txt +%% It may be distributed and/or modified under the LaTeX Project Public License, +%% version 1.3c or higher (your choice). The latest version of +%% this license is at: http://www.latex-project.org/lppl.txt %% -%% Copyright notice: the following code is partly adapted from the code in -%% 'kashida-xepersian.def' from xepersian package (v22.8). +%% File: xepersian-hm.dtx + +% Copyright notice: the following code is partly adapted from the code in +% 'kashida-xepersian.def' from xepersian package (v22.8). + \ExplSyntaxOn -\ProvidesExplFile {kashida-xepersian-hm.def} {2020-03-23} {0.3} { Fixes~implementation~of~Kashida~in~xepersian~package } +\ProvidesExplFile {kashida-xepersian-hm.def} {2020-03-26} {0.4} { Fixes~implementation~of~Kashida~in~xepersian~package } \int_const:Nn \c_xepersianhm_zwj_int {"200D} % zero-width joiner \int_const:Nn \c_xepersianhm_lrm_int {"200E} % left-right-mark @@ -34,7 +42,7 @@ \cs_new:Npn \xepersian_kashida #1 { - \bool_if:NT \l_kashida_on_bool + \bool_if:NT \l_kashida_on_bool { \c_xepersianhm_lrm_int\c_xepersianhm_zwj_int\tex_penalty:D 10000 \tex_leaders:D \tex_hrule:D height \XeTeXglyphbounds \c_xepersianhm_two_int @@ -125,8 +133,7 @@ \KashidaOn \ExplSyntaxOff -\endinput - -%% -%% END OF FILE + \endinput +%% %% +%% End of file `kashida-xepersian-hm.def'. |