summaryrefslogtreecommitdiff
path: root/macros/unicodetex/latex/quran/tex/quran.sty
diff options
context:
space:
mode:
Diffstat (limited to 'macros/unicodetex/latex/quran/tex/quran.sty')
-rw-r--r--macros/unicodetex/latex/quran/tex/quran.sty26
1 files changed, 13 insertions, 13 deletions
diff --git a/macros/unicodetex/latex/quran/tex/quran.sty b/macros/unicodetex/latex/quran/tex/quran.sty
index 4e0f3cacd6..4347d62a42 100644
--- a/macros/unicodetex/latex/quran/tex/quran.sty
+++ b/macros/unicodetex/latex/quran/tex/quran.sty
@@ -1,6 +1,6 @@
%% This is file `quran.sty',
-%%
-%% Copyright © 2015-2020
+%%
+%% Copyright © 2015-2021
%% Seiied-Mohammad-Javad Razavian <javadr@gmail.com>
%%
%% This work may be distributed and/or modified under the
@@ -12,16 +12,16 @@
%% version 2005/12/01 or later.
%%
%% This work has the LPPL maintenance status `maintained'.
-%%
+%%
%% This work is “author-maintained” (as per LPPL maintenance status).
-%%
+%%
%% The Current Maintainer of this work is Seiied-Mohammad-Javad Razavian.
-%%
+%%
%% to one who has devoted his life to Quran
%%
\NeedsTeXFormat{LaTeX2e}
-\def\qurandate{2020/10/14}
-\def\quranversion{1.8}
+\def\qurandate{2021/02/02}
+\def\quranversion{1.81}
\ProvidesPackage{quran}[\qurandate\space v\quranversion^^JAn easy way to typeset the whole or any parts of the holy Quran]
\RequirePackage{ifxetex}
\RequirePackage{biditools}
@@ -81,7 +81,7 @@
\else
\let\qt@newcmd\bidi@newrobustcmd%
\fi
-\bidi@newrobustcmd\surahname{%
+\bidi@newrobustcmd\surahname{%
\@ifstar\@@surahname\@surahname
}%
%
@@ -213,11 +213,11 @@
\bidi@newrobustcmd\qt@surah@default{112}% Surah Al-Ikhlas
\bidi@newrobustcmd\setsurahdefault[1]{%
\bidi@renewrobustcmd{\qt@surah@default}{#1}}%
-%
+%
\DeclareDocumentCommand\quransurah{ s O{\qt@surah@default} }{%
\lowercase{\edef\qt@arglc{#2}}%
\IfBooleanTF{#1}%
- {%
+ {%
\begingroup%
\ChangeQtPar%
\@quransurah[\qt@arglc]%
@@ -238,7 +238,7 @@
}%
{%
\expandafter\qt@minmax\expandafter{#1}%
- \if!\ifnum9<1\qt@min!\fi% \qt@min is a number.
+ \if!\ifnum9<1\qt@min!\fi% \qt@min is a number.
\ifx\qt@min\qt@max%
\setcounter{qt@end}{\qt@getversenum{\qt@min}}%
\else%
@@ -287,7 +287,7 @@
}%
%
\def\@quranayah[#1][#2][#3]#4{% #1->Surah, #2->Ayah, #3->specific part
- \if!\ifnum9<1#1!\fi% #1 is a number.
+ \if!\ifnum9<1#1!\fi% #1 is a number.
\def\qt@surahnumber{#1}%
\else%
\def\qt@surahnumber{\csname qt@surah@#1\endcsname}%
@@ -537,7 +537,7 @@
\ifqt@uthmani%
\input{qurantext-uthmani.def}%
\else%
- \ifqt@uthmanimin%
+ \ifqt@uthmanimin%
\input{qurantext-uthmani-min.def}%
\else%
\input{qurantext-simple.def}%