From fe8e5b414083f7d38fa96ca5e882c6afa765e6db Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 4 Jun 2012 17:43:48 +0000 Subject: xepersian (4jun12) git-svn-id: svn://tug.org/texlive/trunk@26823 c570f23f-e606-0410-a88d-b1316a301751 --- .../xelatex/xepersian/framed-bidi-xepersian.def | 40 ++++++++++++++++++++++ .../texmf-dist/tex/xelatex/xepersian/xepersian.sty | 5 +-- 2 files changed, 43 insertions(+), 2 deletions(-) create mode 100644 Master/texmf-dist/tex/xelatex/xepersian/framed-bidi-xepersian.def (limited to 'Master/texmf-dist/tex/xelatex') 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 +%% +%% 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}}{} -- cgit v1.2.3