summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-12-25 22:23:09 +0000
committerKarl Berry <karl@freefriends.org>2016-12-25 22:23:09 +0000
commit2f42ef3c16dbb2b64c4b72debe9943fc0e62a1b3 (patch)
treeef0042ea3b13ad0ebc56b2d4a885a3f9c162d33f /Master
parent3eee810d8e3e8ed9915a59948cb4502cbf9a34e0 (diff)
quran (25dec16)
git-svn-id: svn://tug.org/texlive/trunk@42792 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/xelatex/quran/README4
-rw-r--r--Master/texmf-dist/doc/xelatex/quran/quran-doc.pdfbin246158 -> 247330 bytes
-rw-r--r--Master/texmf-dist/doc/xelatex/quran/quran-doc.tex50
-rw-r--r--Master/texmf-dist/tex/xelatex/quran/quran.sty4
4 files changed, 47 insertions, 11 deletions
diff --git a/Master/texmf-dist/doc/xelatex/quran/README b/Master/texmf-dist/doc/xelatex/quran/README
index 92e04011787..ea928f451e8 100644
--- a/Master/texmf-dist/doc/xelatex/quran/README
+++ b/Master/texmf-dist/doc/xelatex/quran/README
@@ -1,6 +1,6 @@
_____________________
The quran package
-v1.241
+v1.251
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
@@ -8,7 +8,7 @@ any parts of The Holy Quran based on its popular divisions.
For more information, please see the documentation.
-Current version release date: 2016/12/15
+Current version release date: 2016/12/25
___________________
Seiied-Mohammad-Javad Razvian
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 161760185d7..202a82c1330 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 ab3218102f7..04055dd4036 100644
--- a/Master/texmf-dist/doc/xelatex/quran/quran-doc.tex
+++ b/Master/texmf-dist/doc/xelatex/quran/quran-doc.tex
@@ -74,14 +74,14 @@
The \xpackage{quran} Package\footnote{to one who has devoted his life to Quran}}
\author{Seiied Mohammad Javad Razavian\\\xemail{javadr@gmail.com}}
-\date{December 15, 2016}
+\date{December 25, 2016}
\begin{document}
\maketitle
\begin{framed}
This manual is incomplete and the package is under development. \par
-\centerline{ver 1.241}
+\centerline{ver 1.251}
\end{framed}
\tableofcontents
@@ -99,7 +99,7 @@ After loading the package, it writes some information about itself to the
terminal and to the log file, too. The information is something like:
\begin{lstlisting}[style=BashInputStyle, language=tex]
-Package: quran 2016/05/15 v1.14 An easy way to typeset the whole or any part of The Holy Quran
+Package: quran 2016/12/25 v1.25 An easy way to typeset the whole or any part of The Holy Quran
\end{lstlisting}
\section{Typesetting The Holy Quran}
@@ -412,14 +412,18 @@ group who tested and commented this work in advance.
\subsection{How to use \xpackage{quran} package?}
As you've noticed, for typesetting quran text you need a package that can typeset text
- in RTL mode in additon to using UTF8 fonts. The \xpackage{polyglossia},
+ in RTL mode in additon to using UTF8 fonts, because \xpackage{quran} draws its text from a
+ unicoded databases. The \xpackage{polyglossia},
\xpackage{fontspec}, and \xpackage{bidi} will do that for you.
- You can also use \xpackage{xepersian} that depends on \xpackage{fontspec}, too.
- Below, we demonstrated two examples for both approaches:
+ You can also use \xpackage{xepersian} that relies on \xpackage{fontspec}, too.
+ Another choices are \xpackage{arabxetex} and \xpackage{arabluatex} that the latter just
+ works with \LuaLaTeX{} while former
+ ways work with \XeLaTeX. \xpackage{arabxetex} and \xpackage{arabluatex} use Amiri font by default.
+ The following demonstrates examples for all four approaches:
\begin{lstlisting}[style=BashInputStyle, language=tex, title=``example: with polyglossia{,}
fontspec{,} and bidi"]
-\documentclass[12pt]{article}
+\documentclass{article}
\usepackage{quran}
@@ -443,7 +447,7 @@ fontspec{,} and bidi"]
\begin{lstlisting}[style=BashInputStyle, language=tex, title=``example: with xepersian"]
-\documentclass[12pt]{article}
+\documentclass{article}
\usepackage{quran}
@@ -457,6 +461,36 @@ fontspec{,} and bidi"]
\end{document}
\end{lstlisting}
+
+\begin{lstlisting}[style=BashInputStyle, language=tex, title=``example: with arabxetex"]
+\documentclass{article}
+
+\usepackage{arabxetex} % for typesetting Arabic text in Rigth-To-Left direction
+\usepackage{quran}
+
+\begin{document}
+
+\begin{arab}[utf]
+ \quransurah
+\end{arab}
+
+\end{document}
+\end{lstlisting}
+
+\begin{lstlisting}[style=BashInputStyle, language=tex, title=``example: with arabluatex"]
+\documentclass{article}
+
+\usepackage{arabluatex} % for typesetting Arabic text in Rigth-To-Left direction
+\usepackage{quran}
+
+\begin{document}
+
+\begin{txarab}
+ \quransurah
+\end{txarab}
+
+\end{document}
+\end{lstlisting}
\subsection{How to set quran default font?}
If you want to automatically change the font of quran text in your document, you
diff --git a/Master/texmf-dist/tex/xelatex/quran/quran.sty b/Master/texmf-dist/tex/xelatex/quran/quran.sty
index 3e674f99d4e..e60752318bd 100644
--- a/Master/texmf-dist/tex/xelatex/quran/quran.sty
+++ b/Master/texmf-dist/tex/xelatex/quran/quran.sty
@@ -23,6 +23,8 @@
%% to one who has devoted his life to Quran
%%
%% Change Log
+%% ver 1.25, 1.251## December 25th, 2016
+%% manual update
%% ver 1.241 ## December 15th, 2016
%% some minor bugs in manual
%% ver 1.24 ## November 12th, 2016
@@ -76,7 +78,7 @@
%% initial commit
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{quran}[2016/12/15 v1.241 An easy way to typeset the whole or any part of The Holy Quran]
+\ProvidesPackage{quran}[2016/12/25 v1.251 An easy way to typeset the whole or any part of The Holy Quran]
\RequirePackage{biditools}
\newcounter{qt@count}
\setcounter{qt@count}{0}