From a1ab0affa3150df36cd6ba1a839924c49a05883e Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 15 Dec 2016 22:57:32 +0000 Subject: quran (15dec16) git-svn-id: svn://tug.org/texlive/trunk@42714 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/xelatex/quran/README | 4 ++-- Master/texmf-dist/doc/xelatex/quran/quran-doc.pdf | Bin 238511 -> 246158 bytes Master/texmf-dist/doc/xelatex/quran/quran-doc.tex | 19 ++++++++++++++----- Master/texmf-dist/tex/xelatex/quran/quran.sty | 8 ++++++-- 4 files changed, 22 insertions(+), 9 deletions(-) (limited to 'Master') diff --git a/Master/texmf-dist/doc/xelatex/quran/README b/Master/texmf-dist/doc/xelatex/quran/README index 2f89e739ec4..92e04011787 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.22 +v1.241 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/11/08 +Current version release date: 2016/12/15 ___________________ 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 18ee734bab3..161760185d7 100644 Binary files a/Master/texmf-dist/doc/xelatex/quran/quran-doc.pdf and b/Master/texmf-dist/doc/xelatex/quran/quran-doc.pdf differ diff --git a/Master/texmf-dist/doc/xelatex/quran/quran-doc.tex b/Master/texmf-dist/doc/xelatex/quran/quran-doc.tex index ff440129dd1..ab3218102f7 100644 --- a/Master/texmf-dist/doc/xelatex/quran/quran-doc.tex +++ b/Master/texmf-dist/doc/xelatex/quran/quran-doc.tex @@ -1,4 +1,5 @@ \documentclass{ltxdoc} + %\usepackage{caption} \usepackage{forloop} \usepackage{pgf} @@ -11,7 +12,7 @@ \usepackage{tikz} \usetikzlibrary{calc} \usepackage{fontspec} -\newfontfamily\quran{Scheherazade} +\newfontfamily\quran[Script=Arabic]{Scheherazade} % 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 @@ -73,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{November 8, 2016} +\date{December 15, 2016} \begin{document} \maketitle \begin{framed} This manual is incomplete and the package is under development. \par -\centerline{ver 1.22} +\centerline{ver 1.241} \end{framed} \tableofcontents @@ -394,13 +395,21 @@ group who tested and commented this work in advance. \section{Frequently Asked Questions} \subsection{What is the best font for typesetting quran text?} - We strongly recommend you to use "Scheherazade" font.% - \footnote{\url{http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=scheherazade}} + We strongly recommend you to use "Scheherazade"% + \footnote{\url{http://software.sil.org/scheherazade/}} + and "Amiri"% + \footnote{\url{http://www.amirifont.org/}} fonts. + Scheherazade is released under the SIL Open Font License (OFL), version 1.1. Copyright (c) 2004-2015, SIL International (http://scripts.sil.org/) with Reserved Font Names "Scheherazade" and "SIL". Therefore you can freely download it. All examples in this document use this font. + Amiri is a classical Arabic typeface in Naskh style for typesetting books and other running text. + Amiri is a revival of the beautiful typeface pioneered in early 20th century by Bulaq Press in Cairo, + also known as Amiria Press, after which the font is named. + Amiri is a free, open source project that everyone is encouraged to use and modify. + \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}, diff --git a/Master/texmf-dist/tex/xelatex/quran/quran.sty b/Master/texmf-dist/tex/xelatex/quran/quran.sty index 3f5451b8976..3e674f99d4e 100644 --- a/Master/texmf-dist/tex/xelatex/quran/quran.sty +++ b/Master/texmf-dist/tex/xelatex/quran/quran.sty @@ -23,6 +23,10 @@ %% to one who has devoted his life to Quran %% %% Change Log +%% ver 1.241 ## December 15th, 2016 +%% some minor bugs in manual +%% ver 1.24 ## November 12th, 2016 +%% manual update + waqf symbol wes missed the penultimate version of uthmani script. %% ver 1.22 ## November 8th, 2016 %% just adding source of two pdf files to the installation. %% ver 1.21 ## November 7th, 2016 @@ -72,7 +76,7 @@ %% initial commit \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{quran}[2016/11/08 v1.22 An easy way to typeset the whole or any part of The Holy Quran] +\ProvidesPackage{quran}[2016/12/15 v1.241 An easy way to typeset the whole or any part of The Holy Quran] \RequirePackage{biditools} \newcounter{qt@count} \setcounter{qt@count}{0} @@ -94,7 +98,7 @@ \def\@@surahname[#1]{% \ifcase#1 {}\or الفاتحة\or البقرة\or آل عمران\or النساء\or المائدة\or الأنعام\or الأعراف\or الأنفال\or التوبة\or يونس\or هود\or يوسف\or الرعد\or إبراهيم\or الحجر\or النحل\or الإسراء\or الكهف\or مريم\or طه\or الأنبياء\or الحج\or المؤمنون\or النور\or الفرقان\or الشعراء\or النمل\or القصص\or العنكبوت\or الروم\or لقمان\or السجدة\or الأحزاب\or سبأ\or فاطر\or يس\or الصافات\or ص\or الزمر\or غافر\or فصلت\or الشورى\or الزخرف\or الدخان\or الجاثية\or الأحقاف\or محمد\or الفتح\or الحجرات\or ق\or الذاريات\or الطور\or النجم\or القمر\or الرحمن\or الواقعة\or الحديد\or المجادلة\or الحشر\or الممتحنة\or الصف\or الجمعة\or المنافقون\or التغابن\or الطلاق\or التحريم\or الملك\or القلم\or الحاقة\or المعارج\or نوح\or الجن\or المزمل\or المدثر\or القيامة\or الإنسان\or المرسلات\or النبأ\or النازعات\or عبس\or التكوير\or الإنفطار\or المطففين\or الانشقاق\or البروج\or الطارق\or الأعلى\or الغاشية\or الفجر\or البلد\or الشمس\or الليل\or الضحى\or الشرح\or التين\or العلق\or القدر\or البينة\or الزلزلة\or العاديات\or القارعة\or التكاثر\or العصر\or الهمزة\or الفيل\or قريش\or الماعون\or الكوثر\or الكافرون\or النصر\or المسد\or الإخلاص\or الفلق\or الناس\else\relax\fi} \def\@surahname[#1]{% -\ifcase#1\or Al-Fatiha\or Al-Baqara\or Aal-e-Imran\or An-Nisa\or Al-Maeda\or Al-Anaam\or Al-Araf\or Al-Anfal\or At-Taubah\or Yunus\or Hud\or Yusuf\or Ar-Rad\or Ibrahim\or Al-Hijr\or An-Nahl\or Al-Isra\or Al-Kahf\or Maryam\or Taha\or Al-Anbiya\or Al-Hajj\or Al-Mumenoon\or An-Noor\or Al-Furqan\or Ash-Shuara\or An-Naml\or Al-Qasas\or Al-Ankaboot\or Ar-Room\or Luqman\or As-Sajda\or Al-Ahzab\or Saba\or Fatir\or Ya Seen\or As-Saaffat\or Sad\or Az-Zumar\or Ghafir\or Fussilat\or Ash-Shura\or Az-Zukhruf\or Ad-Dukhan\or Al-Jathiya\or Al-Ahqaf\or Muhammad\or Al-Fath\or Al-Hujraat\or Qaf\or Adh-Dhariyat\or At-tur\or An-Najm\or Al-Qamar\or Al-Rahman\or Al-Waqia\or Al-Hadid\or Al-Mujadila\or Al-Hashr\or Al-Mumtahina\or As-Saff\or Al-Jumua\or Al-Munafiqoon\or At-Taghabun\or At-Talaq\or At-Tahrim\or Al-Mulk\or Al-Qalam\or Al-Haaqqa\or Al-Maarij\or Nooh\or Al-Jinn\or Al-Muzzammil\or Al-Muddathir\or Al-Qiyama\or Al-Insan\or Al-Mursalat\or An-Naba\or An-Naziat\or Abasa\or At-Takwir\or AL-Infitar\or Al-Mutaffifin\or Al-Inshiqaq\or Al-Burooj\or At-Tariq\or Al-Ala\or Al-Ghashiya\or Al-Fajr\or Al-Balad\or Ash-Shams\or Al-Lail\or Ad-Dhuha\or Al-Inshirah\or At-Tin\or Al-Alaq\or Al-Qadr\or Al-Bayyina\or Al-Zalzala\or Al-Adiyat\or Al-Qaria\or At-Takathur\or Al-Asr\or Al-Humaza\or Al-fil\or Quraish\or Al-Maun\or Al-Kauther\or Al-Kafiroon\or An-Nasr\or Al-Masadd\or Al-Ikhlas\or Al-Falaq\or An-Nas\else\relax\fi} +\ifcase#1\or Al-Fatiha\or Al-Baqara\or Aal-e-Imran\or An-Nisa\or Al-Maeda\or Al-Anaam\or Al-Araf\or Al-Anfal\or At-Taubah\or Yunus\or Hud\or Yusuf\or Ar-Rad\or Ibrahim\or Al-Hijr\or An-Nahl\or Al-Isra\or Al-Kahf\or Maryam\or Taha\or Al-Anbiya\or Al-Hajj\or Al-Mumenoon\or An-Noor\or Al-Furqan\or Ash-Shuara\or An-Naml\or Al-Qasas\or Al-Ankaboot\or Ar-Room\or Luqman\or As-Sajda\or Al-Ahzab\or Saba\or Fatir\or Ya-Seen\or As-Saaffat\or Sad\or Az-Zumar\or Ghafir\or Fussilat\or Ash-Shura\or Az-Zukhruf\or Ad-Dukhan\or Al-Jathiya\or Al-Ahqaf\or Muhammad\or Al-Fath\or Al-Hujraat\or Qaf\or Adh-Dhariyat\or At-tur\or An-Najm\or Al-Qamar\or Al-Rahman\or Al-Waqia\or Al-Hadid\or Al-Mujadila\or Al-Hashr\or Al-Mumtahina\or As-Saff\or Al-Jumua\or Al-Munafiqoon\or At-Taghabun\or At-Talaq\or At-Tahrim\or Al-Mulk\or Al-Qalam\or Al-Haaqqa\or Al-Maarij\or Nooh\or Al-Jinn\or Al-Muzzammil\or Al-Muddathir\or Al-Qiyama\or Al-Insan\or Al-Mursalat\or An-Naba\or An-Naziat\or Abasa\or At-Takwir\or AL-Infitar\or Al-Mutaffifin\or Al-Inshiqaq\or Al-Burooj\or At-Tariq\or Al-Ala\or Al-Ghashiya\or Al-Fajr\or Al-Balad\or Ash-Shams\or Al-Lail\or Ad-Dhuha\or Al-Inshirah\or At-Tin\or Al-Alaq\or Al-Qadr\or Al-Bayyina\or Al-Zalzala\or Al-Adiyat\or Al-Qaria\or At-Takathur\or Al-Asr\or Al-Humaza\or Al-Fil\or Quraish\or Al-Maun\or Al-Kauther\or Al-Kafiroon\or An-Nasr\or Al-Masadd\or Al-Ikhlas\or Al-Falaq\or An-Nas\else\relax\fi} %% makes some macros for surah name to convert them to their original number in surah list. \newcount\qt@tempcount \qt@tempcount=1% -- cgit v1.2.3