summaryrefslogtreecommitdiff
path: root/macros/xetex/latex/quran/tex/quran.sty
diff options
context:
space:
mode:
Diffstat (limited to 'macros/xetex/latex/quran/tex/quran.sty')
-rw-r--r--macros/xetex/latex/quran/tex/quran.sty11
1 files changed, 9 insertions, 2 deletions
diff --git a/macros/xetex/latex/quran/tex/quran.sty b/macros/xetex/latex/quran/tex/quran.sty
index ecc1a85c73..baad0376d4 100644
--- a/macros/xetex/latex/quran/tex/quran.sty
+++ b/macros/xetex/latex/quran/tex/quran.sty
@@ -20,8 +20,8 @@
%% to one who has devoted his life to Quran
%%
\NeedsTeXFormat{LaTeX2e}
-\def\qurandate{2020/03/14}
-\def\quranversion{1.63}
+\def\qurandate{2020/06/12}
+\def\quranversion{1.7a}
\ProvidesPackage{quran}[\qurandate\space v\quranversion^^JAn easy way to typeset the whole or any parts of the holy Quran]
\RequirePackage{ifxetex}
\RequirePackage{biditools}
@@ -39,6 +39,7 @@
\newif\ifqt@transen%
\newif\ifqt@transde%
\newif\ifqt@transfa%
+\newif\ifqt@transfr%
\newif\ifqt@wordwise
\def\qt@par{\par}%
\def\basmalah{بِسمِ اللَّهِ الرَّحمٰنِ الرَّحيمِ\qt@par\space}%
@@ -60,11 +61,13 @@
\DeclareOptionX{transen}{\qt@transentrue}
\DeclareOptionX{transde}{\qt@transdetrue}
\DeclareOptionX{transfa}{\qt@transfatrue}
+\DeclareOptionX{transfr}{\qt@transfrtrue}
\DeclareOptionX{trans}[lt]{%
\IfSubStr{#1}{lt}{\qt@translttrue}{}%
\IfSubStr{#1}{de}{\qt@transdetrue}{}%
\IfSubStr{#1}{en}{\qt@transentrue}{}%
\IfSubStr{#1}{fa}{\qt@transfatrue}{}%
+ \IfSubStr{#1}{fr}{\qt@transfrtrue}{}%
}%
\DeclareOptionX{wordwise}{\qt@wordwisetrue}
\DeclareOptionX*{\PackageWarning{quran}{Unknown option ‘\CurrentOption’}}
@@ -551,4 +554,8 @@
\input{qurantext-fa.translation.def}%
\input{quran-transfa.def}%
\fi%
+\ifqt@transfr%
+ \input{qurantext-fr.translation.def}%
+ \input{quran-transfr.def}%
+\fi%
%% End of file `quran.sty'.