diff options
-rw-r--r-- | Master/texmf-dist/doc/xelatex/quran/README | 4 | ||||
-rw-r--r-- | Master/texmf-dist/doc/xelatex/quran/quran-doc.pdf | bin | 246158 -> 247330 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/xelatex/quran/quran-doc.tex | 50 | ||||
-rw-r--r-- | Master/texmf-dist/tex/xelatex/quran/quran.sty | 4 |
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 Binary files differindex 161760185d7..202a82c1330 100644 --- a/Master/texmf-dist/doc/xelatex/quran/quran-doc.pdf +++ b/Master/texmf-dist/doc/xelatex/quran/quran-doc.pdf 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} |