\documentclass[12pt,a4paper]{book}


\usepackage{arabxetex}
\newfontfamily\arabicfont[Script=Arabic,Scale=1.4,WordSpace=2]{Scheherazade}

\usepackage{ednotes}
%Fußnotenapparate
\SetFootnoteHook{\unsetRL}%--} must appear immediately before \DeclareNewFootnote 
\DeclareNewFootnote[para*]{A}
\DeclareNewFootnote[plain]{B}
%Linenumbering
\linenumbers
\modulolinenumbers[5]

%Fußnotenneuzählung
\setcounter{footnote}{0}


\begin{document}

\begin{arab}

\textLR{\small[1]} bi-smi al-ll_ahi al-ra.hm_ani al-ra.hIm wa-bi-hi nasta`Inu

\textLR{\small[2]} al-ll_ahumma saddid\footnoteA{L \textarab{al-.hamdu li-ll_ahi rabbi al-`AlamIna}} wa-.salla_A al-ll_ahu `al_A sayyidinA\footnoteA{L \textarab{sayyidi al-mursalIna}} mu.hammadiN wa-`al_A 'Alih_i\footnoteA{L \textarab{al-.tayyibIna al-.tAhirIna} add.} wa-sallama

\textLR{\small[3]} 'ammA ba`du \underline{fa-'innahu} yulzamu `al_A\footnoteA{L; MR om.} man kAn `indahu naf`uN fI `ilmiN 'aw `amaliN 'an yu.zhirahu li-man yasta.hiqqu fa-'innahu qad yakUnu\footnoteA{L \textarab{fa-yakUnu qad}} 'abqA li-nafsihi _dikraN jamIlaN\footnoteA{MR \textarab{ni`maTaN _dikraN jamIlaN}} wa-nafa`a al-mustafIdIna al-`AmilIna bihi wa-taraka al-`ilma .hayyaN lA yandarisu\footnoteA{L \textarab{yatadarrasu}} li-man \textbf{yasta'nifu} kamA fa`alahu\footnoteA{L; MR \textarab{ya`lamuhu}} al-`AbirIna\footnoteA{L \textarab{al-.gAyiruna}} lanA wa-sabIl mu.sannifI al-kutub 'an yakUna ijtibA' _tamarihA li-man ba`dahum wa-lahum ismuhA

\textLR{\small[4]} fa-qad ijtahadtu fImA sa'alanI 'unAsuN min 'ahli `a.srinA fI sanaTi sab`iN wa-sab`Ina wa-_talA_tamA'iTiN li-hijraTi al-nabiyyi .sall_A al-ll_ahu `alayhi wa-sallama\footnoteA{L; M \textarab{.sl-l} R \textarab{.s}}
wa-hiya sanaT al-qirAn al-`A^sir fI al-mu_talla_taT al-nArIyaT min i.zhAr mA sami`UnI 'a`ri.du bihi min .zuhUr al-dawlaT\footnoteA{L; MR om.} al-jadIdaT al-maimUnaT fI h_a_dA al-qirAn alla_dI fI burj al-qaws
wa-yakUn .zuhUruhA li-tamAm i_tnain wa-tis`Ina wa-_talA_tmA'iT li-l-hijraT al-nabawIaT `al_A .sA.hibihA wa-`al_A 'Alihi\footnoteA{L; MR \textarab{wa-`al_A 'Alihi} om.} 'af.dalu al-.salawAt wa-'atammu at-takrIm wa\footnoteA{L; M \textarab{at-takrIm wa} om.}at-taslIm\footnoteA{R \textarab{`al_A .sA.hibihA ... al-taslIm} om.} wa bi-zawAl\footnoteA{L; MR \textarab{zawAl}} al-dawlaT\footnoteA{LR; M \textarab{al-dawAlaT}} al-`atIqaT bi-at-tamAmi fI tilka al-nanaTi
fa-yakUnu _d_alika li-qurbi\footnoteA{L \textarab{al-qurb}} .zuhUrihi
`al_A 'an 'ubayyina fIhi mA ma.d_A min at-tArI_hAt al-nAbiqaT\footnoteA{L \textarab{al-nAlifaT}} li-i`tibAr al-'a.hkAmi fImA ma.d_A dalIlaN `al_A mA ya'tI fImA ba`du wa-'a.hkumu li-mA\footnoteA{LR; M \textarab{bi-mA}} yabq_A min qirAnAt mu_talla_taT al-nAri wa-mA yatabadd_A\footnoteA{L \textarab{yatwI}} min 'a.hkAmi al-qirAnAt fI al-mu_talla_tAt al-'ar.diyAt wa-ibtidA' al-qirAnAt al-hawA'iyyaT wa-mA yakUnu min tabA`ud\footnoteA{L \textarab{taqA`ud}} al-zuhraT `an tadbIr dawr `u.tArid ba`da ta.sarrumi sinI `u.tArid al-kubr_A ba`da inqi.dA' dawr al-zuhraT
`al_A 'an yakUna _dalika ka-al-'a.sli\footnoteA{L \textarab{mufa.s.salaN}} fa-ya.hkumu minhu li-ka_traTi ^sakkihi bi-barAhInihi wa-al-ll_ahu walIu al-'ir^sAdi wa-al-muwaffiq li-.s-.sawAbi

\textLR{\small[5]} fa-yanba.gI li-.tAlib\footnoteA{L; MR \textarab{li-.t-.tAlib}} `ilm 'a.hkAm al-nujUm fI al-'azmAn wa-al-'a.hdA_t wa-al-duwal wa-al-mulk wa-'umUr al-mulUk 'an yusayyir al-darajAt allatI takUnu dalIlaT `al_A mA tatta.silu bihi tilka al-darajAt fI at-tasyIr\footnoteA{L; MR \textarab{al-ninIna}} bi-'ajsAd al-nu.hUs wa-al-nu`Ud wa ^su`A`AtihA
wa-al-nu`Ud\footnoteA{L \textarab{al-nu`Udatuhu}} yadullu `al_A al-_hairi wa-al-nu.hUs `al_A al-^sarri min .tab`i _d_alika al-burji wa-makAnuhu min al-.tAli` wa-min .tabA'i`\footnoteA{L \textarab{yu.tAbi`}} tilka al-kawAkib wa-buyUtuhA min al-.tAli` wa-mA yatawallAhu min .tAli` al-dawr 'aw .tAli` intiqAl\footnoteA{L \textarab{intiqAlah}} al-qirAn\footnoteA{L; MR om.} min mu_talla_taT 'il_A 'u_hr_A wa-ka_d_alika\footnoteA{LR; M \textarab{wa-li_d_alika}} yanba.gI 'an yatafaqqada al-kusUfAt li-kulli nayyir fI\footnoteA{L \textarab{tayr qI}} kulli sanaT fa-'in 'a.hda_ta al-kusUf ta`ummu\footnoteA{L \textarab{ta`a`hu fI ka_tIr min 'anwA.hI}} ka_tIraN min al-nawA.hI wa ta_hu.s.su\footnoteA{L \textarab{ta_hta.s.su} ins. \textarab{wa-taxu.s.su}} 'ahl buldAn _d_alika al-burj\footnoteA{L \textarab{al-burUj}} alla_dI inkasafa fIhi al-nayyir\footnoteA{L \textarab{al-tayir}} min al-'aqAlIm wa-al-buldAn wa-'awtAdihA wa-maw.dU` nayyirihA\footnoteA{L \textarab{tairihA}} fI al-'a.sl
\end{arab}

\newpage
[1] In the name of God

[2] Oh God, help and assist us, oh you, the merciful,

[3] It is necessary for those who have some advantage in knowledge\footnoteB{Test 1} or practice (?) to show it to those who merit it. He may make permanent by this the benefit of thankful commemoration and the profit of those who use it and by leaving it alive with no obliteration for those who learn it anew like our antecessors. And the manner of those who write books is to make vivid its fruit for those who come after us, and their name is for them.

[4] I made some effort in what some people from our time asked me in the year 377\footnoteB{Test 2} of the Hijra of the Prophet - and this is the year of the tenth conjunction in the fiery triplicity – about the coming of the propitious new (turn / rule) in this conjunction which is in the sign of Sagittarius. Its coming will be exactly in the year 392 of the hijra of the prophet – best blessings on our lord – and the end of the foregoing rule will be at exactly this time. It is because of the closeness of its appearance that I will explain in it earlier dates which have already passed to look at the rules in foregone events as a proof for what will come in the future. I will give “rules” for the remaining fiery triplicities and the beginning of the rules of the conjunctions in the earthy triplicities and the beginning of the airy conjunctions, and Venus’ removal from holding sway over the cycles of Mercury after the termination of the Great Years of Mercury after the end of the cycle of Venus to serve as a base. Because of its multiple doubts, one can rule on the base of its proofs. God dominates all leadership and brings forth the right.

[5] It is necessary for those who strive for the rules of the stars regarding the time, the events, the reigns, the kingdoms and the affairs of the kings to prorogate the degrees which serve as his indications for what is wanted. He shall then rule in accordance with the bodies of misfortune and fortune and their rays to which these degrees will reach. The fortunate (bodies) point to the good and the unfortunate (bodies) to the evil in the nature of this zodiacal sign and his position from the ascendant and the nature of these planets and their houses from the ascendant and what governs him from the ascendant of the cycle or the ascendant of the transit from one triplicity to the next. In the same way, it is necessary to investigate the eclipses of sun and moon in every year. The events caused by an eclipse come upon many regions and especially concern the inhabitants of the countries belonging to that zodiacal sign in which the eclipse happened from the climates and the countries and their poles and the original place of their light.
\newpage
\begin{arab}
 fa-bi-.hasabi _d_alika yakUnu `i.zami al-.hada_ti wa-ka-_d_alika mA yakUn min al-wabA' wa-al-.tawA`In wa-al-'amrA.d al-`Amm wa-al-_hA.s.s wa-'a.hdA_t al-jaww wa-'a`rA.d al-hawA' wa-.tUl 'a`mAr al-mulUk wa-qa.srihA fI al-'azminaT wa-ta.gyIr\footnoteA{L \textarab{ta.gayyur}} al-mulk min bayt 'il_A bait 'aw min qaum 'il_A qaum wa-tajdId\footnoteA{L \textarab{ta.hdId}} al-mulk wa-al-^sarA'i` wa-al-nunan al-jA'iraT wa-al-`AdilaT wa-mA yakUn min al-ziyAdaT wa-al-naq.s fI bu`d al-'A_tAr wa-naq.s al-'a.hkAm wa-al-`uqUl wa-ziyAdatihA wa-_haf.di `ai^s\footnoteA{L; MR om.} 'ahl al-duwal wa-tan.gI.sihim wa-imtidAd al-'a`wAm wa-naq.sihA fI ba`.d al-'awqAt wa-kaifa yustadallu bi-al-qirAnAt `al_A _d_alika kullihi min ta.hwIlihA min al-mu_talla_tAt\footnoteA{L \textarab{mu_talla_tAt}} 'il_A mu_talla_tAt .gairihA wa-mA baina _d_alika min al-qirAnAt al-s.i.gAr allatI tu`arifu bi-mawAlId\footnoteA{L; MR \textarab{mawAlId}} al-ninIna wa-mabla.g jamI` _d_alika wa-mA yakUn min al-'adwAr wa-'arbA`ihA wa-al-qirAnAt al-kibAr wa-'arbA`ihA wa-siw_A _d_alika mimmA ya.tUl bihi al-^sar.hu 'illA fI bAbihi wa-mau.di`ihi

\textLR{\small[6]} wa-qad 'a.s.saltu\footnoteA{L; MR \textarab{'a.slb}} fI\footnoteA{L; MR \textarab{min}} _d_alika kullihi 'u.sUlaN\footnoteA{R \textarab{'am_tAlaN}} ba`d mA ista_hrajtu min 'aqAwIl al-qudamA' mA rajwtu 'an takUnu kAfiyaT\footnoteA{L \textarab{kAfat}} li-man `amila bi-hA `al_A 'an al-na.zara fI _d_alika yakUn ba`da al-farA.g min al-na.zar fI 'amr al-'adwAr al-kibAr wa-al-qirAnAt al-kubr_A wa-al-s.u.gr_A wa-'arbA`ihA 'in ^sA' al-l_ahu ta`Al_A

\textLR{\small[7]} _tumma mA ya`ri.du fI al-dawlaT min\footnoteA{L; MR \textarab{wa}} al-.gairi wa-al-qismaT

\textLR{\small[8]} wa-ra'aitu 'an 'uqaddima naifaN min furU` .sa.gA'ir al-'a.hkAm _tumma 'atbi`uhA bi-'a.snAfi al-qirAnAt wa-'a.hkAmihA baina al-`alawiyain wa-al-na.hsaini li-mA salafa li-ta.gyIr\footnoteA{L \textarab{li-yu.gayir}} bi-hA wa\footnoteA{L om.} li-mA baqiya\footnoteA{L; MR om.} mimmA yatawaqqa`\footnoteA{R \textarab{wa-'ammA mimmA mawqi`}} wa-'ardifu ba`da _d_alika bi-'u.sUl `i.zAm al-'a.hkAm

\textLR{\small[9]} fa-minhA mA kunt _dakart min al-'a.hdA_t al-wAqi`aT fI al-`Alam li-kull al-'aqAlIm\footnoteA{L \textarab{'iqlIm}} 'aw li-ba`.dihA\footnoteA{L \textarab{li-ba`.dihim}} wa-li-ba`.d al-'iqlIm\footnoteA{R \textarab{'aw li-ba`.di al-'qlIm} om.} wa-li-ba`.di al-nAs 'aw `Ammatihim wa-_hu.sU.s _d_alika al-qawmi alla_dIn tawall_A al-kawAkib wa-al-burj alla_dI la-hum al-dawlaT fI dawr _d_alika al-zamAn wa-'ak_tar mA ya.hdu_t h_a_dihi al-'a.hdA_t\footnoteA{L \textarab{al-jidA_t}} al-`i.zAm al-.tawA`In wa-al-'amrA.d wa-al-wabA' wa-al-_hasf wa-al-zalAzil wa-al-`alAmAt fI al-hawA'\footnoteA{L; MR \textarab{al-haw_A}} wa-al-.garq wa-al-nIrAn wa-al-^suhab wa-al-qusI wa-al-'alwAn fI al-jww wa-al-`ajA'ib fI ba`.d al-'zminaT wa-_hu.sU.s _d_alika wa-`umUmihi

\textLR{\small[10]} 'ammA al-.tawA`In fa-min .tab` al-marI_h wa-`u.tArid 'i_dA ittafaqa jasadAhumA 'aw ^su`A`AtuhumA 'aw jasad 'a.haduhumA wa\footnoteA{LR; M \textarab{'aw}} ^su`A`\footnoteA{L \textarab{su`A`}} al-'A_har fI al-darajaT allatI yablu.gu\footnoteA{L; MR \textarab{tablu.g}} al-tasyIr 'ilaihA wa-al-qismaT\footnoteA{L \textarab{wa-al-qismaT} om.} tawallayA ^sai'iaN min dalA'il tilka al-darajAt 'aw lam yatawallayA wa-kAn 'a.haduhumA .sA.hib al-dawr wa\footnoteA{L \textarab{'aw}} mutawalliyaN ^sai'iaN min 'amr al-zamAn wa-al-nanaT fa-'in waliya al-dawr al-marI_h wa-kAnat li-`u.tArid ma`ahu\footnoteA{LR; M \textarab{li-`u.tArid wa-ma`ahu}} ^sarikaT 'aw kAna fI bait `u.tArid 'aw waqa`a fI wilAyaT .gairihi wa-waliya al-dawr fI al-burj alla_dI yalI ma`a .sA.hib al-dawr dall _d_alik `al_A al-.tawA`In wa-kAn al-waqt fI _d_alika 'i_dA intahat al-qismaT wa-al-tasyIr 'il_A .hadd\footnoteA{L \textarab{a.had}} al-marI_h 'aw .hadd `u.tArid wa-lahumA fI _d_alika al-.hadd ^su`A` wa-.hai_tu mA\footnoteA{R \textarab{.hai_tumA}} ijtama`a ^su`A`uhumA wa-intah_A 'ilaihi al-tasyIr wa-al-qismaT wa-al-^su`A` min muqAbalaT 'aw muqAranaT 'aw tarbI` '.hda_ta\footnoteA{LR; M \textarab{'aw .hada_ta}} al-.tawA`In wa-'in kAn _d_alika 'ay.daN fI\footnoteA{L; MR \textarab{bi-.sul.h}} .hudUd al-mu^starI

\end{arab}
\end{document} 