From f28a59950c355ca1760a49ea5309b10594155e4f Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 21 Nov 2014 22:35:02 +0000 Subject: xepersian (21nov14) git-svn-id: svn://tug.org/texlive/trunk@35639 c570f23f-e606-0410-a88d-b1316a301751 --- .../source/xelatex/xepersian/xepersian.dtx | 69 +++++++++------------- 1 file changed, 28 insertions(+), 41 deletions(-) (limited to 'Master/texmf-dist/source') diff --git a/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx b/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx index 85188005fc9..bf9e257389f 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 -v15.5 +v15.6 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: 2014/11/17 +Current version release date: 2014/11/21 ______________ Vafa Khalighi persian-tex@tug.org @@ -271,7 +271,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 15.5}} +%\large Documentation for \textcolor{blue!65!black}{version 15.6}} % \author{Vafa Khalighi\\ % \url{persian-tex@tug.org}} %\setcounter{page}{0} @@ -282,7 +282,7 @@ by Vafa Khalighi. %\textcolor{blue!65!black}{\Huge The \textsf{\XePersian} \textit{Package}} % %\Large -%Documentation for \textcolor{blue!65!black}{version 15.5}} +%Documentation for \textcolor{blue!65!black}{version 15.6}} % %\vskip 0pt plus 3fill %\textit{\large to my Master, \textbf{Ferdowsi The Great}} @@ -337,7 +337,7 @@ by Vafa Khalighi. %* %* Copyright © 2008–2014 Vafa Khalighi %* -%* v15.5, 2014/11/17 +%* v15.6, 2014/11/21 %* %* License: LaTeX Project Public License, version %* 1.3c or higher (your choice) @@ -2358,7 +2358,7 @@ by Vafa Khalighi. %\iffalse %<*table> %\fi -%% \CheckSum{10026} +%% \CheckSum{9992} %% \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 @@ -5665,8 +5665,8 @@ U+003E U+003E <> U+00BB ; >> -> RIGHT POINTING GUILLEMET % \subsection{\textsf{xepersian.sty}} % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\def\xepersianversion{v15.5} -\def\xepersiandate{2014/11/17} +\def\xepersianversion{v15.6} +\def\xepersiandate{2014/11/21} \ProvidesPackage{xepersian}[\xepersiandate\space \xepersianversion\space Persian typesetting in XeLaTeX] \RequirePackage{fontspec} @@ -7300,7 +7300,7 @@ indexblock environment may only appear inside frontpage environment. % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{xepersian-mathsdigitspec} - [2014/11/04 v1.0.9 Unicode Persian maths digits in XeLaTeX] + [2014/11/21 v1.1.0 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{% @@ -7355,39 +7355,26 @@ indexblock environment may only appear inside frontpage environment. } \ExplSyntaxOn \bool_set_false:N \g__fontspec_math_bool +\tl_map_inline:nn + { + \new@mathgroup\cdp@list\cdp@elt\DeclareMathSizes + \@DeclareMathSizes\newmathalphabet\newmathalphabet@@\newmathalphabet@@@ + \DeclareMathVersion\define@mathalphabet\define@mathgroup\addtoversion + \version@list\version@elt\alpha@list\alpha@elt + \restore@mathversion\init@restore@version\dorestore@version\process@table + \new@mathversion\DeclareSymbolFont\group@list\group@elt + \new@symbolfont\SetSymbolFont\SetSymbolFont@\get@cdp + \DeclareMathAlphabet\new@mathalphabet\SetMathAlphabet\SetMathAlphabet@ + \DeclareMathAccent\set@mathaccent\DeclareMathSymbol\set@mathchar + \set@mathsymbol\DeclareMathDelimiter\@xxDeclareMathDelimiter + \@DeclareMathDelimiter\@xDeclareMathDelimiter\set@mathdelimiter + \set@@mathdelimiter\DeclareMathRadical\mathchar@type + \DeclareSymbolFontAlphabet\DeclareSymbolFontAlphabet@ + } + { + \tl_remove_once:Nn \@preamblecmds {\do#1} + } \ExplSyntaxOff -\def\@preamblecmds{} -\newcommand\xepersian@not@onlypreamble[1]{{% - \def\do##1{\ifx#1##1\else\noexpand\do\noexpand##1\fi}% - \xdef\@preamblecmds{\@preamblecmds}}} -\xepersian@not@onlypreamble\@preamblecmds -\def\xepersian@notprerr{ can be used only in preamble (\on@line)} -\AtBeginDocument{% - \def\do#1{\noexpand\do\noexpand#1}% - \edef\@preamblecmds{% - \def\noexpand\do##1{% - \def##1{\noexpand\xepersian@NotprerrMessage##1}\noexpand\@eha}}% - \@preamblecmds} -\def\xepersian@NotprerrMessage#1{% - \PackageError{xepersian}% - {\noexpand\string#1 \noexpand\xepersian@notprerr}{}% -} -\@ifpackageloaded{natbib}{% -\renewcommand\nocite[1]{\@bsphack - \@for\@citeb:=#1\do{% - \@safe@activestrue - \edef\@citeb{\expandafter\@firstofone\@citeb\@empty}% - \@safe@activesfalse - \if@filesw\immediate\write\@auxout{\string\citation{\@citeb}}\fi - \if*\@citeb\else - \@ifundefined{b@\@citeb\@extra@b@citeb}{% - \NAT@citeundefined \PackageWarning{natbib}% - {Citation `\@citeb' undefined}}{}\fi}% - \@esphack}% -}{% -\def\nocite#1{% - \@bsphack{\setbox0=\hbox{\cite{#1}}}\@esphack}% -} \newcommand\xepersian@PackageInfo[1]{\PackageInfo{xepersian-mathsdigitspec}{#1}} \newcommand\SetMathCode[4]{% \Umathcode#1="\mathchar@type#2 \csname sym#3\endcsname #4\relax} -- cgit v1.2.3