summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/xelatex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-11-14 22:52:31 +0000
committerKarl Berry <karl@freefriends.org>2013-11-14 22:52:31 +0000
commitfb4f5722355aa3de14f51566a960bfd81e8f6c1a (patch)
tree3f7cf4185efb83b6d1d9bade829fe1a86b875097 /Master/texmf-dist/tex/xelatex
parent033271bfdf58e2563bd3fbdbeb0f1facfb0c02e5 (diff)
xepersian (14nov13)
git-svn-id: svn://tug.org/texlive/trunk@32148 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/xelatex')
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/kashida-xepersian.def8
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty6
2 files changed, 6 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/kashida-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/kashida-xepersian.def
index 04e20851770..764d6444e1d 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/kashida-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/kashida-xepersian.def
@@ -34,18 +34,16 @@
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
%%
-\ProvidesFile{kashida-xepersian.def}[2010/07/25 v0.2 implementation of Kashida for xepersian package]
+\ProvidesFile{kashida-xepersian.def}[2013/11/15 v0.3 implementation of Kashida for xepersian package]
\chardef\xepersian@zwj="200D % zero-width joiner
-\chardef\xepersian@ksh="0640 % kashida
\chardef\xepersian@D=10 % dual-joiner class
\chardef\xepersian@L=11 % lam
\chardef\xepersian@R=12 % right-joiner
\chardef\xepersian@A=13 % alef
\chardef\xepersian@V=256 % vowel or other combining mark (to be ignored)
-
-\def\xepersian@kashida{\xepersian@zwj\nobreak \setbox0=\hbox{\xepersian@ksh}%
- \leaders\hrule height\ht0 \hskip0pt plus 0.5em \xepersian@zwj}
+\def\xepersian@kashida{\xepersian@zwj\nobreak%
+ \leaders\hrule height \XeTeXglyphbounds2 \the\XeTeXcharglyph"0640 depth \XeTeXglyphbounds4 \the\XeTeXcharglyph"0640 \hskip0pt plus 0.5em \xepersian@zwj}
\def\setclass#1#2{\def\theclass{#1}\def\charlist{#2}%
\expandafter\dosetclass\charlist,\end}
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty b/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty
index ee5188c480a..762700651f0 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty
+++ b/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty
@@ -35,8 +35,8 @@
%% Right brace \} Tilde \~}
%%
\NeedsTeXFormat{LaTeX2e}
-\def\xepersianversion{v13.5}
-\def\xepersiandate{2013/10/21}
+\def\xepersianversion{v13.6}
+\def\xepersiandate{2013/11/15}
\ProvidesPackage{xepersian}[\xepersiandate\space \xepersianversion\space
Persian typesetting in XeLaTeX]
\RequirePackage{fontspec}
@@ -45,7 +45,7 @@ Persian typesetting in XeLaTeX]
\RequirePackage[RTLdocument]{bidi}
\edef\@xepersian@info{****************************************************^^J%
* ^^J%
-* xepersian package (Persian for LaTeX over XeTeX)^^J%
+* xepersian package (Persian for LaTeX, using XeTeX engine)^^J%
* ^^J%
* Description: The package supports Persian^^J%
* typesetting, using fonts provided in the^^J%