texlive[42792] Master/texmf-dist: quran (25dec16)
commits+karl at tug.org
commits+karl at tug.org
Sun Dec 25 23:23:09 CET 2016
Revision: 42792
http://tug.org/svn/texlive?view=revision&revision=42792
Author: karl
Date: 2016-12-25 23:23:09 +0100 (Sun, 25 Dec 2016)
Log Message:
-----------
quran (25dec16)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/xelatex/quran/README
trunk/Master/texmf-dist/doc/xelatex/quran/quran-doc.pdf
trunk/Master/texmf-dist/doc/xelatex/quran/quran-doc.tex
trunk/Master/texmf-dist/tex/xelatex/quran/quran.sty
Modified: trunk/Master/texmf-dist/doc/xelatex/quran/README
===================================================================
--- trunk/Master/texmf-dist/doc/xelatex/quran/README 2016-12-25 22:22:57 UTC (rev 42791)
+++ trunk/Master/texmf-dist/doc/xelatex/quran/README 2016-12-25 22:23:09 UTC (rev 42792)
@@ -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 @@
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 at gmail.com
Modified: trunk/Master/texmf-dist/doc/xelatex/quran/quran-doc.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/xelatex/quran/quran-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/xelatex/quran/quran-doc.tex 2016-12-25 22:22:57 UTC (rev 42791)
+++ trunk/Master/texmf-dist/doc/xelatex/quran/quran-doc.tex 2016-12-25 22:23:09 UTC (rev 42792)
@@ -74,7 +74,7 @@
The \xpackage{quran} Package\footnote{to one who has devoted his life to Quran}}
\author{Seiied Mohammad Javad Razavian\\\xemail{javadr at gmail.com}}
-\date{December 15, 2016}
+\date{December 25, 2016}
\begin{document}
\maketitle
@@ -81,7 +81,7 @@
\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 @@
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 @@
\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 @@
\begin{lstlisting}[style=BashInputStyle, language=tex, title=``example: with xepersian"]
-\documentclass[12pt]{article}
+\documentclass{article}
\usepackage{quran}
@@ -457,6 +461,36 @@
\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
Modified: trunk/Master/texmf-dist/tex/xelatex/quran/quran.sty
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/quran/quran.sty 2016-12-25 22:22:57 UTC (rev 42791)
+++ trunk/Master/texmf-dist/tex/xelatex/quran/quran.sty 2016-12-25 22:23:09 UTC (rev 42792)
@@ -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 at count}
\setcounter{qt at count}{0}
More information about the tex-live-commits
mailing list