texlive[68314] Master/texmf-dist: quran-ur (18sep23)

commits+karl at tug.org commits+karl at tug.org
Mon Sep 18 22:06:54 CEST 2023


Revision: 68314
          https://tug.org/svn/texlive?view=revision&revision=68314
Author:   karl
Date:     2023-09-18 22:06:54 +0200 (Mon, 18 Sep 2023)
Log Message:
-----------
quran-ur (18sep23)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/quran-ur/README
    trunk/Master/texmf-dist/doc/latex/quran-ur/quran-ur-doc.pdf
    trunk/Master/texmf-dist/doc/latex/quran-ur/quran-ur-test.pdf
    trunk/Master/texmf-dist/tex/latex/quran-ur/quran-ur.sty

Modified: trunk/Master/texmf-dist/doc/latex/quran-ur/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/quran-ur/README	2023-09-18 20:06:44 UTC (rev 68313)
+++ trunk/Master/texmf-dist/doc/latex/quran-ur/README	2023-09-18 20:06:54 UTC (rev 68314)
@@ -1,23 +1,24 @@
 _____________________
 The quran-ur package
-v0.21
+v0.22
 
 The package is prepared for typesetting some of Urdu translations of the Holy Quran.
-The supported translations are done  by `Abul A'ala Maududi', 'Ahmed Raza Khan',
-'Ahmed Ali', 'Fateh Muhammad Jalandhry', 'Tahir ul Qadri', 'Syed Zeeshan Haider Jawadi',
-'Muhammad Junagarhi', and 'Muhammad Hussain Najafi'.
+The supported translations are done  by `Abul A'ala Maududi`, `Ahmed Raza Khan`,
+`Ahmed Ali`, `Fateh Muhammad Jalandhry`, `Tahir ul Qadri`, `Syed Zeeshan Haider Jawadi`,
+`Muhammad Junagarhi`, and `Muhammad Hussain Najafi`.
 
 For more information, please see the documentation.
 
-Current version release date: 2021/02/02
+Current version release date: 2023/09/18
 ___________________
 Seiied-Mohammad-Javad Razvian
 javadr at gmail.com
 
-Copyright © 2019-2021
+Copyright © 2019-2023
 It may be distributed and/or modified under the LaTeX Project Public License,
-version 1.3c or higher (your choice). The latest version of
+version 1.3c or higher "(your choice)". The latest version of
 this license is at: http://www.latex-project.org/lppl.txt
 
 This work is “author-maintained” (as per LPPL maintenance status)
+
 by Seiied-Mohammad-Javad Razavian.

Modified: trunk/Master/texmf-dist/doc/latex/quran-ur/quran-ur-doc.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/quran-ur/quran-ur-test.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/tex/latex/quran-ur/quran-ur.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/quran-ur/quran-ur.sty	2023-09-18 20:06:44 UTC (rev 68313)
+++ trunk/Master/texmf-dist/tex/latex/quran-ur/quran-ur.sty	2023-09-18 20:06:54 UTC (rev 68314)
@@ -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 at 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 @@
     \addtocounter{qt at count}{1}%
     \def\@qtexp{}%
     \loop%
-        \global\xdef\@qtexp{\@qtexp\csname qurantrans at ur@\roman{qt at count}\endcsname\ifnum\value{qt at count}=\qt at max\else\space\fi\qt at par}%
+        \global\xdef\@qtexp{\@qtexp\csname qurantrans at ur@\roman{qt at count}\endcsname\ifnum\value{qt at count}=\qt at max\else\space\fi%
+        \ifnum\value{qt at count}<\qt at max\relax\qt at par\fi}%
         \ifnum\value{qt at count}<\qt at max\relax%
         \addtocounter{qt at count}{1}%
     \repeat%
     \IfNoValueTF{#1}%
-    {\@qtexp}%true
+    {\@qtexp\qt at par}%true
     {\qt at WordCount=0\relax\c at qt@start=\numexpr#1-1\relax%
     \readlist*\qt at words{\@qtexp}%
         \IfNoValueTF{#2}%
@@ -320,8 +321,9 @@
         \foreachitem\qt at word\in\qt at words{%
             \ifnum\qt at wordcnt>\c at qt@start\ifnum\qt at wordcnt<\c at qt@end\qt at word\ifnum\qt at wordcnt=\numexpr\c at qt@end-1\relax\else\xspace\fi\fi\fi%
         }%
-        \qt at showitems{\ifdefined\arabicfont\arabicfont\fi\showitems\qt at words}%
-    }%false
+        \global\edef\qt at currentfont{\the\font}%
+        \qt at showitems{\qt at currentfont\showitems\qt at words}%
+    \qt at par}%false
 }%
 %%%%%%%%%%%%%%%%%%%%%%%%%%
 \DeclareDocumentCommand{\qurantextur}{ s O{\qt at default} o t{+} }{%



More information about the tex-live-commits mailing list.