summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/xelatex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-09-29 21:26:27 +0000
committerKarl Berry <karl@freefriends.org>2018-09-29 21:26:27 +0000
commite5494ec747e1106ebe26ad6f6641b7ce641e5e24 (patch)
treeb8c270249e175104d68ab8435435547e7329e3f8 /Master/texmf-dist/source/xelatex
parent77872db57134ce690bf9ee630569ae942b917af9 (diff)
xepersian (29sep18)
git-svn-id: svn://tug.org/texlive/trunk@48788 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/xelatex')
-rw-r--r--Master/texmf-dist/source/xelatex/xepersian/xepersian-doc-intro.ltx2
-rw-r--r--Master/texmf-dist/source/xelatex/xepersian/xepersian-doc-title.ltx4
-rw-r--r--Master/texmf-dist/source/xelatex/xepersian/xepersian-doc.ltx2
-rw-r--r--Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx305
-rw-r--r--Master/texmf-dist/source/xelatex/xepersian/xepersian.ins3
5 files changed, 265 insertions, 51 deletions
diff --git a/Master/texmf-dist/source/xelatex/xepersian/xepersian-doc-intro.ltx b/Master/texmf-dist/source/xelatex/xepersian/xepersian-doc-intro.ltx
index 58aef74c4c0..6c6ce0c959d 100644
--- a/Master/texmf-dist/source/xelatex/xepersian/xepersian-doc-intro.ltx
+++ b/Master/texmf-dist/source/xelatex/xepersian/xepersian-doc-intro.ltx
@@ -24,7 +24,7 @@ If you use \textsf{\XePersian} package to write any input \TeX\ document, and th
*
* Copyright (c) 2008--2018 Vafa Khalighi
*
-* v21.4, 2018/09/21
+* v21.5, 2018/09/29
*
* License: LaTeX Project Public License, version
* 1.3c or higher (your choice)
diff --git a/Master/texmf-dist/source/xelatex/xepersian/xepersian-doc-title.ltx b/Master/texmf-dist/source/xelatex/xepersian/xepersian-doc-title.ltx
index ddb12c04ffd..5305f52c71e 100644
--- a/Master/texmf-dist/source/xelatex/xepersian/xepersian-doc-title.ltx
+++ b/Master/texmf-dist/source/xelatex/xepersian/xepersian-doc-title.ltx
@@ -3,7 +3,7 @@
\begin{document}
\title{\textcolor{blue!65!black}{\Huge The \textsf{\XePersian} \textit{Package}}\\
\LARGE Persian for \LaTeXe, using {\XeTeX} engine\\[5pt]
-\large User documentation for \textcolor{blue!65!black}{version 21.4}}
+\large User documentation for \textcolor{blue!65!black}{version 21.5}}
\author{Vafa Khalighi\\
\url{persian-tex@tug.org}}
\setcounter{page}{0}
@@ -14,7 +14,7 @@
\textcolor{blue!65!black}{\Huge The \textsf{\XePersian} \textit{Package}}
\Large
-User documentation for \textcolor{blue!65!black}{version 21.4}}
+User documentation for \textcolor{blue!65!black}{version 21.5}}
\vskip 0pt plus 3fill
\textit{\large to my Master, \textbf{Ferdowsi The Great}}
diff --git a/Master/texmf-dist/source/xelatex/xepersian/xepersian-doc.ltx b/Master/texmf-dist/source/xelatex/xepersian/xepersian-doc.ltx
index 304b518a6f7..c138e80304a 100644
--- a/Master/texmf-dist/source/xelatex/xepersian/xepersian-doc.ltx
+++ b/Master/texmf-dist/source/xelatex/xepersian/xepersian-doc.ltx
@@ -1,7 +1,7 @@
\documentclass{ltxdoc}
\input{xepersian-doc-preamble.ltx}
\hypersetup{%
- pdftitle={User documentation for version 21.4 of the XePersian
+ pdftitle={User documentation for version 21.5 of the XePersian
package}%
}
\begin{document}
diff --git a/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx b/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx
index 9fd4918a456..111caacde8d 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
-v21.4
+v21.5
The xepersian package provides a convenient interface for
typesetting Persian and English texts in LaTeX, using XeTeX
@@ -53,7 +53,7 @@ this mailing list. You can subscribe to the mailing list at
<https://lists.sourceforge.net/lists/listinfo/persian-tex-dist-discuss>
-Current version release date: 2018/09/21
+Current version release date: 2018/09/29
______________
Vafa Khalighi
persian-tex@tug.org
@@ -119,7 +119,7 @@ by Vafa Khalighi.
\generate{\file{extbook-xepersian.def}{\from{\jobname.dtx}{table,extbook-xepersian.def}}}
\generate{\file{extrafootnotefeatures-xepersian.def}{\from{\jobname.dtx}{table,extrafootnotefeatures-xepersian.def}}}
\generate{\file{extreport-xepersian.def}{\from{\jobname.dtx}{table,extreport-xepersian.def}}}
-\generate{\file{flowfram-xepersian.def}{\from{\jobname.dtx}{table,flowfram-xepersian.def}}}
+\generate{\file{fancyref-xepersian.def}{\from{\jobname.dtx}{table,fancyref-xepersian.def}}}
\generate{\file{footnote-xepersian.def}{\from{\jobname.dtx}{table,footnote-xepersian.def}}}
\generate{\file{framed-xepersian.def}{\from{\jobname.dtx}{table,framed-xepersian.def}}}
\generate{\file{glossaries-xepersian.def}{\from{\jobname.dtx}{table,glossaries-xepersian.def}}}
@@ -154,6 +154,7 @@ by Vafa Khalighi.
\generate{\file{soul-xepersian.def}{\from{\jobname.dtx}{table,soul-xepersian.def}}}
\generate{\file{tkz-linknodes-xepersian.def}{\from{\jobname.dtx}{table,tkz-linknodes-xepersian.def}}}
\generate{\file{tocloft-xepersian.def}{\from{\jobname.dtx}{table,tocloft-xepersian.def}}}
+\generate{\file{varioref-xepersian.def}{\from{\jobname.dtx}{table,varioref-xepersian.def}}}
\generate{\file{xepersian.sty}{\from{\jobname.dtx}{table,xepersian.sty}}}
\generate{\file{xepersian-magazine.cls}{\from{\jobname.dtx}{table,xepersian-magazine.cls}}}
\generate{\file{xepersian-mathsdigitspec.sty}{\from{\jobname.dtx}{table,xepersian-mathsdigitspec.sty}}}
@@ -181,7 +182,7 @@ by Vafa Khalighi.
\documentclass{ltxdoc}
\input{xepersian-doc-preamble.ltx}
\hypersetup{%
- pdftitle={Source documentation for version 21.4 of the XePersian
+ pdftitle={Source documentation for version 21.5 of the XePersian
package}%
}
\EnableCrossrefs
@@ -200,7 +201,7 @@ by Vafa Khalighi.
% \GetFileInfo{\jobname.dtx}
% \title{\textcolor{blue!65!black}{\Huge The \textsf{\XePersian} \textit{Package}}\\
%\LARGE Persian for \LaTeXe, using {\XeTeX} engine\\[5pt]
-%\large Source documentation for \textcolor{blue!65!black}{version 21.4}}
+%\large Source documentation for \textcolor{blue!65!black}{version 21.5}}
% \author{Vafa Khalighi\\
% \url{persian-tex@tug.org}}
%\setcounter{page}{0}
@@ -211,7 +212,7 @@ by Vafa Khalighi.
%\textcolor{blue!65!black}{\Huge The \textsf{\XePersian} \textit{Package}}
%
%\Large
-%Source documentation for \textcolor{blue!65!black}{version 21.4}}
+%Source documentation for \textcolor{blue!65!black}{version 21.5}}
%
%\vskip 0pt plus 3fill
%\textit{\large to my Master, \textbf{Ferdowsi The Great}}
@@ -281,7 +282,7 @@ by Vafa Khalighi.
%\iffalse
%<*table>
%\fi
-%% \CheckSum{10620}
+%% \CheckSum{10799}
%% \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
@@ -1797,42 +1798,172 @@ by Vafa Khalighi.
% \end{macrocode}
% \iffalse
%</extreport-xepersian.def>
-%<*flowfram-xepersian.def>
+%<*fancyref-xepersian.def>
%\fi
-% \section{File \texttt{flowfram-xepersian.def}}
+% \section{File \texttt{fancyref-xepersian.def}}
% \begin{macrocode}
-\ProvidesFile{flowfram-xepersian.def}[2010/07/25 v0.1 adaptations for flowfram package]
-\def\@outputpage{%
-\begingroup
- \let\protect\noexpand
- \@resetactivechars
- \global\let\@@if@newlist\if@newlist
- \global\@newlistfalse\@parboxrestore
- \shipout\vbox{\set@typeset@protect
- \aftergroup
- \endgroup
- \aftergroup
- \set@typeset@protect
- \reset@font\normalsize\normalsfcodes
- \let\label\@gobble
- \let\index\@gobble
- \let\glossary\@gobble
- \baselineskip\z@skip
- \lineskip\z@skip
- \lineskiplimit\z@
- \vskip\topmargin\moveright\@themargin
- \vbox{%
- \vskip\headheight
- \vskip\headsep
- \box\@outputbox
- }}%
- \global\let\if@newlist\@@if@newlist
- \stepcounter{page}%
- \setcounter{displayedframe}{0}%
- \let\firstmark\botmark}
+\ProvidesFile{fancyref-xepersian.def}[2018/09/29 v0.1 bilingual captions for fancyref package]
+\renewcommand*{\Frefchapname}{\chaptername}
+\renewcommand*{\Frefenumname}{%
+ \if@RTL
+فقره%
+ \else
+ Item%
+ \fi
+}
+\renewcommand*{\Frefeqname}{%
+ \if@RTL
+معادله%
+ \else
+ Equation%
+ \fi
+}
+\renewcommand*{\Freffigname}{\figurename}
+\renewcommand*{\Freffnname}{%
+ \if@RTL
+زیرنویس%
+ \else
+ Footnote%
+ \fi
+}
+\renewcommand*{\Frefonname}{%
+ \if@RTL
+در%
+ \else
+ On%
+ \fi
+}
+\renewcommand*{\Frefpgname}{\pagename}
+\renewcommand*{\Frefsecname}{%
+ \if@RTL
+قسمت%
+ \else
+ Section%
+ \fi
+}
+\renewcommand*{\Frefseename}{%
+ \if@RTL
+ببینید%
+ \else
+ See%
+ \fi
+}
+\renewcommand*{\Freftabname}{\tablename}
+\renewcommand*{\Freffigshortname}{%
+ \if@RTL
+ \Freffigname
+ \else
+ Fig.%
+ \fi
+}
+\renewcommand*{\Frefpgshortname}{%
+ \if@RTL
+ \Frefpgname
+ \else
+ P.%
+ \fi
+}
+\renewcommand*{\Freftabshortname}{%
+ \if@RTL
+ \tablename
+ \else
+ Tab.%
+ \fi
+}
+\renewcommand*{\frefchapname}{%
+ \if@RTL
+ \Frefchapname
+ \else
+ \MakeLowercase{\Frefchapname}%
+\fi
+}
+\renewcommand*{\frefenumname}{%
+ \if@RTL
+ \Frefenumname
+ \else
+ \MakeLowercase{\Frefenumname}%
+ \fi
+}
+\renewcommand*{\frefeqname}{%
+ \if@RTL
+ \Frefeqname
+ \else
+ \MakeLowercase{\Frefeqname}%
+ \fi
+}
+\renewcommand*{\freffigname}{%
+ \if@RTL
+ \Freffigname
+ \else
+ \MakeLowercase{\Freffigname}%
+ \fi
+}
+\renewcommand*{\freffnname}{%
+ \if@RTL
+ \Freffnname
+ \else
+ \MakeLowercase{\Freffnname}%
+ \fi
+}
+\renewcommand*{\frefonname}{%
+ \if@RTL
+ \Frefonname
+ \else
+ \MakeLowercase{\Frefonname}%
+ \fi
+}
+\renewcommand*{\frefpgname}{%
+ \if@RTL
+ \Frefpgname
+ \else
+ \MakeLowercase{\Frefpgname}%
+ \fi
+}
+\renewcommand*{\frefsecname}{%
+ \if@RTL
+ \Frefsecname
+ \else
+ \MakeLowercase{\Frefsecname}%
+ \fi
+}
+\renewcommand*{\frefseename}{%
+ \if@RTL
+ \Frefseename
+ \else
+ \MakeLowercase{\Frefseename}%
+ \fi
+}
+\renewcommand*{\freftabname}{%
+ \if@RTL
+ \Freftabname
+ \else
+ \MakeLowercase{\Freftabname}%
+ \fi
+}
+\renewcommand*{\freffigshortname}{%
+ \if@RTL
+ \Freffigshortname
+ \else
+ \MakeLowercase{\Freffigshortname}%
+ \fi
+}
+\renewcommand*{\frefpgshortname}{%
+ \if@RTL
+ \Frefpgshortname
+ \else
+ \MakeLowercase{\Frefpgshortname}%
+ \fi
+}
+\renewcommand*{\freftabshortname}{%
+ \if@RTL
+ \Freftabshortname
+ \else
+ \MakeLowercase{\Freftabshortname}%
+ \fi
+}
% \end{macrocode}
% \iffalse
-%</flowfram-xepersian.def>
+%</fancyref-xepersian.def>
%<*footnote-xepersian.def>
%\fi
% \section{File \texttt{footnote-xepersian.def}}
@@ -2024,14 +2155,16 @@ by Vafa Khalighi.
%\fi
% \section{File \texttt{loadingorder-xepersian.def}}
% \begin{macrocode}
-\ProvidesFile{loadingorder-xepersian.def}[2017/09/06 v0.4 making sure that xepersian is the last package loaded]
+\ProvidesFile{loadingorder-xepersian.def}[2018/09/29 v0.5 making sure that xepersian is the last package loaded]
\bidi@isloaded{algorithmic}
\bidi@isloaded{algorithm}
\bidi@isloaded{backref}
\bidi@isloaded{enumerate}
\bidi@isloaded{enumitem}
+\bidi@isloaded{fancyref}
\bidi@isloaded{tocloft}
\bidi@isloaded{url}
+\bidi@isloaded{varioref}
\AtBeginDocument{
\if@bidi@algorithmicloaded@\else
\bidi@isloaded[\PackageError{xepersian}{Oops! you have loaded package algorithmic after xepersian package. Please load package algorithmic before xepersian package, and then try to run xelatex on your document again}{}]{algorithmic}
@@ -2048,12 +2181,18 @@ by Vafa Khalighi.
\if@bidi@enumitemloaded@\else
\bidi@isloaded[\PackageError{xepersian}{Oops! you have loaded package enumitem after xepersian package. Please load package enumitem before xepersian package, and then try to run xelatex on your document again}{}]{enumitem}
\fi%
+ \if@bidi@fancyrefloaded@\else
+ \bidi@isloaded[\PackageError{xepersian}{Oops! you have loaded package fancyref after xepersian package. Please load package fancyref before xepersian package, and then try to run xelatex on your document again}{}]{fancyref}
+ \fi%
\if@bidi@tocloftloaded@\else
\bidi@isloaded[\PackageError{xepersian}{Oops! you have loaded package tocloft after xepersian package. Please load package tocloft before xepersian package, and then try to run xelatex on your document again}{}]{tocloft}
\fi%
\if@bidi@urlloaded@\else
\bidi@isloaded[\PackageError{xepersian}{Oops! you have loaded package url after xepersian package. Please load package url before xepersian package, and then try to run xelatex on your document again}{}]{url}
\fi%
+ \if@bidi@variorefloaded@\else
+ \bidi@isloaded[\PackageError{xepersian}{Oops! you have loaded package varioref after xepersian package. Please load package varioref before xepersian package, and then try to run xelatex on your document again}{}]{varioref}
+ \fi%
}
% \end{macrocode}
% \iffalse
@@ -3215,13 +3354,84 @@ U+003E U+003E <> U+00BB ; >> -> RIGHT POINTING GUILLEMET
% \end{macrocode}
% \iffalse
%</tocloft-xepersian.def>
+%<*varioref-xepersian.def>
+%\fi
+% \section{File \texttt{varioref-xepersian.def}}
+% \begin{macrocode}
+\ProvidesFile{varioref-xepersian.def}[2018/09/29 v0.1 bilingual captions for varioref package]
+\def\reftextfaceafter{%
+ \if@RTL
+در صفحه
+\reftextvario{مقابل}{بعد}%
+ \else
+ on the \reftextvario{facing}{next} page%
+ \fi
+}
+\def\reftextfacebefore{%
+ \if@RTL
+در صفحه
+\reftextvario{مقابل}{قبل}%
+ \else
+ on the \reftextvario{facing}{preceding} page%
+ \fi
+}
+\def\reftextafter{%
+ \if@RTL
+در صفحه
+\reftextvario{بعد}{بعد}%
+ \else
+ on the \reftextvario{following}{next} page%
+ \fi
+}
+\def\reftextbefore{%
+ \if@RTL
+در صفحه
+\reftextvario{قبل}{قبل}%
+ \else
+ on the \reftextvario{preceding}{previous} page%
+ \fi
+}
+\def\reftextcurrent{%
+ \if@RTL
+در
+\reftextvario{همین صفحه}{صفحه جاری}%
+ \else
+ on \reftextvario{this}{the current} page%
+ \fi
+}
+\def\reftextfaraway#1{%
+ \if@RTL
+در صفحه%
+~\pageref{#1}%
+ \else
+ on page~\pageref{#1}%
+ \fi
+}
+\def\reftextpagerange#1#2{%
+ \if@RTL
+در صفحه‌های%
+~\pageref{#1}--\pageref{#2}%
+ \else
+ on pages~\pageref{#1}--\pageref{#2}%
+ \fi
+}
+\def\reftextlabelrange#1#2{%
+ \if@RTL
+ \ref{#1} تا~\ref{#2}%
+ \else
+ \ref{#1} to~\ref{#2}%
+ \fi
+}
+% \end{macrocode}
+% \iffalse
+%</varioref-xepersian.def>
%<*xepersian.sty>
%\fi
% \section{File \texttt{xepersian.sty}}
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\def\xepersian@version{21.4}
-\def\xepersiandate{2018/09/21}
+\def\xepersian@version{21.5}
+\def\xepersiandate{2018/09/29}
\ProvidesPackage{xepersian}[\xepersiandate\space v\xepersian@version\space
Persian typesetting in XeLaTeX]
\RequirePackage{fontspec}
@@ -4010,9 +4220,11 @@ Persian typesetting in XeLaTeX]
\xepersian@setlength{\partopsep}{.2\@tempdimb}{.1\@tempdimb}{.1\@tempdimb}%
}
-\renewcommand*{\@bidi@logo@}{\@bidi@logo@hb@xt@\textwidth{\hss\bfseries
+\renewcommand*{\@bidi@logo@}{%
+ \@bidi@logo@hb@xt@columnwidth
+ {\hss\bfseries
حروف‌چینی شده با
-\textsf{\XePersian}\quad\@bidi@logo{xepersian-logo.pdf}}}
+ \textsf{\XePersian}\quad\@bidi@logo{xepersian-logo.pdf}}}
\renewcommand*{\@bidi@pdfcreator}{%
The xepersian package, v\xepersian@version, \xepersiandate
@@ -4020,7 +4232,7 @@ Persian typesetting in XeLaTeX]
\newcommand*{\@xepersian@pdfcustomproperties}{%
This is the xepersian package, Version \xepersian@version,
- Released September 21, 2018.
+ Released September 29, 2018.
}
\newcommand\twocolumnstableofcontents{%
@@ -4339,7 +4551,7 @@ number is 999,999,999.}%
\@ifpackageloaded{algorithmic}{\input{algorithmic-xepersian.def}}{}
\@ifpackageloaded{algorithm}{\input{algorithm-xepersian.def}}{}
\@ifpackageloaded{backref}{\input{backref-xepersian.def}}{}
-\@ifpackageloaded{flowfram}{\input{flowfram-xepersian.def}}{}
+\@ifpackageloaded{fancyref}{\input{fancyref-xepersian.def}}{}
\@ifpackageloaded{bidituftesidenote}{\input{bidituftesidenote-xepersian.def}}{}
\@ifpackageloaded{breqn}{\input{breqn-xepersian.def}}{}
\@ifpackageloaded{enumerate}{\input{enumerate-xepersian.def}}{}
@@ -4352,6 +4564,7 @@ number is 999,999,999.}%
\@ifpackageloaded{soul}{\input{soul-xepersian.def}}{}
\@ifpackageloaded{tkz-linknodes}{\input{tkz-linknodes-xepersian.def}}{}
\@ifpackageloaded{tocloft}{\@ifclassloaded{memoir}{}{\input{tocloft-xepersian.def}}}{}
+\@ifpackageloaded{varioref}{\input{varioref-xepersian.def}}{}
\@ifclassloaded{article}{\input{article-xepersian.def}}{}
\@ifclassloaded{extarticle}{\input{extarticle-xepersian.def}}{}
\@ifclassloaded{artikel1}{\input{artikel1-xepersian.def}}{}
diff --git a/Master/texmf-dist/source/xelatex/xepersian/xepersian.ins b/Master/texmf-dist/source/xelatex/xepersian/xepersian.ins
index 47069182bb6..0cffb201a6a 100644
--- a/Master/texmf-dist/source/xelatex/xepersian/xepersian.ins
+++ b/Master/texmf-dist/source/xelatex/xepersian/xepersian.ins
@@ -63,7 +63,7 @@
\generate{\file{extbook-xepersian.def}{\from{\jobname.dtx}{table,extbook-xepersian.def}}}
\generate{\file{extrafootnotefeatures-xepersian.def}{\from{\jobname.dtx}{table,extrafootnotefeatures-xepersian.def}}}
\generate{\file{extreport-xepersian.def}{\from{\jobname.dtx}{table,extreport-xepersian.def}}}
-\generate{\file{flowfram-xepersian.def}{\from{\jobname.dtx}{table,flowfram-xepersian.def}}}
+\generate{\file{fancyref-xepersian.def}{\from{\jobname.dtx}{table,fancyref-xepersian.def}}}
\generate{\file{footnote-xepersian.def}{\from{\jobname.dtx}{table,footnote-xepersian.def}}}
\generate{\file{framed-xepersian.def}{\from{\jobname.dtx}{table,framed-xepersian.def}}}
\generate{\file{glossaries-xepersian.def}{\from{\jobname.dtx}{table,glossaries-xepersian.def}}}
@@ -98,6 +98,7 @@
\generate{\file{soul-xepersian.def}{\from{\jobname.dtx}{table,soul-xepersian.def}}}
\generate{\file{tkz-linknodes-xepersian.def}{\from{\jobname.dtx}{table,tkz-linknodes-xepersian.def}}}
\generate{\file{tocloft-xepersian.def}{\from{\jobname.dtx}{table,tocloft-xepersian.def}}}
+\generate{\file{varioref-xepersian.def}{\from{\jobname.dtx}{table,varioref-xepersian.def}}}
\generate{\file{xepersian.sty}{\from{\jobname.dtx}{table,xepersian.sty}}}
\generate{\file{xepersian-magazine.cls}{\from{\jobname.dtx}{table,xepersian-magazine.cls}}}
\generate{\file{xepersian-mathsdigitspec.sty}{\from{\jobname.dtx}{table,xepersian-mathsdigitspec.sty}}}