diff options
author | Karl Berry <karl@freefriends.org> | 2017-08-24 22:03:43 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-08-24 22:03:43 +0000 |
commit | 07b662d6b533b08c361443670f6c2211ae4aa4f4 (patch) | |
tree | 14d4a49c822a61c63709543b39d7664fc2a08c7d /Master/texmf-dist/tex | |
parent | 2beaa335bb29421ddc7eedf069eb782ac8127b55 (diff) |
quran (24aug17)
git-svn-id: svn://tug.org/texlive/trunk@45122 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/xelatex/quran/quran.sty | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/xelatex/quran/quran.sty b/Master/texmf-dist/tex/xelatex/quran/quran.sty index 9d15f4422fa..48b5c00a8c0 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.261 ## August 22th, 2017 +%% typo in version number. +%% ver 1.26 ## August 22th, 2017 +%% minor improvements, fixes a bug in using \quranayah[x][y] that in this case it hadn't enclosed in group + manual update. %% ver 1.252 ## February 28th, 2017 %% minor improvements %% ver 1.25 and 1.251## December 25th, 2016 @@ -80,11 +84,12 @@ %% initial commit \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{quran}[2017/02/28 v1.252 An easy way to typeset the whole or any part of The Holy Quran] +\ProvidesPackage{quran}[2017/08/22 v1.261 An easy way to typeset the whole or any part of The Holy Quran] \RequirePackage{biditools} \newcounter{qt@count} \setcounter{qt@count}{0} -\newif\ifqt@uthmani +\newif\ifqt@uthmani% +\newif\ifqt@basmalah% % \def\qt@par{\par}% \def\basmalah{بِسمِ اللَّهِ الرَّحمٰنِ الرَّحيمِ \qt@par}% @@ -312,16 +317,15 @@ \addtocounter{qt@i}{1}% \repeat% % - \newif\if@basmalah% \ifx\qt@max\qt@min% \ifnum\qt@max=1 %omitting basmalah when only first ayah is requested - \@basmalahtrue% + \qt@basmalahtrue% \else% - \@basmalahfalse% + \qt@basmalahfalse% \fi% - \if@basmalah\ToggleBasmalah\fi% - \qurantext[\value{qt@start}]% - \if@basmalah\ToggleBasmalah\fi% + \ifqt@basmalah\ToggleBasmalah\fi% + \begingroup\qurantext[\value{qt@start}]\endgroup% + \ifqt@basmalah\ToggleBasmalah\fi% \else% \addtocounter{qt@end}{\value{qt@start}}% \addtocounter{qt@end}{-\qt@min}% |