summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/xelatex/xepersian-hm
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-03-25 21:09:40 +0000
committerKarl Berry <karl@freefriends.org>2020-03-25 21:09:40 +0000
commit6bfd423111a83e0dbb18e43989c1602b7c203604 (patch)
tree0f792f48776a85975816b3b57fd8681b951bcbba /Master/texmf-dist/tex/xelatex/xepersian-hm
parent7858db0c5072d36dce019586af7ab86c0cd94323 (diff)
xepersian-hm (25mar20)
git-svn-id: svn://tug.org/texlive/trunk@54541 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/xepersian-hm')
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian-hm/kashida-xepersian-hm.def33
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian-hm/xepersian-hm.sty96
2 files changed, 77 insertions, 52 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'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian-hm/xepersian-hm.sty b/Master/texmf-dist/tex/xelatex/xepersian-hm/xepersian-hm.sty
index e7330b20224..1a685d49694 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian-hm/xepersian-hm.sty
+++ b/Master/texmf-dist/tex/xelatex/xepersian-hm/xepersian-hm.sty
@@ -1,55 +1,74 @@
%%
-%% This is file `xepersian-hm.sty'
+%% This is file `xepersian-hm.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xepersian-hm.dtx (with options: `package')
%%
-%% 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
%%
-\ExplSyntaxOn
+%% File: xepersian-hm.dtx
\NeedsTeXFormat{LaTeX2e}
+\RequirePackage{expl3}[2020-03-06]
+\@ifpackagelater{expl3}{2020-03-06}
+ {}
+ {%
+ \PackageError{xepersian-hm}{Support package l3kernel too old}
+ {%
+ Please install an up to date version of l3kernel\MessageBreak
+ using your TeX package manager or from CTAN.\MessageBreak
+ \MessageBreak
+ Loading xtemplate will abort!%
+ }%
+ \endinput
+ }
\RequirePackage{l3keys2e}
\RequirePackage{xepersian}
-\ProvidesExplPackage {xepersian-hm} {2020-03-23} {0.3} { Fixes~issues~in~xepersian~package }
+\ExplSyntaxOn
+\ProvidesExplPackage {xepersian-hm} {2020-03-26} {0.4} { Fixes~issues~in~xepersian~package }
\tl_set:Nn \l_kayhan_tl { kayhan }
\tl_set:Nn \l_khorramshahr_tl { khorramshahr }
-\tl_set:Nn \l_kayhannavaar_tl { kayhannavaar }
-\tl_set:Nn \l_kayhanpook_tl { kayhanpook }
-\tl_set:Nn \l_kayhansayeh_tl { kayhansayeh }
-\tl_set:Nn \l_khoramshahr_tl { khoramshahr }
+\tl_set:Nn \l_kayhannavaar_tl { kayhannavaar }
+\tl_set:Nn \l_kayhanpook_tl { kayhanpook }
+\tl_set:Nn \l_kayhansayeh_tl { kayhansayeh }
+\tl_set:Nn \l_khoramshahr_tl { khoramshahr }
\tl_set:Nn \l_khorramshahr_tl { khorramshahr }
-\tl_set:Nn \l_niloofar_tl { niloofar }
-\tl_set:Nn \l_paatch_tl { paatch }
-\tl_set:Nn \l_riyaz_tl { riyaz }
-\tl_set:Nn \l_roya_tl { roya }
-\tl_set:Nn \l_shafigh_tl { shafigh }
-\tl_set:Nn \l_shafighKurd_tl { shafighKurd }
+\tl_set:Nn \l_niloofar_tl { niloofar }
+\tl_set:Nn \l_paatch_tl { paatch }
+\tl_set:Nn \l_riyaz_tl { riyaz }
+\tl_set:Nn \l_roya_tl { roya }
+\tl_set:Nn \l_shafigh_tl { shafigh }
+\tl_set:Nn \l_shafighKurd_tl { shafighKurd }
\tl_set:Nn \l_shafighUzbek_tl { shafighUzbek }
-\tl_set:Nn \l_shiraz_tl { shiraz }
-\tl_set:Nn \l_sols_tl { sols }
-\tl_set:Nn \l_tabriz_tl { tabriz }
-\tl_set:Nn \l_titr_tl { titr }
-\tl_set:Nn \l_titre_tl { titre }
-\tl_set:Nn \l_traffic_tl { traffic }
-\tl_set:Nn \l_vahid_tl { vahid }
-\tl_set:Nn \l_vosta_tl { vosta }
-\tl_set:Nn \l_yaghut_tl { yaghut }
-\tl_set:Nn \l_yagut_tl { yagut }
-\tl_set:Nn \l_yas_tl { yas }
-\tl_set:Nn \l_yekan_tl { yekan }
-\tl_set:Nn \l_yermook_tl { yermook }
-\tl_set:Nn \l_zar_tl { zar }
-\tl_set:Nn \l_ziba_tl { ziba }
-\tl_set:Nn \l_default_tl { default }
-\tl_set:Nn \l_noskip_tl { noskip }
+\tl_set:Nn \l_shiraz_tl { shiraz }
+\tl_set:Nn \l_sols_tl { sols }
+\tl_set:Nn \l_tabriz_tl { tabriz }
+\tl_set:Nn \l_titr_tl { titr }
+\tl_set:Nn \l_titre_tl { titre }
+\tl_set:Nn \l_traffic_tl { traffic }
+\tl_set:Nn \l_vahid_tl { vahid }
+\tl_set:Nn \l_vosta_tl { vosta }
+\tl_set:Nn \l_yaghut_tl { yaghut }
+\tl_set:Nn \l_yagut_tl { yagut }
+\tl_set:Nn \l_yas_tl { yas }
+\tl_set:Nn \l_yekan_tl { yekan }
+\tl_set:Nn \l_yermook_tl { yermook }
+\tl_set:Nn \l_zar_tl { zar }
+\tl_set:Nn \l_ziba_tl { ziba }
+\tl_set:Nn \l_default_tl { default }
+\tl_set:Nn \l_noskip_tl { noskip }
\keys_define:nn { xepersian-hm }
{
Kashida .code:n = \tex_input:D { kashida-xepersian-hm.def } ,
- kashidastretch .code:n =
+ kashidastretch .code:n =
{
\tl_set:Nn \l_tmpa_tl { #1 }
\tl_case:NnTF \l_tmpa_tl
@@ -93,8 +112,7 @@
\ProcessKeysOptions { xepersian-hm }
\ExplSyntaxOff
-\endinput
-
-%%
-%% END OF FILE
+ \endinput
+%%
%%
+%% End of file `xepersian-hm.sty'.