summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-02-09 22:17:41 +0000
committerKarl Berry <karl@freefriends.org>2016-02-09 22:17:41 +0000
commit0029bd312c7e5b75a104aaf48180eba9f2e784e2 (patch)
tree5e7ed2221f67eaaa9fc7ee306fc73a9dffec8f58
parente76a00e3f270f03d9a4e79f87888b11149b92102 (diff)
quran (9feb16)
git-svn-id: svn://tug.org/texlive/trunk@39643 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/xelatex/quran/README16
-rw-r--r--Master/texmf-dist/doc/xelatex/quran/quran-doc.pdfbin53151 -> 62708 bytes
-rw-r--r--Master/texmf-dist/doc/xelatex/quran/quran-doc.tex103
-rw-r--r--Master/texmf-dist/doc/xelatex/quran/quran-test.pdfbin50207 -> 0 bytes
-rw-r--r--Master/texmf-dist/doc/xelatex/quran/quran-test.tex80
-rw-r--r--Master/texmf-dist/tex/xelatex/quran/quran.sty443
6 files changed, 349 insertions, 293 deletions
diff --git a/Master/texmf-dist/doc/xelatex/quran/README b/Master/texmf-dist/doc/xelatex/quran/README
index aa32a931ccb..beb0f06147b 100644
--- a/Master/texmf-dist/doc/xelatex/quran/README
+++ b/Master/texmf-dist/doc/xelatex/quran/README
@@ -1,23 +1,19 @@
_____________________
The quran package
-v0.941
+v1.05
The package is prepared for typesetting the Holy Quran. This work is inspired
-by lipsum and ptext packages provides several macros for typesetting the whole or
-any part of The Holy Quran based on its popular divisions.
-
-The package only works with `xelatex' format and should be
-loaded before `bidi' package.
+by lipsum and ptext packages, provides several macros for typesetting the whole or
+any parts of The Holy Quran based on its popular divisions.
For more information, please see the documentation.
-
-Current version release date: 2015/07/11
+Current version release date: 2016/02/09
___________________
-Seiied-Mohammad-Javad Razvian, Ali Ramzi
+Seiied-Mohammad-Javad Razvian
javadr@gmail.com
-Copyright © 2015
+Copyright © 2015-2016
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
diff --git a/Master/texmf-dist/doc/xelatex/quran/quran-doc.pdf b/Master/texmf-dist/doc/xelatex/quran/quran-doc.pdf
index fcd276a958a..6c6ba3609a5 100644
--- a/Master/texmf-dist/doc/xelatex/quran/quran-doc.pdf
+++ b/Master/texmf-dist/doc/xelatex/quran/quran-doc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/xelatex/quran/quran-doc.tex b/Master/texmf-dist/doc/xelatex/quran/quran-doc.tex
index 03b506389cb..14a89bf892d 100644
--- a/Master/texmf-dist/doc/xelatex/quran/quran-doc.tex
+++ b/Master/texmf-dist/doc/xelatex/quran/quran-doc.tex
@@ -1,61 +1,106 @@
\documentclass{ltxdoc}
+%\usepackage{pgffor}
+\usepackage{forloop}
+\usepackage{pgf}
+\usepackage{pgfcalendar}
\usepackage{framed}
\usepackage{holtxdoc}
\usepackage{url}
+\usepackage{quran}
\begin{document}
\title{The \xpackage{quran} Package\footnote{to one who has devoted his life to Quran}}
-\author{Seiied Mohammad Javad Razavian, Ali Ramzi\\\xemail{javadr,ali.ramzi@gmail.com}}
+\author{Seiied Mohammad Javad Razavian\\\xemail{javadr@gmail.com}}
-\date{July 11, 2015}
+\date{Feb 9, 2016}
\maketitle
\begin{framed}
This manual is incomplete and the package is under development. \par
-\centerline{ver 0.941}
+\centerline{ver 1.05}
\end{framed}
\tableofcontents
\section{Introduction}
This package is prepared for typesetting the Holy Quran. This work is inspired by \xpackage{lipsum} and
-\xpackage{ptext} packages provides several macros for
-typesetting the whole or part of Quran based on its popular division.
+\xpackage{ptext} packages, provides several macros for
+typesetting the whole or any parts of the Holy Quran based on its popular division.
\section{Loading Package}
You can load the package in the ordinary way
\cs{usepackage[option]\{quran\}}.
-Like the other pakages that use \xpackage{bidi}, it should be loaded just before \xpackage{bidi}.
+%Like the other pakages that use \xpackage{bidi}, it should be loaded just before \xpackage{bidi}.
\section{Typesetting The Holy Quran}
-For typesetting any part or whole of The Holy Quran there are several macros that do this.
+For typesetting any parts or whole of The Holy Quran there are several macros in the package.
\subsection{Surah/Sovar}
\begin{declcs}{quransurah}\oarg{m}
\end{declcs}
-This macro can typeset any Surah of Quran. As you know there are 114 Sovar, so \textit{m} must be a integer between
-1 to 114.
+This macro can typeset any Surah of Quran. As you know there are 114 Sovar, so \textit{m} could
+be an integer between 1 to 114. The macro also could accept the transliteration of surah's name,
+e.g. both of \cs{quransurah[1]} and \cs{quransurah[Al-Fatiha]} have the same effect. For using
+surah's name instead of their order see table~\ref{tab1}.
+\marginpar{\cs{quransurah[1]}}\marginpar{\cs{quransurah[Al-Fatiha]}}
+
+\newcounter{ct}
+\def\mycell#1{
+ \surahname[\value{#1}]
+ \addtocounter{#1}{38}
+}
+\begin{table}[!htbp]
+ \centering
+ \fontsize{8}{10}\selectfont
+ \begin{tabular}{|*{3}{c|l|}}
+ \hline
+ order & surahname & order & surahname & order & surahname \\
+ \hline\hline%
+ \forloop{ct}{1}{\value{ct} < 38}{%
+ \thect & \mycell{ct} & \thect & \mycell{ct} & \thect & \mycell{ct} \\
+ \addtocounter{ct}{-114}
+ }%
+ \thect & \mycell{ct} & \thect & \mycell{ct} & \thect & \mycell{ct}\\%
+ \hline
+ \end{tabular}
+ \protect\caption{Surah's name trasliteration.}\label{tab1}
+\end{table}
\begin{declcs}{quransurah}\oarg{m-n}
\end{declcs}
This acts like above but can typeset \textit{m}$^{th}$ Surah to \textit{n}$^{th}$ one.
+\begin{declcs}{quransurah}\oarg{m{-}{-}n}
+\end{declcs}
+In this case m and n are tranliterations of surah's names, e.g. \cs{quransurah[An-Nasr--An-Nas]}.
+\marginpar{\cs{quransurah[An-Nasr--An-Nas]}}
+
+\begin{declcs}{quransurah}
+\end{declcs}
Using \cs{quransurah} without its optional argument typeset the default Surah--Al-Ikhlas.
-To change the default Surah use \cs{setsurahdefault\{m\}}
+To change the default Surah use \cs{setsurahdefault\{m\}}, again m must be between 1 and 114;
+package's default is 112.
+\marginpar{\cs{setsurahdefault}}
\subsection{Ayah/Ayat}
\begin{declcs}{quranayah}\oarg{l}\oarg{n}
\end{declcs}
The above macro typeset the \textit{n}$^{th}$ Ayah of \textit{l}$^{th}$ Surah.
-If you just typeset the first Ayah of any Surah, then the Basmalah will not be printed and in writing the way
-we've choosen for typesetting just the first Ayah is acceptable. In this case if you need Basmalah, then
-you can use the \cs{Basmalah} macro before.
+If you just typeset the first Ayah of any Surah, then the Basmalah will not be printed.
+In this case if you need Basmalah, then you can use the \cs{Basmalah} macro before.
+\marginpar{\cs{Basmalah}}
\begin{declcs}{quranayah}\oarg{l}\oarg{m-n}
\end{declcs}
This macro typeset the \textit{m}$^{th}$ to \textit{n}$^{th}$ Ayat of l$^{th}$ Surah.
-\textit{l} must be an integer less than or equal to 114. \textit{n} is diffirent by every Surah.
+\par
+\addvspace{4.5ex plus 1ex}%
+\vskip -\parskip
+\noindent\textit{l} could be an integer less than or equal to 114. It also could be
+the transliteration of l$^{th}$ Surah's name, see table~\ref{tab1}.
+\textit{n} is diffirent by every Surah and it relies on the number of the Surah's verses.
+\textit{m} should be between 1 and a number less than \textit{n}.
\subsection{Page/Pages}
\begin{declcs}{quranpage}\oarg{n}
@@ -65,12 +110,12 @@ Typeset the \textit{n}$^{th}$ page of Quran and the macro below typeset \textit{
\begin{declcs}{quranpage}\oarg{m-n}
\end{declcs}
-The numbers should be between $1$ to $604$, based of Uthmani.
+The numbers should be between $1$ to $604$, based on Uthmani text.
\subsection{Juz/Ajza}
\begin{declcs}{quranjuz}\oarg{n}
\end{declcs}
-Using above macro typeset the \textit{n}$^{th}$ juz of Quran and below macro typeset m$^{th}$ to n$^{th}$ juzzes of Quran.
+Above macro typesets the \textit{n}$^{th}$ juz of Quran and below macro typesets m$^{th}$ to n$^{th}$ juzzes of Quran.
\begin{declcs}{quranjuz}\oarg{m-n}
\end{declcs}
The numbers should be between $1$ to $30$.
@@ -85,17 +130,17 @@ Following macros typeset hizb/ahzab of Quran.
\end{declcs}
\subsection{Quarter/Quarters}
-Eash hizb of Quran is devided into four quarters, making eight quarters per juz.
+Eash hizb of Quran is devided into four quarters, making eight quarters per juz, called maqra.
There are 240 of these quarters (of hizb) in the Quran. These maqra are often used as sections for revision when memorizing the Quran.\footnote{\url{https://en.wikipedia.org/wiki/Juz'}}
\begin{declcs}{quranquarter}\oarg{n}
\end{declcs}
\begin{declcs}{quranquarter}\oarg{m-n}
\end{declcs}
-Using above macros typeset the \textit{n}$^{th}$ or m$^{th}$ to n$^{th}$ quarter(s) of Quran.
+Above macros typeset the \textit{n}$^{th}$ or m$^{th}$ to n$^{th}$ quarter(s) of Quran.
\subsection{Ruku/Rukus}
-``The term ruk\= uʿ --- roughly translated to ``passage", ``pericope" or ``stanza" --- is also used to denote a group of thematically related verses in the Qur'an. Longer suras (chapters) in the Qur'an are usually divided into several rukūʿs, so that the reciters could identify when to make ruk\= u in Salat without breaking an ongoing topic in the Quranic text."\footnote{\url{https://en.wikipedia.org/wiki/Ruku}}
+``The term ruk\= uʿ --- roughly translated to ``passage", ``pericope" or ``stanza" --- is also used to denote a group of thematically related verses in the Qur'an. Longer suras (chapters) in the Qur'an are usually divided into several ruk\= us, so that the reciters could identify when to make ruk\= u in Salat without breaking an ongoing topic in the Quranic text."\footnote{\url{https://en.wikipedia.org/wiki/Ruku}}
The following macros can typeset rukus of The Holy Quran the way the above macros act.
@@ -106,9 +151,9 @@ The following macros can typeset rukus of The Holy Quran the way the above macro
The numbers should be between $1$ to $556$.
\subsection{Manzil/Manazil}
-``For the convenience of people who wish to read the Qur'an in a week the text may be divided into 7 portions, each portion is known as Manzil.[1]
+``For the convenience of people who wish to read the Qur'an in a week the text may be divided into 7 portions, each portion is known as Manzil.
-The following division to 7 equal portions is by Hamza Al-Zayyat (d.156/772):[1]
+The following division to 7 equal portions is by Hamza Al-Zayyat (d.156/772):
\begin{enumerate}
\item Al-Fatihah (chapter 1) through An-Nisa' (chapter 4) consisting of 4 surahs.
\item Al-Ma'ida (chapter 5) through At-Tawba (chapter 9) consisting of 5 surahs.
@@ -132,14 +177,17 @@ are $6236$ Ayat in Quran. This macro can typeset a specific Ayah or any range of
\begin{declcs}{qurantext}\oarg{n}
\end{declcs}
-Typeset the \textit{n}$^{th}$ Ayah of Quran.
+Typesets the \textit{n}$^{th}$ Ayah of Quran.
\begin{declcs}{qurantext}\oarg{m-n}
\end{declcs}
-Typeset any range of Ayat from the \textit{m}$^{th}$ to \textit{n}$^{th}$ Ayah.
+Typesets any range of Ayat from the \textit{m}$^{th}$ to \textit{n}$^{th}$ Ayah.
Using \cs{qurantext} without its optional argument typeset [1-7] --Al-Hamd. To
change the default text use \cs{setqurantextdefault\{m-n\}}
+\marginpar{\cs{qurantext}}
+\marginpar{\cs{setqurantextdefault\{m-n\}}}
+
\subsection{Whole of The Holy Quran}
The following macros can typeset whole of The Holy Quran:
@@ -157,8 +205,11 @@ The following macros can typeset whole of The Holy Quran:
\subsection{Name of Surah}
\begin{declcs}{surahname}\oarg{m}
\end{declcs}
-This macro returns the arabic name of \textit{m}$^{th}$ Surah in RTL mode, and returns the
-english name in LTR mode.
+This macro returns the tranliteration of \textit{m}$^{th}$ Surah.
+
+\begin{declcs}{surahname*}\oarg{m}
+\end{declcs}
+This macro returns the arabic name of \textit{m}$^{th}$ Surah.
\subsection{Basmalah}
\begin{declcs}{basmalah}
@@ -175,7 +226,7 @@ has a starred version that omit the \cs{par} macro in typesetting the text of Qu
In some cases maybe user wants to typeset the Ayat without their following numbers that can be seen in printed version of The Holy Quran. The \texttt{nonumber}\marginpar{nonumber}
option tells the package that print no number after ayah.
-But sometimes we want to typeset just some Ayat without it, so there is a \cs{ChangeAyahNumber} macro
+But sometimes we want to typeset just some Ayat without theirs, so there is a \cs{ToggleAyahNumber} macro
that can cause numbers will be omitted. With \texttt{nonumber} option this macro acts vice versa, it mean it
causes that Ayat number will be printed.
diff --git a/Master/texmf-dist/doc/xelatex/quran/quran-test.pdf b/Master/texmf-dist/doc/xelatex/quran/quran-test.pdf
deleted file mode 100644
index f4ecc0ee6d1..00000000000
--- a/Master/texmf-dist/doc/xelatex/quran/quran-test.pdf
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/doc/xelatex/quran/quran-test.tex b/Master/texmf-dist/doc/xelatex/quran/quran-test.tex
deleted file mode 100644
index 4b2d9bb209a..00000000000
--- a/Master/texmf-dist/doc/xelatex/quran/quran-test.tex
+++ /dev/null
@@ -1,80 +0,0 @@
-%This document wants to the explain the quran package with some examples.
-\documentclass{article}
-
-\usepackage{forloop}
-\usepackage{quran}
-%The xepersian package automatically load bidi, and I've loaded it because I want to set a font that supports Arabic letters
-\usepackage{xepersian}
-
-% This macro set the main text font for non-latin letter, and it can scale font.
-\settextfont[Scale=1.1]{Scheherazade}
-
-\def\surna[#1]{\centerline{\hss\surahname[#1]\hss\lr{\surahname[#1]}\hss}}
-\def\test#1{
- \par
- \surna[#1]
- \quransurah*[#1]
- \bigskip
-}
-
-\begin{document}
-
-% For typesetting بِسمِ اللَّهِ الرَّحمٰنِ الرَّحيمِ use below macro
-%\centerline{\basmalah}
-
-\quransurah[108] % Surah Al-Kauther
-
-%%\surna[110]\quransurah*[110] % Surah Al-Nasr
-
-%The below typeset 104th surah through 113th surah.
-%%\quransurah*[104-113]
-
-\makeatletter
-\surna[\qt@surah@default]\quransurah* % Surah Al-Ikhlas
-\makeatother
-
-\quranayah[33][33]
-\quranayah*[76][1-22]
-
-%%You can typeset whole of Holy Quran with below commands.
-%%\newcounter{ct}
-%%\forloop{ct}{1}{\value{ct} < 115} {\test{\value{ct}}}
-
-%%You can typeset whole of Holy Quran with below commands.
-%%\newcounter{jz}
-%%\forloop{jz}{1}{\value{jz} < 31} {\quranjuz[\value{jz}]}
-
-%%\quranjuz*[28-30]
-
-%\quranpage*[256]
-%\quranpage*[3-4]
-
-%%You can typeset whole of Holy Quran with below commands, just replace 8 with 605.
-\newcounter{pg}
-\forloop{pg}{1}{\value{pg} < 8} {
-\hfill صفحة \arabic{pg} \par
-\quranpage*[\value{pg}]\vfill}
-
-%\quranhizb*[117-120]
-
-%\quranquarter*[1-4]
-%\quranquarter*[239-240]
-
-%\quranruku[313]
-%\quranruku[556]
-
-%\quranmanzil*[2]
-
-
-%%\surna[1]\qurantext % Surah Al-Hamd
-
-%%\surna[1]\qurantext* % Surah Al-Hamd
-
-%%\surna[114]\qurantext[6231-6236] % Surah Al-Nas
-
-%%\surna[114]\qurantext*[6231-6236] % Surah Al-Nas
-
-%%%\surna[2]\qurantext*[8-293] % Surah Al-Baqara
-
-%\qurantext[1-6236] % The whole of Holy Quran
-\end{document}
diff --git a/Master/texmf-dist/tex/xelatex/quran/quran.sty b/Master/texmf-dist/tex/xelatex/quran/quran.sty
index 09b7186a4e0..513ea2ed433 100644
--- a/Master/texmf-dist/tex/xelatex/quran/quran.sty
+++ b/Master/texmf-dist/tex/xelatex/quran/quran.sty
@@ -1,9 +1,8 @@
-%%
%% This is file `quran.sty',
%% Inspired by Patrick Happel's lipsum package
%%
-%%% Copyright © 2015 by Seiied-Mohammad-Javad Razavian, Ali Ramzi
-%% <javadr,ali.ramzi@gmail.com>
+%%% Copyright © 2015-2016 by Seiied-Mohammad-Javad Razavian
+%% <javadr@gmail.com>
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
%% of this license or (at your option) any later version.
@@ -15,17 +14,59 @@
%% This work has the LPPL maintenance status `maintained'.
%%
%% This work is “author-maintained” (as per LPPL maintenance status)
-%% by Seiied-Mohammad-Javad Razavian, Ali Ramzi.
-%% The Current Maintainer of this work is Seiied-Mohammad-Javad Razavian
+%% by Seiied-Mohammad-Javad Razavian..
+%% The Current Maintainer of this work is Seiied-Mohammad-Javad Razavian.
%%
%% This work consists of the files quran.sty and quran-doc.tex
%% and quran-doc.pdf.%%
%%
-%% To one who has devoted his life to Quran
+%% to one who has devoted his life to Quran
%%
+%% Change Log
+%% ver 1.05 ## Feb 9th, 2016
+%% \ChangeBasmalah and \ChangeAyahNumber are converted to \ToggleBasmalah and \ToggleAyahNumber respectively.
+%% a minor bug in \quransurah* macro has fixed, this bug caused extra space in the text.
+%% ver 1.0 ## Feb 5th, 2016
+%% support for surahname as an argument in \quransurah and \quranayah macros.
+%% ver 0.941 ## July 11th, 2015
+%% \qt@par moved to \qurantext from Ayat for minimizing sourcefile.
+%% ver 0.94 ## July 11th, 2015
+%% \ChangeAyahNumber, \ChangeBasmalah can change the way ayah number and basmalah will appear.
+%% a minor bug in extra white space around one ayah is solved now, it is founded by Masoud Yazdani.
+%% ver 0.91 ## July 10th, 2015
+%% default surah in \quransurah is now Al-Ikhlas
+%% ver 0.9 ## July 7th, 2015
+%% \quranhizb and \quranmanzil are provided now
+%% ver 0.8 ## July 4th, 2015
+%% \quranquarter and \quranruku are provided now
+%% ver 0.72 ## July 2nd, 2015
+%% \basmalah macro typeset basmalah
+%% ver 0.71 ## July 2nd, 2015
+%% in par mode after every basmalah a \par is set now
+%% ver 0.7 ## Jun 30th, 2015
+%% \quranpage command puts one or more pages of Quran
+%% ver 0.6 ## Jun 28th, 2015
+%% \quranjuz command puts one or more juzs of Quran
+%% ver 0.5 ## Jun 24, 2015
+%% package renamed form qurantext to quran
+%% \quranayah command can put a specific ayah/ayar from a surah.
+%% ver 0.4
+%% Sura's name add by \surahname command, it'll choose the arabic/latin name of sura based on text direction.
+%% ver 0.3
+%% Ayat numbers added.
+%% ver 0.2
+%% Stack overflow solved by a nonrecursive function
+%% ver 0.1
+%% initial commit
+%%% below macro is gotten from http://tex.stackexchange.com/questions/7180/testing-for-number
+%%% it's really nice macro.
+%\def\isnum#1{%test wether input is number or not! in my case I should return 1 for appendix chapters.
+% \if!\ifnum9<1#1!\fi
+% #1\else 1\fi}
+
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{quran}[2015/07/11 v0.941 An easy way to typeset the whole or any part of The Holy Quran]
+\ProvidesPackage{quran}[2016/02/09 v1.05 An easy way to typeset the whole or any part of The Holy Quran]
\RequirePackage{biditools}
\newcounter{qt@count}
\setcounter{qt@count}{0}
@@ -38,70 +79,103 @@
\DeclareOption{nonumber}{\def\qt@no#1{\relax}}
\ProcessOptions
-\bidi@newrobustcmd\qt@default{1-7} % Surah Al-hamd
+\bidi@newrobustcmd\surahname{%
+ \@ifstar\@@surahname\@surahname
+}
+
+\def\@@surahname[#1]{%
+\ifcase#1 {}\or الفاتحة\or البقرة\or آل عمران\or النساء\or المائدة\or الأنعام\or الأعراف\or الأنفال\or التوبة\or يونس\or هود\or يوسف\or الرعد\or إبراهيم\or الحجر\or النحل\or الإسراء\or الكهف\or مريم\or طه\or الأنبياء\or الحج\or المؤمنون\or النور\or الفرقان\or الشعراء\or النمل\or القصص\or العنكبوت\or الروم\or لقمان\or السجدة\or الأحزاب\or سبأ\or فاطر\or يس\or الصافات\or ص\or الزمر\or غافر\or فصلت\or الشورى\or الزخرف\or الدخان\or الجاثية\or الأحقاف\or محمد\or الفتح\or الحجرات\or ق\or الذاريات\or الطور\or النجم\or القمر\or الرحمن\or الواقعة\or الحديد\or المجادلة\or الحشر\or الممتحنة\or الصف\or الجمعة\or المنافقون\or التغابن\or الطلاق\or التحريم\or الملك\or القلم\or الحاقة\or المعارج\or نوح\or الجن\or المزمل\or المدثر\or القيامة\or الإنسان\or المرسلات\or النبأ\or النازعات\or عبس\or التكوير\or الإنفطار\or المطففين\or الانشقاق\or البروج\or الطارق\or الأعلى\or الغاشية\or الفجر\or البلد\or الشمس\or الليل\or الضحى\or الشرح\or التين\or العلق\or القدر\or البينة\or الزلزلة\or العاديات\or القارعة\or التكاثر\or العصر\or الهمزة\or الفيل\or قريش\or الماعون\or الكوثر\or الكافرون\or النصر\or المسد\or الإخلاص\or الفلق\or الناس\else\relax\fi}
+\def\@surahname[#1]{%
+\ifcase#1\or Al-Fatiha\or Al-Baqara\or Aal-e-Imran\or An-Nisa\or Al-Maeda\or Al-Anaam\or Al-Araf\or Al-Anfal\or At-Taubah\or Yunus\or Hud\or Yusuf\or Ar-Rad\or Ibrahim\or Al-Hijr\or An-Nahl\or Al-Isra\or Al-Kahf\or Maryam\or Taha\or Al-Anbiya\or Al-Hajj\or Al-Mumenoon\or An-Noor\or Al-Furqan\or Ash-Shuara\or An-Naml\or Al-Qasas\or Al-Ankaboot\or Ar-Room\or Luqman\or As-Sajda\or Al-Ahzab\or Saba\or Fatir\or Ya Seen\or As-Saaffat\or Sad\or Az-Zumar\or Ghafir\or Fussilat\or Ash-Shura\or Az-Zukhruf\or Ad-Dukhan\or Al-Jathiya\or Al-Ahqaf\or Muhammad\or Al-Fath\or Al-Hujraat\or Qaf\or Adh-Dhariyat\or At-tur\or An-Najm\or Al-Qamar\or Al-Rahman\or Al-Waqia\or Al-Hadid\or Al-Mujadila\or Al-Hashr\or Al-Mumtahina\or As-Saff\or Al-Jumua\or Al-Munafiqoon\or At-Taghabun\or At-Talaq\or At-Tahrim\or Al-Mulk\or Al-Qalam\or Al-Haaqqa\or Al-Maarij\or Nooh\or Al-Jinn\or Al-Muzzammil\or Al-Muddathir\or Al-Qiyama\or Al-Insan\or Al-Mursalat\or An-Naba\or An-Naziat\or Abasa\or At-Takwir\or AL-Infitar\or Al-Mutaffifin\or Al-Inshiqaq\or Al-Burooj\or At-Tariq\or Al-Ala\or Al-Ghashiya\or Al-Fajr\or Al-Balad\or Ash-Shams\or Al-Lail\or Ad-Dhuha\or Al-Inshirah\or At-Tin\or Al-Alaq\or Al-Qadr\or Al-Bayyina\or Al-Zalzala\or Al-Adiyat\or Al-Qaria\or At-Takathur\or Al-Asr\or Al-Humaza\or Al-fil\or Quraish\or Al-Maun\or Al-Kauther\or Al-Kafiroon\or An-Nasr\or Al-Masadd\or Al-Ikhlas\or Al-Falaq\or An-Nas\else\relax\fi}
+
+%% makes some macros for surah name to convert them to their original number in surah list.
+ \newcount\qt@tempcount \qt@tempcount=1%
+ \loop%
+ \expandafter\xdef\csname qt@surah@\@surahname[\qt@tempcount]\endcsname{\the\qt@tempcount}%
+ \ifnum\qt@tempcount<114%
+ \advance\qt@tempcount by 1\relax%
+ \repeat%
+
+\bidi@newrobustcmd\qt@default{1-7}% Surah Al-hamd
\bidi@newrobustcmd\setqurantextdefault[1]{%
- \bidi@renewrobustcmd{\qt@default}{#1}}
+\bidi@renewrobustcmd{\qt@default}{#1}}%
\bidi@newrobustcmd\qt@doqt{%
\addtocounter{qt@count}{1}%
\loop%
- \csname qurantext@\roman{qt@count}\endcsname
+ \csname qurantext@\roman{qt@count}\endcsname%
\ifnum\value{qt@count}<\qt@max\relax%
{ }% an extra space between verses
\qt@par%
\addtocounter{qt@count}{1}%
- \repeat
-}
+ \repeat%
+}%
\bidi@newrobustcmd\qurantext{%
- \@ifstar\@@qurantext\@qurantext
-}
+\@ifstar\@@qurantext\@qurantext%
+}%
\bidi@newrobustcmd\ChangeQtPar{%
- \ifx\qt@par\relax
+ \ifx\qt@par\relax%
\def\qt@par{\par}%
- \else
- \let\qt@par\relax
- \fi
-}
-\bidi@newrobustcmd\ChangeBasmalah{%
- \ifx\basmalah\relax
+ \else%
+ \let\qt@par\relax%
+ \fi%
+}%
+
+\bidi@newrobustcmd\ToggleBasmalah{%
+ \ifx\basmalah\relax%
\def\basmalah{بِسمِ اللَّهِ الرَّحمٰنِ الرَّحيمِ \qt@par}%
- \else
- \let\basmalah\relax
- \fi
-}
-\bidi@newrobustcmd\ChangeAyahNumber{%
- \expandafter\ifx\qt@no{test}\relax
- \def\qt@no##1{ ##1}
- \else
- \def\qt@no##1{\relax}
- \fi
-}
+ \else%
+ \let\basmalah\relax%
+ \fi%
+}%
+
+\bidi@newrobustcmd\ToggleAyahNumber{%
+ \expandafter\ifx\qt@no{test}\relax%
+ \def\qt@no##1{ ##1}%
+ \else%
+ \def\qt@no##1{\relax}%
+ \fi%
+}%
\bidi@newrobustcmd\@@qurantext[1][\qt@default]{%
\begingroup%
\ChangeQtPar%
\@qurantext[#1]%
\endgroup%
-}
+}%
+
\bidi@newrobustcmd\@qurantext[1][\qt@default]{%
\expandafter\qt@minmax\expandafter{#1}%
\setcounter{qt@count}{\qt@min}%
\addtocounter{qt@count}{-1}%
\qt@doqt%
-}
+}%
-\def\qt@get#1-#2;{\def\qt@min{#1}\def\qt@max{#2}}
-\def\qt@stripmax#1-{\edef\qt@max{#1}}
+\def\qt@get#1-#2;{\def\qt@min{#1}\def\qt@max{#2}}%
+\def\qt@stripmax#1-{\edef\qt@max{#1}}%
\def\qt@minmax#1{%
\qt@get#1-\relax;%
\edef\qt@tmpa{\qt@max}%
\edef\qt@relax{\relax}%
\ifx\qt@tmpa\qt@relax\edef\qt@max{\qt@min}%
\else\expandafter\qt@stripmax\qt@max\fi%
-}
+}%
+
+\newif\if@qt@TestSubString%
+\def\qt@IfSubString #1#2{%
+ \edef\@qt@MainString{#1}%
+ \def\@qt@TestSubS ##1#2##2\@qt@Del{\edef\@qt@TestTemp{##1}}%
+ \expandafter\@qt@TestSubS\@qt@MainString#2\@qt@Del%
+ \ifx\@qt@MainString\@qt@TestTemp%
+ \@qt@TestSubStringfalse%
+ \else%
+ \@qt@TestSubStringtrue%
+ \fi%
+}%
+\def\qt@getrange#1--#2;{\def\qt@min{#1}\def\qt@max{#2}}
\newcounter{qt@i}%
\newcounter{qt@start}%
@@ -125,36 +199,51 @@
\bidi@newrobustcmd\@quransurah[1][\qt@surah@default]{
\setcounter{qt@i}{1}%
\setcounter{qt@start}{1}%
- \expandafter\qt@minmax\expandafter{#1}%
%
- \ifx\qt@min\qt@max
- \setcounter{qt@end}{\qt@getversenum{\qt@min}}%
- \else
- \setcounter{qt@end}{\qt@getversenum{\qt@max}}%
- \fi
-%
- \loop
+ \@qt@TestSubStringfalse%
+ \qt@IfSubString{#1}{--}%
+ \if@qt@TestSubString% case of surahname range, e.g. An-Nasr--An-Nas
+ \expandafter\qt@getrange#1;%
+ \edef\qt@min{\csname qt@surah@\qt@min\endcsname}%
+ \edef\qt@max{\csname qt@surah@\qt@max\endcsname}%
+ \setcounter{qt@end}{\qt@getversenum\qt@max}%
+ \else%
+ \expandafter\qt@minmax\expandafter{#1}%
+%
+ \if!\ifnum9<1\qt@min!\fi% \qt@min is a number.
+ \ifx\qt@min\qt@max%
+ \setcounter{qt@end}{\qt@getversenum{\qt@min}}%
+ \else%
+ \setcounter{qt@end}{\qt@getversenum{\qt@max}}%
+ \fi%
+ \else% in this case the argument is tranliteration of surahname
+ \edef\qt@min{\csname qt@surah@#1\endcsname}%
+ \edef\qt@max{\qt@min}%
+ \setcounter{qt@end}{\qt@getversenum\qt@min}%
+ \fi%
+ \fi%
+ \loop%
\ifnum\value{qt@i}<\qt@min%
- \addtocounter{qt@start}{\qt@getversenum{\value{qt@i}}}
- \addtocounter{qt@i}{1}
- \repeat
+ \addtocounter{qt@start}{\qt@getversenum{\value{qt@i}}}%
+ \addtocounter{qt@i}{1}%
+ \repeat%
%
- \ifx\qt@min\qt@max\relax
- \else
- \loop
+ \ifx\qt@min\qt@max\relax%
+ \else%
+ \loop%
\ifnum\value{qt@i}<\qt@max%
- \addtocounter{qt@end}{\qt@getversenum{\value{qt@i}}}
- \addtocounter{qt@i}{1}
- \repeat
- \fi
- \addtocounter{qt@end}{\value{qt@start}}
- \addtocounter{qt@end}{-1}
- \qurantext[\value{qt@start}-\value{qt@end}]
-}
+ \addtocounter{qt@end}{\qt@getversenum{\value{qt@i}}}%
+ \addtocounter{qt@i}{1}%
+ \repeat%
+ \fi%
+ \addtocounter{qt@end}{\value{qt@start}}%
+ \addtocounter{qt@end}{-1}%
+ \begingroup\qurantext[\value{qt@start}-\value{qt@end}]\endgroup%
+}%
\bidi@newrobustcmd\quranayah{%
\@ifstar\@@quranayah\@quranayah%
-}
+}%
\def\@@quranayah[#1][#2]{%
\begingroup%
@@ -164,24 +253,29 @@
}%
\def\@quranayah[#1][#2]{%
+ \if!\ifnum9<1#1!\fi% #1 is a number.
+ \def\qt@surahnumber{#1}%
+ \else%
+ \def\qt@surahnumber{\csname qt@surah@#1\endcsname}%
+ \fi%
\setcounter{qt@i}{1}%
\expandafter\qt@minmax\expandafter{#2}%
\setcounter{qt@start}{\qt@min}%
\setcounter{qt@end}{\qt@max}%
%
- \ifnum\qt@max>\qt@getversenum{#1}%
+ \ifnum\qt@max>\qt@getversenum{\qt@surahnumber}%
\ifx\qt@max\qt@min%
\relax%
\else%
- \def\qt@max{\qt@getversenum{#1}}%
+ \def\qt@max{\qt@getversenum{\qt@surahnumber}}%
\setcounter{qt@end}{\qt@max}%
\fi%
\fi%
- \ifnum\qt@min>\qt@getversenum{#1}%
+ \ifnum\qt@min>\qt@getversenum{\qt@surahnumber}%
\relax%
\else%
\loop%
- \ifnum\value{qt@i}<#1%
+ \ifnum\value{qt@i}<\qt@surahnumber%
\addtocounter{qt@start}{\qt@getversenum{\value{qt@i}}}%
\addtocounter{qt@i}{1}%
\repeat%
@@ -189,175 +283,180 @@
\newif\if@basmalah%
\ifx\qt@max\qt@min%
\ifnum\qt@max=1 %omitting basmalah when only first ayah is requested
- \@basmalahtrue
- \else
- \@basmalahfalse
- \fi
- \if@basmalah\ChangeBasmalah\fi
+ \@basmalahtrue%
+ \else%
+ \@basmalahfalse%
+ \fi%
+ \if@basmalah\ToggleBasmalah\fi%
\qurantext[\value{qt@start}]%
- \if@basmalah\ChangeBasmalah\fi
+ \if@basmalah\ToggleBasmalah\fi%
\else%
\addtocounter{qt@end}{\value{qt@start}}%
\addtocounter{qt@end}{-\qt@min}%
- \qurantext[\value{qt@start}-\value{qt@end}]%
+ \begingroup\qurantext[\value{qt@start}-\value{qt@end}]\endgroup%
\fi%
\fi%
}%
\bidi@newrobustcmd\quranjuz{%
\@ifstar\@@quranjuz\@quranjuz
-}
+}%
\def\@@quranjuz[#1]{%
- \begingroup
- \ChangeQtPar
- \@quranjuz[#1]
- \endgroup
-}
+ \begingroup%
+ \ChangeQtPar%
+ \@quranjuz[#1]%
+ \endgroup%
+}%
\def\@quranjuz[#1]{%
\expandafter\qt@minmax\expandafter{#1}%
- \ifx\qt@max\qt@min
- \edef\qt@juz{\qt@getjuzdomain{\qt@min}}
- \qurantext[\qt@juz]
- \else
- \edef\qt@juz@start{\qt@getjuzdomain{\qt@min}}
- \edef\qt@juz@end{\qt@getjuzdomain{\qt@max}}
+ \ifx\qt@max\qt@min%
+ \edef\qt@juz{\qt@getjuzdomain{\qt@min}}%
+ \begingroup\qurantext[\qt@juz]\endgroup%
+ \else%
+ \edef\qt@juz@start{\qt@getjuzdomain{\qt@min}}%
+ \edef\qt@juz@end{\qt@getjuzdomain{\qt@max}}%
\expandafter\qt@minmax\expandafter{\qt@juz@start}%
\setcounter{qt@start}{\qt@min}% start ayah
\expandafter\qt@minmax\expandafter{\qt@juz@end}%
\setcounter{qt@end}{\qt@max}% end ayah
- \qurantext[\value{qt@start}-\value{qt@end}]
- \fi
-}
+ \begingroup\qurantext[\value{qt@start}-\value{qt@end}]\endgroup%
+ \fi%
+}%
\bidi@newrobustcmd\quranpage{%
\@ifstar\@@quranpage\@quranpage
}
\def\@@quranpage[#1]{%
- \begingroup
- \ChangeQtPar
- \@quranpage[#1]
- \endgroup
-}
+ \begingroup%
+ \ChangeQtPar%
+ \@quranpage[#1]%
+ \endgroup%
+}%
+
\def\@quranpage[#1]{%
\expandafter\qt@minmax\expandafter{#1}%
- \ifx\qt@max\qt@min
- \edef\qt@page{\qt@getpagedomain{\qt@min}}
- \qurantext[\qt@page]
- \else
- \edef\qt@page@start{\expandafter\qt@getpagedomain{\qt@min}}
- \edef\qt@page@end{\expandafter\qt@getpagedomain{\qt@max}}
+ \ifx\qt@max\qt@min%
+ \edef\qt@page{\qt@getpagedomain{\qt@min}}%
+ \begingroup\qurantext[\qt@page]\endgroup%
+ \else%
+ \edef\qt@page@start{\expandafter\qt@getpagedomain{\qt@min}}%
+ \edef\qt@page@end{\expandafter\qt@getpagedomain{\qt@max}}%
\expandafter\qt@minmax\expandafter{\qt@page@start}%
\setcounter{qt@start}{\qt@min}% start ayah
\expandafter\qt@minmax\expandafter{\qt@page@end}%
\setcounter{qt@end}{\qt@max}% end ayah
- \qurantext[\value{qt@start}-\value{qt@end}]
- \fi
-}
+ \begingroup\qurantext[\value{qt@start}-\value{qt@end}]\endgroup%
+ \fi%
+}%
\bidi@newrobustcmd\quranquarter{%
\@ifstar\@@quranquarter\@quranquarter
}
\def\@@quranquarter[#1]{%
- \begingroup
- \ChangeQtPar
- \@quranquarter[#1]
- \endgroup
+ \begingroup%
+ \ChangeQtPar%
+ \@quranquarter[#1]%
+ \endgroup%
}
\def\@quranquarter[#1]{%
\expandafter\qt@minmax\expandafter{#1}%
- \ifx\qt@max\qt@min
+ \ifx\qt@max\qt@min%
\edef\qt@page{\qt@getquarterdomain{\qt@min}}
- \qurantext[\qt@page]
- \else
- \edef\qt@page@start{\expandafter\qt@getquarterdomain{\qt@min}}
- \edef\qt@page@end{\expandafter\qt@getquarterdomain{\qt@max}}
+ \begingroup\qurantext[\qt@page]\endgroup%
+ \else%
+ \edef\qt@page@start{\expandafter\qt@getquarterdomain{\qt@min}}%
+ \edef\qt@page@end{\expandafter\qt@getquarterdomain{\qt@max}}%
\expandafter\qt@minmax\expandafter{\qt@page@start}%
\setcounter{qt@start}{\qt@min}% start ayah
\expandafter\qt@minmax\expandafter{\qt@page@end}%
\setcounter{qt@end}{\qt@max}% end ayah
- \qurantext[\value{qt@start}-\value{qt@end}]
- \fi
-}
+ \begingroup\qurantext[\value{qt@start}-\value{qt@end}]\endgroup%
+ \fi%
+}%
\bidi@newrobustcmd\quranruku{%
\@ifstar\@@quranruku\@quranruku
}
\def\@@quranruku[#1]{%
- \begingroup
- \ChangeQtPar
- \@quranruku[#1]
- \endgroup
-}
+ \begingroup%
+ \ChangeQtPar%
+ \@quranruku[#1]%
+ \endgroup%
+}%
+
\def\@quranruku[#1]{%
\expandafter\qt@minmax\expandafter{#1}%
- \ifx\qt@max\qt@min
- \edef\qt@page{\qt@getrukudomain{\qt@min}}
- \qurantext[\qt@page]
- \else
- \edef\qt@page@start{\expandafter\qt@getrukudomain{\qt@min}}
- \edef\qt@page@end{\expandafter\qt@getrukudomain{\qt@max}}
+ \ifx\qt@max\qt@min%
+ \edef\qt@page{\qt@getrukudomain{\qt@min}}%
+ \begingroup\qurantext[\qt@page]\endgroup%
+ \else%
+ \edef\qt@page@start{\expandafter\qt@getrukudomain{\qt@min}}%
+ \edef\qt@page@end{\expandafter\qt@getrukudomain{\qt@max}}%
\expandafter\qt@minmax\expandafter{\qt@page@start}%
\setcounter{qt@start}{\qt@min}% start ayah
\expandafter\qt@minmax\expandafter{\qt@page@end}%
\setcounter{qt@end}{\qt@max}% end ayah
- \qurantext[\value{qt@start}-\value{qt@end}]
- \fi
-}
+ \begingroup\qurantext[\value{qt@start}-\value{qt@end}]\endgroup%
+ \fi%
+}%
\bidi@newrobustcmd\quranhizb{%
\@ifstar\@@quranhizb\@quranhizb
}
-\def\@@quranhizb[#1]{
- \begingroup
- \ChangeQtPar
- \@quranhizb[#1]
- \endgroup
-}
+\def\@@quranhizb[#1]{%
+ \begingroup%
+ \ChangeQtPar%
+ \@quranhizb[#1]%
+ \endgroup%
+}%
+
\def\@quranhizb[#1]{%
\expandafter\qt@minmax\expandafter{#1}%
- \newcount\qt@start
- \newcount\qt@end
- \ifx\qt@max\qt@min
- \qt@start=#1
- \qt@end=#1
- \else
- \qt@start=\qt@min
- \qt@end=\qt@max
- \fi
- \multiply\qt@start by 4
- \advance\qt@start by -3
- \multiply\qt@end by 4
+ \newcount\qt@start%
+ \newcount\qt@end%
+ \ifx\qt@max\qt@min%
+ \qt@start=#1%
+ \qt@end=#1%
+ \else%
+ \qt@start=\qt@min%
+ \qt@end=\qt@max%
+ \fi%
+ \multiply\qt@start by 4%
+ \advance\qt@start by -3%
+ \multiply\qt@end by 4%
\quranquarter[\qt@start-\qt@end]%
-}
+}%
\bidi@newrobustcmd\quranmanzil{%
\@ifstar\@@quranmanzil\@quranmanzil
}
+
\def\@@quranmanzil[#1]{%
- \begingroup
- \ChangeQtPar
- \@quranmanzil[#1]
- \endgroup
-}
+ \begingroup%
+ \ChangeQtPar%
+ \@quranmanzil[#1]%
+ \endgroup%
+}%
+
\def\@quranmanzil[#1]{%
\expandafter\qt@minmax\expandafter{#1}%
- \ifx\qt@max\qt@min
- \edef\qt@surah{\qt@getmanzildomain{\qt@min}}
- \quransurah[\qt@surah]
- \else
- \edef\qt@surah@start{\expandafter\qt@getmanzildomain{\qt@min}}
- \edef\qt@surah@end{\expandafter\qt@getmanzildomain{\qt@max}}
+ \ifx\qt@max\qt@min%
+ \edef\qt@surah{\qt@getmanzildomain{\qt@min}}%
+ \quransurah[\qt@surah]%
+ \else%
+ \edef\qt@surah@start{\expandafter\qt@getmanzildomain{\qt@min}}%
+ \edef\qt@surah@end{\expandafter\qt@getmanzildomain{\qt@max}}%
\expandafter\qt@minmax\expandafter{\qt@surah@start}%
\setcounter{qt@start}{\qt@min}% start surah
\expandafter\qt@minmax\expandafter{\qt@surah@end}%
\setcounter{qt@end}{\qt@max}% end surah
- \quransurah[\value{qt@start}-\value{qt@end}]
- \fi
-}
+ \quransurah[\the\c@qt@start-\the\c@qt@end]%
+ \fi%
+}%
-\def\qt@getmanzildomain#1{\ifcase#1 \or1-4%Al-Hamd to An-Nisa
+\def\qt@getmanzildomain#1{\ifcase#1\or1-4%Al-Hamd to An-Nisa
\or5-9%Al-Maeda through At-Taubah%
\or10-16%Yunus through An-Nahl%
\or17-25%Al-Isra through Al-Furqan%
@@ -367,36 +466,26 @@
\else\relax\fi}
\def\qt@getversenum#1{%
- \ifcase#1 {}\or7\or286\or200\or176\or120\or165\or206\or75\or129\or109\or123\or111\or43\or52\or99\or128\or111\or110\or98\or135\or112\or78\or118\or64\or77\or227\or93\or88\or69\or60\or34\or30\or73\or54\or45\or83\or182\or88\or75\or85\or54\or53\or89\or59\or37\or35\or38\or29\or18\or45\or60\or49\or62\or55\or78\or96\or29\or22\or24\or13\or14\or11\or11\or18\or12\or12\or30\or52\or52\or44\or28\or28\or20\or56\or40\or31\or50\or40\or46\or42\or29\or19\or36\or25\or22\or17\or19\or26\or30\or20\or15\or21\or11\or8\or8\or19\or5\or8\or8\or11\or11\or8\or3\or9\or5\or4\or7\or3\or6\or3\or5\or4\or5\or6 \else \relax
-\fi }
+ \ifcase#1\or7\or286\or200\or176\or120\or165\or206\or75\or129\or109\or123\or111\or43\or52\or99\or128\or111\or110\or98\or135\or112\or78\or118\or64\or77\or227\or93\or88\or69\or60\or34\or30\or73\or54\or45\or83\or182\or88\or75\or85\or54\or53\or89\or59\or37\or35\or38\or29\or18\or45\or60\or49\or62\or55\or78\or96\or29\or22\or24\or13\or14\or11\or11\or18\or12\or12\or30\or52\or52\or44\or28\or28\or20\or56\or40\or31\or50\or40\or46\or42\or29\or19\or36\or25\or22\or17\or19\or26\or30\or20\or15\or21\or11\or8\or8\or19\or5\or8\or8\or11\or11\or8\or3\or9\or5\or4\or7\or3\or6\or3\or5\or4\or5\or6 \else \relax
+\fi}%
-\def\surahname[#1]{%
-\if@RTL
-\ifcase#1 {}\or الفاتحة\or البقرة\or آل عمران\or النساء\or المائدة\or الأنعام\or الأعراف\or الأنفال\or التوبة\or يونس\or هود\or يوسف\or الرعد\or إبراهيم\or الحجر\or النحل\or الإسراء\or الكهف\or مريم\or طه\or الأنبياء\or الحج\or المؤمنون\or النور\or الفرقان\or الشعراء\or النمل\or القصص\or العنكبوت\or الروم\or لقمان\or السجدة\or الأحزاب\or سبأ\or فاطر\or يس\or الصافات\or ص\or الزمر\or غافر\or فصلت\or الشورى\or الزخرف\or الدخان\or الجاثية\or الأحقاف\or محمد\or الفتح\or الحجرات\or ق\or الذاريات\or الطور\or النجم\or القمر\or الرحمن\or الواقعة\or الحديد\or المجادلة\or الحشر\or الممتحنة\or الصف\or الجمعة\or المنافقون\or التغابن\or الطلاق\or التحريم\or الملك\or القلم\or الحاقة\or المعارج\or نوح\or الجن\or المزمل\or المدثر\or القيامة\or الإنسان\or المرسلات\or النبأ\or النازعات\or عبس\or التكوير\or الإنفطار\or المطففين\or الانشقاق\or البروج\or الطارق\or الأعلى\or الغاشية\or الفجر\or البلد\or الشمس\or الليل\or الضحى\or الشرح\or التين\or العلق\or القدر\or البينة\or الزلزلة\or العاديات\or القارعة\or التكاثر\or العصر\or الهمزة\or الفيل\or قريش\or الماعون\or الكوثر\or الكافرون\or النصر\or المسد\or الإخلاص\or الفلق\or الناس \else \relax
- \fi
-\else
-\ifcase#1\or Al-Fatiha\or Al-Baqara\or Aal-e-Imran\or An-Nisa\or Al-Maeda\or Al-Anaam\or Al-Araf\or Al-Anfal\or At-Taubah\or Yunus\or Hud\or Yusuf\or Ar-Rad\or Ibrahim\or Al-Hijr\or An-Nahl\or Al-Isra\or Al-Kahf\or Maryam\or Taha\or Al-Anbiya\or Al-Hajj\or Al-Mumenoon\or An-Noor\or Al-Furqan\or Ash-Shuara\or An-Naml\or Al-Qasas\or Al-Ankaboot\or Ar-Room\or Luqman\or As-Sajda\or Al-Ahzab\or Saba\or Fatir\or Ya Seen\or As-Saaffat\or Sad\or Az-Zumar\or Ghafir\or Fussilat\or Ash-Shura\or Az-Zukhruf\or Ad-Dukhan\or Al-Jathiya\or Al-Ahqaf\or Muhammad\or Al-Fath\or Al-Hujraat\or Qaf\or Adh-Dhariyat\or At-tur\or An-Najm\or Al-Qamar\or Al-Rahman\or Al-Waqia\or Al-Hadid\or Al-Mujadila\or Al-Hashr\or Al-Mumtahina\or As-Saff\or Al-Jumua\or Al-Munafiqoon\or At-Taghabun\or At-Talaq\or At-Tahrim\or Al-Mulk\or Al-Qalam\or Al-Haaqqa\or Al-Maarij\or Nooh\or Al-Jinn\or Al-Muzzammil\or Al-Muddathir\or Al-Qiyama\or Al-Insan\or Al-Mursalat\or An-Naba\or An-Naziat\or Abasa\or At-Takwir\or AL-Infitar\or Al-Mutaffifin\or Al-Inshiqaq\or Al-Burooj\or At-Tariq\or Al-Ala\or Al-Ghashiya\or Al-Fajr\or Al-Balad\or Ash-Shams\or Al-Lail\or Ad-Dhuha\or Al-Inshirah\or At-Tin\or Al-Alaq\or Al-Qadr\or Al-Bayyina\or Al-Zalzala\or Al-Adiyat\or Al-Qaria\or At-Takathur\or Al-Asr\or Al-Humaza\or Al-fil\or Quraish\or Al-Maun\or Al-Kauther\or Al-Kafiroon\or An-Nasr\or Al-Masadd\or Al-Ikhlas\or Al-Falaq\or An-Nas \else \relax \fi
-\fi
-}
\def\qt@getjuzdomain#1{%
-\ifcase#1 {}\or1-148\or149-259\or260-385\or386-516\or517-640\or641-750\or751-899\or900-1041\or1042-1200\or1201-1327\or1328-1478\or1479-1648\or1649-1802\or1803-2029\or2030-2214\or2215-2483\or2484-2673\or2674-2875\or2876-3214\or3215-3385\or3386-3563\or3564-3732\or3733-4089\or4090-4264\or4265-4510\or4511-4705\or4706-5104\or5105-5241\or5242-5672
+\ifcase#1\or1-148\or149-259\or260-385\or386-516\or517-640\or641-750\or751-899\or900-1041\or1042-1200\or1201-1327\or1328-1478\or1479-1648\or1649-1802\or1803-2029\or2030-2214\or2215-2483\or2484-2673\or2674-2875\or2876-3214\or3215-3385\or3386-3563\or3564-3732\or3733-4089\or4090-4264\or4265-4510\or4511-4705\or4706-5104\or5105-5241\or5242-5672
\or5673-6236 \else \relax \fi%
}
\def\qt@getpagedomain#1{%
- \ifcase#1 {}\or1-7\or8-12\or13-23\or24-31\or32-36\or37-44\or45-55\or56-64\or65-68\or69-76\or77-83\or84-90\or91-95\or96-100\or101-108\or109-112\or113-119\or120-126\or127-133\or134-141\or142-148\or149-152\or153-160\or161-170\or171-176\or177-183\or184-188\or189-193\or194-197\or198-203\or204-209\or210-217\or218-222\or223-226\or227-231\or232-237\or238-240\or241-244\or245-252\or253-255\or256-259\or260-263\or264-266\or267-271\or272-276\or277-281\or282-288\or289-289\or290-293\or294-302\or303-308\or309-315\or316-322\or323-330\or331-338\or339-345\or346-354\or355-363\or364-370\or371-376\or377-384\or385-393\or394-401\or402-408\or409-414\or415-425\or426-433\or434-441\or442-446\or447-450\or451-458\or459-466\or467-473\or474-479\or480-487\or488-493\or494-499\or500-504\or505-507\or508-512\or513-516\or517-519\or520-526\or527-530\or531-537\or538-544\or545-552\or553-558\or559-567\or568-572\or573-579\or580-584\or585-587\or588-594\or595-598\or599-606\or607-614\or615-620\or621-627\or628-633\or634-640\or641-647\or648-655\or656-663\or664-668\or669-671\or672-674\or675-678\or679-682\or683-686\or687-692\or693-700\or701-705\or706-710\or711-714\or715-719\or720-726\or727-733\or734-739\or740-745\or746-751\or752-758\or759-764\or765-772\or773-777\or778-782\or783-789\or790-797\or798-807\or808-816\or817-824\or825-833\or834-841\or842-848\or849-857\or858-862\or863-870\or871-879\or880-883\or884-890\or891-899\or900-907\or908-913\or914-920\or921-926\or927-931\or932-935\or936-940\or941-946\or947-954\or955-965\or966-976\or977-984\or985-991\or992-997\or998-1005\or1006-1011\or1012-1021\or1022-1027\or1028-1035\or1036-1041\or1042-1049\or1050-1058\or1059-1074\or1075-1084\or1085-1091\or1092-1097\or1098-1103\or1104-1109\or1110-1113\or1114-1117\or1118-1124\or1125-1132\or1133-1141\or1142-1149\or1150-1160\or1161-1168\or1169-1176\or1177-1185\or1186-1193\or1194-1200\or1201-1205\or1206-1212\or1213-1221\or1222-1229\or1230-1235\or1236-1241\or1242-1248\or1249-1255\or1256-1261\or1262-1266\or1267-1271\or1272-1275\or1276-1282\or1283-1289\or1290-1296\or1297-1303\or1304-1307\or1308-1314\or1315-1321\or1322-1328\or1329-1334\or1335-1341\or1342-1346\or1347-1352\or1353-1357\or1358-1364\or1365-1370\or1371-1378\or1379-1384\or1385-1389\or1390-1397\or1398-1406\or1407-1417\or1418-1425\or1426-1434\or1435-1442\or1443-1452\or1453-1461\or1462-1470\or1471-1478\or1479-1485\or1486-1492\or1493-1501\or1502-1510\or1511-1518\or1519-1526\or1527-1535\or1536-1544\or1545-1554\or1555-1561\or1562-1570\or1571-1581\or1582-1590\or1591-1600\or1601-1610\or1611-1618\or1619-1626\or1627-1633\or1634-1639\or1640-1648\or1649-1659\or1660-1665\or1666-1674\or1675-1682\or1683-1691\or1692-1699\or1700-1707\or1708-1712\or1713-1720\or1721-1725\or1726-1735\or1736-1741\or1742-1749\or1750-1755\or1756-1760\or1761-1768\or1769-1774\or1775-1783\or1784-1792\or1793-1802\or1803-1817\or1818-1833\or1834-1853\or1854-1872\or1873-1892\or1893-1907\or1908-1915\or1916-1927\or1928-1935\or1936-1943\or1944-1955\or1956-1965\or1966-1973\or1974-1980\or1981-1988\or1989-1994\or1995-2003\or2004-2011\or2012-2019\or2020-2029\or2030-2036\or2037-2046\or2047-2056\or2057-2067\or2068-2078\or2079-2087\or2088-2095\or2096-2104\or2105-2115\or2116-2125\or2126-2133\or2134-2144\or2145-2155\or2156-2160\or2161-2167\or2168-2174\or2175-2185\or2186-2193\or2194-2201\or2202-2214\or2215-2223\or2224-2237\or2238-2250\or2251-2261\or2262-2275\or2276-2288\or2289-2301\or2302-2314\or2315-2326\or2327-2345\or2346-2360\or2361-2385\or2386-2399\or2400-2412\or2413-2424\or2425-2435\or2436-2446\or2447-2461\or2462-2473\or2474-2483\or2484-2493\or2494-2507\or2508-2518\or2519-2527\or2528-2540\or2541-2555\or2556-2564\or2565-2573\or2574-2584\or2585-2595\or2596-2600\or2601-2610\or2611-2618\or2619-2625\or2626-2633\or2634-2641\or2642-2650\or2651-2659\or2660-2667\or2668-2673\or2674-2690\or2691-2700\or2701-2715\or2716-2732\or2733-2747\or2748-2762\or2763-2777\or2778-2791\or2792-2801\or2802-2811\or2812-2818\or2819-2822\or2823-2827\or2828-2834\or2835-2844\or2845-2849\or2850-2852\or2853-2857\or2858-2866\or2867-2875\or2876-2887\or2888-2898\or2899-2910\or2911-2922\or2923-2932\or2933-2951\or2952-2971\or2972-2992\or2993-3015\or3016-3043\or3044-3068\or3069-3091\or3092-3115\or3116-3138\or3139-3159\or3160-3172\or3173-3181\or3182-3194\or3195-3203\or3204-3214\or3215-3222\or3223-3235\or3236-3247\or3248-3257\or3258-3265\or3266-3273\or3274-3280\or3281-3287\or3288-3295\or3296-3302\or3303-3311\or3312-3322\or3323-3329\or3330-3336\or3337-3346\or3347-3354\or3355-3363\or3364-3370\or3371-3378\or3379-3385\or3386-3392\or3393-3403\or3404-3414\or3415-3424\or3425-3433\or3434-3441\or3442-3450\or3451-3459\or3460-3469\or3470-3480\or3481-3488\or3489-3497\or3498-3503\or3504-3514\or3515-3523\or3524-3533\or3534-3539\or3540-3548\or3549-3555\or3556-3563\or3564-3568\or3569-3576\or3577-3583\or3584-3587\or3588-3595\or3596-3606\or3607-3613\or3614-3620\or3621-3628\or3629-3637\or3638-3645\or3646-3654\or3655-3663\or3664-3671\or3672-3678\or3679-3690\or3691-3698\or3699-3704\or3705-3717\or3718-3732\or3733-3745\or3746-3759\or3760-3775\or3776-3788\or3789-3812\or3813-3839\or3840-3864\or3865-3890\or3891-3914\or3915-3941\or3942-3970\or3971-3986\or3987-3996\or3997-4012\or4013-4031\or4032-4053\or4054-4063\or4064-4068\or4069-4079\or4080-4089\or4090-4098\or4099-4105\or4106-4114\or4115-4125\or4126-4132\or4133-4140\or4141-4149\or4150-4158\or4159-4166\or4167-4173\or4174-4182\or4183-4191\or4192-4199\or4200-4210\or4211-4218\or4219-4229\or4230-4238\or4239-4247\or4248-4256\or4257-4264\or4265-4272\or4273-4282\or4283-4287\or4288-4294\or4295-4303\or4304-4316\or4317-4323\or4324-4335\or4336-4347\or4348-4358\or4359-4372\or4373-4385\or4386-4398\or4399-4414\or4415-4432\or4433-4453\or4454-4473\or4474-4486\or4487-4495\or4496-4505\or4506-4515\or4516-4524\or4525-4530\or4531-4538\or4539-4545\or4546-4556\or4557-4564\or4565-4574\or4575-4583\or4584-4592\or4593-4598\or4599-4606\or4607-4611\or4612-4616\or4617-4623\or4624-4630\or4631-4645\or4646-4665\or4666-4681\or4682-4705\or4706-4726\or4727-4749\or4750-4766\or4767-4784\or4785-4810\or4811-4828\or4829-4852\or4853-4873\or4874-4895\or4896-4917\or4918-4941\or4942-4968\or4969-4995\or4996-5029\or5030-5055\or5056-5078\or5079-5086\or5087-5093\or5094-5099\or5100-5104\or5105-5110\or5111-5115\or5116-5125\or5126-5129\or5130-5135\or5136-5142\or5143-5150\or5151-5155\or5156-5161\or5162-5168\or5169-5177\or5178-5185\or5186-5192\or5193-5199\or5200-5208\or5209-5217\or5218-5222\or5223-5229\or5230-5236\or5237-5241\or5242-5253\or5254-5267\or5268-5286\or5287-5313\or5314-5331\or5332-5357\or5358-5385\or5386-5414\or5415-5429\or5430-5447\or5448-5460\or5461-5475\or5476-5494\or5495-5512\or5513-5542\or5543-5570\or5571-5596\or5597-5616\or5617-5641\or5642-5672\or5673-5702\or5703-5727\or5728-5758\or5759-5800\or5801-5829\or5830-5854\or5855-5882\or5883-5909\or5910-5931\or5932-5963\or5964-5993\or5994-6016\or6017-6043\or6044-6072\or6073-6098\or6099-6125\or6126-6137\or6138-6155\or6156-6176\or6177-6193\or6194-6207\or6208-6221\or6222-6236 \else \relax \fi%
+ \ifcase#1\or1-7\or8-12\or13-23\or24-31\or32-36\or37-44\or45-55\or56-64\or65-68\or69-76\or77-83\or84-90\or91-95\or96-100\or101-108\or109-112\or113-119\or120-126\or127-133\or134-141\or142-148\or149-152\or153-160\or161-170\or171-176\or177-183\or184-188\or189-193\or194-197\or198-203\or204-209\or210-217\or218-222\or223-226\or227-231\or232-237\or238-240\or241-244\or245-252\or253-255\or256-259\or260-263\or264-266\or267-271\or272-276\or277-281\or282-288\or289-289\or290-293\or294-302\or303-308\or309-315\or316-322\or323-330\or331-338\or339-345\or346-354\or355-363\or364-370\or371-376\or377-384\or385-393\or394-401\or402-408\or409-414\or415-425\or426-433\or434-441\or442-446\or447-450\or451-458\or459-466\or467-473\or474-479\or480-487\or488-493\or494-499\or500-504\or505-507\or508-512\or513-516\or517-519\or520-526\or527-530\or531-537\or538-544\or545-552\or553-558\or559-567\or568-572\or573-579\or580-584\or585-587\or588-594\or595-598\or599-606\or607-614\or615-620\or621-627\or628-633\or634-640\or641-647\or648-655\or656-663\or664-668\or669-671\or672-674\or675-678\or679-682\or683-686\or687-692\or693-700\or701-705\or706-710\or711-714\or715-719\or720-726\or727-733\or734-739\or740-745\or746-751\or752-758\or759-764\or765-772\or773-777\or778-782\or783-789\or790-797\or798-807\or808-816\or817-824\or825-833\or834-841\or842-848\or849-857\or858-862\or863-870\or871-879\or880-883\or884-890\or891-899\or900-907\or908-913\or914-920\or921-926\or927-931\or932-935\or936-940\or941-946\or947-954\or955-965\or966-976\or977-984\or985-991\or992-997\or998-1005\or1006-1011\or1012-1021\or1022-1027\or1028-1035\or1036-1041\or1042-1049\or1050-1058\or1059-1074\or1075-1084\or1085-1091\or1092-1097\or1098-1103\or1104-1109\or1110-1113\or1114-1117\or1118-1124\or1125-1132\or1133-1141\or1142-1149\or1150-1160\or1161-1168\or1169-1176\or1177-1185\or1186-1193\or1194-1200\or1201-1205\or1206-1212\or1213-1221\or1222-1229\or1230-1235\or1236-1241\or1242-1248\or1249-1255\or1256-1261\or1262-1266\or1267-1271\or1272-1275\or1276-1282\or1283-1289\or1290-1296\or1297-1303\or1304-1307\or1308-1314\or1315-1321\or1322-1328\or1329-1334\or1335-1341\or1342-1346\or1347-1352\or1353-1357\or1358-1364\or1365-1370\or1371-1378\or1379-1384\or1385-1389\or1390-1397\or1398-1406\or1407-1417\or1418-1425\or1426-1434\or1435-1442\or1443-1452\or1453-1461\or1462-1470\or1471-1478\or1479-1485\or1486-1492\or1493-1501\or1502-1510\or1511-1518\or1519-1526\or1527-1535\or1536-1544\or1545-1554\or1555-1561\or1562-1570\or1571-1581\or1582-1590\or1591-1600\or1601-1610\or1611-1618\or1619-1626\or1627-1633\or1634-1639\or1640-1648\or1649-1659\or1660-1665\or1666-1674\or1675-1682\or1683-1691\or1692-1699\or1700-1707\or1708-1712\or1713-1720\or1721-1725\or1726-1735\or1736-1741\or1742-1749\or1750-1755\or1756-1760\or1761-1768\or1769-1774\or1775-1783\or1784-1792\or1793-1802\or1803-1817\or1818-1833\or1834-1853\or1854-1872\or1873-1892\or1893-1907\or1908-1915\or1916-1927\or1928-1935\or1936-1943\or1944-1955\or1956-1965\or1966-1973\or1974-1980\or1981-1988\or1989-1994\or1995-2003\or2004-2011\or2012-2019\or2020-2029\or2030-2036\or2037-2046\or2047-2056\or2057-2067\or2068-2078\or2079-2087\or2088-2095\or2096-2104\or2105-2115\or2116-2125\or2126-2133\or2134-2144\or2145-2155\or2156-2160\or2161-2167\or2168-2174\or2175-2185\or2186-2193\or2194-2201\or2202-2214\or2215-2223\or2224-2237\or2238-2250\or2251-2261\or2262-2275\or2276-2288\or2289-2301\or2302-2314\or2315-2326\or2327-2345\or2346-2360\or2361-2385\or2386-2399\or2400-2412\or2413-2424\or2425-2435\or2436-2446\or2447-2461\or2462-2473\or2474-2483\or2484-2493\or2494-2507\or2508-2518\or2519-2527\or2528-2540\or2541-2555\or2556-2564\or2565-2573\or2574-2584\or2585-2595\or2596-2600\or2601-2610\or2611-2618\or2619-2625\or2626-2633\or2634-2641\or2642-2650\or2651-2659\or2660-2667\or2668-2673\or2674-2690\or2691-2700\or2701-2715\or2716-2732\or2733-2747\or2748-2762\or2763-2777\or2778-2791\or2792-2801\or2802-2811\or2812-2818\or2819-2822\or2823-2827\or2828-2834\or2835-2844\or2845-2849\or2850-2852\or2853-2857\or2858-2866\or2867-2875\or2876-2887\or2888-2898\or2899-2910\or2911-2922\or2923-2932\or2933-2951\or2952-2971\or2972-2992\or2993-3015\or3016-3043\or3044-3068\or3069-3091\or3092-3115\or3116-3138\or3139-3159\or3160-3172\or3173-3181\or3182-3194\or3195-3203\or3204-3214\or3215-3222\or3223-3235\or3236-3247\or3248-3257\or3258-3265\or3266-3273\or3274-3280\or3281-3287\or3288-3295\or3296-3302\or3303-3311\or3312-3322\or3323-3329\or3330-3336\or3337-3346\or3347-3354\or3355-3363\or3364-3370\or3371-3378\or3379-3385\or3386-3392\or3393-3403\or3404-3414\or3415-3424\or3425-3433\or3434-3441\or3442-3450\or3451-3459\or3460-3469\or3470-3480\or3481-3488\or3489-3497\or3498-3503\or3504-3514\or3515-3523\or3524-3533\or3534-3539\or3540-3548\or3549-3555\or3556-3563\or3564-3568\or3569-3576\or3577-3583\or3584-3587\or3588-3595\or3596-3606\or3607-3613\or3614-3620\or3621-3628\or3629-3637\or3638-3645\or3646-3654\or3655-3663\or3664-3671\or3672-3678\or3679-3690\or3691-3698\or3699-3704\or3705-3717\or3718-3732\or3733-3745\or3746-3759\or3760-3775\or3776-3788\or3789-3812\or3813-3839\or3840-3864\or3865-3890\or3891-3914\or3915-3941\or3942-3970\or3971-3986\or3987-3996\or3997-4012\or4013-4031\or4032-4053\or4054-4063\or4064-4068\or4069-4079\or4080-4089\or4090-4098\or4099-4105\or4106-4114\or4115-4125\or4126-4132\or4133-4140\or4141-4149\or4150-4158\or4159-4166\or4167-4173\or4174-4182\or4183-4191\or4192-4199\or4200-4210\or4211-4218\or4219-4229\or4230-4238\or4239-4247\or4248-4256\or4257-4264\or4265-4272\or4273-4282\or4283-4287\or4288-4294\or4295-4303\or4304-4316\or4317-4323\or4324-4335\or4336-4347\or4348-4358\or4359-4372\or4373-4385\or4386-4398\or4399-4414\or4415-4432\or4433-4453\or4454-4473\or4474-4486\or4487-4495\or4496-4505\or4506-4515\or4516-4524\or4525-4530\or4531-4538\or4539-4545\or4546-4556\or4557-4564\or4565-4574\or4575-4583\or4584-4592\or4593-4598\or4599-4606\or4607-4611\or4612-4616\or4617-4623\or4624-4630\or4631-4645\or4646-4665\or4666-4681\or4682-4705\or4706-4726\or4727-4749\or4750-4766\or4767-4784\or4785-4810\or4811-4828\or4829-4852\or4853-4873\or4874-4895\or4896-4917\or4918-4941\or4942-4968\or4969-4995\or4996-5029\or5030-5055\or5056-5078\or5079-5086\or5087-5093\or5094-5099\or5100-5104\or5105-5110\or5111-5115\or5116-5125\or5126-5129\or5130-5135\or5136-5142\or5143-5150\or5151-5155\or5156-5161\or5162-5168\or5169-5177\or5178-5185\or5186-5192\or5193-5199\or5200-5208\or5209-5217\or5218-5222\or5223-5229\or5230-5236\or5237-5241\or5242-5253\or5254-5267\or5268-5286\or5287-5313\or5314-5331\or5332-5357\or5358-5385\or5386-5414\or5415-5429\or5430-5447\or5448-5460\or5461-5475\or5476-5494\or5495-5512\or5513-5542\or5543-5570\or5571-5596\or5597-5616\or5617-5641\or5642-5672\or5673-5702\or5703-5727\or5728-5758\or5759-5800\or5801-5829\or5830-5854\or5855-5882\or5883-5909\or5910-5931\or5932-5963\or5964-5993\or5994-6016\or6017-6043\or6044-6072\or6073-6098\or6099-6125\or6126-6137\or6138-6155\or6156-6176\or6177-6193\or6194-6207\or6208-6221\or6222-6236\else\relax\fi%
}
\def\qt@getquarterdomain#1{
-\ifcase#1\or1-32\or33-50\or51-66\or67-81\or82-98\or99-112\or113-130\or131-148\or149-164\or165-183\or184-195\or196-209\or210-225\or226-239\or240-249\or250-259\or260-269\or270-278\or279-289\or290-307\or308-325\or326-344\or345-367\or368-385\or386-405\or406-425\or426-445\or446-463\or464-478\or479-493\or494-504\or505-516\or517-528\or529-550\or551-566\or567-580\or581-592\or593-606\or607-627\or628-640\or641-655\or656-669\or670-680\or681-695\or696-709\or710-719\or720-735\or736-750\or751-765\or766-777\or778-801\or802-824\or825-847\or848-862\or863-883\or884-899\or900-915\or916-929\or930-939\or940-954\or955-984\or985-1000\or1001-1018\or1019-1041\or1042-1070\or1071-1095\or1096-1109\or1110-1124\or1125-1142\or1143-1160\or1161-1181\or1182-1200\or1201-1220\or1221-1235\or1236-1253\or1254-1268\or1269-1280\or1281-1294\or1295-1309\or1310-1327\or1328-1345\or1346-1356\or1357-1374\or1375-1389\or1390-1416\or1417-1434\or1435-1453\or1454-1478\or1479-1496\or1497-1513\or1514-1533\or1534-1556\or1557-1580\or1581-1602\or1603-1625\or1626-1648\or1649-1672\or1673-1696\or1697-1711\or1712-1725\or1726-1741\or1742-1759\or1760-1777\or1778-1802\or1803-1851\or1852-1901\or1902-1930\or1931-1951\or1952-1975\or1976-1990\or1991-2011\or2012-2029\or2030-2051\or2052-2078\or2079-2098\or2099-2127\or2128-2156\or2157-2171\or2172-2190\or2191-2214\or2215-2238\or2239-2271\or2272-2308\or2309-2348\or2349-2402\or2403-2430\or2431-2458\or2459-2483\or2484-2511\or2512-2533\or2534-2565\or2566-2595\or2596-2613\or2614-2632\or2633-2654\or2655-2673\or2674-2708\or2709-2747\or2748-2791\or2792-2811\or2812-2825\or2826-2843\or2844-2855\or2856-2875\or2876-2907\or2908-2932\or2933-2983\or2984-3042\or3043-3112\or3113-3159\or3160-3185\or3186-3214\or3215-3240\or3241-3263\or3264-3280\or3281-3302\or3303-3327\or3328-3340\or3341-3365\or3366-3385\or3386-3409\or3410-3439\or3440-3462\or3463-3490\or3491-3513\or3514-3533\or3534-3550\or3551-3563\or3564-3583\or3584-3592\or3593-3615\or3616-3629\or3630-3651\or3652-3674\or3675-3700\or3701-3732\or3733-3764\or3765-3809\or3810-3870\or3871-3932\or3933-3990\or3991-4021\or4022-4065\or4066-4089\or4090-4110\or4111-4133\or4134-4153\or4154-4173\or4174-4198\or4199-4226\or4227-4242\or4243-4264\or4265-4284\or4285-4298\or4299-4322\or4323-4348\or4349-4381\or4382-4430\or4431-4484\or4485-4510\or4511-4530\or4531-4554\or4555-4577\or4578-4600\or4601-4612\or4613-4625\or4626-4656\or4657-4705\or4706-4758\or4759-4809\or4810-4854\or4855-4901\or4902-4979\or4980-5053\or5054-5090\or5091-5104\or5105-5117\or5118-5136\or5137-5156\or5157-5177\or5178-5191\or5192-5217\or5218-5229\or5230-5241\or5242-5271\or5272-5323\or5324-5393\or5394-5447\or5448-5494\or5495-5551\or5552-5609\or5610-5672\or5673-5758\or5759-5829\or5830-5884\or5885-5948\or5949-6023\or6024-6090\or6091-6154\or6155-6236\else\relax
-\fi
+\ifcase#1\or1-32\or33-50\or51-66\or67-81\or82-98\or99-112\or113-130\or131-148\or149-164\or165-183\or184-195\or196-209\or210-225\or226-239\or240-249\or250-259\or260-269\or270-278\or279-289\or290-307\or308-325\or326-344\or345-367\or368-385\or386-405\or406-425\or426-445\or446-463\or464-478\or479-493\or494-504\or505-516\or517-528\or529-550\or551-566\or567-580\or581-592\or593-606\or607-627\or628-640\or641-655\or656-669\or670-680\or681-695\or696-709\or710-719\or720-735\or736-750\or751-765\or766-777\or778-801\or802-824\or825-847\or848-862\or863-883\or884-899\or900-915\or916-929\or930-939\or940-954\or955-984\or985-1000\or1001-1018\or1019-1041\or1042-1070\or1071-1095\or1096-1109\or1110-1124\or1125-1142\or1143-1160\or1161-1181\or1182-1200\or1201-1220\or1221-1235\or1236-1253\or1254-1268\or1269-1280\or1281-1294\or1295-1309\or1310-1327\or1328-1345\or1346-1356\or1357-1374\or1375-1389\or1390-1416\or1417-1434\or1435-1453\or1454-1478\or1479-1496\or1497-1513\or1514-1533\or1534-1556\or1557-1580\or1581-1602\or1603-1625\or1626-1648\or1649-1672\or1673-1696\or1697-1711\or1712-1725\or1726-1741\or1742-1759\or1760-1777\or1778-1802\or1803-1851\or1852-1901\or1902-1930\or1931-1951\or1952-1975\or1976-1990\or1991-2011\or2012-2029\or2030-2051\or2052-2078\or2079-2098\or2099-2127\or2128-2156\or2157-2171\or2172-2190\or2191-2214\or2215-2238\or2239-2271\or2272-2308\or2309-2348\or2349-2402\or2403-2430\or2431-2458\or2459-2483\or2484-2511\or2512-2533\or2534-2565\or2566-2595\or2596-2613\or2614-2632\or2633-2654\or2655-2673\or2674-2708\or2709-2747\or2748-2791\or2792-2811\or2812-2825\or2826-2843\or2844-2855\or2856-2875\or2876-2907\or2908-2932\or2933-2983\or2984-3042\or3043-3112\or3113-3159\or3160-3185\or3186-3214\or3215-3240\or3241-3263\or3264-3280\or3281-3302\or3303-3327\or3328-3340\or3341-3365\or3366-3385\or3386-3409\or3410-3439\or3440-3462\or3463-3490\or3491-3513\or3514-3533\or3534-3550\or3551-3563\or3564-3583\or3584-3592\or3593-3615\or3616-3629\or3630-3651\or3652-3674\or3675-3700\or3701-3732\or3733-3764\or3765-3809\or3810-3870\or3871-3932\or3933-3990\or3991-4021\or4022-4065\or4066-4089\or4090-4110\or4111-4133\or4134-4153\or4154-4173\or4174-4198\or4199-4226\or4227-4242\or4243-4264\or4265-4284\or4285-4298\or4299-4322\or4323-4348\or4349-4381\or4382-4430\or4431-4484\or4485-4510\or4511-4530\or4531-4554\or4555-4577\or4578-4600\or4601-4612\or4613-4625\or4626-4656\or4657-4705\or4706-4758\or4759-4809\or4810-4854\or4855-4901\or4902-4979\or4980-5053\or5054-5090\or5091-5104\or5105-5117\or5118-5136\or5137-5156\or5157-5177\or5178-5191\or5192-5217\or5218-5229\or5230-5241\or5242-5271\or5272-5323\or5324-5393\or5394-5447\or5448-5494\or5495-5551\or5552-5609\or5610-5672\or5673-5758\or5759-5829\or5830-5884\or5885-5948\or5949-6023\or6024-6090\or6091-6154\or6155-6236\else\relax\fi
}
+
\def\qt@getrukudomain#1{
-\ifcase#1\or1-7\or8-14\or15-27\or28-36\or37-46\or47-53\or54-66\or67-68\or69-78\or79-89\or90-93\or94-103\or104-110\or111-119\or120-128\or129-136\or137-148\or149-154\or155-159\or160-170\or171-174\or175-183\or184-189\or190-195\or196-203\or204-217\or218-223\or224-228\or229-235\or236-238\or239-242\or243-249\or250-255\or256-260\or261-264\or265-267\or268-273\or274-280\or281-288\or289-290\or291-293\or294-302\or303-313\or314-323\or324-334\or335-347\or348-356\or357-364\or365-373\or374-384\or385-394\or395-402\or403-413\or414-422\or423-436\or437-441\or442-448\or449-464\or465-473\or474-482\or483-493\or494-503\or504-507\or508-515\or516-518\or519-526\or527-535\or536-543\or544-552\or553-563\or564-569\or570-580\or581-584\or585-589\or590-593\or594-597\or598-605\or606-608\or609-619\or620-627\or628-634\or635-645\or646-655\or656-664\or665-669\or670-674\or675-680\or681-688\or689-695\or696-703\or704-712\or713-719\or720-725\or726-735\or736-746\or747-755\or756-762\or763-769\or770-777\or778-784\or785-789\or790-799\or800-809\or810-819\or820-830\or831-839\or840-844\or845-849\or850-859\or860-871\or872-879\or880-883\or884-889\or890-899\or900-910\or911-918\or919-929\or930-933\or934-939\or940-943\or944-954\or955-964\or965-979\or980-985\or986-993\or994-1001\or1002-1007\or1008-1012\or1013-1018\or1019-1026\or1027-1038\or1039-1047\or1048-1053\or1054-1062\or1063-1080\or1081-1083\or1084-1095\or1096-1101\or1102-1105\or1106-1111\or1112-1116\or1117-1125\or1126-1135\or1136-1142\or1143-1160\or1161-1170\or1171-1179\or1180-1188\or1189-1197\or1198-1204\or1205-1208\or1209-1218\or1219-1224\or1225-1229\or1230-1235\or1236-1241\or1242-1251\or1252-1259\or1260-1264\or1265-1272\or1273-1277\or1278-1294\or1295-1301\or1302-1307\or1308-1315\or1316-1324\or1325-1334\or1335-1345\or1346-1353\or1354-1357\or1358-1364\or1365-1374\or1375-1384\or1385-1394\or1395-1404\or1405-1417\or1418-1424\or1425-1434\or1435-1446\or1447-1456\or1457-1467\or1468-1473\or1474-1481\or1482-1497\or1498-1508\or1509-1522\or1523-1533\or1534-1541\or1542-1556\or1557-1568\or1569-1582\or1583-1596\or1597-1602\or1603-1616\or1617-1625\or1626-1631\or1632-1638\or1639-1645\or1646-1653\or1654-1664\or1665-1675\or1676-1689\or1690-1700\or1701-1707\or1708-1714\or1715-1725\or1726-1733\or1734-1738\or1739-1744\or1745-1750\or1751-1756\or1757-1762\or1763-1771\or1772-1777\or1778-1784\or1785-1791\or1792-1802\or1803-1817\or1818-1827\or1828-1846\or1847-1862\or1863-1881\or1882-1901\or1902-1910\or1911-1922\or1923-1926\or1927-1935\or1936-1941\or1942-1951\or1952-1961\or1962-1966\or1967-1971\or1972-1977\or1978-1984\or1985-1990\or1991-2001\or2002-2011\or2012-2020\or2021-2029\or2030-2039\or2040-2051\or2052-2059\or2060-2069\or2070-2081\or2082-2089\or2090-2099\or2100-2106\or2107-2113\or2114-2122\or2123-2129\or2130-2140\or2141-2152\or2153-2157\or2158-2162\or2163-2171\or2172-2184\or2185-2189\or2190-2193\or2194-2199\or2200-2210\or2211-2222\or2223-2241\or2242-2250\or2251-2265\or2266-2290\or2291-2300\or2301-2315\or2316-2332\or2333-2348\or2349-2372\or2373-2402\or2403-2424\or2425-2437\or2438-2452\or2453-2463\or2464-2476\or2477-2483\or2484-2493\or2494-2512\or2513-2524\or2525-2533\or2534-2558\or2559-2576\or2577-2595\or2596-2605\or2606-2617\or2618-2620\or2621-2628\or2629-2633\or2634-2643\or2644-2652\or2653-2659\or2660-2667\or2668-2673\or2674-2695\or2696-2705\or2706-2723\or2724-2750\or2751-2765\or2766-2791\or2792-2801\or2802-2811\or2812-2817\or2818-2825\or2826-2831\or2832-2841\or2842-2848\or2849-2852\or2853-2855\or2856-2864\or2865-2875\or2876-2889\or2890-2899\or2900-2915\or2916-2932\or2933-2941\or2942-2965\or2966-2984\or2985-3001\or3002-3036\or3037-3054\or3055-3072\or3073-3091\or3092-3107\or3108-3123\or3124-3159\or3160-3173\or3174-3190\or3191-3203\or3204-3217\or3218-3225\or3226-3241\or3242-3252\or3253-3265\or3266-3273\or3274-3280\or3281-3294\or3295-3302\or3303-3312\or3313-3327\or3328-3340\or3341-3353\or3354-3362\or3363-3370\or3371-3384\or3385-3391\or3392-3403\or3404-3409\or3410-3419\or3420-3428\or3429-3436\or3437-3449\or3450-3462\or3463-3469\or3470-3480\or3481-3488\or3489-3503\or3504-3514\or3515-3525\or3526-3533\or3534-3541\or3542-3553\or3554-3560\or3561-3567\or3568-3573\or3574-3585\or3586-3591\or3592-3601\or3602-3606\or3607-3615\or3616-3627\or3628-3636\or3637-3642\or3643-3651\or3652-3660\or3661-3667\or3668-3674\or3675-3686\or3687-3697\or3698-3705\or3706-3717\or3718-3737\or3738-3755\or3756-3772\or3773-3788\or3789-3809\or3810-3862\or3863-3901\or3902-3926\or3927-3970\or3971-3984\or3985-3996\or3997-4010\or4011-4034\or4035-4058\or4059-4067\or4068-4079\or4080-4089\or4090-4099\or4100-4110\or4111-4121\or4122-4128\or4129-4133\or4134-4142\or4143-4153\or4154-4160\or4161-4170\or4171-4183\or4184-4193\or4194-4201\or4202-4211\or4212-4218\or4219-4226\or4227-4236\or4237-4243\or4244-4250\or4251-4262\or4263-4272\or4273-4281\or4282-4291\or4292-4301\or4302-4315\or4316-4325\or4326-4340\or4341-4350\or4351-4360\or4361-4370\or4371-4381\or4382-4392\or4393-4414\or4415-4443\or4444-4456\or4457-4473\or4474-4484\or4485-4494\or4495-4499\or4500-4510\or4511-4520\or4521-4530\or4531-4536\or4537-4545\or4546-4556\or4557-4564\or4565-4573\or4574-4583\or4584-4593\or4594-4600\or4601-4609\or4610-4612\or4613-4622\or4623-4630\or4631-4645\or4646-4659\or4660-4675\or4676-4698\or4699-4721\or4722-4735\or4736-4763\or4764-4784\or4785-4809\or4810-4816\or4817-4846\or4847-4868\or4869-4886\or4887-4901\or4902-4926\or4927-4946\or4947-4979\or4980-5017\or5018-5053\or5054-5075\or5076-5085\or5086-5094\or5095-5100\or5101-5104\or5105-5110\or5111-5117\or5118-5126\or5127-5136\or5137-5143\or5144-5150\or5151-5156\or5157-5163\or5164-5172\or5173-5177\or5178-5185\or5186-5188\or5189-5196\or5197-5199\or5200-5209\or5210-5217\or5218-5224\or5225-5229\or5230-5236\or5237-5241\or5242-5255\or5256-5271\or5272-5304\or5305-5323\or5324-5360\or5361-5375\or5376-5410\or5411-5419\or5420-5439\or5440-5447\or5448-5466\or5467-5475\or5476-5494\or5495-5495\or5496-5526\or5527-5551\or5552-5581\or5582-5591\or5592-5613\or5614-5622\or5623-5662\or5663-5672\or5673-5702\or5703-5712\or5713-5738\or5739-5758\or5759-5800\or5801-5829\or5830-5848\or5849-5884\or5885-5909\or5910-5931\or5932-5948\or5949-5967\or5968-5993\or5994-6023\or6024-6043\or6044-6058\or6059-6079\or6080-6090\or6091-6098\or6099-6106\or6107-6125\or6126-6130\or6131-6138\or6139-6146\or6147-6157\or6158-6168\or6169-6176\or6177-6179\or6180-6188\or6189-6193\or6194-6197\or6198-6204\or6205-6207\or6208-6213\or6214-6216\or6217-6221\or6222-6225\or6226-6230\or6231-6236\else\relax
-\fi
+\ifcase#1\or1-7\or8-14\or15-27\or28-36\or37-46\or47-53\or54-66\or67-68\or69-78\or79-89\or90-93\or94-103\or104-110\or111-119\or120-128\or129-136\or137-148\or149-154\or155-159\or160-170\or171-174\or175-183\or184-189\or190-195\or196-203\or204-217\or218-223\or224-228\or229-235\or236-238\or239-242\or243-249\or250-255\or256-260\or261-264\or265-267\or268-273\or274-280\or281-288\or289-290\or291-293\or294-302\or303-313\or314-323\or324-334\or335-347\or348-356\or357-364\or365-373\or374-384\or385-394\or395-402\or403-413\or414-422\or423-436\or437-441\or442-448\or449-464\or465-473\or474-482\or483-493\or494-503\or504-507\or508-515\or516-518\or519-526\or527-535\or536-543\or544-552\or553-563\or564-569\or570-580\or581-584\or585-589\or590-593\or594-597\or598-605\or606-608\or609-619\or620-627\or628-634\or635-645\or646-655\or656-664\or665-669\or670-674\or675-680\or681-688\or689-695\or696-703\or704-712\or713-719\or720-725\or726-735\or736-746\or747-755\or756-762\or763-769\or770-777\or778-784\or785-789\or790-799\or800-809\or810-819\or820-830\or831-839\or840-844\or845-849\or850-859\or860-871\or872-879\or880-883\or884-889\or890-899\or900-910\or911-918\or919-929\or930-933\or934-939\or940-943\or944-954\or955-964\or965-979\or980-985\or986-993\or994-1001\or1002-1007\or1008-1012\or1013-1018\or1019-1026\or1027-1038\or1039-1047\or1048-1053\or1054-1062\or1063-1080\or1081-1083\or1084-1095\or1096-1101\or1102-1105\or1106-1111\or1112-1116\or1117-1125\or1126-1135\or1136-1142\or1143-1160\or1161-1170\or1171-1179\or1180-1188\or1189-1197\or1198-1204\or1205-1208\or1209-1218\or1219-1224\or1225-1229\or1230-1235\or1236-1241\or1242-1251\or1252-1259\or1260-1264\or1265-1272\or1273-1277\or1278-1294\or1295-1301\or1302-1307\or1308-1315\or1316-1324\or1325-1334\or1335-1345\or1346-1353\or1354-1357\or1358-1364\or1365-1374\or1375-1384\or1385-1394\or1395-1404\or1405-1417\or1418-1424\or1425-1434\or1435-1446\or1447-1456\or1457-1467\or1468-1473\or1474-1481\or1482-1497\or1498-1508\or1509-1522\or1523-1533\or1534-1541\or1542-1556\or1557-1568\or1569-1582\or1583-1596\or1597-1602\or1603-1616\or1617-1625\or1626-1631\or1632-1638\or1639-1645\or1646-1653\or1654-1664\or1665-1675\or1676-1689\or1690-1700\or1701-1707\or1708-1714\or1715-1725\or1726-1733\or1734-1738\or1739-1744\or1745-1750\or1751-1756\or1757-1762\or1763-1771\or1772-1777\or1778-1784\or1785-1791\or1792-1802\or1803-1817\or1818-1827\or1828-1846\or1847-1862\or1863-1881\or1882-1901\or1902-1910\or1911-1922\or1923-1926\or1927-1935\or1936-1941\or1942-1951\or1952-1961\or1962-1966\or1967-1971\or1972-1977\or1978-1984\or1985-1990\or1991-2001\or2002-2011\or2012-2020\or2021-2029\or2030-2039\or2040-2051\or2052-2059\or2060-2069\or2070-2081\or2082-2089\or2090-2099\or2100-2106\or2107-2113\or2114-2122\or2123-2129\or2130-2140\or2141-2152\or2153-2157\or2158-2162\or2163-2171\or2172-2184\or2185-2189\or2190-2193\or2194-2199\or2200-2210\or2211-2222\or2223-2241\or2242-2250\or2251-2265\or2266-2290\or2291-2300\or2301-2315\or2316-2332\or2333-2348\or2349-2372\or2373-2402\or2403-2424\or2425-2437\or2438-2452\or2453-2463\or2464-2476\or2477-2483\or2484-2493\or2494-2512\or2513-2524\or2525-2533\or2534-2558\or2559-2576\or2577-2595\or2596-2605\or2606-2617\or2618-2620\or2621-2628\or2629-2633\or2634-2643\or2644-2652\or2653-2659\or2660-2667\or2668-2673\or2674-2695\or2696-2705\or2706-2723\or2724-2750\or2751-2765\or2766-2791\or2792-2801\or2802-2811\or2812-2817\or2818-2825\or2826-2831\or2832-2841\or2842-2848\or2849-2852\or2853-2855\or2856-2864\or2865-2875\or2876-2889\or2890-2899\or2900-2915\or2916-2932\or2933-2941\or2942-2965\or2966-2984\or2985-3001\or3002-3036\or3037-3054\or3055-3072\or3073-3091\or3092-3107\or3108-3123\or3124-3159\or3160-3173\or3174-3190\or3191-3203\or3204-3217\or3218-3225\or3226-3241\or3242-3252\or3253-3265\or3266-3273\or3274-3280\or3281-3294\or3295-3302\or3303-3312\or3313-3327\or3328-3340\or3341-3353\or3354-3362\or3363-3370\or3371-3384\or3385-3391\or3392-3403\or3404-3409\or3410-3419\or3420-3428\or3429-3436\or3437-3449\or3450-3462\or3463-3469\or3470-3480\or3481-3488\or3489-3503\or3504-3514\or3515-3525\or3526-3533\or3534-3541\or3542-3553\or3554-3560\or3561-3567\or3568-3573\or3574-3585\or3586-3591\or3592-3601\or3602-3606\or3607-3615\or3616-3627\or3628-3636\or3637-3642\or3643-3651\or3652-3660\or3661-3667\or3668-3674\or3675-3686\or3687-3697\or3698-3705\or3706-3717\or3718-3737\or3738-3755\or3756-3772\or3773-3788\or3789-3809\or3810-3862\or3863-3901\or3902-3926\or3927-3970\or3971-3984\or3985-3996\or3997-4010\or4011-4034\or4035-4058\or4059-4067\or4068-4079\or4080-4089\or4090-4099\or4100-4110\or4111-4121\or4122-4128\or4129-4133\or4134-4142\or4143-4153\or4154-4160\or4161-4170\or4171-4183\or4184-4193\or4194-4201\or4202-4211\or4212-4218\or4219-4226\or4227-4236\or4237-4243\or4244-4250\or4251-4262\or4263-4272\or4273-4281\or4282-4291\or4292-4301\or4302-4315\or4316-4325\or4326-4340\or4341-4350\or4351-4360\or4361-4370\or4371-4381\or4382-4392\or4393-4414\or4415-4443\or4444-4456\or4457-4473\or4474-4484\or4485-4494\or4495-4499\or4500-4510\or4511-4520\or4521-4530\or4531-4536\or4537-4545\or4546-4556\or4557-4564\or4565-4573\or4574-4583\or4584-4593\or4594-4600\or4601-4609\or4610-4612\or4613-4622\or4623-4630\or4631-4645\or4646-4659\or4660-4675\or4676-4698\or4699-4721\or4722-4735\or4736-4763\or4764-4784\or4785-4809\or4810-4816\or4817-4846\or4847-4868\or4869-4886\or4887-4901\or4902-4926\or4927-4946\or4947-4979\or4980-5017\or5018-5053\or5054-5075\or5076-5085\or5086-5094\or5095-5100\or5101-5104\or5105-5110\or5111-5117\or5118-5126\or5127-5136\or5137-5143\or5144-5150\or5151-5156\or5157-5163\or5164-5172\or5173-5177\or5178-5185\or5186-5188\or5189-5196\or5197-5199\or5200-5209\or5210-5217\or5218-5224\or5225-5229\or5230-5236\or5237-5241\or5242-5255\or5256-5271\or5272-5304\or5305-5323\or5324-5360\or5361-5375\or5376-5410\or5411-5419\or5420-5439\or5440-5447\or5448-5466\or5467-5475\or5476-5494\or5495-5495\or5496-5526\or5527-5551\or5552-5581\or5582-5591\or5592-5613\or5614-5622\or5623-5662\or5663-5672\or5673-5702\or5703-5712\or5713-5738\or5739-5758\or5759-5800\or5801-5829\or5830-5848\or5849-5884\or5885-5909\or5910-5931\or5932-5948\or5949-5967\or5968-5993\or5994-6023\or6024-6043\or6044-6058\or6059-6079\or6080-6090\or6091-6098\or6099-6106\or6107-6125\or6126-6130\or6131-6138\or6139-6146\or6147-6157\or6158-6168\or6169-6176\or6177-6179\or6180-6188\or6189-6193\or6194-6197\or6198-6204\or6205-6207\or6208-6213\or6214-6216\or6217-6221\or6222-6225\or6226-6230\or6231-6236\else\relax\fi
}
-
%\bidi@newrobustcmd\basmalah{%
%بِسمِ اللَّهِ الرَّحمٰنِ الرَّحيمِ \qt@par}
\bidi@newrobustcmd\qurantext@i{%