diff options
author | Norbert Preining <norbert@preining.info> | 2023-09-19 03:01:15 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2023-09-19 03:01:15 +0000 |
commit | 23c5f33b784af6cc6c4ee2f5482ef5f21c774006 (patch) | |
tree | 08d8a2ff1d038a4af70438c37ce6a36adb202fc6 /macros/unicodetex/latex/quran-ur/tex | |
parent | 04fec36be1d386c1f8d5a57c3cd613d494a5c323 (diff) |
CTAN sync 202309190301
Diffstat (limited to 'macros/unicodetex/latex/quran-ur/tex')
-rw-r--r-- | macros/unicodetex/latex/quran-ur/tex/quran-ur.sty | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/macros/unicodetex/latex/quran-ur/tex/quran-ur.sty b/macros/unicodetex/latex/quran-ur/tex/quran-ur.sty index c2974295a9..1ba3894619 100644 --- a/macros/unicodetex/latex/quran-ur/tex/quran-ur.sty +++ b/macros/unicodetex/latex/quran-ur/tex/quran-ur.sty @@ -1,13 +1,13 @@ %% This is file `quran-ur.sty', and it's completely relies on the quran package. %% -%% Copyright © 2019-2020 by Seiied-Mohammad-Javad Razavian +%% Copyright © 2019-2023 by Seiied-Mohammad-Javad Razavian %% <javadr@gmail.com> %% This work may be distributed and/or modified under the -%% conditions of the LaTeX Project Public License, either version 1.3 +%% conditions of the LaTeX Project Public License, either version 1.3c %% of this license or (at your option) any later version. %% The latest version of this license is in %% http://www.latex-project.org/lppl.txt -%% and version 1.3 or later is part of all distributions of LaTeX +%% and version 1.3c or later is part of all distributions of LaTeX %% version 2005/12/01 or later. %% %% This work has the LPPL maintenance status `maintained'. @@ -26,8 +26,8 @@ %% To one having devoted his life to the Holy Quran %% \NeedsTeXFormat{LaTeX2e} -\def\quranurdate{2021/02/02} -\def\quranurversion{0.21} +\def\quranurdate{2023/09/18} +\def\quranurversion{0.22} \ProvidesPackage{quran-ur}[% \quranurdate\space v\quranurversion\space^^J Urdu translations extension to the quran package.% @@ -307,12 +307,13 @@ Urdu translations extension to the quran package.% \addtocounter{qt@count}{1}% \def\@qtexp{}% \loop% - \global\xdef\@qtexp{\@qtexp\csname qurantrans@ur@\roman{qt@count}\endcsname\ifnum\value{qt@count}=\qt@max\else\space\fi\qt@par}% + \global\xdef\@qtexp{\@qtexp\csname qurantrans@ur@\roman{qt@count}\endcsname\ifnum\value{qt@count}=\qt@max\else\space\fi% + \ifnum\value{qt@count}<\qt@max\relax\qt@par\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}% @@ -320,8 +321,9 @@ Urdu translations extension to the quran package.% \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% }% - \qt@showitems{\ifdefined\arabicfont\arabicfont\fi\showitems\qt@words}% - }%false + \global\edef\qt@currentfont{\the\font}% + \qt@showitems{\qt@currentfont\showitems\qt@words}% + \qt@par}%false }% %%%%%%%%%%%%%%%%%%%%%%%%%% \DeclareDocumentCommand{\qurantextur}{ s O{\qt@default} o t{+} }{% |