summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/doc/xelatex/quran/README8
-rw-r--r--Master/texmf-dist/doc/xelatex/quran/quran-doc.pdfbin52273 -> 52076 bytes
-rw-r--r--Master/texmf-dist/doc/xelatex/quran/quran-doc.tex6
-rw-r--r--Master/texmf-dist/doc/xelatex/quran/quran-test.pdfbin0 -> 50207 bytes
-rw-r--r--Master/texmf-dist/doc/xelatex/quran/quran-test.tex80
-rw-r--r--Master/texmf-dist/tex/xelatex/quran/quran.sty5
6 files changed, 89 insertions, 10 deletions
diff --git a/Master/texmf-dist/doc/xelatex/quran/README b/Master/texmf-dist/doc/xelatex/quran/README
index be543607f85..8362448f52a 100644
--- a/Master/texmf-dist/doc/xelatex/quran/README
+++ b/Master/texmf-dist/doc/xelatex/quran/README
@@ -1,10 +1,10 @@
_____________________
The quran package
-v0.9
+v0.91
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
-part of The Holy Quran based on its popular division.
+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.
@@ -12,7 +12,7 @@ loaded before `bidi' package.
For more information, please see the documentation.
-Current version release date: 2015/07/07
+Current version release date: 2015/07/10
___________________
Seiied-Mohammad-Javad Razvian, Ali Ramzi
javadr@gmail.com
diff --git a/Master/texmf-dist/doc/xelatex/quran/quran-doc.pdf b/Master/texmf-dist/doc/xelatex/quran/quran-doc.pdf
index 3a392c09efb..fa53c4f5f29 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 c0947283c9b..ab98b01df01 100644
--- a/Master/texmf-dist/doc/xelatex/quran/quran-doc.tex
+++ b/Master/texmf-dist/doc/xelatex/quran/quran-doc.tex
@@ -7,12 +7,12 @@
\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}}
-\date{July 7, 2015}
+\date{July 10, 2015}
\maketitle
\begin{framed}
This manual is incomplete and the package is under development. \par
-\centerline{ver 0.9}
+\centerline{ver 0.91}
\end{framed}
\tableofcontents
@@ -40,7 +40,7 @@ This macro can typeset any Surah of Quran. As you know there are 114 Sovar, so \
\end{declcs}
This acts like above but can typeset \textit{m}$^{th}$ Surah to \textit{n}$^{th}$ one.
-Using \cs{quransurah} without its optional argument typeset the default Surah--Al-Kuthar.
+Using \cs{quransurah} without its optional argument typeset the default Surah--Al-Ikhlas.
To change the default Surah use \cs{setsurahdefault\{m\}}
\subsection{Ayah/Ayat}
diff --git a/Master/texmf-dist/doc/xelatex/quran/quran-test.pdf b/Master/texmf-dist/doc/xelatex/quran/quran-test.pdf
new file mode 100644
index 00000000000..f4ecc0ee6d1
--- /dev/null
+++ b/Master/texmf-dist/doc/xelatex/quran/quran-test.pdf
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
new file mode 100644
index 00000000000..4b2d9bb209a
--- /dev/null
+++ b/Master/texmf-dist/doc/xelatex/quran/quran-test.tex
@@ -0,0 +1,80 @@
+%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 a0d1bc1df9c..9d4901e7394 100644
--- a/Master/texmf-dist/tex/xelatex/quran/quran.sty
+++ b/Master/texmf-dist/tex/xelatex/quran/quran.sty
@@ -25,8 +25,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{quran}[2015/07/07 v0.9 A package similar to the lipsum
-package for the Persian/Arabic language with the whole text of all verses of the Holy Quran]
+\ProvidesPackage{quran}[2015/07/10 v0.91 An easy way to typeset the whole or any part of The Holy Quran]
\RequirePackage{biditools}
\newcounter{qt@count}
\setcounter{qt@count}{0}
@@ -93,7 +92,7 @@ package for the Persian/Arabic language with the whole text of all verses of the
\@ifstar\@@quransurah\@quransurah
}
-\bidi@newrobustcmd\qt@surah@default{108} % Surah Al-Kuthar
+\bidi@newrobustcmd\qt@surah@default{112} % Surah Al-Ikhlas
\bidi@newrobustcmd\setsurahdefault[1]{%
\bidi@renewrobustcmd{\qt@surah@default}{#1}}