diff options
author | Karl Berry <karl@freefriends.org> | 2014-07-10 22:24:43 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-07-10 22:24:43 +0000 |
commit | 129d2cc768c22ae0682f02582aa8bfaccdd649fe (patch) | |
tree | ade48d01760d3212bc2b054c3a8b49c14c0b907e /Master/texmf-dist/source | |
parent | e0e9c917d6f40572ef9261df8135043bb94d4f5c (diff) |
xepersian (10jul14)
git-svn-id: svn://tug.org/texlive/trunk@34567 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r-- | Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx | 97 | ||||
-rw-r--r-- | Master/texmf-dist/source/xelatex/xepersian/xepersian.ins | 1 |
2 files changed, 80 insertions, 18 deletions
diff --git a/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx b/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx index 1babeaf4b27..82ffb719122 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 -v13.7 +v13.9 XePersian is a package written for XeLaTeX that allows users to typeset Persian easily. @@ -22,12 +22,12 @@ If you want to report any bugs or typos and corrections in the documentation, or ask for any new features, or suggest any improvements, or ask any questions about the package, then please do not send any direct email to me; I will not answer any direct email. Instead please use the issue tracker: - <https://github.com/vafa/xepersian/issues> + <https://sourceforge.net/p/xepersian-project/tickets> In doing so, please always explain your issue well enough, always include 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/02/05 +Current version release date: 2014/07/10 ______________ Vafa Khalighi persian-tex@tug.org @@ -85,6 +85,7 @@ by Vafa Khalighi. \generate{\file{color-localise-xepersian.def}{\from{\jobname.dtx}{table,color-localise-xepersian.def}}} \generate{\file{xepersian-localise-commands-xepersian.def}{\from{\jobname.dtx}{table,xepersian-localise-commands-xepersian.def}}} \generate{\file{enumerate-xepersian.def}{\from{\jobname.dtx}{table,enumerate-xepersian.def}}} +\generate{\file{fontspec-xetex-xepersian.def}{\from{\jobname.dtx}{table,fontspec-xetex-xepersian.def}}} \generate{\file{latex-localise-environments-xepersian.def}{\from{\jobname.dtx}{table,latex-localise-environments-xepersian.def}}} \generate{\file{xepersian-localise-environments-xepersian.def}{\from{\jobname.dtx}{table,xepersian-localise-environments-xepersian.def}}} \generate{\file{extarticle-xepersian.def}{\from{\jobname.dtx}{table,extarticle-xepersian.def}}} @@ -213,7 +214,7 @@ by Vafa Khalighi. % Persian for \LaTeX, using {\XeTeX} engine} % \author{Vafa Khalighi\\ % \url{persian-tex@tug.org}} -% \date{\today\qquad Version 13.7} +% \date{\today\qquad Version 13.9} %\maketitle %\vskip 0pt plus 3fill %\fbox{% @@ -224,7 +225,7 @@ by Vafa Khalighi. %answer any direct email. Instead please use the issue tracker: % %\medskip -% \centerline{\url{https://github.com/vafa/xepersian/issues}} +% \centerline{\url{https://sourceforge.net/p/xepersian-project/tickets}} % %\medskip %In doing so, please always explain your issue well enough, always include @@ -257,14 +258,14 @@ by Vafa Khalighi. %* %* Copyright © 2008–2014 Vafa Khalighi %* -%* v13.7, 2014/02/05 +%* v13.9, 2014/07/10 %* %* License: LaTeX Project Public License, version %* 1.3c or higher (your choice) %* %* Location on CTAN: /macros/xetex/latex/xepersian %* -%* Issue tracker: https://github.com/vafa/xepersian/issues +%* Issue tracker: https://sourceforge.net/p/xepersian-project/tickets %* %* Support: persian-tex@tug.org %**************************************************** @@ -1607,8 +1608,6 @@ by Vafa Khalighi. %\biffintabular{Variant}{گوناگون} %\biffintabular{Variant}{مجموعهسبکی} %\biffintabular{CharacterVariant}{گوناگونینویسه} -%\biffintabular{ScriptStyle}{سبکاسکریپت} -%\biffintabular{ScriptScriptStyle}{سبکاسکریپتاسکریپت} %\biffintabular{Style}{سبک} %\biffintabular{Annotation}{یادداشت} %\biffintabular{RawFeature}{ویژگیهایکال} @@ -1634,6 +1633,8 @@ by Vafa Khalighi. %\biffointabular{Language}{Parsi}{پارسی} %\biffointabular{Script}{Parsi}{پارسی} %\biffointabular{Script}{Latin}{لاتین} +%\biffointabular{Style}{MathScript}{اسکریپتریاضی} +%\biffointabular{Style}{MathScriptScript}{اسکریپتاسکریپتریاضی} %\end{supertabular} %\end{center} %\subsection{A Sample Input \TeX\ File} @@ -2276,7 +2277,7 @@ by Vafa Khalighi. %\iffalse %<*table> %\fi -%% \CheckSum{9972} +%% \CheckSum{10026} %% \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 @@ -3793,6 +3794,51 @@ by Vafa Khalighi. % \end{macrocode} % \iffalse %</enumerate-xepersian.def> +%<*fontspec-xetex-xepersian.def> +%\fi +% \subsection{\textsf{fontspec-xetex-xepersian.def}} +% \begin{macrocode} +\ProvidesFile{fontspec-xetex-xepersian.def}[2014/10/07 v0.1 fixes for fontspec-xetex package] +\ExplSyntaxOn +\DeclareDocumentCommand \aliasfontfeature {mm} + { + \keys_if_exist:nnTF {fontspec} {#1} + { + \keys_define:nn {fontspec} + { #2 .code:n = { \keys_set:nn {fontspec} { #1 = {##1} } } } + } + { + \keys_if_exist:nnTF {fontspec-renderer} {#1} + { + \keys_define:nn {fontspec-renderer} + { #2 .code:n = { \keys_set:nn {fontspec-renderer} { #1 = {##1} } } } + } + { + \keys_if_exist:nnTF {fontspec-preparse} {#1} + { + \keys_define:nn {fontspec-preparse} + { #2 .code:n = { \keys_set:nn {fontspec-preparse} { #1 = {##1} } } } + } + { + \keys_if_exist:nnTF {fontspec-preparse-external} {#1} + { + \keys_define:nn {fontspec-preparse-external} + { + #2 .code:n = + { \keys_set:nn {fontspec-preparse-external} { #1 = {##1} } } + } + } + { + \__fontspec_warning:nx {rename-feature-not-exist} {#1} + } + } + } + } + } +\ExplSyntaxOff +% \end{macrocode} +% \iffalse +%</fontspec-xetex-xepersian.def> %<*latex-localise-environments-xepersian.def> %\fi % \subsection{\textsf{latex-localise-environments-xepersian.def}} @@ -4461,7 +4507,7 @@ by Vafa Khalighi. %\fi % \subsection{\textsf{localise-xepersian.def}} % \begin{macrocode} -\ProvidesFile{localise-xepersian.def}[2010/07/25 v0.2a Persian localisation of LaTeX2e] +\ProvidesFile{localise-xepersian.def}[2014/07/10 v0.2b Persian localisation of LaTeX2e] \newcommand{\makezwnjletter}{\catcode`=11\relax} \makezwnjletter \newcommand*{\eqcommand}[2]{\if@bidi@csprimitive{#2}{\bidi@csletcs{#1}{#2}}{\bidi@csdefcs{#1}{#2}}} @@ -4524,8 +4570,6 @@ by Vafa Khalighi. \aliasfontfeature{Variant}{گوناگون} \aliasfontfeature{Variant}{مجموعهسبکی} \aliasfontfeature{CharacterVariant}{گوناگونینویسه} -\aliasfontfeature{ScriptStyle}{سبکاسکریپت} -\aliasfontfeature{ScriptScriptStyle}{سبکاسکریپتاسکریپت} \aliasfontfeature{Style}{سبک} \aliasfontfeature{Annotation}{یادداشت} \aliasfontfeature{RawFeature}{ویژگیهایکال} @@ -4541,6 +4585,8 @@ by Vafa Khalighi. \aliasfontfeatureoption{Language}{Parsi}{پارسی} \aliasfontfeatureoption{Script}{Parsi}{پارسی} \aliasfontfeatureoption{Script}{Latin}{لاتین} +\aliasfontfeatureoption{Style}{MathScript}{اسکریپتریاضی} +\aliasfontfeatureoption{Style}{MathScriptScript}{اسکریپتاسکریپتریاضی} % \end{macrocode} % \iffalse %</localise-xepersian.def> @@ -5609,8 +5655,8 @@ U+003E U+003E <> U+00BB ; >> -> RIGHT POINTING GUILLEMET % \subsection{\textsf{xepersian.sty}} % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\def\xepersianversion{v13.7} -\def\xepersiandate{2014/02/05} +\def\xepersianversion{v13.9} +\def\xepersiandate{2014/07/10} \ProvidesPackage{xepersian}[\xepersiandate\space \xepersianversion\space Persian typesetting in XeLaTeX] \RequirePackage{fontspec} @@ -5634,7 +5680,7 @@ Persian typesetting in XeLaTeX] * ^^J% * Location on CTAN: /macros/xetex/latex/xepersian^^J% * ^^J% -* Issue tracker: https://github.com/vafa/xepersian/issues^^J% +* Issue tracker: https://sourceforge.net/p/xepersian-project/tickets^^J% * ^^J% * Support: persian-tex@tug.org^^J% ****************************************************} @@ -6160,6 +6206,7 @@ number is 999,999,999.}% } \PersianAlphs \@ifdefinitionfileloaded{loadingorder-xetex-bidi}{\input{loadingorder-xepersian.def}}{} +\@ifpackageloaded{fontspec-xetex}{\input{fontspec-xetex-xepersian.def}}{} \@ifpackageloaded{listings}{\input{listings-xepersian.def}}{} \@ifpackageloaded{algorithmic}{\input{algorithmic-xepersian.def}}{} \@ifpackageloaded{algorithm}{\input{algorithm-xepersian.def}}{} @@ -7125,7 +7172,7 @@ indexblock environment may only appear inside frontpage environment. % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{xepersian-mathsdigitspec} - [2013/10/21 v1.0.5 Unicode Persian maths digits in XeLaTeX] + [2014/07/10 v1.0.6 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{% @@ -7197,8 +7244,22 @@ indexblock environment may only appear inside frontpage environment. \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} + \@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} diff --git a/Master/texmf-dist/source/xelatex/xepersian/xepersian.ins b/Master/texmf-dist/source/xelatex/xepersian/xepersian.ins index 643a1e47a6c..ca18d71d1a9 100644 --- a/Master/texmf-dist/source/xelatex/xepersian/xepersian.ins +++ b/Master/texmf-dist/source/xelatex/xepersian/xepersian.ins @@ -55,6 +55,7 @@ \generate{\file{color-localise-xepersian.def}{\from{\jobname.dtx}{table,color-localise-xepersian.def}}} \generate{\file{xepersian-localise-commands-xepersian.def}{\from{\jobname.dtx}{table,xepersian-localise-commands-xepersian.def}}} \generate{\file{enumerate-xepersian.def}{\from{\jobname.dtx}{table,enumerate-xepersian.def}}} +\generate{\file{fontspec-xetex-xepersian.def}{\from{\jobname.dtx}{table,fontspec-xetex-xepersian.def}}} \generate{\file{latex-localise-environments-xepersian.def}{\from{\jobname.dtx}{table,latex-localise-environments-xepersian.def}}} \generate{\file{xepersian-localise-environments-xepersian.def}{\from{\jobname.dtx}{table,xepersian-localise-environments-xepersian.def}}} \generate{\file{extarticle-xepersian.def}{\from{\jobname.dtx}{table,extarticle-xepersian.def}}} |