summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/lualatex/simurgh/simurgh.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/lualatex/simurgh/simurgh.sty')
-rw-r--r--Master/texmf-dist/tex/lualatex/simurgh/simurgh.sty92
1 files changed, 92 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/lualatex/simurgh/simurgh.sty b/Master/texmf-dist/tex/lualatex/simurgh/simurgh.sty
new file mode 100644
index 00000000000..03d878f298d
--- /dev/null
+++ b/Master/texmf-dist/tex/lualatex/simurgh/simurgh.sty
@@ -0,0 +1,92 @@
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{simurgh}[2013/12/01 v0.01a parsi typesetting]
+\RequirePackage{xkeyval}
+\RequirePackage{simurgh-tools}
+\RequirePackage{simurgh-chkeng}
+\RequirePackage{simurgh-shellescape}
+\RequirePackage{fontspec}
+\RequirePackage{simurgh-fonts}
+\RequirePackage{simurgh-jalalical}
+\RequirePackage{simurgh-mathdigitspec}
+\RequirePackage{simurgh-bidi}
+\RequirePackage{simurgh-unibidi}
+\RequirePackage{simurgh-cptns}
+\RequirePackage{simurgh-counters}
+\RequirePackage{simurgh-ltx}
+\RequirePackage{simurgh-clss}
+\RequirePackage{simurgh-pkgs}
+\RequirePackage{simurgh-loader}
+
+
+\define@choicekey{simurgh.sty}{maindirection}[\simurgh@tempa\simurgh@tempb]{righttoleft,lefttoright}{%
+ \ifcase\simurgh@tempb\relax
+ \@RTLtrue%
+ \simurgh@pagedir TRT%
+ \simurgh@bodydir TRT%
+ \simurgh@pardir TRT%
+ \simurgh@textdir TRT%
+ \or
+ \@RTLfalse%
+ \simurgh@pagedir TLT%
+ \simurgh@bodydir TLT%
+ \simurgh@pardir TLT%
+ \simurgh@textdir TLT%
+ \fi}
+
+\define@choicekey{simurgh.sty}{mathdirection}[\simurgh@tempa\simurgh@tempb]{righttoleft,lefttoright}{%
+ \ifcase\simurgh@tempb\relax
+ \simurgh@mathdir TRT%
+ \or
+ \simurgh@mathdir TLT%
+ \fi}
+
+
+\define@choicekey{simurgh.sty}{mathdigits}[\simurgh@tempa\simurgh@tempb]{automatic,default,parsi}{%
+ \ifcase\simurgh@tempb\relax
+ \AutoMathDigits%
+ \or
+ \DefaultMathDigits%
+ \or
+ \ParsiMathDigits%
+ \fi}
+
+\define@choicekey{simurgh.sty}{footnoterule}[\simurgh@tempa\simurgh@tempb]{automatic,left,right,split,textwidth}{%
+ \ifcase\simurgh@tempb\relax
+ \autofootnoterule%
+ \or
+ \leftfootnoterule%
+ \or
+ \rightfootnoterule%
+ \or
+ \SplitFootnoteRule%
+ \or
+ \textwidthfootnoterule%
+ \fi}
+
+\define@choicekey{simurgh.sty}{footnotedirection}[\simurgh@tempa\simurgh@tempb]{righttoleft,lefttoright}{%
+ \ifcase\simurgh@tempb\relax
+ \@RTL@footnotetrue%
+ \or
+ \@RTL@footnotefalse%
+ \fi}
+
+\define@choicekey{simurgh.sty}{debugfootnotedirection}[\simurgh@tempa\simurgh@tempb]{on,off}{%
+ \ifcase\simurgh@tempb\relax
+ \footdir@debugtrue
+ \or
+ \footdir@debugfalse
+ \fi}
+
+\DeclareOptionX{unicodebidi}{\simurgh@unibidi@setmode{#1}}
+
+\ExecuteOptionsX{%
+ maindirection=righttoleft,%
+ mathdirection=lefttoright,%
+ mathdigits=automatic,%
+ footnoterule=automatic,%
+ footnotedirection=righttoleft,%
+ debugfootnotedirection=off,%
+ unicodebidi=global%
+}
+\ProcessOptionsX
+\endinput \ No newline at end of file