summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/xelatex/xepersian
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-04-23 22:08:57 +0000
committerKarl Berry <karl@freefriends.org>2017-04-23 22:08:57 +0000
commit8082906eab52b1e41c49a024c87cb2d022f8c47a (patch)
treef00c96a3ee56f1fc4130d82accedf6fd1c4310d3 /Master/texmf-dist/source/xelatex/xepersian
parent53b8d70292c2a17a5807f9269c92d0806ca93e61 (diff)
xepersian (23apr17)
git-svn-id: svn://tug.org/texlive/trunk@43995 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/xelatex/xepersian')
-rw-r--r--Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx28
1 files changed, 16 insertions, 12 deletions
diff --git a/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx b/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx
index 89222edb8d4..0248d55e682 100644
--- a/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx
+++ b/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx
@@ -5,7 +5,7 @@
%<*readme>
____________________
The XePersian package
-v18.2
+v18.4
XePersian is a package written for XeLaTeX that allows users to typeset
Persian easily.
@@ -28,7 +28,7 @@ a minimal working example showing the issue, and always choose the appropriate
label for your query (i.e. if you are reporting any bugs, choose `Bug' label).
-Current version release date: 2017/03/04
+Current version release date: 2017/04/23
______________
Vafa Khalighi
persian-tex@tug.org
@@ -272,7 +272,7 @@ by Vafa Khalighi.
%\changes{v13.1}{2013/09/23}{Added implementation of the package.}
% \title{\textcolor{blue!65!black}{\Huge The \textsf{\XePersian} \textit{Package}}\\
%\LARGE Persian for \LaTeXe, using {\XeTeX} engine\\[5pt]
-%\large Documentation for \textcolor{blue!65!black}{version 18.2}}
+%\large Documentation for \textcolor{blue!65!black}{version 18.4}}
% \author{Vafa Khalighi\\
% \url{persian-tex@tug.org}}
%\setcounter{page}{0}
@@ -283,7 +283,7 @@ by Vafa Khalighi.
%\textcolor{blue!65!black}{\Huge The \textsf{\XePersian} \textit{Package}}
%
%\Large
-%Documentation for \textcolor{blue!65!black}{version 18.2}}
+%Documentation for \textcolor{blue!65!black}{version 18.4}}
%
%\vskip 0pt plus 3fill
%\textit{\large to my Master, \textbf{Ferdowsi The Great}}
@@ -338,7 +338,7 @@ by Vafa Khalighi.
%*
%* Copyright (c) 2008--2017 Vafa Khalighi
%*
-%* v18.2, 2017/03/04
+%* v18.4, 2017/04/23
%*
%* License: LaTeX Project Public License, version
%* 1.3c or higher (your choice)
@@ -2359,7 +2359,7 @@ by Vafa Khalighi.
%\iffalse
%<*table>
%\fi
-%% \CheckSum{9474}
+%% \CheckSum{9480}
%% \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
@@ -5347,8 +5347,8 @@ U+003E U+003E <> U+00BB ; >> -> RIGHT POINTING GUILLEMET
% \subsection{\textsf{xepersian.sty}}
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\def\xepersianversion{v18.2}
-\def\xepersiandate{2017/03/04}
+\def\xepersianversion{v18.4}
+\def\xepersiandate{2017/04/23}
\ProvidesPackage{xepersian}[\xepersiandate\space \xepersianversion\space
Persian typesetting in XeLaTeX]
\RequirePackage{fontspec}
@@ -5632,12 +5632,16 @@ Persian typesetting in XeLaTeX]
\@nonlatinfalse%
\let\normalfont\latinfont%
\let\reset@font\normalfont%
-\latinfont\@currsize}
+\latinfont%
+\fontsize\f@size\f@baselineskip%
+\selectfont}
\def\setpersianfont{%
\@nonlatintrue%
\let\normalfont\persianfont%
\let\reset@font\normalfont%
-\persianfont\@currsize}
+\persianfont%
+\fontsize\f@size\f@baselineskip%
+\selectfont}
\bidi@newrobustcmd*{\lr}[1]{\LRE{\resetlatinfont#1}}
\bidi@newrobustcmd*{\rl}[1]{\RLE{\setpersianfont#1}}
\def\latin{\LTR\LatinAlphs\@RTL@footnotefalse\resetlatinfont}
@@ -6233,8 +6237,8 @@ number is 999,999,999.}%
\baselineskip\f@baselineskip\relax
\xepersian@computeautoilg
\ifdim\xepersian@strutilg>\baselineskip
- \PackageInfo{xepersian}{character with height+depth greater than current baselineskip found in font}
- \PackageInfo{xepersian}{baselineskip changed to that height+depth!}
+ \PackageInfo{xepersian}{character with height+depth greater than current baselineskip found in font}%
+ \PackageInfo{xepersian}{baselineskip changed to that height+depth!}%
\baselineskip\xepersian@strutilg
\fi
}{}{}