diff options
author | Karl Berry <karl@freefriends.org> | 2023-07-10 19:34:08 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-07-10 19:34:08 +0000 |
commit | 964821743d8b37d9907192c410b3d08894a808c1 (patch) | |
tree | 9febf0192e0781b9cdde8eb749f8baf4454107eb /Master/texmf-dist/tex/latex/quran/quran-transfa.def | |
parent | b44d73109d31d93c8b55cc73267180487a814dba (diff) |
quran (10jul23)
git-svn-id: svn://tug.org/texlive/trunk@67605 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/quran/quran-transfa.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/quran/quran-transfa.def | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/Master/texmf-dist/tex/latex/quran/quran-transfa.def b/Master/texmf-dist/tex/latex/quran/quran-transfa.def index 4629c220b21..0eab40d649f 100644 --- a/Master/texmf-dist/tex/latex/quran/quran-transfa.def +++ b/Master/texmf-dist/tex/latex/quran/quran-transfa.def @@ -1,6 +1,6 @@ %% This is file `quran-transfa.def', -%% -%% Copyright © 2015-2021 +%% +%% Copyright © 2015-2023 %% Seiied-Mohammad-Javad Razavian <javadr@gmail.com> %% %% This work may be distributed and/or modified under the @@ -12,11 +12,11 @@ %% version 2005/12/01 or later. %% %% This work has the LPPL maintenance status `maintained'. -%% +%% %% This work is “author-maintained” (as per LPPL maintenance status). -%% +%% %% The Current Maintainer of this work is Seiied-Mohammad-Javad Razavian. -%% +%% %% to one who has devoted his life to Quran %% \let\qt@doqt@orig\qt@doqt% @@ -42,18 +42,18 @@ \addtocounter{qt@count}{1}% \def\@qtexp{}% \loop% - \global\xdef\@qtexp{\@qtexp\csname qurantrans@fa@\roman{qt@count}\endcsname\ifnum\value{qt@count}=\qt@max\else\space\fi\qt@par}% + \global\xdef\@qtexp{\@qtexp\csname qurantrans@fa@\roman{qt@count}\endcsname\ifnum\value{qt@count}=\qt@max\else\space\fi}% \ifnum\value{qt@count}<\qt@max\relax% \addtocounter{qt@count}{1}% \repeat% \IfNoValueTF{#1}% - {\@qtexp}%true + {\@qtexp\qt@par}%true {\qt@WordCount=0\relax\c@qt@start=\numexpr#1-1\relax% \readlist*\qt@words{\@qtexp}% \IfNoValueTF{#2}% {\c@qt@end=\numexpr\qt@wordslen+1\relax}{\c@qt@end=\numexpr#2+1\relax}% \foreachitem\qt@word\in\qt@words{% - \ifnum\qt@wordcnt>\c@qt@start\ifnum\qt@wordcnt<\c@qt@end\qt@word\ifnum\qt@wordcnt=\numexpr\c@qt@end-1\relax\else\xspace\fi\fi\fi% + \ifnum\qt@wordcnt>\c@qt@start\ifnum\qt@wordcnt<\c@qt@end\qt@word\ifnum\qt@wordcnt=\numexpr\c@qt@end-1\qt@par\relax\else\xspace\fi\fi\fi% }% \qt@showitems{\ifdefined\arabicfont\arabicfont\fi\showitems\qt@words}% }%false @@ -65,7 +65,7 @@ \IfBooleanTF{#1}% {\IfBooleanTF{#4}{\qurantext*[#2][#3]+}{\qurantext*[#2][#3]}}% {\IfBooleanTF{#4}{\qurantext[#2][#3]+}{\qurantext[#2][#3]}}% - \let\qt@doqt\qt@doqt@orig% + \let\qt@doqt\qt@doqt@orig% \def\qt@showitems##1{\relax}% }% %%%%%%%%%%%%%%%%%%%%%%%%%% @@ -74,7 +74,7 @@ \IfBooleanTF{#1}% {\quransurah*[#2]}% {\quransurah[#2]}% - \let\qt@doqt\qt@doqt@orig% + \let\qt@doqt\qt@doqt@orig% }% %%%%%%%%%%%%%%%%%%%%%%%%%% \DeclareDocumentCommand{\quranayahfa}{ s o o o t{+} }{% @@ -82,8 +82,8 @@ \let\ToggleBasmalah\ToggleBasmalahfa% \IfBooleanTF{#1}% {\IfBooleanTF{#5}{\quranayah*[#2][#3][#4]+}{\quranayah*[#2][#3][#4]}}% - {\IfBooleanTF{#5}{\quranayah[#2][#3][#4]+}{\quranayah[#2][#3][#4]}}% - \let\qt@doqt\qt@doqt@orig% + {\IfBooleanTF{#5}{\quranayah[#2][#3][#4]+}{\quranayah[#2][#3][#4]}}% + \let\qt@doqt\qt@doqt@orig% \let\ToggleBasmalah\ToggleBasmalah@orig% }% %%%%%%%%%%%%%%%%%%%%%%%%%% @@ -91,47 +91,47 @@ \let\qt@doqt\qt@dofa% \IfBooleanTF{#1}% {\quranjuz*[#2]}% - {\quranjuz[#2]}% - \let\qt@doqt\qt@doqt@orig% + {\quranjuz[#2]}% + \let\qt@doqt\qt@doqt@orig% }% %%%%%%%%%%%%%%%%%%%%%%%%%% \DeclareDocumentCommand{\quranpagefa}{ s o }{% \let\qt@doqt\qt@dofa% \IfBooleanTF{#1}% {\quranpage*[#2]}% - {\quranpage[#2]}% - \let\qt@doqt\qt@doqt@orig% + {\quranpage[#2]}% + \let\qt@doqt\qt@doqt@orig% }% %%%%%%%%%%%%%%%%%%%%%%%%%% \DeclareDocumentCommand{\quranquarterfa}{ s o }{% \let\qt@doqt\qt@dofa% \IfBooleanTF{#1}% {\quranquarter*[#2]}% - {\quranquarter[#2]}% - \let\qt@doqt\qt@doqt@orig% + {\quranquarter[#2]}% + \let\qt@doqt\qt@doqt@orig% }% %%%%%%%%%%%%%%%%%%%%%%%%%% \DeclareDocumentCommand{\quranrukufa}{ s o }{% \let\qt@doqt\qt@dofa% \IfBooleanTF{#1}% {\quranruku*[#2]}% - {\quranruku[#2]}% - \let\qt@doqt\qt@doqt@orig% + {\quranruku[#2]}% + \let\qt@doqt\qt@doqt@orig% }% %%%%%%%%%%%%%%%%%%%%%%%%%% \DeclareDocumentCommand{\quranhizbfa}{ s o }{% \let\qt@doqt\qt@dofa% \IfBooleanTF{#1}% {\quranhizb*[#2]}% - {\quranhizb[#2]}% - \let\qt@doqt\qt@doqt@orig% + {\quranhizb[#2]}% + \let\qt@doqt\qt@doqt@orig% }% %%%%%%%%%%%%%%%%%%%%%%%%%% \DeclareDocumentCommand{\quranmanzilfa}{ s o }{% \let\qt@doqt\qt@dofa% \IfBooleanTF{#1}% {\quranmanzil*[#2]}% - {\quranmanzil[#2]}% - \let\qt@doqt\qt@doqt@orig% + {\quranmanzil[#2]}% + \let\qt@doqt\qt@doqt@orig% }% %%%%%%%%%%%%%%%%%%%%%%%%%% |