summaryrefslogtreecommitdiff
path: root/macros/xetex/latex/xepersian
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-06-28 03:01:06 +0000
committerNorbert Preining <norbert@preining.info>2022-06-28 03:01:06 +0000
commit2ef43af0215fc52966c9bbd8d5df6db6d6af224b (patch)
treef4575d7d44d673aef7008af7e6f14037472d4587 /macros/xetex/latex/xepersian
parent2f80535c778eacefb7c73b39d2cb4f877f3d3341 (diff)
CTAN sync 202206280301
Diffstat (limited to 'macros/xetex/latex/xepersian')
-rw-r--r--macros/xetex/latex/xepersian/README4
-rw-r--r--macros/xetex/latex/xepersian/xepersian-doc-basics.ltx10
-rw-r--r--macros/xetex/latex/xepersian/xepersian-doc-intro.ltx2
-rw-r--r--macros/xetex/latex/xepersian/xepersian-doc-pkgs.ltx4
-rw-r--r--macros/xetex/latex/xepersian/xepersian-doc-title.ltx4
-rw-r--r--macros/xetex/latex/xepersian/xepersian-doc.ltx2
-rw-r--r--macros/xetex/latex/xepersian/xepersian-doc.pdfbin243591 -> 243608 bytes
-rw-r--r--macros/xetex/latex/xepersian/xepersian.dtx57
-rw-r--r--macros/xetex/latex/xepersian/xepersian.pdfbin776194 -> 775188 bytes
9 files changed, 45 insertions, 38 deletions
diff --git a/macros/xetex/latex/xepersian/README b/macros/xetex/latex/xepersian/README
index 5dd73bb034..a54f34410f 100644
--- a/macros/xetex/latex/xepersian/README
+++ b/macros/xetex/latex/xepersian/README
@@ -1,6 +1,6 @@
____________________
The XePersian package
-v24.5
+v24.6
The xepersian package provides a convenient interface for
typesetting Persian and English texts in LaTeX, using XeTeX
@@ -25,7 +25,7 @@ The announcements for the new releases of the package will
also appear in the Discussions space under the Announcements
category.
-Current version release date: 2022/06/10
+Current version release date: 2022/06/27
___________________________________________
Vafa Khalighi
diff --git a/macros/xetex/latex/xepersian/xepersian-doc-basics.ltx b/macros/xetex/latex/xepersian/xepersian-doc-basics.ltx
index 44452ea407..a84137fb8b 100644
--- a/macros/xetex/latex/xepersian/xepersian-doc-basics.ltx
+++ b/macros/xetex/latex/xepersian/xepersian-doc-basics.ltx
@@ -17,7 +17,7 @@ When loading the package, it is important to know that:
If you load \textsf{\XePersian} before any of these packages, then you will get an error saying that you should load \textsf{\XePersian} or \textsf{bidi} as your last package. When it says that you should load \textsf{bidi} package as your last package, it really means that you should load \textsf{\XePersian} as your last package as \textsf{bidi} package is loaded automatically by \textsf{\XePersian} package.
For instance, consider the following minimal example:
-\begin{lstlisting}[morekeywords={settextfont}]
+\begin{lstlisting}
\documentclass{minimal}
\usepackage{xepersian}
\usepackage{enumerate}
@@ -50,7 +50,7 @@ l.5 \begin{document}
\item \Lcs{xepersianversion} gives the current version of the package.
\item \Lcs{xepersiandate} gives the current date of the package.
\end{itemize}
-\begin{lstlisting}[morekeywords={settextfont,XePersian,xepersianversion,xepersiandate}]
+\begin{lstlisting}
\documentclass{article}
\usepackage{xepersian}
\settextfont{XB Niloofar}
@@ -1374,7 +1374,7 @@ The equivalent Persian font features and font feature options is shown in \autor
\end{supertabular}
\end{center}
\subsection{A Sample Input \TeX\ File}
-\begin{lstlisting}[morekeywords={settextfont,maketitle,tableofcontents,subsection,subsubsection,part}]
+\begin{lstlisting}
\documentclass{article}
\usepackage{xepersian}
\settextfont{XB Niloofar}
@@ -1417,12 +1417,12 @@ The equivalent Persian font features and font feature options is shown in \autor
\end{BDef}
\begin{itemize}
\item With \Lcs{defpersianfont}, you can define extra Persian fonts.
-\begin{lstlisting}[numbers=none,morekeywords={defpersianfont,Nastaliq}]
+\begin{lstlisting}[numbers=none]
\defpersianfont\Nastaliq[Scale=1]{IranNastaliq}
\end{lstlisting}
In this example, we define \Lcs{Nastaliq} to stand for IranNastaliq font.
\item With \Lcs{deflatinfont}, you can define extra Latin fonts.
-\begin{lstlisting}[numbers=none,morekeywords={deflatinfont,junicode}]
+\begin{lstlisting}[numbers=none]
\deflatinfont\junicode[Scale=1]{Junicode}
\end{lstlisting}
In this example, we define \Lcs{junicode} to stand for Junicode font.
diff --git a/macros/xetex/latex/xepersian/xepersian-doc-intro.ltx b/macros/xetex/latex/xepersian/xepersian-doc-intro.ltx
index 20952dce6c..03277cfa11 100644
--- a/macros/xetex/latex/xepersian/xepersian-doc-intro.ltx
+++ b/macros/xetex/latex/xepersian/xepersian-doc-intro.ltx
@@ -25,7 +25,7 @@ If you use \textsf{\XePersian} package to write any input \TeX\ document, and th
* Copyright (c) 2008--2022 Vafa Khalighi
* Copyright (c) 2018--2020 bidi-tex GitHub Organization
*
-* v24.5, 2022/06/10
+* v24.6, 2022/06/27
*
* License: LaTeX Project Public License, version
* 1.3c or higher (your choice)
diff --git a/macros/xetex/latex/xepersian/xepersian-doc-pkgs.ltx b/macros/xetex/latex/xepersian/xepersian-doc-pkgs.ltx
index 328d53d617..30dc622bb4 100644
--- a/macros/xetex/latex/xepersian/xepersian-doc-pkgs.ltx
+++ b/macros/xetex/latex/xepersian/xepersian-doc-pkgs.ltx
@@ -263,7 +263,7 @@ The available options are described along the text,
where appropriate.
\subsubsection{Creating Questions}
Here's a simple example demonstrating how to produce a new question:
-\begin{lstlisting}[morekeywords={false,true}]
+\begin{lstlisting}
\begin{question}{*\parsitext{سؤال}*}
\false *\parsitext{جواب ۱}*
\true *\parsitext{جواب ۲}*
@@ -381,7 +381,7 @@ arrow are used. You can change these symbols by using the \Lcs{truesymbol} and
\Lcs{falsesymbol} macros. For instance, you could give a fancier look to your correction
by using the \textsf{pifont} package and issuing:
-\begin{lstlisting}[numbers=none,morekeywords={truesymbol,ding,falsesymbol}]
+\begin{lstlisting}[numbers=none]
\truesymbol{\ding{'063}~}
\falsesymbol{\ding{'067}~}
\end{lstlisting}
diff --git a/macros/xetex/latex/xepersian/xepersian-doc-title.ltx b/macros/xetex/latex/xepersian/xepersian-doc-title.ltx
index 27590643b5..7e2ad0e9cc 100644
--- a/macros/xetex/latex/xepersian/xepersian-doc-title.ltx
+++ b/macros/xetex/latex/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 24.5}}
+\large User documentation for \textcolor{blue!65!black}{version 24.6}}
\author{Vafa Khalighi\thanks{Thanks to the bidi-tex GitHub organization consisted of David Carlisle and other members of the {\LaTeX} team to maintain the package in the period 2018--2020.}}
\setcounter{page}{0}
\thispagestyle{empty}
@@ -13,7 +13,7 @@
\textcolor{blue!65!black}{\Huge The \textsf{\XePersian} \textit{Package}}
\Large
-User documentation for \textcolor{blue!65!black}{version 24.5}}
+User documentation for \textcolor{blue!65!black}{version 24.6}}
\vskip 0pt plus 3fill
\textit{\large to my Master, \textbf{Ferdowsi The Great}}
diff --git a/macros/xetex/latex/xepersian/xepersian-doc.ltx b/macros/xetex/latex/xepersian/xepersian-doc.ltx
index 2d6f17fa5d..927cd9f52c 100644
--- a/macros/xetex/latex/xepersian/xepersian-doc.ltx
+++ b/macros/xetex/latex/xepersian/xepersian-doc.ltx
@@ -1,7 +1,7 @@
\documentclass{ltxdoc}
\input{xepersian-doc-preamble.ltx}
\hypersetup{%
- pdftitle={User documentation for version 24.5 of the XePersian
+ pdftitle={User documentation for version 24.6 of the XePersian
package}%
}
\begin{document}
diff --git a/macros/xetex/latex/xepersian/xepersian-doc.pdf b/macros/xetex/latex/xepersian/xepersian-doc.pdf
index 3a84cf8abe..10565c9a34 100644
--- a/macros/xetex/latex/xepersian/xepersian-doc.pdf
+++ b/macros/xetex/latex/xepersian/xepersian-doc.pdf
Binary files differ
diff --git a/macros/xetex/latex/xepersian/xepersian.dtx b/macros/xetex/latex/xepersian/xepersian.dtx
index 2cc18044a3..0a3b09193b 100644
--- a/macros/xetex/latex/xepersian/xepersian.dtx
+++ b/macros/xetex/latex/xepersian/xepersian.dtx
@@ -5,7 +5,7 @@
%<*readme>
____________________
The XePersian package
-v24.5
+v24.6
The xepersian package provides a convenient interface for
typesetting Persian and English texts in LaTeX, using XeTeX
@@ -31,7 +31,7 @@ also appear in the Discussions space under the Announcements
category.
-Current version release date: 2022/06/10
+Current version release date: 2022/06/27
___________________________________________
Vafa Khalighi
@@ -168,7 +168,7 @@ by Vafa Khalighi.
\documentclass{ltxdoc}
\input{xepersian-doc-preamble.ltx}
\hypersetup{%
- pdftitle={Source documentation for version 24.5 of the XePersian
+ pdftitle={Source documentation for version 24.6 of the XePersian
package}%
}
\EnableCrossrefs
@@ -187,7 +187,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 24.5}}
+%\large Source documentation for \textcolor{blue!65!black}{version 24.6}}
% \author{Vafa Khalighi\thanks{Thanks to the bidi-tex GitHub organization consisted of David Carlisle and other members of the {\LaTeX} team to maintain the package in the period 2018--2020.}}
%\setcounter{page}{0}
%\thispagestyle{empty}
@@ -197,7 +197,7 @@ by Vafa Khalighi.
%\textcolor{blue!65!black}{\Huge The \textsf{\XePersian} \textit{Package}}
%
%\Large
-%Source documentation for \textcolor{blue!65!black}{version 24.5}}
+%Source documentation for \textcolor{blue!65!black}{version 24.6}}
%
%\vskip 0pt plus 3fill
%\textit{\large to my Master, \textbf{Ferdowsi The Great}}
@@ -245,7 +245,7 @@ by Vafa Khalighi.
%\iffalse
%<*table>
%\fi
-%% \CheckSum{11155}
+%% \CheckSum{11173}
%% \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
@@ -422,8 +422,13 @@ by Vafa Khalighi.
%\fi
% \section{File \texttt{beamer-xepersian.def}}
% \begin{macrocode}
-\ProvidesFile{beamer-xepersian.def}[2022/05/24 v0.1 xepersian changes to beamer class]
+\ProvidesFile{beamer-xepersian.def}[2022/06/27 v0.2 xepersian changes to beamer class]
\usefonttheme[stillsansserifmath]{serif}
+
+\renewcommand*{\bidi@beamer@today}{%
+\the\persianyear-\ifnum\persianmonth<10\relax0\fi\the\persianmonth-\ifnum\persianday<10\relax0\fi\the\persianday}
+
+
% \end{macrocode}
% \iffalse
%</beamer-xepersian.def>
@@ -431,24 +436,26 @@ by Vafa Khalighi.
%\fi
% \section{File \texttt{beamerbasetranslator-xepersian.def}}
% \begin{macrocode}
-\ProvidesFile{beamerbasetranslator-xepersian.def}[2022/06/09 v0.2 xepersian changes to beamerbasetranslator package]
-\newcommand*{\ProvideTranslation}[2]{%
+\ProvidesFile{beamerbasetranslator-xepersian.def}[2022/06/27 v0.3 xepersian changes to beamerbasetranslator package]
+\newcommand*{\ProvidePersianTranslation}[2]{%
\providetranslation{#1}{\ifRtoL{#2}{#1}}%
}
-\ProvideTranslation{Theorem}{قضیه}
-\ProvideTranslation{Corollary}{نتیجه}
-\ProvideTranslation{Fact}{حقیقت}
-\ProvideTranslation{Lemma}{لما}
-\ProvideTranslation{Problem}{مساله}
-\ProvideTranslation{Solution}{راه‌حل}
-\ProvideTranslation{Definition}{تعریف}
-\ProvideTranslation{Definitions}{تعریف‌ها}
-\ProvideTranslation{Example}{مثال}
-\ProvideTranslation{Examples}{مثال‌ها}
-\ProvideTranslation{Who?}{ارایه‌دهنده}
-\ProvideTranslation{From?}{از}
-\ProvideTranslation{When?}{زمان}
+\ProvidePersianTranslation{Corollary}{نتیجه}
+\ProvidePersianTranslation{Definition}{تعریف}
+\ProvidePersianTranslation{Definitions}{تعریف‌ها}
+\ProvidePersianTranslation{Example}{مثال}
+\ProvidePersianTranslation{Examples}{مثال‌ها}
+\ProvidePersianTranslation{Fact}{حقیقت}
+\ProvidePersianTranslation{From?}{از}
+\ProvidePersianTranslation{Lemma}{لما}
+\ProvidePersianTranslation{Problem}{مساله}
+\ProvidePersianTranslation{Section}{قسمت}
+\ProvidePersianTranslation{Solution}{راه‌حل}
+\ProvidePersianTranslation{Subsection}{زیرقسمت}
+\ProvidePersianTranslation{Theorem}{قضیه}
+\ProvidePersianTranslation{When?}{زمان}
+\ProvidePersianTranslation{Who?}{ارایه‌دهنده}
% \end{macrocode}
@@ -3585,8 +3592,8 @@ U+003E U+003E <> U+00BB ; >> -> RIGHT POINTING GUILLEMET
% \section{File \texttt{xepersian.sty}}
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\def\xepersian@version{24.5}
-\def\xepersiandate{2022/06/10}
+\def\xepersian@version{24.6}
+\def\xepersiandate{2022/06/27}
\ProvidesPackage{xepersian}[\xepersiandate\space v\xepersian@version\space
Persian typesetting in XeLaTeX]
\RequirePackage{fontspec}
@@ -4435,7 +4442,7 @@ Persian typesetting in XeLaTeX]
\newcommand*{\@xepersian@pdfcustomproperties}{%
This is the xepersian package, Version \xepersian@version,
- Released June 10, 2022.
+ Released June 27, 2022.
}
\newcommand\twocolumnstableofcontents{%
diff --git a/macros/xetex/latex/xepersian/xepersian.pdf b/macros/xetex/latex/xepersian/xepersian.pdf
index 256aef7592..d660ce4234 100644
--- a/macros/xetex/latex/xepersian/xepersian.pdf
+++ b/macros/xetex/latex/xepersian/xepersian.pdf
Binary files differ