summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-07-27 18:23:21 +0000
committerKarl Berry <karl@freefriends.org>2012-07-27 18:23:21 +0000
commitbf85c0b82fc3a48eff777f0222b15a91602590a1 (patch)
treeb6859c810e86ac68c560104eff87ccc7f715bd47 /Master/texmf-dist
parentfee134a819b440e96d6e33a055692e33285356db (diff)
xepersian (16jul12)
git-svn-id: svn://tug.org/texlive/trunk@27200 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/xelatex/xepersian/README12
-rw-r--r--Master/texmf-dist/doc/xelatex/xepersian/xepersian.pdfbin222403 -> 223693 bytes
-rw-r--r--Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx61
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/commands-xepersian.def5
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/xepersian-persiancal.sty13
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty5
6 files changed, 69 insertions, 27 deletions
diff --git a/Master/texmf-dist/doc/xelatex/xepersian/README b/Master/texmf-dist/doc/xelatex/xepersian/README
index b5c469b8022..98bc8f6b695 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.142
+v11.143
XePersian is a package written for XeLaTeX that allows users to typeset
-Persian easily. The current version is 11.142 and it will be developed to
+Persian easily. The current version is 11.143 and it will be developed to
meet the needs of Persian typesetting properly.
The XePersian package is independent of any operating system, meaning it
@@ -15,6 +15,14 @@ in the documentation.
To get help, please explore http://forum.parsilatex.com
+________________________________________________________
+How to file bug reports and follow development of XePersian package
+
+The XePersian package is developed on <https://github.com/vafa/xepersian>.
+
+Users are encouraged to offer suggestions and file bug reports on
+the github issue tracker: <https://github.com/vafa/xepersian/issues>.
+
______________
Vafa Khalighi
vafakhlg@gmail.com
diff --git a/Master/texmf-dist/doc/xelatex/xepersian/xepersian.pdf b/Master/texmf-dist/doc/xelatex/xepersian/xepersian.pdf
index 1ae1c08edb7..f9ca0aa8a2b 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 7ff3a2a94e6..674e63f7dd9 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.142
+v11.143
XePersian is a package written for XeLaTeX that allows users to typeset
-Persian easily. The current version is 11.142 and it will be developed to
+Persian easily. The current version is 11.143 and it will be developed to
meet the needs of Persian typesetting properly.
The XePersian package is independent of any operating system, meaning it
@@ -22,6 +22,14 @@ in the documentation.
To get help, please explore http://forum.parsilatex.com
+________________________________________________________
+How to file bug reports and follow development of XePersian package
+
+The XePersian package is developed on <https://github.com/vafa/xepersian>.
+
+Users are encouraged to offer suggestions and file bug reports on
+the github issue tracker: <https://github.com/vafa/xepersian/issues>.
+
______________
Vafa Khalighi
vafakhlg@gmail.com
@@ -148,7 +156,7 @@ by Vafa Khalighi.
%
%<*driver>
\documentclass{ltxdoc}
-\usepackage{graphicx,wrapfig}
+\usepackage{graphicx,wrapfig,framed}
\usepackage{url}
\usepackage{supertabular}
\usepackage{fontspec}
@@ -159,6 +167,8 @@ by Vafa Khalighi.
\definecolor{xepersianblue}{rgb}{0.1,0.2,0.8}
\usepackage[numbered]{hypdoc}
\definecolor{myred}{rgb}{0.65,0.04,0.07}
+\definecolor{TFFrameColor}{rgb}{0.1,0.2,0.8}
+\definecolor{TFTitleColor}{rgb}{1,1,1}
\hypersetup{pdftitle={The XePersian Package (Persian for \LaTeXe{} over XeTeX)},pdfauthor={Vafa Khalighi <vafakhlg@gmail.com>},linkcolor=xepersianblue,urlcolor=xepersianblue,citecolor=xepersianblue}
\usepackage{bidi}
\setlength\columnseprule{.4pt}
@@ -214,11 +224,17 @@ by Vafa Khalighi.
% \makeatletter
% \title{The \textsf{\XePersian} Package\\[10pt]
% \includegraphics[width=0.5\textwidth]{xepersian-logo}\\[10pt]
-% Persian for \LaTeXe{} over \XeTeX}
+% Persian for \LaTeXe{} over \XeTeX\\
+%\url{https://github.com/vafa/xepersian}}
% \author{Vafa Khalighi\\
% \url{vafakhlg@gmail.com}}
-% \date{\today\qquad Version 11.142}
+% \date{\today\qquad Version 11.143}
%\maketitle
+%\begin{titled-frame}{How to file bug reports and follow development of \textsf{XePersian} package}
+%The \textsf{XePersian} package is developed on \url{https://github.com/vafa/xepersian}. Users are encouraged to offer suggestions and file bug reports on the github issue tracker:
+%\url{https://github.com/vafa/xepersian/issues}.
+%\end{titled-frame}
+%\newpage
%\tableofcontents
%\section{Introduction}
%\XePersian\ is a package for typesetting Persian/English documents with \XeLaTeX. The package includes adaptations for use with many other commonly-used packages.
@@ -237,7 +253,7 @@ by Vafa Khalighi.
%Description: The package supports Persian
%typesetting, using fonts provided in the distribution.
%Copyright © 2008-2012 Vafa Khalighi
-%v11.142, 2012/07/25
+%v11.143, 2012/07/25
%License: LaTeX Project Public License, version 1.3c or higher (your choice)
%Location on CTAN: /macros/xetex/latex/xepersian
%\end{lstlisting}
@@ -1327,8 +1343,11 @@ by Vafa Khalighi.
%\bicsintabular{پانویس}{LTRfootnote}
%\bicsintabular{متن‌پانویس}{LTRfootnotetext}
%\bicsintabular{پانویس‌عنوان}{LTRthanks}
+%\bicsintabular{روزپارسی}{persianday}
%\bicsintabular{قلم‌پارسی}{persianfont}
%\bicsintabular{اعدادفرمولهاپارسی}{PersianMathsDigits}
+%\bicsintabular{ماه‌پارسی}{persianmonth}
+%\bicsintabular{سال‌پارسی}{persianyear}
%\bicsintabular{علامت‌چپ‌نقل‌قول‌پارسی‌}{plq}
%\bicsintabular{علامت‌راست‌نقل‌قول‌پارسی}{prq}
%\bicsintabular{خط‌زیرنویس‌راست}{rightfootnoterule}
@@ -1722,10 +1741,14 @@ by Vafa Khalighi.
%\end{itemize}
%\subsection{Miscellaneous Commands}
%\begin{BDef}
+%\Lcs{persianyear}\quad\Lcs{persianmonth}\quad\Lcs{persianday}\\
%\Lcs{today}\quad\Lcs{latintoday}\quad\Lcs{twocolumnstableofcontents}\quad\Lcs{XePersian}\\
%\Lcs{plq}\quad\Lcs{prq}
%\end{BDef}
%\begin{itemize}
+%\item \Lcs{persianyear} is Persian equivalent of \Lcs{year}.
+%\item \Lcs{persianmonth} is Persian equivalent of \Lcs{month}.
+%\item \Lcs{persianday} is Persian equivalent of \Lcs{day}.
%\item \Lcs{today} typesets current Persian date and \Lcs{latintoday} typesets current Latin date.
%\item \Lcs{twocolumnstableofcontents} typesets table of contents in two columns. This requires that you have loaded \textsf{multicol} package before \textsf{\XePersian} package, otherwise an error will be issued.
%\item \Lcs{XePersian} typesets \XePersian's logo.
@@ -3612,7 +3635,7 @@ by Vafa Khalighi.
%\fi
% \subsection{\textsf{commands-xepersian.def}}
% \begin{macrocode}
-\ProvidesFile{commands-xepersian.def}[2010/07/25 v0.1 Persian localisation of XePersian commands]
+\ProvidesFile{commands-xepersian.def}[2012/07/25 v0.2 Persian localisation of XePersian commands]
\eqcommand{خط‌زیرنویس‌خودکار}{autofootnoterule}
\eqcommand{اعدادفرمولهاخودکار}{AutoMathsDigits}
\eqcommand{اعدادفرمولهالاتین}{DefaultMathsDigits}
@@ -3631,8 +3654,11 @@ by Vafa Khalighi.
\eqcommand{پانویس}{LTRfootnote}
\eqcommand{متن‌پانویس}{LTRfootnotetext}
\eqcommand{پانویس‌عنوان}{LTRthanks}
+\eqcommand{روزپارسی}{persianday}
\eqcommand{قلم‌پارسی}{persianfont}
\eqcommand{اعدادفرمولهاپارسی}{PersianMathsDigits}
+\eqcommand{ماه‌پارسی}{persianmonth}
+\eqcommand{سال‌پارسی}{persianyear}
\eqcommand{علامت‌چپ‌نقل‌قول‌پارسی}{plq}
\eqcommand{علامت‌راست‌نقل‌قول‌پارسی}{prq}
\eqcommand{خط‌زیرنویس‌راست}{rightfootnoterule}
@@ -5400,7 +5426,7 @@ U+003E U+003E <> U+00BB ; >> -> RIGHT POINTING GUILLEMET
% \subsection{\textsf{xepersian.sty}}
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\def\xepersianversion{v11.142}
+\def\xepersianversion{v11.143}
\def\xepersiandate{2012/07/25}
\ProvidesPackage{xepersian}[\xepersiandate\space \xepersianversion\space
Persian typesetting in XeLaTeX]
@@ -5563,8 +5589,7 @@ Location on CTAN: /macros/xetex/latex/xepersian}
\def\persian{\RTL\PersianAlphs\@RTL@footnotetrue\setpersianfont}
\def\endpersian{\endRTL}
\let\originaltoday=\today
-\def\today{\lr{\originaltoday}}
-\let\latintoday\today
+\def\latintoday{\lr{\originaltoday}}
\def\today{\rl{\persiantoday}}
\def \@LTRmarginparreset {%
\reset@font
@@ -7231,7 +7256,7 @@ indexblock environment may only appear inside frontpage environment.
% \subsection{\textsf{xepersian-persiancal.sty}}
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{xepersian-persiancal}[2010/07/25 v0.1 provides Persian calendar]
+\ProvidesPackage{xepersian-persiancal}[2012/07/25 v0.2 provides Persian calendar]
\newif\ifXePersian@leap \newif\ifXePersian@kabiseh
\newcount\XePersian@i \newcount\XePersian@y \newcount\XePersian@m \newcount\XePersian@d
@@ -7258,7 +7283,7 @@ indexblock environment may only appear inside frontpage environment.
\newcount\XePersian@sn
\newcount\XePersian@mminusone
-\def\persiantoday{%
+
\XePersian@y=\year \XePersian@m=\month \XePersian@d=\day
\XePersian@temp=\XePersian@y
\divide\XePersian@temp by 100\relax
@@ -7387,10 +7412,14 @@ indexblock environment may only appear inside frontpage environment.
\else
\XePersian@d = \XePersian@dn \advance \XePersian@d by -\XePersian@sn
\fi
-\beginL\number\XePersian@d\endL\space%
-\persianmonth{\XePersian@m}\space\beginL\number\XePersian@y\endL%
-}
-\def\persianmonth#1{\ifcase#1\or فروردین\or
+\newcommand*{\persiantoday}{%
+\number\XePersian@d\space%
+\XePersian@persian@month{\XePersian@m}\space\number\XePersian@y%
+}
+\let\persianyear\XePersian@y
+\let\persianmonth\XePersian@m
+\let\persianday\XePersian@d
+\def\XePersian@persian@month#1{\ifcase#1\or فروردین\or
اردیبهشت\or
خرداد\or تیر\or
مرداد\or
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/commands-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/commands-xepersian.def
index a4fa0470807..fbb2bdd9e97 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/commands-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/commands-xepersian.def
@@ -12,7 +12,7 @@
%% License information appended.
%%
%%
-\ProvidesFile{commands-xepersian.def}[2010/07/25 v0.1 Persian localisation of XePersian commands]
+\ProvidesFile{commands-xepersian.def}[2012/07/25 v0.2 Persian localisation of XePersian commands]
\eqcommand{خط‌زیرنویس‌خودکار}{autofootnoterule}
\eqcommand{اعدادفرمولهاخودکار}{AutoMathsDigits}
\eqcommand{اعدادفرمولهالاتین}{DefaultMathsDigits}
@@ -31,8 +31,11 @@
\eqcommand{پانویس}{LTRfootnote}
\eqcommand{متن‌پانویس}{LTRfootnotetext}
\eqcommand{پانویس‌عنوان}{LTRthanks}
+\eqcommand{روزپارسی}{persianday}
\eqcommand{قلم‌پارسی}{persianfont}
\eqcommand{اعدادفرمولهاپارسی}{PersianMathsDigits}
+\eqcommand{ماه‌پارسی}{persianmonth}
+\eqcommand{سال‌پارسی}{persianyear}
\eqcommand{علامت‌چپ‌نقل‌قول‌پارسی}{plq}
\eqcommand{علامت‌راست‌نقل‌قول‌پارسی}{prq}
\eqcommand{خط‌زیرنویس‌راست}{rightfootnoterule}
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/xepersian-persiancal.sty b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-persiancal.sty
index 223e7984a1f..e9891246101 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/xepersian-persiancal.sty
+++ b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-persiancal.sty
@@ -13,7 +13,7 @@
%%
%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{xepersian-persiancal}[2010/07/25 v0.1 provides Persian calendar]
+\ProvidesPackage{xepersian-persiancal}[2012/07/25 v0.2 provides Persian calendar]
\newif\ifXePersian@leap \newif\ifXePersian@kabiseh
\newcount\XePersian@i \newcount\XePersian@y \newcount\XePersian@m \newcount\XePersian@d
@@ -40,7 +40,6 @@
\newcount\XePersian@sn
\newcount\XePersian@mminusone
-\def\persiantoday{%
\XePersian@y=\year \XePersian@m=\month \XePersian@d=\day
\XePersian@temp=\XePersian@y
\divide\XePersian@temp by 100\relax
@@ -169,10 +168,14 @@
\else
\XePersian@d = \XePersian@dn \advance \XePersian@d by -\XePersian@sn
\fi
-\beginL\number\XePersian@d\endL\space%
-\persianmonth{\XePersian@m}\space\beginL\number\XePersian@y\endL%
+\newcommand*{\persiantoday}{%
+\number\XePersian@d\space%
+\XePersian@persian@month{\XePersian@m}\space\number\XePersian@y%
}
-\def\persianmonth#1{\ifcase#1\or فروردین\or
+\let\persianyear\XePersian@y
+\let\persianmonth\XePersian@m
+\let\persianday\XePersian@d
+\def\XePersian@persian@month#1{\ifcase#1\or فروردین\or
اردیبهشت\or
خرداد\or تیر\or
مرداد\or
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty b/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty
index f5082d34326..24f1aca80d3 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty
+++ b/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty
@@ -13,7 +13,7 @@
%%
%%
\NeedsTeXFormat{LaTeX2e}
-\def\xepersianversion{v11.142}
+\def\xepersianversion{v11.143}
\def\xepersiandate{2012/07/25}
\ProvidesPackage{xepersian}[\xepersiandate\space \xepersianversion\space
Persian typesetting in XeLaTeX]
@@ -176,8 +176,7 @@ Location on CTAN: /macros/xetex/latex/xepersian}
\def\persian{\RTL\PersianAlphs\@RTL@footnotetrue\setpersianfont}
\def\endpersian{\endRTL}
\let\originaltoday=\today
-\def\today{\lr{\originaltoday}}
-\let\latintoday\today
+\def\latintoday{\lr{\originaltoday}}
\def\today{\rl{\persiantoday}}
\def \@LTRmarginparreset {%
\reset@font