summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/xelatex/quran/quran-doc.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/xelatex/quran/quran-doc.tex')
-rw-r--r--Master/texmf-dist/doc/xelatex/quran/quran-doc.tex21
1 files changed, 16 insertions, 5 deletions
diff --git a/Master/texmf-dist/doc/xelatex/quran/quran-doc.tex b/Master/texmf-dist/doc/xelatex/quran/quran-doc.tex
index f84b71fe2e9..f7f9c14ba0e 100644
--- a/Master/texmf-dist/doc/xelatex/quran/quran-doc.tex
+++ b/Master/texmf-dist/doc/xelatex/quran/quran-doc.tex
@@ -1,9 +1,7 @@
\documentclass{ltxdoc}
-%\usepackage{caption}
\usepackage{forloop}
\usepackage{pgf}
-%\usepackage{pgfcalendar}
\usepackage{framed}
\usepackage{holtxdoc}
\usepackage{url}
@@ -13,6 +11,14 @@
\usetikzlibrary{calc}
\usepackage{fontspec}
\newfontfamily\quran[Script=Arabic]{Scheherazade}
+\hypersetup{%
+ plainpages=false,%
+ bookmarksnumbered,%
+ pdftitle={The quran Package},%
+ pdfkeywords={quran, surah, ayah, juz, hizb, ruku, manzil},%
+ pdfauthor={Seiied-Mohammad-Javad Razavian},%
+ baseurl={http://mirrors.ctan.org/macros/xetex/latex/quran/doc/quran-doc.pdf},%
+}
% because of definition of \XeTeX and \XeLaTeX symbols in bidi, I should undef these macro that are also defined in holtxdoc package.
\makeatletter
\bidi@undef\XeTeX
@@ -74,14 +80,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{February 28, 2017}
+\date{August 22, 2017}
\begin{document}
\maketitle
\begin{framed}
This manual is incomplete and the package is under development. \par
-\centerline{ver 1.252}
+\centerline{ver 1.261}
\end{framed}
\tableofcontents
@@ -99,7 +105,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/12/25 v1.251 An easy way to typeset the whole or any part of The Holy Quran
+Package: quran 2017/08/22 v1.261 An easy way to typeset the whole or any part of The Holy Quran
\end{lstlisting}
\section{Typesetting The Holy Quran}
@@ -512,6 +518,11 @@ fontspec{,} and bidi"]
\preto\qurantext{\quran}
\end{lstlisting}
+ By setting default font as above, if you want to use \cs{quratext}, you have to enclose it in curly braces. If you don't,
+ it will affect the following text font.
+\begin{lstlisting}[style=BashInputStyle]
+{\qurantext[x-y]}
+\end{lstlisting}
\subsection{How to typeset a portion of the Holy Quran in one paragraph
with no ayah number without affecting the behaviour of \xpackage{quran} package
in other cases?}