summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/doc/xelatex/xepersian/README4
-rw-r--r--Master/texmf-dist/doc/xelatex/xepersian/xepersian.pdfbin266954 -> 266744 bytes
-rw-r--r--Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx35
-rw-r--r--Master/texmf-dist/source/xelatex/xepersian/xepersian.ins1
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/framed-bidi-xepersian.def40
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty5
6 files changed, 75 insertions, 10 deletions
diff --git a/Master/texmf-dist/doc/xelatex/xepersian/README b/Master/texmf-dist/doc/xelatex/xepersian/README
index 51bb1cd8bde..7000951c248 100644
--- a/Master/texmf-dist/doc/xelatex/xepersian/README
+++ b/Master/texmf-dist/doc/xelatex/xepersian/README
@@ -1,9 +1,9 @@
_________________
The XePersian package
-v11.139
+v11.140
XePersian is a package written for XeLaTeX that allows users to typeset
-Persian easily. The current version is 11.139 and it will be developed to
+Persian easily. The current version is 11.140 and it will be developed to
meet the needs of Persian typesetting properly.
The XePersian package is independent of any operating system, meaning it
diff --git a/Master/texmf-dist/doc/xelatex/xepersian/xepersian.pdf b/Master/texmf-dist/doc/xelatex/xepersian/xepersian.pdf
index 88f4dc5e9c0..0a0d0c50123 100644
--- a/Master/texmf-dist/doc/xelatex/xepersian/xepersian.pdf
+++ b/Master/texmf-dist/doc/xelatex/xepersian/xepersian.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx b/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx
index be3ba9af12b..c3dfd2f9197 100644
--- a/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx
+++ b/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx
@@ -5,10 +5,10 @@
%<*readme>
_________________
The XePersian package
-v11.139
+v11.140
XePersian is a package written for XeLaTeX that allows users to typeset
-Persian easily. The current version is 11.139 and it will be developed to
+Persian easily. The current version is 11.140 and it will be developed to
meet the needs of Persian typesetting properly.
The XePersian package is independent of any operating system, meaning it
@@ -98,6 +98,7 @@ by Vafa Khalighi.
\generate{\file{extreport-xepersian.def}{\from{\jobname.dtx}{extreport-xepersian.def}}}
\generate{\file{flowfram-xepersian.def}{\from{\jobname.dtx}{flowfram-xepersian.def}}}
\generate{\file{footnote-bidi-xepersian.def}{\from{\jobname.dtx}{footnote-bidi-xepersian.def}}}
+\generate{\file{framed-bidi-xepersian.def}{\from{\jobname.dtx}{framed-bidi-xepersian.def}}}
\generate{\file{hyperref-xepersian.def}{\from{\jobname.dtx}{hyperref-xepersian.def}}}
\generate{\file{imsproc-xepersian.def}{\from{\jobname.dtx}{imsproc-xepersian.def}}}
\generate{\file{kashida-xepersian.def}{\from{\jobname.dtx}{kashida-xepersian.def}}}
@@ -211,7 +212,7 @@ by Vafa Khalighi.
% Persian for \LaTeXe{} over \XeTeX}
% \author{Vafa Khalighi\\
% \url{vkhalighi@me.com}}
-% \date{\today\qquad Version 11.139}
+% \date{\today\qquad Version 11.140}
%\maketitle
%\tableofcontents
%\section{Introduction}
@@ -231,7 +232,7 @@ by Vafa Khalighi.
%Description: The package supports Persian
%typesetting, using fonts provided in the distribution.
%Copyright © 2008-2012 Vafa Khalighi
-%v11.139, 2012/06/01
+%v11.140, 2012/06/05
%License: LaTeX Project Public License, version 1.3c or higher (your choice)
%Location on CTAN: /macros/xetex/latex/xepersian
%\end{lstlisting}
@@ -3953,6 +3954,27 @@ by Vafa Khalighi.
% \end{macrocode}
% \iffalse
%</footnote-bidi-xepersian.def>
+%<*framed-bidi-xepersian.def>
+%\fi
+% \subsection{\textsf{framed-bidi-xepersian.def}}
+% \begin{macrocode}
+\ProvidesFile{framed-bidi-xepersian.def}[2012/06/05 v0.1 xepersian adaptations for framed package for XeTeX engine]
+\renewenvironment{titled-frame}[1]{%
+ \def\FrameCommand{\fboxsep8pt\fboxrule2pt
+ \TitleBarFrame{\textbf{#1}}}%
+ \def\FirstFrameCommand{\fboxsep8pt\fboxrule2pt
+ \TitleBarFrame[$\if@RTL\blacktriangleleft\else\blacktriangleright\fi$]{\textbf{#1}}}%
+ \def\MidFrameCommand{\fboxsep8pt\fboxrule2pt
+ \TitleBarFrame[$\if@RTL\blacktriangleleft\else\blacktriangleright\fi$]{\textbf{#1\ (\if@RTL ادامه\else cont\fi)}}}%
+ \def\LastFrameCommand{\fboxsep8pt\fboxrule2pt
+ \TitleBarFrame{\textbf{#1\ (\if@RTL ادامه\else cont\fi)}}}%
+ \MakeFramed{\advance\hsize-20pt \FrameRestore}}%
+% note: 8 + 2 + 8 + 2 = 20. Don't use \width because the frame title
+% could interfere with the width measurement.
+ {\endMakeFramed}
+% \end{macrocode}
+% \iffalse
+%</framed-bidi-xepersian.def>
%<*hyperref-xepersian.def>
%\fi
% \subsection{\textsf{hyperref-xepersian.def}}
@@ -5346,8 +5368,8 @@ U+003E U+003E <> U+00BB ; >> -> RIGHT POINTING GUILLEMET
% \subsection{\textsf{xepersian.sty}}
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\def\xepersianversion{v11.139}
-\def\xepersiandate{2012/06/01}
+\def\xepersianversion{v11.140}
+\def\xepersiandate{2012/06/05}
\ProvidesPackage{xepersian}[\xepersiandate\space \xepersianversion\space
Persian typesetting in XeLaTeX]
\RequirePackage{fontspec}
@@ -5889,6 +5911,7 @@ number is 999,999,999.}%
\@ifpackageloaded{breqn}{\input{breqn-xepersian.def}}{}
\@ifpackageloaded{enumerate}{\input{enumerate-xepersian.def}}{}
\@ifpackageloaded{empheq}{\input{empheq-xepersian.def}}{}
+\@ifpackageloaded{framed}{\input{framed-bidi-xepersian.def}}{}
\@ifpackageloaded{hyperref}{\input{hyperref-xepersian.def}}{}
\@ifpackageloaded{minitoc}{\input{minitoc-xepersian.def}}{}
\@ifpackageloaded{natbib}{\input{natbib-xepersian.def}}{}
diff --git a/Master/texmf-dist/source/xelatex/xepersian/xepersian.ins b/Master/texmf-dist/source/xelatex/xepersian/xepersian.ins
index 03eb3f3d39f..5be44fec1d8 100644
--- a/Master/texmf-dist/source/xelatex/xepersian/xepersian.ins
+++ b/Master/texmf-dist/source/xelatex/xepersian/xepersian.ins
@@ -67,6 +67,7 @@ by Vafa Khalighi.
\generate{\file{extreport-xepersian.def}{\from{\jobname.dtx}{extreport-xepersian.def}}}
\generate{\file{flowfram-xepersian.def}{\from{\jobname.dtx}{flowfram-xepersian.def}}}
\generate{\file{footnote-bidi-xepersian.def}{\from{\jobname.dtx}{footnote-bidi-xepersian.def}}}
+\generate{\file{framed-bidi-xepersian.def}{\from{\jobname.dtx}{framed-bidi-xepersian.def}}}
\generate{\file{hyperref-xepersian.def}{\from{\jobname.dtx}{hyperref-xepersian.def}}}
\generate{\file{imsproc-xepersian.def}{\from{\jobname.dtx}{imsproc-xepersian.def}}}
\generate{\file{kashida-xepersian.def}{\from{\jobname.dtx}{kashida-xepersian.def}}}
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/framed-bidi-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/framed-bidi-xepersian.def
new file mode 100644
index 00000000000..c579a716d4d
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/framed-bidi-xepersian.def
@@ -0,0 +1,40 @@
+%%
+%% This is file `framed-bidi-xepersian.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xepersian.dtx (with options: `framed-bidi-xepersian.def')
+%%
+%% ______________________________________
+%% Copyright © 2008–2012 Vafa Khalighi
+%%
+%% License information appended.
+%%
+%%
+\ProvidesFile{framed-bidi-xepersian.def}[2012/06/05 v0.1 xepersian adaptations for framed package for XeTeX engine]
+\renewenvironment{titled-frame}[1]{%
+ \def\FrameCommand{\fboxsep8pt\fboxrule2pt
+ \TitleBarFrame{\textbf{#1}}}%
+ \def\FirstFrameCommand{\fboxsep8pt\fboxrule2pt
+ \TitleBarFrame[$\if@RTL\blacktriangleleft\else\blacktriangleright\fi$]{\textbf{#1}}}%
+ \def\MidFrameCommand{\fboxsep8pt\fboxrule2pt
+ \TitleBarFrame[$\if@RTL\blacktriangleleft\else\blacktriangleright\fi$]{\textbf{#1\ (\if@RTL ادامه\else cont\fi)}}}%
+ \def\LastFrameCommand{\fboxsep8pt\fboxrule2pt
+ \TitleBarFrame{\textbf{#1\ (\if@RTL ادامه\else cont\fi)}}}%
+ \MakeFramed{\advance\hsize-20pt \FrameRestore}}%
+ {\endMakeFramed}
+%%
+%% Copyright © 2008–2012 Vafa Khalighi <vkhalighi@me.com>
+%%
+%% 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
+%%
+%% This work is “author-maintained” (as per LPPL maintenance status)
+%% by Vafa Khalighi.
+%%
+%%
+%%
+%%
+%% End of file `framed-bidi-xepersian.def'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty b/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty
index 5e04602f59b..3e44186de5b 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty
+++ b/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty
@@ -13,8 +13,8 @@
%%
%%
\NeedsTeXFormat{LaTeX2e}
-\def\xepersianversion{v11.139}
-\def\xepersiandate{2012/06/01}
+\def\xepersianversion{v11.140}
+\def\xepersiandate{2012/06/05}
\ProvidesPackage{xepersian}[\xepersiandate\space \xepersianversion\space
Persian typesetting in XeLaTeX]
\RequirePackage{fontspec}
@@ -556,6 +556,7 @@ number is 999,999,999.}%
\@ifpackageloaded{breqn}{\input{breqn-xepersian.def}}{}
\@ifpackageloaded{enumerate}{\input{enumerate-xepersian.def}}{}
\@ifpackageloaded{empheq}{\input{empheq-xepersian.def}}{}
+\@ifpackageloaded{framed}{\input{framed-bidi-xepersian.def}}{}
\@ifpackageloaded{hyperref}{\input{hyperref-xepersian.def}}{}
\@ifpackageloaded{minitoc}{\input{minitoc-xepersian.def}}{}
\@ifpackageloaded{natbib}{\input{natbib-xepersian.def}}{}