diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/arabi')
95 files changed, 7839 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/arabi/8859-6.def b/Master/texmf-dist/tex/latex/arabi/8859-6.def new file mode 100644 index 00000000000..d58b03ad190 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/8859-6.def @@ -0,0 +1,133 @@ +% \iffalse meta-comment +% +% Copyright 2006 Youssef Jabri +% +% +% This file is part of the `Arabi' system. +% ------------------------------------------- +% +% It may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.3b +% 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.3b or later is part of all distributions of LaTeX +% version 2005/12/01 or later. +% +% This file has the LPPL maintenance status "maintained". +% +% +% \fi +% +% Filename: 8859-6.def +% + \ProvidesFile{8859-6.def} + [2006/01/01 v0.1 ISO 8859-6 Arabic input encoding file] + + +\makeatletter +\ProvideTextCommandDefault{\textdegree}{\ensuremath{{^\circ}}} +\ProvideTextCommandDefault{\textonehalf}{\ensuremath{\frac12}} +\ProvideTextCommandDefault{\textonequarter}{\ensuremath{\frac14}} +\ProvideTextCommandDefault{\textthreequarters}{\ensuremath{\frac34}} +\ProvideTextCommandDefault{\textflorin}{\textit{f}} +\ProvideTextCommandDefault{\textcent} + {\TextSymbolUnavailable\textcent} +\ProvideTextCommandDefault{\textyen} + {\TextSymbolUnavailable\textyen} +\ProvideTextCommandDefault{\newsheqel} + {\TextSymbolUnavailable\newsheqel} +\ProvideTextCommandDefault{\textbrokenbar} + {\TextSymbolUnavailable\textbrokenbar} +\ProvideTextCommandDefault{\textperthousand} + {\TextSymbolUnavailable\textperthousand} +\providecommand{\mathonesuperior}{{^1}} +\providecommand{\maththreesuperior}{{^3}} +\providecommand{\mathtwosuperior}{{^2}} +%% +%% Digits and Punctuation characters are "set" in their +%% corresponding part in the Latin scripts +%% +\DeclareInputText{160}{\nobreakspace} +\DeclareInputText{164}{} %what is this ?? ;) +\DeclareInputMath{172}{,} %arabic comma +\DeclareInputText{187}{;} %arabic semicolon +\DeclareInputText{191}{?} %arabic question mark +\DeclareInputText{192}{ } %arabic space +\DeclareInputText{193}{\hamza} +\DeclareInputText{194}{\alefmadda} +\DeclareInputText{195}{\alefhamza} +\DeclareInputText{196}{\wawhamza} +\DeclareInputText{197}{\aleflowerhamza} +\DeclareInputText{198}{\yahamza} +\DeclareInputText{199}{\alef} +\DeclareInputText{200}{\baa} +\DeclareInputText{201}{\T} %taa marbuuta +\DeclareInputText{202}{\taa} +\DeclareInputText{203}{\thaa} +\DeclareInputText{204}{\jeem} %geem +\DeclareInputText{205}{\Haa} +\DeclareInputText{206}{\kha} +\DeclareInputText{207}{\dal} +\DeclareInputText{208}{\dhal} +\DeclareInputText{209}{\ra} +\DeclareInputText{210}{\zay} +\DeclareInputText{211}{\seen} +\DeclareInputText{212}{\sheen} +\DeclareInputText{213}{\sad} +\DeclareInputText{214}{\dad} +\DeclareInputText{215}{\Ta} +\DeclareInputText{216}{\za} +\DeclareInputText{217}{\ayn} +\DeclareInputText{218}{\ghayn} +% +\DeclareInputText{224}{\tatweel} +\DeclareInputText{225}{\fa} +\DeclareInputText{226}{\qaf} +\DeclareInputText{227}{\kaf} +\DeclareInputText{228}{\lam} +\DeclareInputText{229}{\meem} +\DeclareInputText{230}{\nun} +\DeclareInputText{231}{\ha} +\DeclareInputText{232}{\waw} +\DeclareInputText{233}{\ya} +\DeclareInputText{234}{\nasb} +\DeclareInputText{235}{\raff} +\DeclareInputText{236}{\jarr} +\DeclareInputText{237}{\fatha} +\DeclareInputText{238}{\damma} +\DeclareInputText{239}{\kasra} +\DeclareInputText{240}{\shadda} +\DeclareInputText{241}{\sukun} +\DeclareInputText{242}{\shaddanasb} +\DeclareInputText{243}{\shaddaraff} +\DeclareInputText{244}{\shaddajarr} +\DeclareInputText{245}{\shaddafatha} +\DeclareInputText{246}{\shaddadamma} +\DeclareInputText{247}{\shaddakasra} +% +% +% some Farsi characters +\DeclareInputText{243}{\peh} +\DeclareInputText{245}{\tcheh} +\DeclareInputText{254}{\jeh} +\DeclareInputText{248}{\gaf} +%\DeclareInputText{xxx}{\kaf}% No FARSI KAF!!! +\makeatother +%% +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/PPRarabic.sty b/Master/texmf-dist/tex/latex/arabi/PPRarabic.sty new file mode 100644 index 00000000000..433145e0f5f --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/PPRarabic.sty @@ -0,0 +1,101 @@ +%============================================================================== +%% PPRdefault.sty (a slide style for Prosper) +%% Copyright 2000-2001 Frédéric Goualard +%% +%% Note: this style was contributed anonymously by a user. +%% +%% This program may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.2 +%% 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.2 or later is part of all distributions of LaTeX +%% version 1999/12/01 or later. +%% +%% +%% PPRarabic.sty,v 0.01 2005/09/21 +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\NeedsTeXFormat{LaTeX2e}[1995/12/01] +\ProvidesPackage{PPRarabic}[2005/09/21] +\typeout{`an arabic' style for Prosper ---} +\typeout{PPRarabic.sty, v 0.01 2005/09/21} +\typeout{adapted from PPRdefault.sty, v 0.01 2005/09/21} +\typeout{ } + +\RequirePackage{amssymb} +% Loading packages necessary to define this slide style. +% none + +\newgray{grayb}{.5} + +\FontTitle{% + \usefont{JAE}{reqaa}{m}{n}\fontsize{20.74pt}{18pt}\selectfont\blue}{% + \usefont{LAE}{reqaa}{m}{n}\fontsize{20.74pt}{18pt}\selectfont\blue} +\FontText{% + \black\usefont{LAE}{reqaa}{m}{n}\fontsize{12.4pt}{12pt}\selectfont}{% + \black\usefont{LAE}{reqaa}{m}{n}\fontsize{12.4pt}{12pt}\selectfont} + + +% Positionning of the title of a slide. +\newcommand{\slidetitle}[1]{% + \rput[c](5.25,4.4){\fontTitle{#1}} +} + +% Positionning for a logo +\LogoPosition{-1,-1.1} + +% Definition of this style for slides. + +\newcommand{\BasicFrame}[1]{% +%\ifinColor +%\else +%\fi +\psline[linewidth=.5pt,linecolor=grayb](-1,0)(-1,-0.6)(-0.4,-0.6) +\psline[linewidth=.5pt,linecolor=grayb](11,-0.6)(11.6,-0.6)(11.6,0) +\psline[linewidth=.5pt,linecolor=grayb](-1,6.7)(-1,7.3)(-0.4,7.3) +\psline[linewidth=.5pt,linecolor=grayb](11.6,6.7)(11.6,7.3)(11,7.3) + \PutLogo % Mandatory + {#1} +\raggedright} + +\NewSlideStyle[115mm]{t}{5.3,3.2}{BasicFrame} +\PDFCroppingBox{10 40 594 800} +%\RequirePackage{semhelv} + + +\myitem{1}{\includegraphics[width=.4cm]{red-bullet-on-white.ps}} +\myitem{2}{\includegraphics[width=.3cm]{green-bullet-on-white.ps}} +\myitem{3}{\includegraphics[width=.3cm]{yellow-bullet-on-white.ps}} + + + + + + + + + + + + +\newpagestyle{arabic}{\hfill }{\ifnoFooter\else\hfill% + \ifisDraft + {\beginR\@colorFoot\tiny \L{\textbf{\jobname.tex}}~--~\@Title~--~\@Author~--~\L{\number\day/\number\month/\number\year}~--~\timenow~--~\@ensure@R{\sad}.~\thepage\ifallPages\space\@ensure@R{\meem\nun}\space\realpageref{last@page}\fi\endR}% + \else + \ifshowVersion + {\@colorFoot\tiny \L{\textbf{\jobname.tex}}~--~\@Title~--~\@Author~--~\number\day/\number\month/\number\year~--~\timenow~--~\@ensure@R{\sad}.~\thepage\ifallPages\space\@ensure@R{\meem\nun}\space\realpageref{last@page}\fi}% + \else + {\beginR\@colorFoot\tiny \@cartouche~--~\@ensure@R{\sad}.~\thepage\ifallPages\space\@ensure@R{\meem\nun}\space\realpageref{last@page}\fi\endR}% + \fi\fi\fi +} + +\slidepagestyle{arabic} + + + +\endinput + +%%% Local Variables: +%%% mode: latex +%%% TeX-master: t +%%% End: diff --git a/Master/texmf-dist/tex/latex/arabi/arabi4ht.cfg b/Master/texmf-dist/tex/latex/arabi/arabi4ht.cfg new file mode 100644 index 00000000000..e197846f06c --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/arabi4ht.cfg @@ -0,0 +1,60 @@ +\Preamble{html,info,ShowFont}%2, + +\Css{BODY { + PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 100\%; PADDING-BOTTOM: 0px; + MARGIN: 0px; COLOR: \#000; PADDING-TOP: 0px; FONT-FAMILY: arial, sans-serif; + BACKGROUND-COLOR: \#ced4da +}} +\Css{A { + COLOR: \#03c; TEXT-DECORATION: none +}} +\Css{A:visited { + COLOR: \#039; TEXT-DECORATION: none +}} +\Css{A:hover { + COLOR: \#36f; TEXT-DECORATION: underline +}} +\Css{A.selected { + FONT-WEIGHT: bold; COLOR: \#88969e +}} + + + + + + + + + + +%\Css{.aedimnah-x-x-125{FONT-FAMILY: "Courier New",Courier,monospace }} + +%\Css{.partToc a, .partToc, .likepartToc a, .likepartToc {line-height: 200\%; +%font-weight:bold; font-size:150\%; color : red ; }} +% +%\Css{.chapterToc a, .chapterToc, .likechapterToc a, .likechapterToc, +%.appendixToc a, .appendixToc {line-height: 200\%; font-weight:bold; color : green ; }} +% +\ifx\languagename\undefined +\else +\iflanguage{arabic}% +{\Configure{crosslinks}{ }{ } +{ÇáÊÇáí}{ÇáÓÇÈÞ} +{ÊÍÊ}{ÈÏÇíÉ}{äåÇíÉ}{ÝæÞ}} +{} +\fi + + + +%\Configure{thanks author date and} +%{}{} +%{\HCode{<div align="left">}}{\HCode{</div>}} +%{\HCode{<div align="left">}}{\HCode{</div>}} +%{\HChar{160}\HChar{160}\HChar{160}}{\HCode{<br>}} + + + + +\begin{document} +\EndPreamble + diff --git a/Master/texmf-dist/tex/latex/arabi/arabic.cfg b/Master/texmf-dist/tex/latex/arabi/arabic.cfg new file mode 100644 index 00000000000..178cf906ccd --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/arabic.cfg @@ -0,0 +1,64 @@ +% \iffalse meta-comment +% +% Copyright 2006 Youssef Jabri +% +% +% This file is part of the `Arabi' system. +% ------------------------------------------- +% +% It may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.3b +% 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.3b or later is part of all distributions of LaTeX +% version 2005/12/01 or later. +% +% This file has the LPPL maintenance status "maintained". +% +% +% \fi +% +% Filename: arabic.cfg: configuration file for arabic.ldf +% +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% If you want to customize arabic.ldf, please DO NOT hack into the code, +% copy this file into a directory searched by TeX, preferably a +% personal one on multi-user systems, and customize it as you like. +% +% WARNING: If you exchange your documents with colleagues using +% a different TeX installation, it is best NOT TO HAVE a frenchb.cfg +% file, and add instead the customization commands to the preamble +% of your documents after babel and frenchb have been loaded. +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +% + + + + + + + + + + +%% +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +%% +\endinput
\ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/arabi/arabic.ldf b/Master/texmf-dist/tex/latex/arabi/arabic.ldf new file mode 100644 index 00000000000..030a7c11970 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/arabic.ldf @@ -0,0 +1,240 @@ +% \iffalse meta-comment +% +% Copyright 2006 Youssef Jabri +% +% +% This file is part of the `Arabi' system. +% ------------------------------------------- +% +% It may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.3b +% 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.3b or later is part of all distributions of LaTeX +% version 2005/12/01 or later. +% +% This file has the LPPL maintenance status "maintained". +% +% +% \fi +% +% Filename: `arabic.ldf' the language definition file of Arabic +% for use with BABEL. +% + +\ProvidesFile{arabic.ldf} + +\ProvidesLanguage{arabic}[2006/01/01 v0.1 Arabic support for the babel system] + + +\LdfInit{arabic}{captionsarabic} + + +\ifx\l@arabic\@undefined + \@nopatterns{Arabic}% + \adddialect\l@arabic0 +\fi +\InputIfFileExists{laeenc.def}{% + \message{Loading the definitions for the LaTeX{} Arabic encoding}}{% + \errhelp{I can't find the laeenc.def file for the Arabic fonts}% + \errmessage{Since I do not know what the LAE encoding means^^J + I can't typeset Arabic.^^J + I stop here, while you get a suitable laeenc.def file}\@@end + } + + +\AtEndOfPackage{% + \@ifpackageloaded{inputenc}{}{\RequirePackage[cp1256]{inputenc}}} + +%NO hyphenation is needed in Arabic!! Update language.dat!!! +\providehyphenmins{\CurrentOption}{\thr@@\thr@@} + +\addto\captionsarabic{% +\def\prefacename{\textAR{\meem\dal\kha\lam}}% +\def\refname{\textAR{\alef\lam\meem\ra\alef\jeem\ayn}} +\def\abstractname{\textAR{\meem\lam\kha\sad}}% +\def\bibname{\textAR{\alef\lam\meem\sad\alef\dal\ra}}% +\def\chaptername{\textAR{\alef\lam\baa\alef\baa}}% +\def\appendixname{\textAR{\alef\lam\meem\lam\Haa\qaf}}% +%\def\contentsname{\textAR{\alef\lam\meem\Haa\taa\waw\ya\alef\taa}} +\def\contentsname{\textAR{\alef\lam\fa\ha\ra\seen}}% +\def\listfigurename{\textAR{\qaf\alef\yahamza\meem\T\space \alef\lam\alefhamza\sheen\kaf\alef\lam}}% +\def\listtablename{\textAR{\qaf\alef\yahamza\meem\T\space \alef\lam\jeem\dal\alef\waw\lam}}% +\def\indexname{\textAR{\alef\lam\fa\ha\ra\seen}}% +\def\figurename{\textAR{\sheen\kaf\lam}}% +\def\tablename{\textAR{\jeem\dal\waw\lam}}% +\def\partname{\textAR{\alef\lam\qaf\seen\meem}}% +\def\enclname{\textAR{\alef\lam\meem\ra\fa\qaf\alef\taa}} +\def\ccname{\textAR{\nun\seen\kha\T\space\meem\waw\jeem\ha\T\space\aleflowerhamza\lam\alefmaqsura}}% << +\def\headtoname{\textAR{\aleflowerhamza\lam\alefmaqsura}} +\def\pagename{\textAR{\sad\fa\Haa\T}}% +\def\seename{\textAR{\ra\alef\jeem\ayn}}%\alefhamza\nun\za\ra +\def\alsoname{\textAR{\ra\alef\jeem\ayn\space\alefhamza\ya\dad\alef}}%<<\alefhamza\nun\za\ra +\def\proofname{\textAR{\baa\ra\ha\alef\nun}}% for AMS-\LaTeX +\def\glossaryname{\textAR{\qaf\alef\meem\waw\seen}}%<< +} + +% +% The default Arabic date form for now : +% +\def\arabimonth#1{\ifcase#1\or + \kaf\alef\nun\waw\nun\space \alef\lam\thaa\alef\nun\ya\or + \sheen\baa\alef\Ta\or + \alefmadda\dhal\alef\ra\or + \nun\ya\seen\alef\nun\or + \alefhamza\ya\alef\ra\or + \Haa\zay\ya\ra\alef\nun\or + \taa\meem\waw\zay\or + \alefmadda\baa\or + \alefhamza\ya\lam\waw\lam\or + \taa\sheen\ra\ya\nun\space \alef\lam\alefhamza\waw\lam\or + \taa\sheen\ra\ya\nun\space \alef\lam\thaa\alef\nun\ya\or + \kaf\alef\nun\waw\nun\space \alef\lam\alefhamza\waw\lam\fi} + +\def\atoday{% + \I{\number\day}% +\space \textRL{\arabimonth{\month}}% +\space \I{\number\year}} + +\def\datearabic{\def\today{\atoday}} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% MACROS FOR Arabic/Latin TYPESETTING +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +% First, the common part to Arabic and Farsi +% +\InputIfFileExists{Arabicore.sty}{% + \message{Loading the Common definitions for Arabic and Farsi}}{% + \errhelp{I can't find the Arabicore.sty file}% + \errmessage{Since I can't find the Arabicore.sty file^^J + I can't typeset Arabic.^^J + I stop here, while you get a suitable Arabicore.sty file}\@@end +} + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Now the specific part to Arabic +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\newcommand{\ArabicEncoding}{\fontencoding{LAE}\selectfont} + + + +\DeclareRobustCommand{\@arabic@R}[1]{\bgroup\beginR\ArabicEncoding #1\endR\egroup} +\DeclareRobustCommand{\@ensure@arabic}[1]{\if@rl{{\ArabicEncoding #1}}\else + \beginR\ArabicEncoding #1\endR\fi} + + +% To avoid bad surprised we use \def to define the \R control sequence, +% many packages ``like'' to use , like ArabTeX and the Hebrew package +% supporting Babel +\newcommand{\textAR}[1]{\expandafter\@arabic@R{#1}} +%Temporary shortcut +\newcommand{\AR}[1]{\textAR{#1}} +% +\def\textRL#1{\expandafter\@arabic@R{#1}} + + + + + +\def\arabicencoding{LAE} +\DeclareFontEncoding{LAE}{}{} +\DeclareFontSubstitution{LAE}{cmr}{m}{n} +\DeclareErrorFont{LAE}{cmr}{m}{n}{10} + +\DeclareRobustCommand{\bbl@arabic}{% +\bbl@arabi +\def\encodingdefault{\arabicencoding}% +\fontencoding{\encodingdefault}\selectfont% +\@rltrue +\@arabictrue +} + + +\addto\extrasarabic{\bbl@arabic} + +\addto\noextrasarabic{% +\@rlfalse +\@arabicfalse +\latintext\normalfont %enough ?? +% Restore the lplain.tex penalties?? +\hyphenpenalty=50% +\binoppenalty=700% +\relpenalty=500% +} + + + +% +% Now, the Arabic fonts Definitions +% +\InputIfFileExists{arabicfnt.sty}{% + \message{Loading the Arabi fonts definitions for Arabic}}{% + \errhelp{I can't find the arabicfnt.sty file}% + \errmessage{Since I can't find the arabicfnt.sty file^^J + I can't typeset Arabic.^^J + I stop here, while you get a suitable arabicfnt.sty file}\@@end +} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%==========================================================% +% The changes that should be executed after reading % +% the main style file. (e.g., article.sty) % +%==========================================================% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + +\addto\extrasarabic{% + \let\SAV@alph\@alph% + \let\SAV@Alph\@Alph% + \renewcommand*{\@alph}[1]{\protect\abjadnumeral{\number#1}}% + \renewcommand*{\@Alph}[1]{\protect\abjadnumeral{\number#1}}} + +\addto\noextrasarabic{% + \let\@alph\SAV@alph% + \let\@Alph\SAV@Alph} + +% +% Now, the common file to Arabic and Farsi that allows +% activating and deactivating Vowelization +% +\InputIfFileExists{arabnovowel.sty}{% + \message{Loading the Common definitions for Arabic and Farsi}}{% + \errhelp{I can't find the arabnovowel.sty file}% + \errmessage{Since I can't find the arabnovowel.sty file^^J + I can't activate or deactivate vowelization.^^J + The vowels you type will be printed!}\@@end +} + + + +% To get the parentheses around equations numbers to appear correctly +% works with standard classes article, report and book (with or without amsmath package) +% and with ams[*] classes. (reqno should be used!!) +% +\addto\extrasarabic{% +\let\SAV@@eqnnum\@eqnnum +\let\SAV@tagform@\tagform@ +\def\tagform@#1{\maketag@@@{)\ignorespaces#1\unskip\@@italiccorr(}}% if amsmath is loaded +\renewcommand{\@eqnnum}{)\theequation(}% otherwise +} + +% Restore original values +\addto\noextrasarabic{% +\let\@eqnnum\SAV@@eqnnum +\let\tagform@\SAV@tagform@ +} + + + +%%%%%% To let this file clean and usable by everybody %%%%%% +%% use "arabic.cfg" instead and uncomment next line +%\loadlocalcfg{arabic} %last patches and additional hacks +%% +\ldf@finish{arabic} + + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/arabicfnt.sty b/Master/texmf-dist/tex/latex/arabi/arabicfnt.sty new file mode 100644 index 00000000000..d836d7ad4a6 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/arabicfnt.sty @@ -0,0 +1,273 @@ +% \iffalse meta-comment +% +% Copyright 2006 Youssef Jabri +% +% +% This file is part of the `Arabi' system. +% ------------------------------------------- +% +% It may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.3b +% 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.3b or later is part of all distributions of LaTeX +% version 2005/12/01 or later. +% +% This file has the LPPL maintenance status "maintained". +% +% +% \fi +% +% Filename: `arabifnt.sty' Arabic font switching commands used by +% the Arabi package. +% +%% +\def\fileversion{1.0} +\def\filedate{2006/01/01} +%%%%%%%%%%%%%%%%%%%%%%%% Font Names %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Check if file is loaded and announce file on terminal: +% +\csname ArabicfontsLoaded\endcsname +\let\ArabicfontsLoaded\endinput + +\message{\space\space Arabic font switching commands v\fileversion\space\space\filedate} +\message{\space\space (may still change)\space\space} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% +%% +%\ProvidesPackage{arabifnt}[2006/01/01 v1.0 Arabic font switching +% commands (may still change)] + + + +% \DeclareTextFontCommand {<cmd>} {<font-switches>} +% +% Declares command <cmd> to be a font command with one argument. The current font attributes +% are locally modified by <font-switches> and then the argument of <cmd> is typeset in the +% resulting new font. +% +% Commands defined by \DeclareTextFontCommand automatically take care of any necessary +% italic correction (on either side). + + + + + +% DecoType Naskh + \DeclareTextFontCommand{\textdtp}{\fontfamily{dtpn}\selectfont} + \DeclareRobustCommand{\dtp}{\fontfamily{dtpn}\selectfont} + +% DecoType Naskh Special + \DeclareTextFontCommand{\textdtpsp}{\fontfamily{dtpnsp}\selectfont} + \DeclareRobustCommand{\dtpsp}{\fontfamily{dtpnsp}\selectfont} + +% DecoType Thuluth + \DeclareTextFontCommand{\textdthuluth}{\fontfamily{dthuluth}\selectfont} + \DeclareRobustCommand{\dthuluth}{\fontfamily{dthuluth}\selectfont} + + +% Maghribi experimental + \DeclareTextFontCommand{\textmaghribi}{\fontfamily{maghribi}\selectfont} + \DeclareRobustCommand{\maghribi}{\fontfamily{maghribi}\selectfont} + +% Naskh experimental + \DeclareTextFontCommand{\textnaskh}{\fontfamily{naskhi}\selectfont} + \DeclareRobustCommand{\naskh}{\fontfamily{naskhi}\selectfont} + +% ASV Codar + \DeclareTextFontCommand{\textasv}{\fontfamily{asv}\selectfont} + \DeclareRobustCommand{\asv}{\fontfamily{asv}\selectfont} + +% My reqaa + \DeclareTextFontCommand{\textreqaa}{\fontfamily{reqaa}\selectfont} + \DeclareRobustCommand{\reqaa}{\fontfamily{reqaa}\selectfont} + +% +% +%======================= Microsoft ========================= +% + + +% Simplified Arabic + \DeclareTextFontCommand{\textsimpl}{\fontfamily{arsimpo}\selectfont} + \DeclareRobustCommand{\simpl}{\fontfamily{arsimpo}\selectfont} + + \DeclareTextFontCommand{\textsimplb}{\fontfamily{arsimpo}\fontseries{b}\selectfont} + \DeclareRobustCommand{\simplb}{\fontfamily{arsimpo}\fontseries{b}\selectfont} +% +% Times New Roman + \DeclareTextFontCommand{\texttimes}{\fontfamily{artimes}\selectfont} + \DeclareRobustCommand{\times}{\fontfamily{artimes}\selectfont} +% + \DeclareTextFontCommand{\texttimesb}{\fontfamily{artimes}\fontseries{b}\selectfont} + \DeclareRobustCommand{\timesb}{\fontfamily{artimes}\fontseries{b}\selectfont} +% + +% Courier + \DeclareTextFontCommand{\textcour}{\fontfamily{arcour}\selectfont} + \DeclareRobustCommand{\cour}{\fontfamily{arcour}\selectfont} +% + \DeclareRobustCommand{\courb}{\fontfamily{arcour}\fontseries{b}\selectfont} + \DeclareTextFontCommand{\textcourb}{\fontfamily{arcour}\fontseries{b}\selectfont} +% Arial + \DeclareTextFontCommand{\textarial}{\fontfamily{ararial}\selectfont} + \DeclareRobustCommand{\arial}{\fontfamily{ararial}\selectfont} +% + \DeclareRobustCommand{\arialb}{\fontfamily{ararial}\fontseries{b}\selectfont} + \DeclareTextFontCommand{\textarialb}{\fontfamily{ararial}\fontseries{b}\selectfont} +% +% Traditional Arabic + \DeclareTextFontCommand{\texttrad}{\fontfamily{traditionalarabic}\selectfont} + \DeclareRobustCommand{\trad}{\fontfamily{traditionalarabic}\selectfont} +% + \DeclareTextFontCommand{\texttradb}{\fontfamily{traditionalarabic}\fontseries{b}\selectfont} + \DeclareRobustCommand{\tradb}{\fontfamily{traditionalarabic}\fontseries{b}\selectfont} +% Andalus + \DeclareTextFontCommand{\textandalus}{\fontfamily{andlso}\selectfont} + \DeclareRobustCommand{\andalus}{\fontfamily{andlso}\selectfont} + +% +%======================= Omega Project ===================== +% + +% Omega Arabic (1) + \DeclareTextFontCommand{\textomega}{\fontfamily{aromega}\selectfont} + \DeclareRobustCommand{\omega}{\fontfamily{aromega}\selectfont} +% + \DeclareTextFontCommand{\textomegab}{\fontfamily{aromega}\fontseries{b}\selectfont} + \DeclareRobustCommand{\omegab}{\fontfamily{aromega}\fontseries{b}\selectfont} + + +% +%======================= Arabeyes Project ================== +% + + \DeclareTextFontCommand{\textbook}{\fontfamily{kacstbook}\selectfont} + \DeclareRobustCommand{\book}{\fontfamily{kacstbook}\selectfont} + + \DeclareTextFontCommand{\textthol}{\fontfamily{aetholoth}\selectfont} + \DeclareRobustCommand{\thol}{\fontfamily{aetholoth}\selectfont} + + \DeclareTextFontCommand{\textyerm}{\fontfamily{aealyermook}\selectfont} + \DeclareRobustCommand{\yerm}{\fontfamily{aealyermook}\selectfont} + + \DeclareTextFontCommand{\textmash}{\fontfamily{aemashq}\selectfont} + \DeclareRobustCommand{\mashq}{\fontfamily{aemashq}\selectfont} %typo + + \DeclareTextFontCommand{\texthor}{\fontfamily{aehor}\selectfont} + \DeclareRobustCommand{\hor}{\fontfamily{aehor}\selectfont} + + \DeclareTextFontCommand{\textbattar}{\fontfamily{aealbattar}\selectfont} + \DeclareRobustCommand{\battar}{\fontfamily{aealbattar}\selectfont} + + \DeclareTextFontCommand{\textgranada}{\fontfamily{aegranada}\selectfont} + \DeclareRobustCommand{\granada}{\fontfamily{aegranada}\selectfont} + + + + \DeclareTextFontCommand{\textkayrawan}{\fontfamily{aekayrawan}\selectfont} + \DeclareRobustCommand{\kayrawan}{\fontfamily{aekayrawan}\selectfont} + + \DeclareTextFontCommand{\textdimnah}{\fontfamily{aedimnah}\selectfont} + \DeclareRobustCommand{\dimnah}{\fontfamily{aedimnah}\selectfont} + + \DeclareTextFontCommand{\textsindibad}{\fontfamily{aesindibad}\selectfont} + \DeclareRobustCommand{\sindibad}{\fontfamily{aesindibad}\selectfont} + + \DeclareTextFontCommand{\textgraph}{\fontfamily{aegraph}\selectfont} + \DeclareRobustCommand{\graph}{\fontfamily{aegraph}\selectfont} + + \DeclareTextFontCommand{\textnice}{\fontfamily{aenice}\selectfont} + \DeclareRobustCommand{\nice}{\fontfamily{aenice}\selectfont} +% + \DeclareTextFontCommand{\textmohanad}{\fontfamily{aealmohanadb}\selectfont} + \DeclareRobustCommand{\mohanad}{\fontfamily{aealmohanadb}\selectfont} +% + \DeclareTextFontCommand{\textmothnna}{\fontfamily{aealmothnna}\selectfont} + \DeclareRobustCommand{\mothnna}{\fontfamily{aealmothnna}\selectfont} + + \DeclareTextFontCommand{\textmateen}{\fontfamily{aealmateen}\selectfont} + \DeclareRobustCommand{\mateen}{\fontfamily{aealmateen}\selectfont} + + \DeclareTextFontCommand{\textpetra}{\fontfamily{aepetra}\selectfont} + \DeclareRobustCommand{\petra}{\fontfamily{aepetra}\selectfont} + + \DeclareTextFontCommand{\textnada}{\fontfamily{aenada}\selectfont} + \DeclareRobustCommand{\nada}{\fontfamily{aenada}\selectfont} + + \DeclareTextFontCommand{\textcortoba}{\fontfamily{aecortoba}\selectfont} + \DeclareRobustCommand{\cortoba}{\fontfamily{aecortoba}\selectfont} + + \DeclareTextFontCommand{\textostora}{\fontfamily{aeostorah}\selectfont} + \DeclareRobustCommand{\ostora}{\fontfamily{aeostorah}\selectfont} + + + \DeclareTextFontCommand{\textfurat}{\fontfamily{aefurat}\selectfont} + \DeclareRobustCommand{\furat}{\fontfamily{aefurat}\selectfont} + +% Do not include, soooo bad! +% +% \DeclareTextFontCommand{\textnagham}{\fontfamily{aenagham}\selectfont} +% \DeclareTextFontCommand{\textarab}{\fontfamily{aearab}\selectfont} + + \DeclareTextFontCommand{\textsalem}{\fontfamily{aesalem}\selectfont} + \DeclareRobustCommand{\salem}{\fontfamily{aesalem}\selectfont} + + \DeclareTextFontCommand{\textshado}{\fontfamily{aeshado}\selectfont} + \DeclareRobustCommand{\shado}{\fontfamily{aeshado}\selectfont} + + \DeclareTextFontCommand{\textmetal}{\fontfamily{aemetal}\selectfont} + \DeclareRobustCommand{\metal}{\fontfamily{aemetal}\selectfont} + + \DeclareTextFontCommand{\texttarablus}{\fontfamily{aetarablus}\selectfont} + \DeclareRobustCommand{\tarablus}{\fontfamily{aetarablus}\selectfont} + + \DeclareTextFontCommand{\textkhalid}{\fontfamily{aekhalid}\selectfont} + \DeclareRobustCommand{\khalid}{\fontfamily{aekhalid}\selectfont} + + \DeclareTextFontCommand{\textsharjah}{\fontfamily{aesharjah}\selectfont} + \DeclareRobustCommand{\sharjah}{\fontfamily{aesharjah}\selectfont} + + \DeclareTextFontCommand{\texthani}{\fontfamily{aehani}\selectfont} + \DeclareRobustCommand{\hani}{\fontfamily{aehani}\selectfont} + + \DeclareTextFontCommand{\textouhod}{\fontfamily{aeouhod}\selectfont} + \DeclareRobustCommand{\ouhod}{\fontfamily{aeouhod}\selectfont} + + \DeclareTextFontCommand{\textrehan}{\fontfamily{aerehan}\selectfont} + \DeclareRobustCommand{\rehan}{\fontfamily{aerehan}\selectfont} + + + + + + + + + + + + + + + +%% +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +%% +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/arabicore.sty b/Master/texmf-dist/tex/latex/arabi/arabicore.sty new file mode 100644 index 00000000000..fa2456d7a18 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/arabicore.sty @@ -0,0 +1,969 @@ +% \iffalse meta-comment +% +% Copyright 2006 Youssef Jabri +% +% +% This file is part of the `Arabi' system. +% ------------------------------------------- +% +% It may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.3b +% 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.3b or later is part of all distributions of LaTeX +% version 2005/12/01 or later. +% +% This file has the LPPL maintenance status "maintained". +% +% +% \fi +% +% Filename: `Arabicore.sty' +% The common Macros to Arabic and Farsi +% The core of the Arabi package macros responsible for Right-to-Left +% +% +\def\fileversion{1.0} +\def\filedate{2006/01/01} +%%%%%%%%%%%%%%%%%%%%%%%% Font Names %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Check if file is loaded and announce file on terminal: +% +\csname ArabiCoreLoaded\endcsname +\let\ArabiCoreLoaded\endinput + +\message{\space\space Arabi Core switching commands v\fileversion\space\space\filedate} +\message{\space\space (may still change)\space\space} +% +%\ProvidesPackage{arabicore}[2006/01/01 v1.0 Arabi Core switching +% commands (may still change)] +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% MACROS FOR Arabic/Latin TYPESETTING +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +% Some flags to keep trace where we are +% +\newif\if@rl +\newif\if@farsi +\newif\if@arabic + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% ArabTeX has already \R as well as \RL command +% While (La)TeX defines already \L +% In addition to the fact that the Hebrew package for Babel +% has \R and \L !! +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +% The \cs{R} will mean either Arabic or Farsi according to +% which one has been loaded last! +% +% To force one or the other form use instead \cs{@arabic@R} or \cs{@farsi@R} +% +% +% To avoid bad surprised we use \def to define the \R control sequence, +% many packages ``like'' to use , like ArabTeX and the Hebrew package +% supporting Babel + +\newcommand{\ARmbox}[1]{\mbox{\textAR{#1}}} +\newcommand{\FRmbox}[1]{\mbox{\textFR{#1}}} +\newcommand{\LRmbox}[1]{\mbox{\textLR{#1}}} +\def\@ensure@R#1{\if@rl#1\else\textRL{#1}\fi} +\def\@ensure@L#1{\if@rl\textLR{#1}\else#1\fi} +% +% shorthands \RL and LR necessary? +% +%\DeclareRobustCommand{\R}[1]{\RL{#1}} +%\DeclareRobustCommand{\L}[1]{\LR{#1}} +% +% The command \L exists already to write Polish. We got some +% complaints that this penalize all peolple using the Polish +% Language and prevents them from using Arabi at TUG 2006. +% This is also used by the hyperref package. So we will adapt \textLR instead. +\def\textLR#1{\bgroup\beginL\latintext #1\endL\egroup} +% + + + +\DeclareRobustCommand{\bbl@arabi}{% arabi NOT Arabic :) +% Flag to detect Arabic, also responsible for the +% switching direction with \Arabi@rl@everypar +\@rltrue +% +\hyphenpenalty=\@MM +\binoppenalty=\@MM +\relpenalty=\@MM +} + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Arabic formatting +% ``everypar Token'' \& noindent +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +% make paragraphs Right-to-Left instead of Left-to-Right +% and cure the paragraph indent that will appear +% on the left hand side of the page, instead of +% the right if nothing is done. +% +% Here we define a macro \Arabi@rl@everypar +% This avoids problems when \everypar is redefined for some reason, +% in lists for example, and that the default Left-to-Right is restored +% at the end! +% +% If we want to be able to use the paragraph indent without problems, +% we have to enhance the \everypar defintion a little. +% Since a paragraph indent is created by inserting a \box at +% the start of the horizontal list for the paragraph, before \everypar is +% called. We just need to move that box so that it follows the \beginR. +% +% +% \def\rl@everypar{\if@rl{\setbox\z@\lastbox\beginR\usebox\z@}\fi} +% + \def\Arabi@rl@everypar{\if@rl{\setbox\z@\lastbox\beginR\usebox\z@}\fi} + \let\o@everypar=\everypar + \newtoks\n@everypar + \n@everypar\expandafter{\the\o@everypar} + \o@everypar{\Arabi@rl@everypar\the\n@everypar} + \let\everypar=\n@everypar + + +\AtEndOfPackage{\edef\latinencoding{\cf@encoding}} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%% USE OF ARABIC NUMBERING %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Not yet used! +% +\protect\def\arabordinal#1{" +\ifcase#1\or ÇáÃæá \or ÇáËÇäí +\or ÇáËÇáË \or ÇáÑÇÈÚ \or ÇáÎÇãÓ +\or ÇáÓÇÏÓ \or ÇáÓÇÈÚ \or ÇáËÇãä +\or ÇáÊÇÓÚ \or ÇáÚÇÔÑ +\or ÇáÍÇÏí ÚÔÑ\or ÇáËÇäí ÚÔÑ +\or ÇáËÇáË ÚÔÑ\or ÇáÑÇÈÚ ÚÔÑ\or ÇáÎÇãÓ ÚÔÑ +\or ÇáÓÇÏÓ ÚÔÑ\or ÇáÓÇÈÚ ÚÔÑ\or ÇáËÇãä ÚÔÑ +\or ÇáÊÇÓÚ ÚÔÑ\or ÇáÚÔÑæä +\fi} + + +% Numbers in Arabic contexts, must be written as input, not reflected! +% They are already Right-to-Left! Sometimes written in Arabic digits and +% other times with Arabo-Indic digits. And in Farsi they use Extended +% Arabo-Indic digits. +% They have to be input using the \I control sequence or +% the \EI control sequence. + +\newcommand{\I}[1]{\if@farsi\FarsiEncoding\else\ArabicEncoding\fi\beginL#1\endL}% +\newcommand{\EI}[1]{\textLR{\FarsiEncoding #1}}% + + + + + + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% abjad numerals support +% defined like "\greeknumeral" macro +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% The command \abjadnumeral {#1} +% produces the old `abjad' numeral form of the argument, +% which must be a legal number between 1 and 1999. +% Otherwise, the normal form is printed instead, in arabic or Latin +% according to the context. +% +\def\Aabjadnumeral#1{\textRL{% +\ifnum#1>1999 \PackageWarning{babel}{Illegal value (#1) for abjad numeral}\I{#1} +\else + \ifnum#1<\@ne\space\PackageWarning{babel}{Illegal value (#1) for abjad numeral}% + \else + \ifnum#1<10\expandafter\abj@num@i\number#1% + \else + \ifnum#1<100\expandafter\abj@num@ii\number#1% + \else + \ifnum#1<\@m\expandafter\abj@num@iii\number#1% + \else + \ifnum#1<\@M\expandafter\abj@num@iv\number#1%since #1<2000, we must have 1000 + \fi + \fi + \fi + \fi + \fi +\fi +}} + +\def\abj@num@i#1{% + \ifcase#1\or \alef\or \baa\or \jeem\or \dal\or \ha\or \waw\or \zay\or \Haa\or \Ta\fi + \ifnum#1=\z@\fi} +\def\abj@num@ii#1{%\ya instead of \alefmaqsura + \ifcase#1\or \ya\or \kaf\or \lam\or \meem\or \nun\or \seen\or \ayn\or \fa\or \sad\fi + \ifnum#1=\z@\fi\abj@num@i} +\def\abj@num@iii#1{% + \ifcase#1\or \qaf\or \ra\or \sheen\or \taa\or \thaa \or \kha\or \dhal\or \dad\or \za\fi + \ifnum#1=\z@\fi\abj@num@ii} +\def\abj@num@iv#1{% + \ifcase#1\or \ghayn\fi + \ifnum#1=\z@\fi\abj@num@iii} + +\def\Fabjadnumeral#1{\textFR{% +\ifnum#1>32 \PackageWarning{babel}{Illegal value (#1) for Farsi abjad numeral}\EI{#1} +\else\F@abjadnumber{#1}\fi}} + +\def\F@abjadnumber#1{\ifcase#1\or \alef\or \baa\or \peh\or \taa\or \thaa\or \jeem\or + \tcheh\or \Haa\or \kha\or \dal\or \dhal\or \ra\or \zay\or \jeh\or + \seen\or \sheen\or \sad\or \dad\or \Ta\or \za\or \ayn\or \ghayn\or \fa\or + \qaf\or \kaf\or \gaf\or \lam\or \meem \or \nun\or \waw\or \ha\or\ya\fi} + +% +% Internal form of abjad numerotation +% To allow it to be used with \pagenumbering command +% like \pagenumbering{abjad} +% adapted from "ltpageno.dvi" +% +\def\@abjad#1{\if@farsi{\Fabjadnumeral{#1}}\else\Aabjadnumeral{#1}\fi} +\DeclareRobustCommand{\abjadnumeral}[1]{\@abjad{#1}} + + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% NOT SUPPORTED YET !!!!!!!!!!!!!!!!!!!!!! +% We provide a ---limited--- support for ArabTeX 7 bit encoding but since +% we can also use ArabteX with our package, it's better to use an +% arabtext environment to typeset it. +% the fonts are not the same, but ur text may need a lot of change to get +% usable with Arabic LaTeX, the best solution to process ArabTeX input is still +% ArabTeX +% +%%%%%%%%%%%%%%%%%%%%%% Do not load our macros if ArabTeX is active %%%%%%%%%%% +\AtBeginDocument{ +\ifx \ar@batcode \undefined %\RequirePackage{lagally} +\else +\message{ArabTeX is aleready loaded,} +\message{ No support is provided} +\message{with ArabTeX 7 bit input encoding}%\expandafter \endinput +% avoid problematic use of < and > when arabtex is loaded +% since they are active with Arabtex and have a special meaning +% we do need these symbols to write left and right guillemots in +% an Arabic context. +\addto\extrasarabic{% +\chardef \@other = 12 +%\catcode`\<=\@other +%\catcode`\>=\@other +%\catcode`\.=\@other +%\catcode`\_=\@other +%\catcode`\^=\@other +\setnone +} +\fi +} + +%%%%%%%%%%%%%% In ArabTeX you have to use %%%%%%%%%%%%%%%%% +% <\abjad> to get the <\abjadnumeral>s +%\let\abjad=\abjadnumeral +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%% LOGOS %%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\newcommand{\Arabi}{\textLR{\sffamily A\kern-.2ex\lower.25ex\hbox{r}\kern-.25exa% + \kern-.22exb\kern-.15exi}} %Logo + + +% **************************************** +% * FOOTNOTES * +% **************************************** + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% More space between the last line of main text +% and the top of the first footnote + +%\addtolength{\skip\footins}{2mm} + +%%%%%%%%%%%%%%%%%%% The footnote rule %%%%%%%%%%%%%%%%%%%%% +%%%% works equally with ams[classes] %%%%%%%%%%%%%%%%%%%%%% + +\let\SAV@footnoterule=\footnoterule% +\def\footnoterule{\if@rl\hb@xt@\hsize{\hss\vbox{\SAV@footnoterule}}% + \else\SAV@footnoterule\fi} + + +\renewcommand{\thefootnote} + {\if@rl {\textRL{(\I{\number\c@footnote})}}% + \else {\number\c@footnote}\fi} + + + +% **************************************** +% * PUNCTUATION * +% **************************************** +% +% TEMPORARILY + +\addto\extrasfarsi{% +\frenchspacing} + +%%%%%%%%%%%%%%%%%%%%%%% A patch from rlbabel %%%%%%%%%%%%%%% +\def\raggedright{% + \let\\\@centercr + \leftskip\z@skip\rightskip\@flushglue + \parindent\z@\parfillskip\z@skip} +\let\@@raggedleft=\raggedleft +\let\@@raggedright=\raggedright +\renewcommand\raggedleft{\if@rl\@@raggedright% + \else\@@raggedleft\fi} +\renewcommand\raggedright{\if@rl\@@raggedleft% + \else\@@raggedright\fi} + + + +%%%% a small utility %%%%%%%%%%%%%%%%%%%%%%%%%%%% +\providecommand{\gobbleone}[1]{\relax} + + + + +%%%%%%%%%% To test if the main (TOC) language is Arabic +% +\newif\if@rlmain +% +% +% If \mainlanguage{arabic} was not met yet at the +% beginning of the document, suppose that the "TOC direction et al." +% is "english" (a Left-to-Right language), if you want a different +% formatting you should specify your specific TOC language +% +\AtBeginDocument{\if@rlmain\relax\else\TOCLanguage{\bbl@main@language}\fi} + + +\def\TOCLanguage#1{\gdef\main@Arabi@language{#1}% +\edef\tmp{arabic}% +\edef\tmpp{farsi}% +\ifx\main@Arabi@language\tmp\global\@rlmaintrue\else +\ifx\main@Arabi@language\tmpp\global\@rlmaintrue\else +\global\@rlmainfalse\fi\fi% +} +% +\let\SAV@@part\@part +\let\SAV@spart\@spart +% +% +\let\SAV@@chapter\@chapter +\let\SAV@schapter\@schapter +% +\let\SAV@section\section +\let\SAV@subsection\subsection +\let\SAV@subsubsection\subsubsection +% +\let\SAV@paragraph\paragraph +\let\SAV@subparagraph\subparagraph + + + + + + + +\def\@part[#1]#2{% +\addtocontents{toc}{\xstring\select@language{\main@Arabi@language}}% +\if@rl{\SAV@@part[\textRL{#1}]{\textRL{#2}}}% +\else{\SAV@@part[\textLR{#1}]{\textLR{#2}}}% +\fi} + +%\renewcommand{\@spart}[1]{% +\def\@spart#1{% +\addtocontents{toc}{\xstring\select@language{\main@Arabi@language}}% +\if@rl{\SAV@spart{\textRL{#1}}}% +\else{\SAV@spart{\textLR{#1}}}% +\fi} + +\def\@chapter[#1]#2{% +\addtocontents{toc}{\xstring\select@language{\main@Arabi@language}}% +\if@rl{\SAV@@chapter[\textRL{#1}]{\textRL{#2}}}% +\else{\SAV@@chapter[\textLR{#1}]{\textLR{#2}}}% +\fi} + +%\renewcommand{\@schapter}[1]{% +\def\@schapter#1{% +\addtocontents{toc}{\xstring\select@language{\main@Arabi@language}}% +\if@rl{\SAV@schapter{\textRL{#1}}}% +\else{\SAV@schapter{\textLR{#1}}}% +\fi} + + + + +%% Wa added a line to the TOC to select the TOCLAnguage after a test with \cs{if@rlmain} +%% Then we protect the \#7 argument according to the +%% <TOC language> +%% Now the starred forms of the \cs{section} family work too. +%% Taken and modified from Latex.ltx +%% +\def\@sect#1#2#3#4#5#6[#7]#8{% + \ifnum #2>\c@secnumdepth + \let\@svsec\@empty + \else + \refstepcounter{#1}% + \protected@edef\@svsec{\@seccntformat{#1}\relax}% + \fi + \@tempskipa #5\relax + \ifdim \@tempskipa>\z@ + \begingroup + #6{% + \@hangfrom{\hskip #3\relax\@svsec}% + \interlinepenalty \@M #8\@@par}% + \endgroup + \csname #1mark\endcsname{#7}% + \addtocontents{toc}{\xstring\select@language{\main@Arabi@language}}% + \addcontentsline{toc}{#1}{% + \ifnum #2>\c@secnumdepth \else + \protect\numberline{\csname the#1\endcsname}% + \fi + \if@rl\textRL{#7}\else\textLR{#7}\fi}% + \else + \def\@svsechd{% + #6{\hskip #3\relax + \@svsec #8}% + \csname #1mark\endcsname{#7}% + \addtocontents{toc}{\xstring\select@language{\main@Arabi@language}}% + \addcontentsline{toc}{#1}{% + \ifnum #2>\c@secnumdepth \else + \protect\numberline{\csname the#1\endcsname}% + \fi + \if@rl\textRL{#7}\else\textLR{#7}\fi}}% + \fi + \@xsect{#5}% +} + + +%% Whenever \leftskip or rightskip add a test \if@rlmain and +%% swap the two. Also format the page number \#5 according to the +%% <TOC language> +%% See Latex.ltx classes.dvi and +%% see page 32 of the LaTeX companion Ed. 1 +%% +\def\@dottedtocline#1#2#3#4#5{% + \ifnum #1>\c@tocdepth \else + \vskip \z@ \@plus.2\p@ + {\if@rlmain\rightskip\else\leftskip\fi #2\relax + \if@rlmain\leftskip\else\rightskip\fi \@tocrmarg \parfillskip + -\if@rlmain\leftskip\else\rightskip\fi + \parindent #2\relax\@afterindenttrue + \interlinepenalty\@M + \leavevmode + \@tempdima #3\relax + \advance\if@rlmain\rightskip\else\leftskip\fi \@tempdima + \null\nobreak\hskip -\if@rlmain\rightskip\else\leftskip\fi + {#4}\nobreak + \leaders\hbox{$\m@th + \mkern \@dotsep mu\hbox{.}\mkern \@dotsep + mu$}\hfill + \nobreak + \hb@xt@\@pnumwidth{\hfil\normalfont \normalcolor \if@rlmain\I{#5}\else\textLR{#5}\fi}% + \par}% + \fi} + + + + +%% We redefine \l@part to avoid a bad space that occurs with the normal layout +%% +\@ifclassloaded{book}{% +\let\SAV@l@part\l@part %in the case where needed .... +\renewcommand*\l@part[2]{\ifnum \c@tocdepth >\m@ne + \addpenalty{-\@highpenalty}% + \vskip 1.0em \@plus\p@ + \setlength\@tempdima{1.5em}% + \begingroup + \parindent \z@ \rightskip \@pnumwidth + \parfillskip -\@pnumwidth + \leavevmode \bfseries + \advance\leftskip\@tempdima + \hskip -\leftskip + {\leavevmode + \Large #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}}\par + \penalty\@highpenalty + \endgroup + \fi} +}{} + + +\let\SAV@tableofcontents\tableofcontents +\renewcommand{\tableofcontents}{{\select@language{\main@Arabi@language}\SAV@tableofcontents}} + +%\listoffigures +%\listoftables + + + + + + + + + +% +% Temporary partial support of \cs{Arabi} for amsbook class +% +\@ifclassloaded{amsbook}{ +\def\@sect#1#2#3#4#5#6[#7]#8{% + \edef\@toclevel{\ifnum#2=\@m 0\else\number#2\fi}% + \ifnum #2>\c@secnumdepth \let\@secnumber\@empty + \else \@xp\let\@xp\@secnumber\csname the#1\endcsname\fi + \@tempskipa #5\relax + \ifnum #2>\c@secnumdepth + \let\@svsec\@empty + \else + \refstepcounter{#1}% + \edef\@secnumpunct{% + \ifdim\@tempskipa>\z@ % not a run-in section heading + \@ifnotempty{#8}{.\@nx\enspace}% + \else + \@ifempty{#8}{.}{.\@nx\enspace}% + \fi + }% + \protected@edef\@svsec{% + \ifnum#2<\@m + \@ifundefined{#1name}{}{% + \ignorespaces\csname #1name\endcsname\space + }% + \fi + \@seccntformat{#1}% + }% + \fi + \ifdim \@tempskipa>\z@ % then this is not a run-in section heading + \begingroup #6\relax + \@hangfrom{\hskip #3\relax\@svsec}{\interlinepenalty\@M #8\par}% + \endgroup + \csname #1mark\endcsname{#7}% + \ifnum#2>\@m \else \addtocontents{toc}{\xstring\select@language{\main@Arabi@language}} + \@tocwrite{#1}{\if@rl\textRL{#8}\else\textLR{#8}\fi}\fi + \else + \def\@svsechd{#6\hskip #3\@svsec + \@ifnotempty{#8}{\ignorespaces#8\unskip + \@addpunct.}% + \ifnum#2>\@m \else \addtocontents{toc}{\xstring\select@language{\main@Arabi@language}} + \@tocwrite{#1}{\if@rl\textRL{#8}\else\textLR{#8}\fi}\fi + }% + \fi + \global\@nobreaktrue + \@xsect{#5}}% +}{} + +% +% We change \alph{counter} so that we get abjad numerals instead, +% we change \Alph{counter} to get abjad numerals since no Uppercase +% exists in Arabic, just to avoid bad surprises. +% +% Good for Farsi? Change!? +% + +\let\latin@Alph\Alph +\let\latin@alph\alph +\def\arabic@alph#1{\expandafter\abjadnumeral\expandafter{\number#1}} +\def\arabic@Alph#1{\expandafter\abjadnumeral\expandafter{\number#1}} +\addto\extrasfarsi{% +\def\alph#1{\expandafter\abjadnumeral\csname c@#1\endcsname} +\def\Alph#1{\expandafter\abjadnumeral\csname c@#1\endcsname} +} + +\addto\noextrasfarsi{% + \let\alph\latin@alph + \let\Alph\latin@Alph} + + + +\@ifclassloaded{book}{%book +\renewcommand{\thechapter}{\if@rl\protect\I{\number\c@chapter}\else\protect\textLR{\number\c@chapter}\fi} +}{%not book +\@ifclassloaded{amsbook}{%amsbook +\renewcommand{\thechapter}{\if@rl\protect\I{\number\c@chapter}\else\protect\textLR{\number\c@chapter}\fi} +}{}} + + +\@ifclassloaded{book}{%book +\let\SAV@thepart\thepart +\renewcommand{\thepart}{\if@rl\protect\abjadnumeral{\number\c@part}% +\else\protect\textLR{\SAV@thepart}\fi}% +}{%not book +\@ifclassloaded{amsbook}{%amsbook +\renewcommand{\thepart}{\if@rl\protect\abjadnumeral{\number\c@part}% +\else\protect\textLR{\SAV@thepart}\fi}% +}{}} + + +% **************************************** +% * PAGE STYLES * +% **************************************** + + +%%%%%%%%% from latex.ltx +%% \ps@empty does not need any fix +\def\ps@plain{\let\@mkboth\@gobbletwo + \let\@oddhead\@empty\def\@oddfoot{\reset@font\hfil\if@rlmain + \I{\thepage}\else\textLR{\thepage}\fi + \hfil}\let\@evenhead\@empty\let\@evenfoot\@oddfoot} + + + +% +% Temporary solution TODO +% +\def\ps@headings{\ps@plain} + + + + + + + + +% +\def\ps@myheadings{% +\gdef\thepage{% +\protect\if@rlmain\protect\I{\number\c@page}% +\protect\else\protect\textLR{\number\c@page}% +\protect\fi}% + \let\@oddfoot\@empty\let\@evenfoot\@empty + \def\@evenhead{\thepage\hfil\slshape\leftmark}% + \def\@oddhead{{\slshape\rightmark}\hfil\thepage}% + \let\@mkboth\@gobbletwo + \let\chaptermark\@gobble + \let\sectionmark\@gobble + \let\subsectionmark\@gobble + } +% +% + + +\let\SAV@ps@plain\ps@plain +\let\SAV@ps@myheadings\ps@myheadings +\let\SAV@ps@headings\ps@headings +% +\def\ps@plain{\ps@empty% +\gdef\thepage{\protect\if@rlmain\protect\I{\number\c@page}% +\protect\else\protect\textLR{\number\c@page}% +\protect\fi}% +\SAV@ps@plain} +% +\def\ps@myheadings{\ps@empty% +\gdef\thepage{% +\protect\if@rlmain\protect\I{\number\c@page}% +\protect\else\protect\textLR{\number\c@page}% +\protect\fi}% +\SAV@ps@myheadings} +% +\def\ps@headings{\ps@empty% +\gdef\thepage{% +\protect\if@rlmain\protect\I{\number\c@page}% +\protect\else\protect\textLR{\number\c@page}% +\protect\fi}% +\SAV@ps@headings} + + + + + + +%********************************************************************* +% TODO +% Referencing +% +% CHAPTERS (in part) +% +% SECTIONS (in part) +% +% +% Arabize some counters +% +\@ifclassloaded{letter}{}{%not letter +\@ifclassloaded{slide}{}{%not slide +\@ifclassloaded{article}{% +\def\thesection{\protect\if@rl\protect\I{\number\c@section}% +\protect\else\protect\textLR{\number\c@section}% +\protect\fi} +\def\thesubsection{\protect\if@rl\protect\I{\number\c@subsection.\number\c@section}% +\protect\else\protect\textLR{\number\c@section.\number\c@subsection}% +\protect\fi}% +}{%book or report [or other] +\def\thesection{\protect\if@rl\protect\I{\number\c@section.\number\c@chapter}% +\protect\else\protect\textLR{\number\c@chapter.\number\c@section}% +\protect\fi} +\def\thesubsection{\protect\if@rl\protect\I{\number\c@subsection.\number\c@section.\number\c@chapter}% +\protect\else\protect\textLR{\number\c@chapter.\number\c@section.\number\c@subsection}% +\protect\fi}% +}}}% + +% +% Specific to Hyperref +% TODO +% + + +% +% LISTS +% +\def\list#1#2{% + \ifnum \@listdepth >5\relax + \@toodeep + \else + \global\advance\@listdepth\@ne + \fi + \rightmargin\z@ + \listparindent\z@ + \itemindent\z@ + \csname @list\romannumeral\the\@listdepth\endcsname + \def\@itemlabel{#1}% + \let\makelabel\@mklab + \@nmbrlistfalse + #2\relax + \@trivlist + \parskip\parsep + \parindent\listparindent + \advance\linewidth -\rightmargin + \advance\linewidth -\leftmargin + \if@rl + \advance\@totalleftmargin \rightmargin + \else + \advance\@totalleftmargin \leftmargin + \fi + \parshape \@ne \@totalleftmargin \linewidth + \ignorespaces} +% +%%%%%%%%%%%%%%%%%%%%%% ENUMERATE %%%%%%%%%%%%%%%%%%%%%%%%%%% +% +% In the ``second level'' of an enumeration, which uses +% (\@alph) by default in \LaTeX +% latin alphabet and parenthese, we use abjad numerals. +% Should we add parentheses to abjad numerals in \labelenumii ?? +% They look bad with arabic abjad numerals, +% so parentheses are just suppressed! A "dot" is added after. +% +% We do the same for the ``fourth level'' which uses \@Alph +% uppercase latin alphabet, withoutout parentheses. +% +% We keep the 1st and 3rd levels as in standard LaTeX +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%% the counters +\renewcommand{\theenumii} + {\if@rl\expandafter\abjadnumeral{\number\c@enumii}% + \else\protect\textLR{\protect\@alph{\number\c@enumii}}\fi} + +\renewcommand{\theenumiv} + {\if@rl\expandafter\abjadnumeral{\number\c@enumiv}% + \else\protect\textLR{\protect\@alph{\number\c@enumiv}}\fi} + +%%%%%%%%%%%%%% Now the labels for the items + +\renewcommand{\labelenumi} + {\if@rl(\I{\number\c@enumi}).% + \else{\number\c@enumi}.\fi} + +\renewcommand{\labelenumii} + {\if@rl\abjadnumeral{\number\c@enumii}. % + \else({\number\c@enumii})\fi} + +\renewcommand{\labelenumiii} + {\if@rl\I{\number\c@enumiii}$\space-\space$ % + \else({\number\c@enumiii})\fi} + +\renewcommand{\labelenumiv} + {\if@rl\abjadnumeral{\number\c@enumiv}$\space-\space$ % + \else({\number\c@enumiv})\fi} + + +% \def\theenumii{\arabic{enumii}} +% \def\theenumiii{\arabic{enumiii}} +% \def\theenumiv{\arabic{enumiv}} +% +% + +%%%%%%%%%%%%%%%%%%%%%% ITEMIZE %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +% The itemize four levels are modified. The \textperiodcentred looks too +% "thin" with arabic fonts. We removed it and used new symbols +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\renewcommand{\labelitemi} + {\if@rl\protect\textLR{$\bullet$} % + \else\protect\textbullet\fi} + +\renewcommand{\labelitemii} + {\if@rl\protect\textLR{$\circ$} % + \else\protect\textLR{ \normalfont\bfseries\textendash}\fi} + +\renewcommand{\labelitemiii} + {\if@rl\protect\textLR{$*$} % + \else\protect\textasteriskcentered\fi} + +\renewcommand{\labelitemiv} + {\if@rl\protect $-$ % + \else\protect\textperiodcentred\fi} + + + + + + +%%%%%%%%%%%%%%%%%%%%%% DESCRIPTION %%%%%%%%%%%%%%%%%%%%%%%%% +% +% should change the \texttradb with the more logical \bfseries +% in the case the user use an other font family but seems not to work all +% the time !! +\def \descriptionlabel #1{\if@rl{\if@farsi\textFR{\textbf{#1}}\else\textRL{\textbf{#1}}\fi\hskip \labelsep}% + \else{\hspace\labelsep \normalfont{\bfseries #1}}% +\fi} + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% The patch to get correct captions for figures and Tables +% Adapted from "book.cls" +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +%%%%%%%%%%% First from latex.ltx %%%%%%%%%%%%%%%%%%%%%%%%%% + +\long\def\@caption#1[#2]#3{% + \par + \addtocontents{\csname ext@#1\endcsname}{\xstring\select@language{\main@Arabi@language}}% + \addcontentsline{\csname ext@#1\endcsname}{#1}% + {\protect\numberline{\csname the#1\endcsname}{\ignorespaces \if@rl{\textRL{#2}}\else\textLR{#2}\fi}}% + \begingroup + \@parboxrestore + \if@minipage + \@setminipage + \fi + \normalsize + \@makecaption{\csname fnum@#1\endcsname}{\ignorespaces \if@rl{\textRL{#3}}\else\textLR{#3}\fi}\par + \endgroup} + + + + +\newsavebox\@Arabitempboxa + +\long\def\@makecaption#1#2{% + \vskip\abovecaptionskip + \sbox\@tempboxa{#1: #2}% + \sbox\@Arabitempboxa{\textRL{#2} : #1}% + \if@rl{ + \ifdim \wd\@Arabitempboxa >\hsize + \textRL{#2} : #1\par + \else + \global \@minipagefalse + \hb@xt@\hsize{\hfil\box\@Arabitempboxa\hfil}% + \fi}\else{ + \ifdim \wd\@tempboxa >\hsize + #1: #2\par + \else + \global \@minipagefalse + \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}% + \fi}\fi + \vskip\belowcaptionskip} + + +\def\fnum@table{\if@rl{\I{\thetable}\nobreakspace\tablename}% +\else +{\tablename\nobreakspace\thetable}% +\fi} + +\def\fnum@figure{\if@rl{\I{\thefigure}\nobreakspace\figurename}% +\else +{\figurename\nobreakspace\thefigure}% +\fi} + + +\@ifclassloaded{letter}{}{%not letter +\@ifclassloaded{slide}{}{%not slide +\@ifclassloaded{article}{% +\def\thetable{\protect\if@rl\protect\I{\number\c@table}% +\protect\else\protect\textLR{\number\c@table}% +\protect\fi}% +\def\thefigure{\protect\if@rl\protect\I{\number\c@figure}% +\protect\else\protect\textLR{\number\c@figure}% +\protect\fi}% +}{%report or book +\def\thetable{\protect\if@rl\protect\I{\number\c@table.\number\c@chapter}% +\protect\else\protect\textLR{\number\c@chapter.\number\c@table}% +\protect\fi} +\def\thefigure{\protect\if@rl\protect\I{\number\c@figure.\number\c@chapter}% +\protect\else\protect\textLR{\number\c@chapter.\number\c@figure}% +\protect\fi} +}%article +}%slide +}%letter + + + + + +% the package \pkg{ifthen} is needed. We test if the font contains a character +% \cs{rial}. Else we define it just to be the \cs{rial} of the font \texttt{nazli] +% which has one +\AtBeginDocument{\RequirePackage{ifthen}} +\newlength{\llahheight} +\newlength{\Decimalheight} + +\DeclareRobustCommand{\llah}{%The Final Glyph + \settoheight{\llahheight}{\llahchar}% + \ifthenelse{\lengthtest{\llahheight=0pt}}% + {\mbox{\textFR{\textnazli{\llahchar{}}}}}% + {\llahchar{}}% + } + +%\DeclareRobustCommand{\llah}{%The Final Glyph +% \llahchar{}}% +% +%\DeclareRobustCommand{\allah}{%The whole word +% \settoheight{\llahheight}{\llahchar}% +% \ifthenelse{\lengthtest{\llahheight=0pt}}% +% {\mbox{\textFR{\textnazli{\alef\llahchar{}}}}}% +% {\alef\llahchar{}}% +% } + +\DeclareRobustCommand{\allah}{%The whole word + \alef\llah{}}% + +\DeclareRobustCommand{\Decimal}{% + \settoheight{\Decimalheight}{\Decimalchar}% + \ifthenelse{\lengthtest{\Decimalheight=0pt}}% + {\mbox{\textFR{\textnazli{\Decimalchar}}}}% + {\Decimalchar}% + } + + +\DeclareRobustCommand{\openguill}{<~} +\DeclareRobustCommand{\closguill}{~>} +% + +% +% TITLE AUTHOR DATE +% +\let\@@title=\title +\renewcommand{\title}[1]{\@@title{\if@rl\beginR #1\endR\else #1\fi}} +\let\@@author=\author +\renewcommand{\author}[1]{\@@author{\if@rl\beginR #1\endR\else #1\fi}} +\let\@@date=\date +\renewcommand{\date}[1]{\@@date{\if@rl\beginR #1\endR\else #1\fi}} + + + + + + + +\AtBeginDocument{% +%%%%%%%%%%%%%%%% require a TeX--XeT/eTeX engine %%%%%%%%%%%% +\ifx\TeXXeTstate\undefined\else% + \TeXXeTstate=1 %ensures that TeX--XeT/eTeX is active +\fi +\ifx\beginL\@undefined% + \newlinechar`\^^J + \typeout{^^JTo avoid this error message,^^J% + run TeX--XeT or e-TeX engine instead of regular TeX.^^J} + \errmessage{Right-to-Left Support Error: use TeX--XeT or e-TeX + engine}% +\fi +} + +\endinput + diff --git a/Master/texmf-dist/tex/latex/arabi/arabiftoday.sty b/Master/texmf-dist/tex/latex/arabi/arabiftoday.sty new file mode 100644 index 00000000000..85175e0377b --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/arabiftoday.sty @@ -0,0 +1,240 @@ +% \iffalse meta-comment +% +% Copyright 2006 Youssef Jabri +% +% +% This file is part of the `Arabi' system. +% ------------------------------------------- +% +% It may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.3b +% 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.3b or later is part of all distributions of LaTeX +% version 2005/12/01 or later. +% +% This file has the LPPL maintenance status "maintained". +% +% +% \fi +% +% Filename: `Arabiftoday.sty' Farsi Jalai date module for use with +% the Arabi package. +% +%% %%%%%%%%%%%%%%%%% MODIFICATION %%%%%%%%%%%%%%%%%%%%%%%%%% +%% just renamed the months properly for use with Arabi +%% Did not want to use any local encoding, so we used the +%% internal glyphs names! +%% And added the control sequence \farsimonth +%% +%% Youssef JABRI January 2006 +%%========================================================== +%% +%% This file is a part of FarsiTeX, a Persian/English typesetting system. +%% +%% Copyright (C) 1996 Hassan Abolhassani +%% Copyright (C) 1996-2001 Roozbeh Pournader <roozbeh@sharif.edu> +%% Copytight (C) 2000-2001 Behdad Esfahbod <behdad@bamdad.org> +%% +%% FarsiTeX is free software; you can redistribute it and/or modify +%% it under the terms of the GNU General Public License as published by +%% the Free Software Foundation; either version 2 of the License, or +%% (at your option) any later version. +%% +%% FarsiTeX is distributed in the hope that it will be useful, +%% but WITHOUT ANY WARRANTY; without even the implied warranty of +%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +%% GNU General Public License for more details. +%% +%% You should have received a copy of the GNU General Public License +%% along with FarsiTeX; if not, write to the Free Software +%% Foundation, 59 Temple Place, Suite 330, Boston, MA 02111-1307, +%% USA. +%% +%% Any licensing or usage questions should be directed to Roozbeh +%% Pournader <roozbeh@sharif.edu>. +%% + +\newif\ifFT@leap \newif\ifFT@kabiseh +\newcount\FT@i \newcount\FT@y \newcount\FT@m \newcount\FT@d +\newcount\FT@latini \newcount\FT@farsii +\newcount\FT@latinii \newcount\FT@farsiii +\newcount\FT@latiniii \newcount\FT@farsiiii +\newcount\FT@latiniv \newcount\FT@farsiiv +\newcount\FT@latinv \newcount\FT@farsiv +\newcount\FT@latinvi \newcount\FT@farsivi +\newcount\FT@latinvii \newcount\FT@farsivii +\newcount\FT@latinviii \newcount\FT@farsiviii +\newcount\FT@latinix \newcount\FT@farsiix +\newcount\FT@latinx \newcount\FT@farsix +\newcount\FT@latinxi \newcount\FT@farsixi +\newcount\FT@latinxii \newcount\FT@farsixii + \newcount\FT@farsixiii + +\newcount\FT@temp +\newcount\FT@temptwo +\newcount\FT@tempthree +\newcount\FT@yModHundred +\newcount\FT@thirtytwo +\newcount\FT@dn +\newcount\FT@sn +\newcount\FT@mminusone + +\def\ftoday{% +\FT@y=\year \FT@m=\month \FT@d=\day +% +\FT@temp=\FT@y +\divide\FT@temp by 100\relax +\multiply\FT@temp by 100\relax +\FT@yModHundred=\FT@y +\advance\FT@yModHundred by -\FT@temp\relax +% +\ifodd\FT@yModHundred + \FT@leapfalse +\else + \FT@temp=\FT@yModHundred + \divide\FT@temp by 2\relax + \ifodd\FT@temp\FT@leapfalse + \else + \ifnum\FT@yModHundred=0% + \FT@temp=\FT@y + \divide\FT@temp by 400\relax + \multiply\FT@temp by 400\relax + \ifnum\FT@y=\FT@temp\FT@leaptrue\else\FT@leapfalse\fi + \else\FT@leaptrue + \fi + \fi +\fi +% +\FT@latini=31\relax +\ifFT@leap + \FT@latinii = 29\relax +\else + \FT@latinii = 28\relax +\fi +\FT@latiniii = 31\relax +\FT@latiniv = 30\relax +\FT@latinv = 31\relax +\FT@latinvi = 30\relax +\FT@latinvii = 31\relax +\FT@latinviii = 31\relax +\FT@latinix = 30\relax +\FT@latinx = 31\relax +\FT@latinxi = 30\relax +\FT@latinxii = 31\relax +% +\FT@thirtytwo=32\relax +% +\FT@temp=\FT@y +\advance\FT@temp by -17\relax +\FT@temptwo=\FT@temp +\divide\FT@temptwo by 33\relax +\multiply\FT@temptwo by 33\relax +\advance\FT@temp by -\FT@temptwo +\ifnum\FT@temp=\FT@thirtytwo\FT@kabisehfalse +\else + \FT@temptwo=\FT@temp + \divide\FT@temptwo by 4\relax + \multiply\FT@temptwo by 4\relax + \advance\FT@temp by -\FT@temptwo + \ifnum\FT@temp=\z@\FT@kabisehtrue\else\FT@kabisehfalse\fi +\fi +% +% --BE +% In fact farsii is equal to the Leap years from a fixed year to the last +% year minus the Kabise years from a fixed year to the last year plus a const. +% +\FT@tempthree=\FT@y % Number of Leap years +\advance\FT@tempthree by -1 +\FT@temp=\FT@tempthree % T := (MY-1) div 4 +\divide\FT@temp by 4\relax +\FT@temptwo=\FT@tempthree % T := T - ((MY-1) div 100) +\divide\FT@temptwo by 100\relax +\advance\FT@temp by -\FT@temptwo +\FT@temptwo=\FT@tempthree % T := T + ((MY-1) div 400) +\divide\FT@temptwo by 400\relax +\advance\FT@temp by \FT@temptwo +\advance\FT@tempthree by -611 % Number of Kabise years +\FT@temptwo=\FT@tempthree % T := T - ((SY+10) div 33) * 8 +\divide\FT@temptwo by 33\relax +\multiply\FT@temptwo by 8\relax +\advance\FT@temp by -\FT@temptwo +\FT@temptwo=\FT@tempthree % +\divide\FT@temptwo by 33\relax +\multiply\FT@temptwo by 33\relax +\advance\FT@tempthree by -\FT@temptwo +\ifnum\FT@tempthree=32\advance\FT@temp by 1\fi % if (SY+10) mod 33=32 then Inc(T); +\divide\FT@tempthree by 4\relax % T := T - ((SY+10) mod 33) div 4 +\advance\FT@temp by -\FT@tempthree +\advance\FT@temp by -137 % T := T - 137 Adjust the value +\FT@farsii=31 +\advance\FT@farsii by -\FT@temp % now 31 - T is the farsii +% +\FT@farsiii = 30\relax +\ifFT@kabiseh + \FT@farsiiii = 30\relax +\else + \FT@farsiiii = 29\relax +\fi +\FT@farsiiv = 31\relax +\FT@farsiv = 31\relax +\FT@farsivi = 31\relax +\FT@farsivii = 31\relax +\FT@farsiviii= 31\relax +\FT@farsiix = 31\relax +\FT@farsix = 30\relax +\FT@farsixi = 30\relax +\FT@farsixii = 30\relax +\FT@farsixiii= 30\relax +% +\FT@dn= 0\relax +\FT@sn= 0\relax +\FT@mminusone=\FT@m +\advance\FT@mminusone by -1\relax +% +\FT@i=0\relax +\ifnum\FT@i < \FT@mminusone +\loop +\advance \FT@i by 1\relax +\advance\FT@dn by \csname FT@latin\romannumeral\the\FT@i\endcsname +\ifnum\FT@i<\FT@mminusone \repeat +\fi +\advance \FT@dn by \FT@d +% +\FT@i=1\relax +\FT@sn = \FT@farsii +\ifnum \FT@sn<\FT@dn +\loop +\advance \FT@i by 1\relax +\advance\FT@sn by \csname FT@farsi\romannumeral\the\FT@i\endcsname +\ifnum \FT@sn<\FT@dn \repeat +\fi +\ifnum \FT@i < 4 + \FT@m = 9 \advance\FT@m by \FT@i + \advance \FT@y by -622\relax +\else + \FT@m = \FT@i \advance \FT@m by -3\relax + \advance \FT@y by -621\relax +\fi +\advance\FT@sn by -\csname FT@farsi\romannumeral\the\FT@i% +\endcsname +\ifnum\FT@i = 1 + \FT@d = \FT@dn \advance \FT@d by 30 \advance\FT@d by -\FT@farsii +\else + \FT@d = \FT@dn \advance \FT@d by -\FT@sn +\fi +\beginL\number\FT@d\endL\space% +%Changedc from here YJ +\farsimonth{\FT@m}\space\beginL\number\FT@y\endL% +} +% added \farsimonth YJ +\def\farsimonth#1{\ifcase#1\or \fa\ra\waw\ra\dal\ya\nun\or +\alef\ra\dal\ya\baa\ha\sheen\taa\or +\kha\ra\dal\alef\dal\or \taa\ya\ra\or +\meem\ra\dal\alef\dal\or +\sheen\ha\ra\ya\waw\ra\or \meem\ha\ra\or +\alefmadda\baa\alef\nun\or \alefmadda\dhal\ra\or +\dal\ya\or \baa\ha\meem\nun\or +\alef\seen\fa\nun\dal\fi} +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/arabnovowel.sty b/Master/texmf-dist/tex/latex/arabi/arabnovowel.sty new file mode 100644 index 00000000000..3a4ab16b867 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/arabnovowel.sty @@ -0,0 +1,202 @@ +% \iffalse meta-comment +% +% Copyright 2006 Youssef Jabri +% +% +% This file is part of the `Arabi' system. +% ------------------------------------------- +% +% It may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.3b +% 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.3b or later is part of all distributions of LaTeX +% version 2005/12/01 or later. +% +% This file has the LPPL maintenance status "maintained". +% +% +% \fi +% +% Filename: `arabnovowel.sty' To vocalize and deVocalize Arabic/Farsi text +% +% +%%%%%%%%%%%%%%%%%%%%%%%% Font Names %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Check if file is loaded and announce file on terminal: +% +\csname ArabnovowelLoaded\endcsname +\let\ArabnovowelLoaded\endinput + + +\ProvidesFile{arabnovowel.sty} + [2005/09/07 v0.1 Arabic dummy vowel slots when needed] + + +% A Flag to dectect later on if we are vocalizing or not +\newif\ifVocalize +% +% Declaring vowels off +% +\DeclareTextCommand{\fathaOFF}{LAE}{} +\DeclareTextCommand{\dammaOFF}{LAE}{} +\DeclareTextCommand{\kasraOFF}{LAE}{} +\DeclareTextCommand{\sukunOFF}{LAE}{} +\DeclareTextCommand{\shaddaOFF}{LAE}{} +% +\DeclareTextCommand{\raffOFF}{LAE}{} +\DeclareTextCommand{\nasbOFF}{LAE}{} +\DeclareTextCommand{\jarrOFF}{LAE}{} +% +\DeclareTextCommand{\shaddanasbOFF}{LAE}{} +\DeclareTextCommand{\shaddaraffOFF}{LAE}{} +\DeclareTextCommand{\shaddajarrOFF}{LAE}{} +% +\DeclareTextCommand{\shaddafathaOFF}{LAE}{} +\DeclareTextCommand{\shaddadammaOFF}{LAE}{} +\DeclareTextCommand{\shaddakasraOFF}{LAE}{} +% +% Declaring Saved vowels for posterior use +% +\DeclareTextSymbol{\nasbSAV}{LAE}{190} +\DeclareTextSymbol{\raffSAV}{LAE}{191} +\DeclareTextSymbol{\jarrSAV}{LAE}{192} +% +\DeclareTextSymbol{\shaddanasbSAV}{LAE}{198} +\DeclareTextSymbol{\shaddaraffSAV}{LAE}{199} +\DeclareTextSymbol{\shaddajarrSAV}{LAE}{200} +% +% Then, Vowels that come anywhere in a word +% +\DeclareTextSymbol{\fathaSAV}{LAE}{97}%{161} +\DeclareTextSymbol{\dammaSAV}{LAE}{117}%{162} +\DeclareTextSymbol{\kasraSAV}{LAE}{105}%{163} +\DeclareTextSymbol{\shaddaSAV}{LAE}{204}%{164} +\DeclareTextSymbol{\sukunSAV}{LAE}{34}%{197}%{} +% +\DeclareTextSymbol{\shaddafathaSAV}{LAE}{201}%169 +\DeclareTextSymbol{\shaddadammaSAV}{LAE}{202}%170 +\DeclareTextSymbol{\shaddakasraSAV}{LAE}{203}%171 +% +% And now for the LFE encoding used by Farsi +% +\DeclareTextCommand{\ffathaOFF}{LFE}{} +\DeclareTextCommand{\fdammaOFF}{LFE}{} +\DeclareTextCommand{\fkasraOFF}{LFE}{} +\DeclareTextCommand{\fsukunOFF}{LFE}{} +\DeclareTextCommand{\fshaddaOFF}{LFE}{} +% +\DeclareTextCommand{\fraffOFF}{LFE}{} +\DeclareTextCommand{\fnasbOFF}{LFE}{} +\DeclareTextCommand{\fjarrOFF}{LFE}{} +% +\DeclareTextCommand{\fshaddanasbOFF}{LFE}{} +\DeclareTextCommand{\fshaddaraffOFF}{LFE}{} +\DeclareTextCommand{\fshaddajarrOFF}{LFE}{} +% +\DeclareTextCommand{\fshaddafathaOFF}{LFE}{} +\DeclareTextCommand{\fshaddadammaOFF}{LFE}{} +\DeclareTextCommand{\fshaddakasraOFF}{LFE}{} +% +% Declaring Saved vowels for posterior use +% +\DeclareTextSymbol{\fnasbSAV}{LFE}{190} +\DeclareTextSymbol{\fraffSAV}{LFE}{191} +\DeclareTextSymbol{\fjarrSAV}{LFE}{192} +% +\DeclareTextSymbol{\fshaddanasbSAV}{LFE}{198} +\DeclareTextSymbol{\fshaddaraffSAV}{LFE}{199} +\DeclareTextSymbol{\fshaddajarrSAV}{LFE}{200} +% +% Then, Vowels that come anywhere in a word +% +\DeclareTextSymbol{\ffathaSAV}{LFE}{97}%{161} +\DeclareTextSymbol{\fdammaSAV}{LFE}{117}%{162} +\DeclareTextSymbol{\fkasraSAV}{LFE}{105}%{163} +\DeclareTextSymbol{\fshaddaSAV}{LFE}{204}%{164} +\DeclareTextSymbol{\fsukunSAV}{LFE}{34}%{197}%{} +% +\DeclareTextSymbol{\fshaddafathaSAV}{LFE}{201}%169 +\DeclareTextSymbol{\fshaddadammaSAV}{LFE}{202}%170 +\DeclareTextSymbol{\fshaddakasraSAV}{LFE}{203}%171 +% +%%%%%%%%%%% An Arabi Strut that does not depend on the font +% and changes with the the same font according the fact the +% text is vocalized or not! +% +\newlength{\ArabiStruthightOFF} +\newlength{\ArabiStrutdepthOFF} +\newlength{\ArabiStruthightON} +\newlength{\ArabiStrutdepthON} +% +\settoheight{\ArabiStruthightOFF}{{\if@farsi\fontencoding{LFE}\else% + \fontencoding{LAE}\fi\selectfont\alefhamza}}% +\settodepth{\ArabiStrutdepthOFF}{{\if@farsi\fontencoding{LFE}\else% + \fontencoding{LAE}\fi\selectfont\Haa}}% +\settoheight{\ArabiStruthightON}{{\if@farsi\fontencoding{LFE}\else% + \fontencoding{LAE}\fi\selectfont\damma}}% +\settodepth{\ArabiStrutdepthON}{{\if@farsi\fontencoding{LFE}\else% + \fontencoding{LAE}\fi\selectfont\kasra}}% +% +% +\def\ArabiStrutON{\rule[\ArabiStrutdepthON]{0pt}{\ArabiStruthightON}} +\def\ArabiStrutOFF{\rule[\ArabiStrutdepthOFF]{0pt}{\ArabiStruthightOFF}} +% +% +% Switching vowels off +% +\def\Novocalize{% +\Vocalizefalse +\renewcommand{\fatha}{\if@farsi\ffathaOFF\else\fathaOFF\fi}% +\renewcommand{\damma}{\if@farsi\fdammaOFF\else\dammaOFF\fi}% +\renewcommand{\kasra}{\if@farsi\fkasraOFF\else\kasraOFF\fi}% +\renewcommand{\sukun}{\if@farsi\fsukunOFF\else\sukunOFF\fi}% +\renewcommand{\shadda}{\if@farsi\fshaddaOFF\else\shaddaOFF\fi}% +% +\renewcommand{\raff}{\if@farsi\fraffOFF\else\raffOFF\fi}% +\renewcommand{\nasb}{\if@farsi\fnasbOFF\else\nasbOFF\fi}% +\renewcommand{\jarr}{\if@farsi\fjarrOFF\else\raffOFF\fi}% +% +\renewcommand{\shaddanasb}{\if@farsi\fshaddanasbOFF\else\shaddanasbOFF\fi}% +\renewcommand{\shaddaraff}{\if@farsi\fshaddaraffOFF\else\shaddaraffOFF\fi}% +\renewcommand{\shaddajarr}{\if@farsi\fshaddajarrOFF\else\shaddajarrOFF\fi}% +% +\renewcommand{\shaddafatha}{\if@farsi\fshaddafathaOFF\else\shaddafathaOFF\fi}% +\renewcommand{\shaddadamma}{\if@farsi\fshaddadammaOFF\else\shaddadammaOFF\fi}% +\renewcommand{\shaddakasra}{\if@farsi\fshaddakasraOFF\else\shaddakasraOFF\fi}% +} +% +% reactivating vowels +% +\def\Vocalize{% +\Vocalizetrue +\renewcommand{\fatha}{\if@farsi\ffathaSAV\else\fathaSAV\fi}% +\renewcommand{\damma}{\if@farsi\fdammaSAV\else\dammaSAV\fi}% +\renewcommand{\kasra}{\if@farsi\fkasraSAV\else\kasraSAV\fi}% +\renewcommand{\sukun}{\if@farsi\fsukunSAV\else\sukunSAV\fi}% +\renewcommand{\shadda}{\if@farsi\fshaddaSAV\else\shaddaSAV\fi}% +% +\renewcommand{\raff}{\if@farsi\fraffSAV\else\raffSAV\fi}% +\renewcommand{\nasb}{\if@farsi\fnasbSAV\else\nasbSAV\fi}% +\renewcommand{\jarr}{\if@farsi\fjarrSAV\else\raffSAV\fi}% +% +\renewcommand{\shaddanasb}{\if@farsi\fshaddanasbSAV\else\shaddanasbSAV\fi}% +\renewcommand{\shaddaraff}{\if@farsi\fshaddaraffSAV\else\shaddaraffSAV\fi}% +\renewcommand{\shaddajarr}{\if@farsi\fshaddajarrSAV\else\shaddajarrSAV\fi}% +% +\renewcommand{\shaddafatha}{\if@farsi\fshaddafathaSAV\else\shaddafathaSAV\fi}% +\renewcommand{\shaddadamma}{\if@farsi\fshaddadammaSAV\else\shaddadammaSAV\fi}% +\renewcommand{\shaddakasra}{\if@farsi\fshaddakasraSAV\else\shaddakasraSAV\fi}% +} +% +% The default value of \cs{Voclaizetrue} and \cs{vocalize} +% +\Vocalizetrue +\Vocalize + + +\def\ArabiStrut{\ifVocalize\ArabiStrutON\else\ArabiStrutOFF\fi} + + + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/arfonts.sty b/Master/texmf-dist/tex/latex/arabi/arfonts.sty new file mode 100644 index 00000000000..0a3db323309 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/arfonts.sty @@ -0,0 +1,191 @@ +% \iffalse meta-comment +% +% Copyright 2006 Youssef Jabri +% +% +% This file is part of the `Arabi' system. +% ------------------------------------------- +% +% It may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.3b +% 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.3b or later is part of all distributions of LaTeX +% version 2005/12/01 or later. +% +% This file has the LPPL maintenance status "maintained". +% +% +% \fi +% +% Filename: `ARfonts.sty' Arabic font ..... +% the Arabi package. +% +%% +\ProvidesPackage{ARfonts}[2006/01/01 Part of the Arabi package] + + +\newif\iffree\newif\ifmixed\newif\ifmscore + +\DeclareOption{free}{\mixedfalse\mscorefalse\freetrue} +\DeclareOption{mixed}{\freefalse\mscorefalse\mixedtrue} +\DeclareOption{mscore}{\freefalse\mixedfalse\mscoretrue} +\ExecuteOptions{free} +\ProcessOptions + +\ifmixed +\DeclareFontFamily{LAE}{\rmdefault}{\hyphenchar\font=-1}% +\DeclareFontShape{LAE}{\rmdefault}{m}{n}{<-> s*[1.25] dtpn }{}%traditionalarabic +\DeclareFontShape{LAE}{\rmdefault}{m}{it}{<-> s*[1.25] aedimnah }{}% +\DeclareFontShape{LAE}{\rmdefault}{m}{sl}{<-> s*[1.25] aedimnah }{}% +\DeclareFontShape{LAE}{\rmdefault}{m}{sc}{<-> s*[1.25] aenada }{}% +% +\DeclareFontShape{LAE}{\rmdefault}{bx}{n}{<-> s*[1.25] traditionalarabicbold }{}% +\DeclareFontShape{LAE}{\rmdefault}{bx}{sl}{<-> s*[1.25] traditionalarabicbold }{}% +\DeclareFontShape{LAE}{\rmdefault}{bx}{it}{<-> s*[1.25] traditionalarabicbold }{}% +%%%% +\DeclareFontShape{LAE}{\rmdefault}{b}{n}{<-> s*[1.25] traditionalarabicbold }{}% +\DeclareFontShape{LAE}{\rmdefault}{b}{sl}{<-> s*[1.25] traditionalarabicbold }{}% +\DeclareFontShape{LAE}{\rmdefault}{b}{it}{<-> s*[1.25] traditionalarabicbold }{}% + +\DeclareFontFamily{LAE}{\sfdefault}{\hyphenchar\font=-1} +\DeclareFontShape{LAE}{\sfdefault}{m}{n}{<-> s*[1.25] arsimpo }{}% +\DeclareFontShape{LAE}{\sfdefault}{m}{it}{<-> s*[1.25] arsimpo }{}% +\DeclareFontShape{LAE}{\sfdefault}{m}{sl}{<-> s*[1.25] arsimpo }{}% +\DeclareFontShape{LAE}{\sfdefault}{m}{sc}{<-> s*[1.25] arsimpo }{}% +% +\DeclareFontShape{LAE}{\sfdefault}{bx}{n}{<-> s*[1.25] arsimpbdo }{}% +\DeclareFontShape{LAE}{\sfdefault}{bx}{sl}{<-> s*[1.25] arsimpbdo }{}% +\DeclareFontShape{LAE}{\sfdefault}{bx}{it}{<-> s*[1.25] arsimpbdo }{}% +\DeclareFontShape{LAE}{\sfdefault}{bx}{sc}{<-> s*[1.25] arsimpbdo }{}% +%%%% +\DeclareFontShape{LAE}{\sfdefault}{b}{n}{<-> s*[1.25] arsimpbdo }{}% +\DeclareFontShape{LAE}{\sfdefault}{b}{sl}{<-> s*[1.25] arsimpbdo }{}% +\DeclareFontShape{LAE}{\sfdefault}{b}{it}{<-> s*[1.25] arsimpbdo }{}% + + +\DeclareFontFamily{LAE}{\ttdefault}{\hyphenchar\font=-1}% +\DeclareFontShape{LAE}{\ttdefault}{m}{n}{<-> s*[1.25] aenice }{}% +\DeclareFontShape{LAE}{\ttdefault}{m}{it}{<-> s*[1.25] aenice }{}% +\DeclareFontShape{LAE}{\ttdefault}{m}{sl}{<-> s*[1.25] aenice }{}% +\DeclareFontShape{LAE}{\ttdefault}{m}{sc}{<-> s*[1.25] aenice }{}% +% +\DeclareFontShape{LAE}{\ttdefault}{bx}{n}{<-> s*[1.25] aegraph }{}% +\DeclareFontShape{LAE}{\ttdefault}{bx}{sl}{<-> s*[1.25] aegraph }{}% +\DeclareFontShape{LAE}{\ttdefault}{bx}{it}{<-> s*[1.25] aegraph }{}% +\DeclareFontShape{LAE}{\ttdefault}{bx}{sc}{<-> s*[1.25] aegraph }{}% +%%%% +\DeclareFontShape{LAE}{\ttdefault}{b}{n}{<-> s*[1.25] aegraph }{}% +\DeclareFontShape{LAE}{\ttdefault}{b}{sl}{<-> s*[1.25] aegraph }{}% +\DeclareFontShape{LAE}{\ttdefault}{b}{it}{<-> s*[1.25] aegraph }{}% +\else +\iffree +\DeclareFontFamily{LAE}{\rmdefault}{\hyphenchar\font=-1}% +\DeclareFontShape{LAE}{\rmdefault}{m}{n}{<-> s*[1.25] aealmohanadb }{}% +\DeclareFontShape{LAE}{\rmdefault}{m}{it}{<-> s*[1.25] aealmohanadbolditalic }{}% +\DeclareFontShape{LAE}{\rmdefault}{m}{sl}{<-> s*[1.25] aealmohanadbolditalic }{}% +\DeclareFontShape{LAE}{\rmdefault}{m}{sc}{<-> s*[1.25] aenada }{}% +% +\DeclareFontShape{LAE}{\rmdefault}{bx}{n}{<-> s*[1.25] ae_almohanad_xxbold }{}% +\DeclareFontShape{LAE}{\rmdefault}{bx}{sl}{<->s*[1.25] aealmohanadbolditalic }{}% +\DeclareFontShape{LAE}{\rmdefault}{bx}{it}{<->s*[1.25] aealmohanadbolditalic }{}% +%%%% +\DeclareFontShape{LAE}{\rmdefault}{b}{n}{<-> s*[1.25] ae_almohanad_xxbold }{}% +\DeclareFontShape{LAE}{\rmdefault}{b}{sl}{<-> s*[1.25] aealmohanadbolditalic }{}% +\DeclareFontShape{LAE}{\rmdefault}{b}{it}{<-> s*[1.25] aealmateen }{}% +% +%%%%%%%%%%%%%%%%%%%%%%% Nice for typewriter type %%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%% and graph for typewriter type Bold face %%%%%%%%%%%%%%%%%%%%%% +\DeclareFontFamily{LAE}{\ttdefault}{\hyphenchar\font=-1} +\DeclareFontShape{LAE}{\ttdefault}{m}{n}{<-> s*[1.25] aenice }{}% +\DeclareFontShape{LAE}{\ttdefault}{m}{sl}{<-> s*[1.25] aenice }{}% +\DeclareFontShape{LAE}{\ttdefault}{m}{it}{<-> s*[1.25] aenice }{}% +\DeclareFontShape{LAE}{\ttdefault}{m}{sc}{<-> s*[1.25] aenice }{}%Andalus for small caps! +% +\DeclareFontShape{LAE}{\ttdefault}{bx}{n}{<-> s*[1.25] aegraph }{}% +\DeclareFontShape{LAE}{\ttdefault}{bx}{sl}{<->s*[1.25] aegraph }{}% +\DeclareFontShape{LAE}{\ttdefault}{bx}{it}{<->s*[1.25] aegraph }{}% +%%%% +\DeclareFontShape{LAE}{\ttdefault}{b}{n}{<-> s*[1.25] aegraph }{}% +\DeclareFontShape{LAE}{\ttdefault}{b}{sl}{<-> s*[1.25] aegraph }{}% +\DeclareFontShape{LAE}{\ttdefault}{b}{it}{<-> s*[1.25] aegraph }{}% +% +%%%%%%%%%%%%%%%%%%%%%%% Sindibad for Sans Serif !! %%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%%%%%%% Didn't find better ?! and looks sans serif +%%%% +\DeclareFontFamily{LAE}{\sfdefault}{\hyphenchar\font=-1}% +\DeclareFontShape{LAE}{\sfdefault}{m}{n}{<-> s*[1.25] aesindibad }{}% +\DeclareFontShape{LAE}{\sfdefault}{m}{sl}{<-> s*[1.25] aesindibad }{}% +\DeclareFontShape{LAE}{\sfdefault}{m}{it}{<-> s*[1.25] aesindibad }{}% +\DeclareFontShape{LAE}{\sfdefault}{m}{sc}{<-> s*[1.25] aesindibad }{}% +% +\DeclareFontShape{LAE}{\sfdefault}{bx}{n}{<-> s*[1.25] aesindibad }{}% +\DeclareFontShape{LAE}{\sfdefault}{bx}{sl}{<->s*[1.25] aesindibad }{}% +\DeclareFontShape{LAE}{\sfdefault}{bx}{it}{<->s*[1.25] aesindibad }{}% +%%%% +\DeclareFontShape{LAE}{\sfdefault}{b}{n}{<-> s*[1.25] aesindibad }{}% +\DeclareFontShape{LAE}{\sfdefault}{b}{sl}{<-> s*[1.25] aesindibad }{}% +\DeclareFontShape{LAE}{\sfdefault}{b}{it}{<-> s*[1.25] aesindibad }{}% +% +\else +\ifmscore +\DeclareFontFamily{LAE}{\rmdefault}{\hyphenchar\font=-1}% +\DeclareFontShape{LAE}{\rmdefault}{m}{n}{<-> s*[1.25] traditionalarabic }{}% +\DeclareFontShape{LAE}{\rmdefault}{m}{it}{<-> s*[1.25] traditionalarabic }{}% +\DeclareFontShape{LAE}{\rmdefault}{m}{sl}{<-> s*[1.25] traditionalarabic }{}% +\DeclareFontShape{LAE}{\rmdefault}{m}{sc}{<-> s*[1.25] andlso }{}% +% +\DeclareFontShape{LAE}{\rmdefault}{bx}{n}{<-> s*[1.25] traditionalarabicbold }{}% +\DeclareFontShape{LAE}{\rmdefault}{bx}{sl}{<->s*[1.25] traditionalarabicbold }{}% +\DeclareFontShape{LAE}{\rmdefault}{bx}{it}{<->s*[1.25] traditionalarabicbold }{}% +%%%% +\DeclareFontShape{LAE}{\rmdefault}{b}{n}{<-> s*[1.25] traditionalarabicbold }{}% +\DeclareFontShape{LAE}{\rmdefault}{b}{sl}{<-> s*[1.25] traditionalarabicbold }{}% +\DeclareFontShape{LAE}{\rmdefault}{b}{it}{<-> s*[1.25] traditionalarabicbold }{}% +% +%%%%%%%%%%%%%%%%%%%%%%% Arial for typewriter type ?! %%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%% Courier seems to have a BAD spacing ?! %%%%%%%%%%%%%%%%%%%%%%%%%% +\DeclareFontFamily{LAE}{\ttdefault}{\hyphenchar\font=-1} +\DeclareFontShape{LAE}{\ttdefault}{m}{n}{<-> s*[1.25] ararial }{}% +\DeclareFontShape{LAE}{\ttdefault}{m}{sl}{<-> s*[1.25] ararial }{}% +\DeclareFontShape{LAE}{\ttdefault}{m}{it}{<-> s*[1.25] ararial }{}% +\DeclareFontShape{LAE}{\ttdefault}{m}{sc}{<-> s*[1.25] andlso }{}%Andalus for small caps! +% +\DeclareFontShape{LAE}{\ttdefault}{bx}{n}{<-> s*[1.25] ararialbd }{}% +\DeclareFontShape{LAE}{\ttdefault}{bx}{sl}{<->s*[1.25] ararialbd }{}% +\DeclareFontShape{LAE}{\ttdefault}{bx}{it}{<->s*[1.25] ararialbd }{}% +%%%% +\DeclareFontShape{LAE}{\ttdefault}{b}{n}{<-> s*[1.25] ararialbd }{}% +\DeclareFontShape{LAE}{\ttdefault}{b}{sl}{<-> s*[1.25] ararialbd }{}% +\DeclareFontShape{LAE}{\ttdefault}{b}{it}{<-> s*[1.25] ararialbd }{}% +% +%%%%%%%%%%%%%%%%%%%%%%% Simplified Arabic for Sans Serif !! %%%%%%%%%%%%%%%%%%%%%%%%%%% +\DeclareFontFamily{LAE}{\sfdefault}{\hyphenchar\font=-1}% +\DeclareFontShape{LAE}{\sfdefault}{m}{n}{<-> s*[1.25] arsimpo }{}% +\DeclareFontShape{LAE}{\sfdefault}{m}{sl}{<-> s*[1.25] arsimpo }{}% +\DeclareFontShape{LAE}{\sfdefault}{m}{it}{<-> s*[1.25] arsimpo }{}% +\DeclareFontShape{LAE}{\sfdefault}{m}{sc}{<-> s*[1.25] arsimpo }{}% +% +\DeclareFontShape{LAE}{\sfdefault}{bx}{n}{<-> s*[1.25] arsimpbdo }{}% +\DeclareFontShape{LAE}{\sfdefault}{bx}{sl}{<->s*[1.25] arsimpbdo }{}% +\DeclareFontShape{LAE}{\sfdefault}{bx}{it}{<->s*[1.25] arsimpbdo }{}% +%%%% +\DeclareFontShape{LAE}{\sfdefault}{b}{n}{<-> s*[1.25] arsimpbdo }{}% +\DeclareFontShape{LAE}{\sfdefault}{b}{sl}{<-> s*[1.25] arsimpbdo }{}% +\DeclareFontShape{LAE}{\sfdefault}{b}{it}{<-> s*[1.25] arsimpbdo }{}% +\fi +\fi +\fi + + + + + + + + + + + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/bblopts.cfg b/Master/texmf-dist/tex/latex/arabi/bblopts.cfg new file mode 100644 index 00000000000..41053b2fc9e --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/bblopts.cfg @@ -0,0 +1,42 @@ +% \iffalse meta-comment +% +% Copyright 2006 Youssef Jabri +% +% +% This file is part of the `Arabi' system. +% ------------------------------------------- +% +% It may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.3b +% 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.3b or later is part of all distributions of LaTeX +% version 2005/12/01 or later. +% +% This file has the LPPL maintenance status "maintained". +% +% +% \fi +% +% Filename: bblopts.cfg +% +% +% +% + + +\ProvidesFile{bblopts.cfg} + [2005/09/08 v0.1 % + add Arabic and Farsi to "declared" options of babel] + + +\DeclareOption{arabic}{% + \input{arabic.ldf} + } + +\DeclareOption{farsi}{% + \input{farsi.ldf} + } + +\endinput
\ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/arabi/calendrierfpar.sty b/Master/texmf-dist/tex/latex/arabi/calendrierfpar.sty new file mode 100644 index 00000000000..6c6ae7ccfe1 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/calendrierfpar.sty @@ -0,0 +1,817 @@ +\def\CalendrierFP@version{Version 0.46, 9 mai 2003} +\message{`Calendrier avec FP', \CalendrierFP@version\space Manuel Luque} +% Requires PSTricks, pstcol, pst-3d, multido, fp packages +\RequirePackage{pstricks} +\RequirePackage{pst-3d} +\RequirePackage{multido} +\RequirePackage{fp} +\FPmessagesfalse +\FPdebugfalse +\RequirePackage{pst-key} +%% Manuel LUQUE <Mluque5130aol.com> %% +%% 1 Octobre 1999 pour le dodécaèdre %% +%% 23 avril 2003 pour le calendrier %% +%% 27 avril : placer une date de son choix +%% suggestion de Jean-Michel Sarlat +%% jours fériés et fêtes : 1 mai 003 %% +%% 1 et 8 mai, 15 août, 1 et 11 novembre, 25 décembre +%% fête de Pâques %% +%% ascension et pentecôte : 8 mai 2003 +\RequirePackage[arabic,english]{babel} +% +\definecolor{RougeA}{cmyk}{0.05,0.1,0.1,0} +\definecolor{RougeB}{cmyk}{0.05,0.15,0.15,0} +\definecolor{RougeC}{cmyk}{0.05,0.2,0.2,0} +\definecolor{RougeD}{cmyk}{0.05,0.25,0.25,0} +\definecolor{RougeE}{cmyk}{0.05,0.3,0.3,0} +\definecolor{RougeF}{cmyk}{0.05,0.35,0.35,0} +\definecolor{RougeG}{cmyk}{0.05,0.4,0.4,0} +\definecolor{RougeH}{cmyk}{0.05,0.45,0.45,0} +\definecolor{RougeI}{cmyk}{0.05,0.5,0.5,0} +\definecolor{RougeJ}{cmyk}{0.05,0.55,0.55,0} +\definecolor{RougeK}{cmyk}{0.05,0.6,0.6,0} +\definecolor{RougeL}{cmyk}{0.1,0.65,0.65,0} +\newpsstyle{holiday}{framesep=2pt,doubleline=true,doublecolor=red,linecolor=red,fillstyle=solid,fillcolor=RougeA} +\SpecialCoor% +\define@key{psset}{Vx}{\edef\psk@Solide@Viewpointx{#1}} +\define@key{psset}{Vy}{\edef\psk@Solide@Viewpointy{#1}} +\define@key{psset}{Vz}{\edef\psk@Solide@Viewpointz{#1}} +\setkeys{psset}{Vx=1,Vy=1,Vz=1} +\def\RA{7.36022}\gdef\rb{5.06525}\gdef\racal{8.19574}% +\gdef\rc{5.06525}\gdef\rd{8.19574} +\newpsstyle{janvier}{Vx=-\rc,Vy=0,Vz=-\rd,viewangle=108} +\newpsstyle{fevrier}{Vx=\rc,Vy=0,Vz=-\rd,viewangle=180} +\newpsstyle{mars}{Vx=0,Vy=-\racal,Vz=-\rb,viewangle=144} +\newpsstyle{avril}{Vx=-\rd,Vy=-\rc,Vz=0,viewangle=162} +\newpsstyle{mai}{Vx=-\rd,Vy=\rc,Vz=0,viewangle=198} +\newpsstyle{juin}{Vx=0,Vy=\racal,Vz=-\rb,viewangle=216} +\newpsstyle{juillet}{Vx=-\rc,Vy=0,Vz=\rd,viewangle=0} +\newpsstyle{aout}{Vx=0,Vy=-\racal,Vz=\rb,viewangle=-36} +\newpsstyle{septembre}{Vx=\rd,Vy=-\rc,Vz=0,viewangle=-18} +\newpsstyle{octobre}{Vx=\rd,Vy=\rc,Vz=0,viewangle=18} +\newpsstyle{novembre}{Vx=0,Vy=\racal,Vz=\rb,viewangle=36} +\newpsstyle{decembre}{Vx=\rc,Vy=0,Vz=\rb,viewangle=0} +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%\newcount\tmpi +%\newcount\tmpii +%\FPset{\tmpi}{0} +%\FPset{\tmpii}{0} +% +% +%\def\Remainder#1#2#3{% +%\FPeval{#3}{(#1)-((#2)*((#1)/(#2)))} +%}% % c = a - b(a/b) +% +%\def\Remainder#1#2#3{% +% #3 = #1% % c = a +% \divide #3 by #2% % c = a/b +% \multiply #3 by -#2% % c = -b(a/b) +% \advance #3 by #1}% % c = a - b(a/b) +%%%%%%%%%%%%%%%%%%%%%%%%%% +% +\def\dodecaedre{% +\@ifnextchar[{\pst@dodecaedre}{\pst@dodecaedre[]}}% +\def\pst@dodecaedre[#1]{{% +\setkeys{psset}{#1}% +\pspicture(-8,-12)(8,12)% +\psset{fillstyle=solid}% +\psset{viewpoint={\psk@Solide@Viewpointx} {\psk@Solide@Viewpointy} {\psk@Solide@Viewpointz}}% +\newcommand{\faceA}{\pspolygon(\RA;18)(\RA;90)(\RA;162)(\RA;234)(\RA;306)} +\newcommand{\faceB}{\pspolygon(\RA;270)(\RA;-18)(\RA;54)(\RA;126)(\RA;198)} +\newcommand{\faceC}{\pspolygon(\RA;0)(\RA;72)(\RA;144)(\RA;216)(\RA;288)} +\newcommand{\faceD}{\pspolygon(\RA;36)(\RA;108)(\RA;180)(\RA;252)(\RA;324)} +%face1 +\FPeval{\Test}{(\psk@Solide@Viewpointx)*(0)+(\psk@Solide@Viewpointy)*(\racal)+(\psk@Solide@Viewpointz)*(\rb)}% +\FPifpos{\Test}\ThreeDput[normal=0 {\racal} {\rb}](0,\racal,\rb){% +\psset{fillcolor=RougeA}\faceA\rput{36}{\rput(-1.8,0){\Calendrier[Mois=11]}}}\fi +%face2 +\FPeval{\Test}{(\psk@Solide@Viewpointx)*(0)-(\psk@Solide@Viewpointy)*(\racal)+(\psk@Solide@Viewpointz)*(\rb)}% +\FPifpos{\Test}\ThreeDput[normal=0 {-\racal} {\rb}](0,-\racal,\rb){% +\psset{fillcolor=RougeB}\faceA\rput{-36}{\rput(-1.8,0){\Calendrier[Mois=8]}}}\fi +%face3 +\FPeval{\Test}{(\psk@Solide@Viewpointx)*(0)+(\psk@Solide@Viewpointy)*(\racal)-(\psk@Solide@Viewpointz)*(\rb)}% +\FPifpos{\Test}\ThreeDput[normal=0 {\racal} {-\rb}](0,\racal,-\rb){% +\psset{fillcolor=RougeC}\faceB\rput{216}{\rput(-1.8,0){\Calendrier[Mois=6]}}}\fi +%face4 +\FPeval{\Test}{(\psk@Solide@Viewpointx)*(0)-(\psk@Solide@Viewpointy)*(\racal)-(\psk@Solide@Viewpointz)*(\rb)}% +\FPifpos{\Test}\ThreeDput[normal=0 {-\racal} {-\rb}](0,-\racal,-\rb){% +\psset{fillcolor=RougeD}\faceB\rput{144}{\rput(-1.8,0){\Calendrier[Mois=3]}}}\fi% +%face 5 +\FPeval{\Test}{(\psk@Solide@Viewpointx)*(\rc)+(\psk@Solide@Viewpointy)*(0)+(\psk@Solide@Viewpointz)*(\rd)}% +\FPifpos{\Test}\ThreeDput[normal={\rc} 0 {\rd}](\rc,0,\rd){% +\psset{fillcolor=RougeE}\faceB\rput(-1.8,0){\Calendrier[Mois=12]}}\fi +%face6 +\FPeval{\Test}{(\psk@Solide@Viewpointx)*(-\rc)+(\psk@Solide@Viewpointy)*(0)+(\psk@Solide@Viewpointz)*(\rd)}% +\FPifpos{\Test}\ThreeDput[normal={-\rc} 0 {\rd}](-\rc,0,\rd){% +\psset{fillcolor=RougeF}\faceB\rput{0}{\rput(-1.8,0){\Calendrier[Mois=7]}}}\fi +%face7 +\FPeval{\Test}{(\psk@Solide@Viewpointx)*(\rc)+(\psk@Solide@Viewpointy)*(0)-(\psk@Solide@Viewpointz)*(\rd)}% +\FPifpos{\Test}\ThreeDput[normal={\rc} 0 {-\rd}](\rc,0,-\rd){% +\psset{fillcolor=RougeG}\faceA\rput{180}{\rput(-1.8,0){\Calendrier[Mois=2]}}}\fi +%face8 +\FPeval{\Test}{(\psk@Solide@Viewpointx)*(-\rc)+(\psk@Solide@Viewpointy)*(0)-(\psk@Solide@Viewpointz)*(\rd)}% +\FPifpos{\Test}\ThreeDput[normal={-\rc} 0 {-\rd}](-\rc,0,-\rd){% +\psset{fillcolor=RougeH}\faceA\rput{108}{\rput(-1.8,0){\Calendrier[Mois=1]}}}\fi% +%face 9 +\FPeval{\Test}{(\psk@Solide@Viewpointx)*(\rd)+(\psk@Solide@Viewpointy)*(\rc)+(\psk@Solide@Viewpointz)*(0)}% +\FPifpos{\Test}\ThreeDput[normal={\rd} {\rc} 0](\rd,\rc,0){% +\psset{fillcolor=RougeI}\faceC\rput{18}{\rput(-1.8,0){\Calendrier[Mois=10]}}}\fi +%face10 +\FPeval{\Test}{(\psk@Solide@Viewpointx)*(-\rd)+(\psk@Solide@Viewpointy)*(\rc)+(\psk@Solide@Viewpointz)*(0)}% +\FPifpos{\Test}\ThreeDput[normal={-\rd} {\rc} 0](-\rd,\rc,0){% +\psset{fillcolor=RougeJ}\faceD\rput{198}{\rput(-1.8,0){\Calendrier[Mois=5]}}}\fi +%face11 +\FPeval{\Test}{(\psk@Solide@Viewpointx)*(\rd)-(\psk@Solide@Viewpointy)*(\rc)+(\psk@Solide@Viewpointz)*(0)}% +\FPifpos{\Test}\ThreeDput[normal={\rd} {-\rc} 0](\rd,-\rc,0){% +\psset{fillcolor=RougeK}\faceD\rput{-18}{\rput(-1.8,0){\Calendrier[Mois=9]}}}\fi +%face8 +\FPeval{\Test}{(\psk@Solide@Viewpointx)*(-\rd)+(\psk@Solide@Viewpointz)*(0)-(\psk@Solide@Viewpointy)*(\rc)}% +\FPifpos{\Test}\ThreeDput[normal={-\rd} {-\rc} 0](-\rd,-\rc,0){% +\psset{fillcolor=RougeL}\faceC\rput{162}{\rput(-1.8,0){\Calendrier[Mois=4]}}}\fi% +\endpspicture +}} +% +\define@key{psset}{Jour}{\edef\psk@CalendrierJ{#1}} +\define@key{psset}{MoisChoisi}{\edef\psk@CalendrierMchoix{#1}} +\define@key{psset}{Mois}{\edef\psk@CalendrierM{#1}} +\define@key{psset}{An}{\edef\psk@CalendrierA{#1}} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\setkeys{psset}{Jour=\number\day,Mois=\number\month,MoisChoisi=\number\month,An=\number\year} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +% +\newcount\colonne\newcount\ligne + +\def\Calendrier{\@ifnextchar[{\pst@Calendrier}{\pst@Calendrier[]}} + +\def\pst@Calendrier[#1]{{% +\setkeys{psset}{#1} +% calcul de la date de Pâques +% lundi de Pâques +\FPset{\Year}{\psk@CalendrierA} +\FPeval\GY{(\Year)-19*trunc((\Year)/19,0)} +\FPeval{\Cent}{trunc((\Year)/100,0)} +\FPeval{\Iter}{trunc((\Cent)-trunc((\Cent)/4,0)-trunc((8*(\Cent)+13)/25,0)+ + (\GY)*19+15,0)} +\FPeval{\Iterdiv}{trunc((\Iter)/30,0)} +\FPeval\Hepact{(\Iter)-30*(\Iterdiv)} +\FPeval\Inbre{trunc((\Hepact)-trunc((\Hepact)/28,0)* + (1-trunc((\Hepact)/28,0))*(trunc(29/((\Hepact)+1),0)*trunc((21-(\GY))/11,0)),0)} +\FPeval\Jnbreinter{trunc((\Year)+trunc((\Year)/4,0)+(\Inbre)+2-(\Cent)+trunc((\Cent)/4,0),0)} +\FPeval\Jnbre{trunc((\Jnbreinter)-7*trunc((\Jnbreinter)/7,0),0)} +\FPeval\Lnbre{trunc((\Inbre)-(\Jnbre),0)} +\FPeval\Month{trunc(3+trunc(((\Lnbre)+40)/44,0),0)} +\FPeval\Day{trunc((\Lnbre)+28-31*trunc((\Month)/4,0),0)} +\ifnum\Month=4 + \ifnum\Day>25 \FPeval{\Day}{trunc((\Day)-7,0)} % dimanche de Pâques +% \ifnum\Day>25 \FPeval{\Day}{trunc((\Day)-6,0)} % Lundi de Pâques +% \else +% \FPeval{\Day}{trunc((\Day)+1,0)} % Lundi de Pâques + \fi +\fi +\ifnum\Month=3 + \ifnum\Day=32 \FPset{\Day}{1}\FPset{\Month}{4}% +% \else +% \FPeval{\Day}{trunc((\Day)+1,0)} % Lundi + \fi +\fi +% +% calcul du jour de l'ascension +% si Pâques tombe au mois d'avril, faire (39-30)+\Day = 9+\Day +% pour le jour du mois de mai de l'ascension +\ifnum\Month=4 +\FPeval\DayAscension{trunc((\Day)+9,0)} +\FPeval\MonthAscension{trunc((\Month)+1,0)} +% Ascension le \FPprint\DayAscension/\FPprint\MonthAscension/\FPprint\Year +\FPeval\TestJourPentecote{trunc((\DayAscension)+10,0)} + \ifnum\TestJourPentecote>31 + \FPeval\DayPentecote{trunc((\TestJourPentecote)-31,0)} + \FPeval\MonthPentecote{trunc((\Month)+2,0)} + \else + \FPset{\DayPentecote}{\TestJourPentecote} + \FPset\MonthPentecote{\MonthAscension} + \fi + +% Pentec\^ote le \FPprint\DayPentecote/\FPprint\MonthPentecote/\FPprint\Year +\fi + +% Dans le cas où Pâques tombe en mars +% (39-30)+\Day=8+\Day +% si 8+\Day<ou=30 on reste en avril +% \DayAscension=8+\Day +% \MonthAscension=4 +% Pentcôte est 10 jours après l'ascension +\ifnum\Month=3 +\FPeval\TestSiJourAvril{trunc((\Day)+8,0)} +\ifnum\TestSiJourAvril<30 + \FPeval\MonthAscension{trunc((\Month)+1,0)} + \FPeval\DayAscension{trunc(8+(\Day),0)} + \else + \FPeval\DayAscension{trunc((\Day)-22,0)} + \FPeval\MonthAscension{trunc((\Month)+2,0)} +\fi + \FPeval\TestJourPentecote{trunc((\DayAscension)+10,0)} + \ifnum\MonthAscension=4 + \ifnum\TestJourPentecote<31 + \FPset{\DayPentecote}{\TestJourPentecote} + \FPset\MonthPentecote{4} + \else + \FPeval\DayPentecote{trunc((\TestJourPentecote)-30,0)} + \FPset\MonthPentecote{5} + \fi + \fi + \ifnum\MonthAscension=5 + \FPeval\DayPentecote{trunc((\DayAscension)+10,0)} + \FPset\MonthPentecote{5} + \fi +\fi +% +% test d'une année bissextile +\FPeval{\YearBissextil}{(((\psk@CalendrierA)*11)+14)/30} +\FPtrunc{\YearBissextil}{\YearBissextil}{0} +\FPiflt{\YearBissextil}{11}\FPset{\YearBissextil}{1}\else\FPset{\YearBissextil}{0}\fi +% +\ifnum\psk@CalendrierM=1\def\adddays{0}\def\Name{\meem\Haa\ra\meem}\def\NbreJours{30}\fi +\ifnum\psk@CalendrierM=2\def\adddays{30}\def\Name{\sad\fa\ra}\def\NbreJours{29}\fi +\ifnum\psk@CalendrierM=3\def\adddays{59}% +\def\Name{\ra\baa\ya\ayn\space\alef\lam\alefhamza\waw\lam}\def\NbreJours{30}\fi +\ifnum\psk@CalendrierM=4\def\adddays{89}% +\def\Name{\ra\baa\ya\ayn\space\alef\lam\thaa\alef\nun\ya}\def\NbreJours{29}\fi +\ifnum\psk@CalendrierM=5\def\adddays{118}% +\def\Name{\jeem\meem\alef\dal\alefmaqsura\space\alef\lam\alefhamza\waw\lam\alefmaqsura}\def\NbreJours{30}\fi +\ifnum\psk@CalendrierM=6\def\adddays{148}% +\def\Name{\jeem\meem\alef\dal\alefmaqsura\space\alef\lam\thaa\alef\nun\ya\T}\def\NbreJours{29}\fi +\ifnum\psk@CalendrierM=7\def\adddays{177}% +\def\Name{\ra\jeem\baa}\def\NbreJours{30}\fi +\ifnum\psk@CalendrierM=8 + \ifnum\YearBissextil=\psk@CalendrierA\def\adddays{207}\else\def\adddays{207}\fi +\def\Name{\sheen\ayn\baa\alef\nun}\def\NbreJours{29}\fi +\ifnum\psk@CalendrierM=9\def\adddays{236}% +\def\Name{\ra\meem\dad\alef\nun}\def\NbreJours{30}\fi +\ifnum\psk@CalendrierM=10\def\adddays{266}% +\def\Name{\sheen\waw\alef\lam}\def\NbreJours{29}\fi +\ifnum\psk@CalendrierM=11\def\adddays{295}% +\def\Name{\dhal\waw\space\alef\lam\qaf\ayn\dal\T}\def\NbreJours{30}\fi +\ifnum\psk@CalendrierM=12\def\adddays{325}% +\def\Name{\dhal\waw\space\alef\lam\Haa\jeem\T}% + \ifnum\YearBissextil=1\def\NbreJours{30}\else\def\NbreJours{29} +\fi\fi +% +%\ifnum\YearBissextil=\psk@CalendrierA +% \FPeval{\NbYearBissextil}{((\psk@CalendrierA)-2000)/4} +% \FPtrunc{\NbYearBissextil}{\NbYearBissextil}{0} +% \else +% \FPeval{\NbYearBissextil}{((\psk@CalendrierA)-2000)/4+1} +% \FPtrunc{\NbYearBissextil}{\NbYearBissextil}{0} +%\fi +%% le 1 Moharram 1400 est un samedi : Nbdays=6 +%\FPeval{\NbDays}{6+(((\psk@CalendrierA)-1400))*4% each normal year +4 days, 354=50*7+4 +%+(\NbYearBissextil)%each 30 years 11 bisextil ones +%+(\adddays)} +%% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\FPeval{\tmpii}{(\psk@CalendrierA)/210} +\FPtrunc{\tmpii}{\tmpii}{0} +\FPeval{\tmpi}{(\psk@CalendrierA)-((210)*(\tmpii))} +\FPclip{\rest}{\tmpi} +\message{the rest is \rest} +\FPeval{\tmpii}{\tmpi/30}% +\FPtrunc{\tmpii}{\tmpii}{0}% %<<<<<<<<<<<< Vertical entry D: 0 4 1 5 2 6 3 +\FPeval{\difference}{(((\tmpii)+1)*30)-(\tmpi)}%<<<< horizontal entry +\FPclip{\difference}{\difference} +\message{the difference is \difference}% +%%% colon 7 +\FPifeq{\tmpii}{0}% +%%%% row 1 +%\FPifeq{\difference}{8} +%\FPset{\firstDay}{6} +%\else +%\FPifeq{\difference}{16} +%\FPset{\firstDay}{6} +%\else +%\FPifeq{\difference}{5} +%\FPset{\firstDay}{6} +%\else +%\FPifeq{\difference}{13} +%\FPset{\firstDay}{6} +%\else +%\FPifeq{\difference}{21} +%\FPset{\firstDay}{6} +%\else +%\FPifeq{\difference}{29} +%\FPset{\firstDay}{6} +%\else %%%%%%%%%%% +%%%% row 2 +%\FPifeq{\difference}{2} +%\FPset{\firstDay}{7} +%\else +%\FPifeq{\difference}{10} +%\FPset{\firstDay}{7} +%\else +%\FPifeq{\difference}{18} +%\FPset{\firstDay}{7} +%\else +%\FPifeq{\difference}{26} +%\FPset{\firstDay}{7} +%\else +%%%% row 3 +%\FPifeq{\difference}{23} +%\FPset{\firstDay}{1} +%\else +%\FPifeq{\difference}{6} +%\FPset{\firstDay}{1} +%\else +%\FPifeq{\difference}{14} +%\FPset{\firstDay}{1} +%\else +%%%% row 4 +%\FPifeq{\difference}{4} +%\FPset{\firstDay}{2} +%\else +%\FPifeq{\difference}{12} +%\FPset{\firstDay}{2} +%\else +%\FPifeq{\difference}{20} +%\FPset{\firstDay}{2} +%\else +%\FPifeq{\difference}{28} +%\FPset{\firstDay}{2} +%\else +%%%% row 5 +%\FPifeq{\difference}{1} +%\FPset{\firstDay}{3} +%\else +%\FPifeq{\difference}{9} +%\FPset{\firstDay}{3} +%\else +%\FPifeq{\difference}{17} +%\FPset{\firstDay}{3} +%\else +%\FPifeq{\difference}{25} +%\FPset{\firstDay}{3} +%\else +%%%% row 6 +%\FPifeq{\difference}{6} +%\FPset{\firstDay}{4} +%\else +%\FPifeq{\difference}{14} +%\FPset{\firstDay}{4} +%\else +%\FPifeq{\difference}{22} +%\FPset{\firstDay}{4} +%\else +%\FPifeq{\difference}{30} %<<<<<<<<<<<<<<< or 0 +%\FPset{\firstDay}{4} +%\else +%%%% row 7 +%\FPifeq{\difference}{3} +%\FPset{\firstDay}{5} +%\else +%\FPifeq{\difference}{11} +%\FPset{\firstDay}{5} +%\else +%\FPifeq{\difference}{19} +%\FPset{\firstDay}{5} +%\else +%\FPifeq{\difference}{27} +%\FPset{\firstDay}{5} +%\else +%\FPifeq{\difference}{24} +%\FPset{\firstDay}{5} +%\fi\fi\fi\fi\fi%row 7 +%\fi\fi\fi\fi%row 6 +%\fi\fi\fi\fi%row 5 +%\fi\fi\fi\fi%row 4 +%\fi\fi\fi%row 3 +%\fi\fi\fi\fi%row 2 +\fi\fi\fi\fi\fi\fi%row 1 +\else % colonne 5 +\FPifeq{\tmpii}{1}% +%%% row 1 +%\FPifeq{\difference}{8} +%\FPset{\firstDay}{4} +%\else +%\FPifeq{\difference}{16} +%\FPset{\firstDay}{4} +%\else +%\FPifeq{\difference}{5} +%\FPset{\firstDay}{4} +%\else +%\FPifeq{\difference}{13} +%\FPset{\firstDay}{4} +%\else +%\FPifeq{\difference}{21} +%\FPset{\firstDay}{4} +%\else +%\FPifeq{\difference}{29} +%\FPset{\firstDay}{4} +%\else %%%%%%%%%%% +%%%% row 2 +%\FPifeq{\difference}{2} +%\FPset{\firstDay}{5} +%\else +%\FPifeq{\difference}{10} +%\FPset{\firstDay}{5} +%\else +%\FPifeq{\difference}{18} +%\FPset{\firstDay}{5} +%\else +%\FPifeq{\difference}{26} +%\FPset{\firstDay}{5} +%\else +%%%% row 3 +%\FPifeq{\difference}{23} +%\FPset{\firstDay}{6} +%\else +%\FPifeq{\difference}{6} +%\FPset{\firstDay}{6} +%\else +%\FPifeq{\difference}{14} +%\FPset{\firstDay}{6} +%\else +%%%% row 4 +%\FPifeq{\difference}{4} +%\FPset{\firstDay}{7} +%\else +%\FPifeq{\difference}{12} +%\FPset{\firstDay}{7} +%\else +%\FPifeq{\difference}{20} +%\FPset{\firstDay}{7} +%\else +%\FPifeq{\difference}{28} +%\FPset{\firstDay}{7} +%\else +%%%% row 5 +%\FPifeq{\difference}{1} +%\FPset{\firstDay}{1} +%\else +%\FPifeq{\difference}{9} +%\FPset{\firstDay}{1} +%\else +%\FPifeq{\difference}{17} +%\FPset{\firstDay}{1} +%\else +%\FPifeq{\difference}{25} +%\FPset{\firstDay}{1} +%\else +%%%% row 6 +%\FPifeq{\difference}{6} +%\FPset{\firstDay}{2} +%\else +%\FPifeq{\difference}{14} +%\FPset{\firstDay}{2} +%\else +%\FPifeq{\difference}{22} +%\FPset{\firstDay}{2} +%\else +%\FPifeq{\difference}{30} %<<<<<<<<<<<<<<< or 0 +%\FPset{\firstDay}{2} +%\else +%%%% row 7 +%\FPifeq{\difference}{3} +%\FPset{\firstDay}{3} +%\else +%\FPifeq{\difference}{11} +%\FPset{\firstDay}{3} +%\else +%\FPifeq{\difference}{19} +%\FPset{\firstDay}{3} +%\else +%\FPifeq{\difference}{27} +%\FPset{\firstDay}{3} +%\else +%\FPifeq{\difference}{24} +%\FPset{\firstDay}{3} +%\fi\fi\fi\fi\fi%row 7 +%\fi\fi\fi\fi%row 6 +%\fi\fi\fi\fi%row 5 +%\fi\fi\fi\fi%row 4 +%\fi\fi\fi%row 3 +%\fi\fi\fi\fi%row 2 +%\fi\fi\fi\fi\fi\fi%row 1 +\else % colonne 3 + \FPifeq{\tmpii}{2}% +%%%% row 1 +%\FPifeq{\difference}{8} +%\FPset{\firstDay}{2} +%\else +%\FPifeq{\difference}{16} +%\FPset{\firstDay}{2} +%\else +%\FPifeq{\difference}{5} +%\FPset{\firstDay}{2} +%\else +%\FPifeq{\difference}{13} +%\FPset{\firstDay}{2} +%\else +%\FPifeq{\difference}{21} +%\FPset{\firstDay}{2} +%\else +%\FPifeq{\difference}{29} +%\FPset{\firstDay}{2} +%\else %%%%%%%%%%% +%%%% row 2 +%\FPifeq{\difference}{2} +%\FPset{\firstDay}{3} +%\else +%\FPifeq{\difference}{10} +%\FPset{\firstDay}{3} +%\else +%\FPifeq{\difference}{18} +%\FPset{\firstDay}{3} +%\else +%\FPifeq{\difference}{26} +%\FPset{\firstDay}{3} +%\else +%%%% row 3 +%\FPifeq{\difference}{23} +%\FPset{\firstDay}{4} +%\else +%\FPifeq{\difference}{6} +%\FPset{\firstDay}{4} +%\else +%\FPifeq{\difference}{14} +%\FPset{\firstDay}{4} +%\else +%%%% row 4 +%\FPifeq{\difference}{4} +%\FPset{\firstDay}{5} +%\else +%\FPifeq{\difference}{12} +%\FPset{\firstDay}{5} +%\else +%\FPifeq{\difference}{20} +%\FPset{\firstDay}{5} +%\else +%\FPifeq{\difference}{28} +%\FPset{\firstDay}{5} +%\else +%%%% row 5 +%\FPifeq{\difference}{1} +%\FPset{\firstDay}{6} +%\else +%\FPifeq{\difference}{9} +%\FPset{\firstDay}{6} +%\else +%\FPifeq{\difference}{17} +%\FPset{\firstDay}{6} +%\else +%\FPifeq{\difference}{25} +%\FPset{\firstDay}{6} +%\else +%%%% row 6 +%\FPifeq{\difference}{6} +%\FPset{\firstDay}{7} +%\else +%\FPifeq{\difference}{14} +%\FPset{\firstDay}{7} +%\else +%\FPifeq{\difference}{22} +%\FPset{\firstDay}{7} +%\else +%\FPifeq{\difference}{30} %<<<<<<<<<<<<<<< or 0 +%\FPset{\firstDay}{7} +%\else +%%%% row 7 +%\FPifeq{\difference}{3} +%\FPset{\firstDay}{1} +%\else +%\FPifeq{\difference}{11} +%\FPset{\firstDay}{1} +%\else +%\FPifeq{\difference}{19} +%\FPset{\firstDay}{1} +%\else +%\FPifeq{\difference}{27} +%\FPset{\firstDay}{1} +%\else +%\FPifeq{\difference}{24} +%\FPset{\firstDay}{1} +%\fi\fi\fi\fi\fi%row 7 +%\fi\fi\fi\fi%row 6 +%\fi\fi\fi\fi%row 5 +%\fi\fi\fi\fi%row 4 +%\fi\fi\fi%row 3 +%\fi\fi\fi\fi%row 2 +%\fi\fi\fi\fi\fi\fi%row 1 +\else % colonne 1 + \FPifeq{\tmpii}{3}% +%%% row 1 +\FPifeq{\difference}{8} +\FPset{\firstDay}{7} +\else +\FPifeq{\difference}{16} +\FPset{\firstDay}{7} +\else +\FPifeq{\difference}{5} +\FPset{\firstDay}{7} +\else +\FPifeq{\difference}{13} +\FPset{\firstDay}{7} +\else +\FPifeq{\difference}{21} +\FPset{\firstDay}{7} +\else +\FPifeq{\difference}{29} +\FPset{\firstDay}{7} +\else %%%%%%%%%%% +%%% row 2 +\FPifeq{\difference}{2} +\FPset{\firstDay}{1} +\else +\FPifeq{\difference}{10} +\FPset{\firstDay}{1} +\else +\FPifeq{\difference}{18} +\FPset{\firstDay}{1} +\else +\FPifeq{\difference}{26} +\FPset{\firstDay}{1} +\else +%%% row 3 +\FPifeq{\difference}{23} +\FPset{\firstDay}{2} +\else +\FPifeq{\difference}{6} +\FPset{\firstDay}{2} +\else +\FPifeq{\difference}{14} +\FPset{\firstDay}{2} +\else +%%% row 4 +\FPifeq{\difference}{4} +\FPset{\firstDay}{3} +\else +\FPifeq{\difference}{12} +\FPset{\firstDay}{3} +\else +\FPifeq{\difference}{20} +\FPset{\firstDay}{3} +\else +\FPifeq{\difference}{28} +\FPset{\firstDay}{3} +\else +%%% row 5 +\FPifeq{\difference}{1} +\FPset{\firstDay}{4} +\else +\FPifeq{\difference}{9} +\FPset{\firstDay}{4} +\else +\FPifeq{\difference}{17} +\FPset{\firstDay}{4} +\else +\FPifeq{\difference}{25} +\FPset{\firstDay}{4} +\else +%%% row 6 +\FPifeq{\difference}{6} +\FPset{\firstDay}{5} +\else +\FPifeq{\difference}{14} +\FPset{\firstDay}{5} +\else +\FPifeq{\difference}{22} +\FPset{\firstDay}{5} +\else +\FPifeq{\difference}{30} %<<<<<<<<<<<<<<< or 0 +\FPset{\firstDay}{5} +\else +%%% row 7 +\FPifeq{\difference}{3} +\FPset{\firstDay}{6} +\else +\FPifeq{\difference}{11} +\FPset{\firstDay}{6} +\else +\FPifeq{\difference}{19} +\FPset{\firstDay}{6} +\else +\FPifeq{\difference}{27} +\FPset{\firstDay}{6} +\else +\FPifeq{\difference}{24} +\FPset{\firstDay}{6} +\fi\fi\fi\fi%row 7 +\fi\fi\fi%row 6 +\fi\fi\fi%row 5 +\fi\fi\fi%row 4 +\fi\fi%row 3 +\fi\fi\fi%row 2 +\fi\fi\fi\fi\fi%row 1 +\else % colonne 6 %<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< + \FPifeq{\tmpii}{4}\FPset{\firstDay}{5} +\else % colonne 4 + \FPifeq{\tmpii}{5}\FPset{\firstDay}{3} +\else % colonne 2 + \FPifeq{\tmpii}{6}\FPset{\firstDay}{1} +\fi%\fi\fi\fi\fi\fi +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\FPclip{\firstDay}{\firstDay} +\message{^^JfAtiH muHarram for \psk@CalendrierA\space is \firstDay\space where 1 is Monday^^J}% +\FPeval{\NbDays}{(\firstDay)+(\adddays)} +%\FPtrunc{\NbDays}{\NbDays}{0} +% +\FPeval{\Frac}{(\NbDays)/7} +\FPtrunc{\Frac}{\Frac}{0} +% +\FPeval{\Quotient}{(\Frac)*7} +\FPtrunc{\Quotient}{\Quotient}{0} +% +\FPeval{\firstDay}{(\NbDays)-({\Quotient})} +\FPclip{\firstDay}{\firstDay} +% +\FPifzero\firstDay\FPset{\firstDay}{7}\fi +\ligne=2 +\colonne=\firstDay +\pspicture(0,-4)(8,4) +\psframe*[linecolor=blue](0.5,3.2)(7.5,4) +\rput(4,3.6){\textcolor{white}{\textsf{\textbf{\huge\R{\Name}}}}} +\rput(1,2.8){\textsf{\textbf{\Large L}}} +\rput(2,2.8){\textsf{\textbf{\Large M}}} +\rput(3,2.8){\textsf{\textbf{\Large M}}} +\rput(4,2.8){\textsf{\textbf{\Large J}}} +\rput(5,2.8){\textsf{\textbf{\Large V}}} +\rput(6,2.8){\textsf{\textbf{\Large S}}} +\rput(7,2.8){\textsf{\textbf{\Large D}}} +\multido{\i=\firstDay+1}{\NbreJours}{% +\ifnum\i>7\ligne=1\fi +\ifnum\i>14\ligne=0\fi +\ifnum\i>21\ligne=-1\fi +\ifnum\i>28\ligne=-2\fi +\ifnum\i>35\ligne=-3\fi + \ifnum\psk@CalendrierM=\psk@CalendrierMchoix + \ifnum\the\multidocount=\psk@CalendrierJ + \rput(\colonne,\ligne){% + \pscirclebox[linestyle=none,fillstyle=solid,fillcolor=yellow]{\textbf{\textcolor{red}{\Large\the\multidocount}}}} + \else\rput(\colonne,\ligne){\textbf{\Large\the\multidocount}} + \fi + \else\rput(\colonne,\ligne){\textbf{\Large\the\multidocount}} + \fi +% les jours fériés +% le 1 de l'an + \ifnum\psk@CalendrierM=1 + \ifnum\the\multidocount=1 + \rput(\colonne,\ligne){\psframebox[style=holiday]{\textbf{\textcolor{red}{\Large\the\multidocount}}}} + \fi\fi +% le 1 mai et 8 mai + \ifnum\psk@CalendrierM=5 + \ifnum\the\multidocount=1 + \rput(\colonne,\ligne){\psframebox[style=holiday]{\textbf{\textcolor{red}{\Large\the\multidocount}}}}% + \fi + \ifnum\the\multidocount=8 + \rput(\colonne,\ligne){\psframebox[style=holiday]{\textbf{\textcolor{red}{\Large\the\multidocount}}}}% + \fi + \fi +% 15 août + \ifnum\psk@CalendrierM=8 + \ifnum\the\multidocount=15 + \rput(\colonne,\ligne){% + \psframebox[style=holiday]{\textbf{\textcolor{red}{\Large\the\multidocount}}}} + \fi\fi +% 1 Novembre et 11 Novembre + \ifnum\psk@CalendrierM=11 + \ifnum\the\multidocount=1 + \rput(\colonne,\ligne){% + \psframebox[style=holiday]{\textbf{\textcolor{red}{\Large\the\multidocount}}}} + \fi + \ifnum\the\multidocount=11 + \rput(\colonne,\ligne){% + \psframebox[style=holiday]{\textbf{\textcolor{red}{\Large\the\multidocount}}}} + \fi + \fi +% Noël + \ifnum\psk@CalendrierM=12 + \ifnum\the\multidocount=25 + \rput(\colonne,\ligne){% + \psframebox[style=holiday]{\textbf{\textcolor{red}{\Large\the\multidocount}}}} + \fi\fi +% Dimanche de Pâques + \ifnum\psk@CalendrierM=\Month + \ifnum\the\multidocount=\Day + \rput(\colonne,\ligne){% + \psframebox[style=holiday]{\textbf{\textcolor{red}{\Large\the\multidocount}}}} + \fi\fi +% Ascension + \ifnum\psk@CalendrierM=\MonthAscension + \ifnum\the\multidocount=\DayAscension + \rput(\colonne,\ligne){% + \psframebox[style=holiday]{\textbf{\textcolor{red}{\Large\the\multidocount}}}} + \fi\fi +% Pentecôte + \ifnum\psk@CalendrierM=\MonthPentecote + \ifnum\the\multidocount=\DayPentecote + \rput(\colonne,\ligne){% + \psframebox[style=holiday]{\textbf{\textcolor{red}{\Large\the\multidocount}}}} + \fi\fi +% +\advance\colonne by +1 +\ifnum\colonne>7\colonne=1\fi} +\rput(4,-3.5){\psovalbox[fillstyle=solid,fillcolor=blue,linestyle=none]{\textcolor{white}{\textsf{\textbf{\huge\psk@CalendrierA}}}}} +\multido{\rL=-2.5+1.0}{6}{\psline[linecolor=blue](0.5,\rL)(7.5,\rL)} +\endpspicture}} +% +%% END: CalendrierFP.sty +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/calendrierfpmodified.sty b/Master/texmf-dist/tex/latex/arabi/calendrierfpmodified.sty new file mode 100644 index 00000000000..73d2a6e7542 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/calendrierfpmodified.sty @@ -0,0 +1,389 @@ +% Modified some fonts and colors declarations to use +% an Arabic Markup (Youssef JABRI) +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\def\CalendrierFP@version{Version 0.46, 9 mai 2003} +\message{`Calendrier avec FP', \CalendrierFP@version\space Manuel Luque} +% Requires PSTricks, pstcol, pst-3d, multido, fp packages +\RequirePackage{pstricks} +\RequirePackage{pst-3d} +\RequirePackage{multido} +\RequirePackage{fp} +\FPmessagesfalse +\RequirePackage{pst-key} +%% Manuel LUQUE <Mluque5130aol.com> %% +%% 1 Octobre 1999 pour le dodécaèdre %% +%% 23 avril 2003 pour le calendrier %% +%% 27 avril : placer une date de son choix +%% suggestion de Jean-Michel Sarlat +%% jours fériés et fêtes : 1 mai 003 %% +%% 1 et 8 mai, 15 août, 1 et 11 novembre, 25 décembre +%% fête de Pâques %% +%% ascension et pentecôte : 8 mai 2003 + +\definecolor{RougeA}{cmyk}{0.05,0.1,0.1,0} +\definecolor{RougeB}{cmyk}{0.05,0.15,0.15,0} +\definecolor{RougeC}{cmyk}{0.05,0.2,0.2,0} +\definecolor{RougeD}{cmyk}{0.05,0.25,0.25,0} +\definecolor{RougeE}{cmyk}{0.05,0.3,0.3,0} +\definecolor{RougeF}{cmyk}{0.05,0.35,0.35,0} +\definecolor{RougeG}{cmyk}{0.05,0.4,0.4,0} +\definecolor{RougeH}{cmyk}{0.05,0.45,0.45,0} +\definecolor{RougeI}{cmyk}{0.05,0.5,0.5,0} +\definecolor{RougeJ}{cmyk}{0.05,0.55,0.55,0} +\definecolor{RougeK}{cmyk}{0.05,0.6,0.6,0} +\definecolor{RougeL}{cmyk}{0.1,0.65,0.65,0} +\newpsstyle{holiday}{framesep=2pt,doubleline=true,doublecolor=red,linecolor=red,fillstyle=solid,fillcolor=RougeA} +\SpecialCoor% +\define@key{psset}{Vx}{\edef\psk@Solide@Viewpointx{#1}} +\define@key{psset}{Vy}{\edef\psk@Solide@Viewpointy{#1}} +\define@key{psset}{Vz}{\edef\psk@Solide@Viewpointz{#1}} +\setkeys{psset}{Vx=1,Vy=1,Vz=1} +\def\RA{7.36022}\gdef\rb{5.06525}\gdef\ramodified{8.19574}% +\gdef\rc{5.06525}\gdef\rd{8.19574} +\newpsstyle{janvier}{Vx=-\rc,Vy=0,Vz=-\rd,viewangle=108} +\newpsstyle{fevrier}{Vx=\rc,Vy=0,Vz=-\rd,viewangle=180} +\newpsstyle{mars}{Vx=0,Vy=-\ramodified,Vz=-\rb,viewangle=144} +\newpsstyle{avril}{Vx=-\rd,Vy=-\rc,Vz=0,viewangle=162} +\newpsstyle{mai}{Vx=-\rd,Vy=\rc,Vz=0,viewangle=198} +\newpsstyle{juin}{Vx=0,Vy=\ramodified,Vz=-\rb,viewangle=216} +\newpsstyle{juillet}{Vx=-\rc,Vy=0,Vz=\rd,viewangle=0} +\newpsstyle{aout}{Vx=0,Vy=-\ramodified,Vz=\rb,viewangle=-36} +\newpsstyle{septembre}{Vx=\rd,Vy=-\rc,Vz=0,viewangle=-18} +\newpsstyle{octobre}{Vx=\rd,Vy=\rc,Vz=0,viewangle=18} +\newpsstyle{novembre}{Vx=0,Vy=\ramodified,Vz=\rb,viewangle=36} +\newpsstyle{decembre}{Vx=\rc,Vy=0,Vz=\rb,viewangle=0} +% +\def\dodecaedre{% +\@ifnextchar[{\pst@dodecaedre}{\pst@dodecaedre[]}}% +\def\pst@dodecaedre[#1]{{% +\setkeys{psset}{#1}% +\pspicture(-8,-12)(8,12)% +\psset{fillstyle=solid}% +\psset{viewpoint={\psk@Solide@Viewpointx} {\psk@Solide@Viewpointy} {\psk@Solide@Viewpointz}}% +\newcommand{\faceA}{\pspolygon(\RA;18)(\RA;90)(\RA;162)(\RA;234)(\RA;306)} +\newcommand{\faceB}{\pspolygon(\RA;270)(\RA;-18)(\RA;54)(\RA;126)(\RA;198)} +\newcommand{\faceC}{\pspolygon(\RA;0)(\RA;72)(\RA;144)(\RA;216)(\RA;288)} +\newcommand{\faceD}{\pspolygon(\RA;36)(\RA;108)(\RA;180)(\RA;252)(\RA;324)} +%face1 +\FPeval{\Test}{(\psk@Solide@Viewpointx)*(0)+(\psk@Solide@Viewpointy)*(\ramodified)+(\psk@Solide@Viewpointz)*(\rb)}% +\FPifpos{\Test}\ThreeDput[normal=0 {\ramodified} {\rb}](0,\ramodified,\rb){% +\psset{fillcolor=RougeA}\faceA\rput{36}{\rput(-1.8,0){\Calendrier[Mois=11]}}}\fi +%face2 +\FPeval{\Test}{(\psk@Solide@Viewpointx)*(0)-(\psk@Solide@Viewpointy)*(\ramodified)+(\psk@Solide@Viewpointz)*(\rb)}% +\FPifpos{\Test}\ThreeDput[normal=0 {-\ramodified} {\rb}](0,-\ramodified,\rb){% +\psset{fillcolor=RougeB}\faceA\rput{-36}{\rput(-1.8,0){\Calendrier[Mois=8]}}}\fi +%face3 +\FPeval{\Test}{(\psk@Solide@Viewpointx)*(0)+(\psk@Solide@Viewpointy)*(\ramodified)-(\psk@Solide@Viewpointz)*(\rb)}% +\FPifpos{\Test}\ThreeDput[normal=0 {\ramodified} {-\rb}](0,\ramodified,-\rb){% +\psset{fillcolor=RougeC}\faceB\rput{216}{\rput(-1.8,0){\Calendrier[Mois=6]}}}\fi +%face4 +\FPeval{\Test}{(\psk@Solide@Viewpointx)*(0)-(\psk@Solide@Viewpointy)*(\ramodified)-(\psk@Solide@Viewpointz)*(\rb)}% +\FPifpos{\Test}\ThreeDput[normal=0 {-\ramodified} {-\rb}](0,-\ramodified,-\rb){% +\psset{fillcolor=RougeD}\faceB\rput{144}{\rput(-1.8,0){\Calendrier[Mois=3]}}}\fi% +%face 5 +\FPeval{\Test}{(\psk@Solide@Viewpointx)*(\rc)+(\psk@Solide@Viewpointy)*(0)+(\psk@Solide@Viewpointz)*(\rd)}% +\FPifpos{\Test}\ThreeDput[normal={\rc} 0 {\rd}](\rc,0,\rd){% +\psset{fillcolor=RougeE}\faceB\rput(-1.8,0){\Calendrier[Mois=12]}}\fi +%face6 +\FPeval{\Test}{(\psk@Solide@Viewpointx)*(-\rc)+(\psk@Solide@Viewpointy)*(0)+(\psk@Solide@Viewpointz)*(\rd)}% +\FPifpos{\Test}\ThreeDput[normal={-\rc} 0 {\rd}](-\rc,0,\rd){% +\psset{fillcolor=RougeF}\faceB\rput{0}{\rput(-1.8,0){\Calendrier[Mois=7]}}}\fi +%face7 +\FPeval{\Test}{(\psk@Solide@Viewpointx)*(\rc)+(\psk@Solide@Viewpointy)*(0)-(\psk@Solide@Viewpointz)*(\rd)}% +\FPifpos{\Test}\ThreeDput[normal={\rc} 0 {-\rd}](\rc,0,-\rd){% +\psset{fillcolor=RougeG}\faceA\rput{180}{\rput(-1.8,0){\Calendrier[Mois=2]}}}\fi +%face8 +\FPeval{\Test}{(\psk@Solide@Viewpointx)*(-\rc)+(\psk@Solide@Viewpointy)*(0)-(\psk@Solide@Viewpointz)*(\rd)}% +\FPifpos{\Test}\ThreeDput[normal={-\rc} 0 {-\rd}](-\rc,0,-\rd){% +\psset{fillcolor=RougeH}\faceA\rput{108}{\rput(-1.8,0){\Calendrier[Mois=1]}}}\fi% +%face 9 +\FPeval{\Test}{(\psk@Solide@Viewpointx)*(\rd)+(\psk@Solide@Viewpointy)*(\rc)+(\psk@Solide@Viewpointz)*(0)}% +\FPifpos{\Test}\ThreeDput[normal={\rd} {\rc} 0](\rd,\rc,0){% +\psset{fillcolor=RougeI}\faceC\rput{18}{\rput(-1.8,0){\Calendrier[Mois=10]}}}\fi +%face10 +\FPeval{\Test}{(\psk@Solide@Viewpointx)*(-\rd)+(\psk@Solide@Viewpointy)*(\rc)+(\psk@Solide@Viewpointz)*(0)}% +\FPifpos{\Test}\ThreeDput[normal={-\rd} {\rc} 0](-\rd,\rc,0){% +\psset{fillcolor=RougeJ}\faceD\rput{198}{\rput(-1.8,0){\Calendrier[Mois=5]}}}\fi +%face11 +\FPeval{\Test}{(\psk@Solide@Viewpointx)*(\rd)-(\psk@Solide@Viewpointy)*(\rc)+(\psk@Solide@Viewpointz)*(0)}% +\FPifpos{\Test}\ThreeDput[normal={\rd} {-\rc} 0](\rd,-\rc,0){% +\psset{fillcolor=RougeK}\faceD\rput{-18}{\rput(-1.8,0){\Calendrier[Mois=9]}}}\fi +%face8 +\FPeval{\Test}{(\psk@Solide@Viewpointx)*(-\rd)+(\psk@Solide@Viewpointz)*(0)-(\psk@Solide@Viewpointy)*(\rc)}% +\FPifpos{\Test}\ThreeDput[normal={-\rd} {-\rc} 0](-\rd,-\rc,0){% +\psset{fillcolor=RougeL}\faceC\rput{162}{\rput(-1.8,0){\Calendrier[Mois=4]}}}\fi% +\endpspicture +}} +% +\define@key{psset}{Jour}{\edef\psk@CalendrierJ{#1}} +\define@key{psset}{MoisChoisi}{\edef\psk@CalendrierMchoix{#1}} +\define@key{psset}{Mois}{\edef\psk@CalendrierM{#1}} +\define@key{psset}{An}{\edef\psk@CalendrierA{#1}} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\setkeys{psset}{Jour=\number\day,Mois=\number\month,MoisChoisi=\number\month,An=\number\year} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +% +\newcount\colonne\newcount\ligne + +\def\Calendrier{\@ifnextchar[{\pst@Calendrier}{\pst@Calendrier[]}} + +\def\pst@Calendrier[#1]{{% +\setkeys{psset}{#1} +% calcul de la date de Pâques +% lundi de Pâques +\FPset{\Year}{\psk@CalendrierA} +\FPeval\GY{(\Year)-19*trunc((\Year)/19,0)} +\FPeval{\Cent}{trunc((\Year)/100,0)} +\FPeval{\Iter}{trunc((\Cent)-trunc((\Cent)/4,0)-trunc((8*(\Cent)+13)/25,0)+ + (\GY)*19+15,0)} +\FPeval{\Iterdiv}{trunc((\Iter)/30,0)} +\FPeval\Hepact{(\Iter)-30*(\Iterdiv)} +\FPeval\Inbre{trunc((\Hepact)-trunc((\Hepact)/28,0)* + (1-trunc((\Hepact)/28,0))*(trunc(29/((\Hepact)+1),0)*trunc((21-(\GY))/11,0)),0)} +\FPeval\Jnbreinter{trunc((\Year)+trunc((\Year)/4,0)+(\Inbre)+2-(\Cent)+trunc((\Cent)/4,0),0)} +\FPeval\Jnbre{trunc((\Jnbreinter)-7*trunc((\Jnbreinter)/7,0),0)} +\FPeval\Lnbre{trunc((\Inbre)-(\Jnbre),0)} +\FPeval\Month{trunc(3+trunc(((\Lnbre)+40)/44,0),0)} +\FPeval\Day{trunc((\Lnbre)+28-31*trunc((\Month)/4,0),0)} +\ifnum\Month=4 + \ifnum\Day>25 \FPeval{\Day}{trunc((\Day)-7,0)} % dimanche de Pâques +% \ifnum\Day>25 \FPeval{\Day}{trunc((\Day)-6,0)} % Lundi de Pâques +% \else +% \FPeval{\Day}{trunc((\Day)+1,0)} % Lundi de Pâques + \fi +\fi +\ifnum\Month=3 + \ifnum\Day=32 \FPset{\Day}{1}\FPset{\Month}{4}% +% \else +% \FPeval{\Day}{trunc((\Day)+1,0)} % Lundi + \fi +\fi +% +% calcul du jour de l'ascension +% si Pâques tombe au mois d'avril, faire (39-30)+\Day = 9+\Day +% pour le jour du mois de mai de l'ascension +\ifnum\Month=4 +\FPeval\DayAscension{trunc((\Day)+9,0)} +\FPeval\MonthAscension{trunc((\Month)+1,0)} +% Ascension le \FPprint\DayAscension/\FPprint\MonthAscension/\FPprint\Year +\FPeval\TestJourPentecote{trunc((\DayAscension)+10,0)} + \ifnum\TestJourPentecote>31 + \FPeval\DayPentecote{trunc((\TestJourPentecote)-31,0)} + \FPeval\MonthPentecote{trunc((\Month)+2,0)} + \else + \FPset{\DayPentecote}{\TestJourPentecote} + \FPset\MonthPentecote{\MonthAscension} + \fi + +% Pentec\^ote le \FPprint\DayPentecote/\FPprint\MonthPentecote/\FPprint\Year +\fi + +% Dans le cas où Pâques tombe en mars +% (39-30)+\Day=8+\Day +% si 8+\Day<ou=30 on reste en avril +% \DayAscension=8+\Day +% \MonthAscension=4 +% Pentcôte est 10 jours après l'ascension +\ifnum\Month=3 +\FPeval\TestSiJourAvril{trunc((\Day)+8,0)} +\ifnum\TestSiJourAvril<30 + \FPeval\MonthAscension{trunc((\Month)+1,0)} + \FPeval\DayAscension{trunc(8+(\Day),0)} + \else + \FPeval\DayAscension{trunc((\Day)-22,0)} + \FPeval\MonthAscension{trunc((\Month)+2,0)} +\fi + \FPeval\TestJourPentecote{trunc((\DayAscension)+10,0)} + \ifnum\MonthAscension=4 + \ifnum\TestJourPentecote<31 + \FPset{\DayPentecote}{\TestJourPentecote} + \FPset\MonthPentecote{4} + \else + \FPeval\DayPentecote{trunc((\TestJourPentecote)-30,0)} + \FPset\MonthPentecote{5} + \fi + \fi + \ifnum\MonthAscension=5 + \FPeval\DayPentecote{trunc((\DayAscension)+10,0)} + \FPset\MonthPentecote{5} + \fi +\fi +% +% test d'une année bissextile +\FPeval{\YearBissextil}{(\psk@CalendrierA)/4} +\FPtrunc{\YearBissextil}{\YearBissextil}{0} +\FPeval{\YearBissextil}{(\YearBissextil)*4} +\FPtrunc{\YearBissextil}{\YearBissextil}{0} +% +\ifnum\psk@CalendrierM=1\def\adddays{0}\def\Name{\textAR{\textgranada{íäÇíÑ}}}\def\NbreJours{31}\fi +\ifnum\psk@CalendrierM=2\def\adddays{31}\def\Name{\textAR{\granada ÝÈÑÇíÑ}} + \ifnum\YearBissextil=\psk@CalendrierA\def\NbreJours{29}\else\def\NbreJours{28} +\fi\fi +\ifnum\psk@CalendrierM=3 + \ifnum\YearBissextil=\psk@CalendrierA\def\adddays{60}\else\def\adddays{59}\fi +\def\Name{\textAR{\granada ãÇÑÓ}}\def\NbreJours{31}\fi +\ifnum\psk@CalendrierM=4 + \ifnum\YearBissextil=\psk@CalendrierA\def\adddays{91}\else\def\adddays{90}\fi +\def\Name{\textAR{\granada ÇÈÑíá}}\def\NbreJours{30}\fi +\ifnum\psk@CalendrierM=5 + \ifnum\YearBissextil=\psk@CalendrierA\def\adddays{121}\else\def\adddays{120}\fi +\def\Name{\textAR{\granada ãÇí}}\def\NbreJours{31}\fi +\ifnum\psk@CalendrierM=6 + \ifnum\YearBissextil=\psk@CalendrierA\def\adddays{152}\else\def\adddays{151}\fi +\def\Name{\textAR{\granada íæäíå}}\def\NbreJours{30}\fi +\ifnum\psk@CalendrierM=7 + \ifnum\YearBissextil=\psk@CalendrierA\def\adddays{182}\else\def\adddays{181}\fi +\def\Name{\textAR{\granada íæáíæÒ}}\def\NbreJours{31}\fi +\ifnum\psk@CalendrierM=8 + \ifnum\YearBissextil=\psk@CalendrierA\def\adddays{213}\else\def\adddays{212}\fi +\def\Name{\textAR{\granada ÛÔÊ}}\def\NbreJours{31}\fi +\ifnum\psk@CalendrierM=9 + \ifnum\YearBissextil=\psk@CalendrierA\def\adddays{244}\else\def\adddays{243}\fi +\def\Name{\textAR{\granada ÔÊäÈÑ}}\def\NbreJours{30}\fi +\ifnum\psk@CalendrierM=10 + \ifnum\YearBissextil=\psk@CalendrierA\def\adddays{274}\else\def\adddays{273}\fi +\def\Name{\textAR{\granada ÇßÊæÈÑ}}\def\NbreJours{31}\fi +\ifnum\psk@CalendrierM=11 + \ifnum\YearBissextil=\psk@CalendrierA\def\adddays{305}\else\def\adddays{304}\fi +\def\Name{\textAR{\textgranada{ äæäÈÑ}}}\def\NbreJours{30}\fi +\ifnum\psk@CalendrierM=12 + \ifnum\YearBissextil=\psk@CalendrierA\def\adddays{335}\else\def\adddays{334}\fi +\def\Name{\textAR{\granada ÏÌäÈÑ}}\def\NbreJours{31}\fi +% +\ifnum\YearBissextil=\psk@CalendrierA + \FPeval{\NbYearBissextil}{((\psk@CalendrierA)-2000)/4} + \FPtrunc{\NbYearBissextil}{\NbYearBissextil}{0} + \else + \FPeval{\NbYearBissextil}{((\psk@CalendrierA)-2000)/4+1} + \FPtrunc{\NbYearBissextil}{\NbYearBissextil}{0} +\fi +% le 1 janvier 2000 est un samedi : Nbdays=6 +\FPeval{\NbDays}{6+((\psk@CalendrierA)-2000)+(\NbYearBissextil)+(\adddays)} +% +\FPtrunc{\NbDays}{\NbDays}{0} +% +\FPeval{\Frac}{(\NbDays)/7} +\FPtrunc{\Frac}{\Frac}{0} +% +\FPeval{\Quotient}{(\Frac)*7} +\FPtrunc{\Quotient}{\Quotient}{0} +% +\FPeval{\firstDay}{(\NbDays)-({\Quotient})} +% +\FPclip{\firstDay}{\firstDay} +\FPifzero\firstDay\FPset{\firstDay}{7}\fi +\ligne=2 +\colonne=\firstDay +\pspicture(0,-4)(8,4)%\psgrid +\psframe*[linecolor=yellow](0.5,3.9)(7.5,4) +\psframe*[linecolor=LightCyan](0.5,2.4)(7.5,3.9) +% +\rput(1,3.2){%\fcolorbox{LemonChiffon}{LemonChiffon}% +{\rotatebox{45}{\textAR{\Large\textbattar{ÇáÅËäíä}}}}} +% +\rput(2,3.2){%\fcolorbox{LemonChiffon}{LemonChiffon}% +{\rotatebox{45}{\textAR{\Large\textbattar{ÇáËáÇËÇÁ}}}}} +% +\rput(3,3.2){%\fcolorbox{LemonChiffon}{LemonChiffon}% +{\rotatebox{45}{\textAR{\Large\textbattar{ÇáÃÑÈÚÇÁ}}}}} +% +\rput(4,3.2){%\fcolorbox{LemonChiffon}{LemonChiffon}% +{\rotatebox{45}{\textAR{\Large\textbattar{ÇáÎãíÓ}}}}} +% +\rput(5,3.2){%\fcolorbox{LemonChiffon}{LemonChiffon}% +{\rotatebox{45}{\textAR{\Large\textbattar{ÇáÌãÚÉ}}}}} +% +\rput(6,3.2){%\fcolorbox{LemonChiffon}{LemonChiffon}% +{\rotatebox{45}{\textAR{\Large\textbattar{ÇáÓÈÊ}}}}} +% +\rput(7,3.2){%\fcolorbox{LemonChiffon}{LemonChiffon}% +{\rotatebox{45}{\textAR{\Large\textbattar{ÇáÃÍÏ}}}}} +% +\rput(4,4.7){\psovalbox[linestyle=none,fillstyle=solid,framesep=.1pt,fillcolor=yellow]%LemonChiffon +{\textcolor{black}{\textsf{\textbf{\huge\Name}}}}} +% +\multido{\i=\firstDay+1}{\NbreJours}{% +\ifnum\i>7\ligne=1\fi +\ifnum\i>14\ligne=0\fi +\ifnum\i>21\ligne=-1\fi +\ifnum\i>28\ligne=-2\fi +\ifnum\i>35\ligne=-3\fi + \ifnum\psk@CalendrierM=\psk@CalendrierMchoix + \ifnum\the\multidocount=\psk@CalendrierJ + \rput(\colonne,\ligne)%{%current day +%\pscirclebox[linestyle=none,fillstyle=solid,fillcolor=LemonChiffon] +{\textbf{%\textcolor{red} +{\Large\the\multidocount}}}%} + \else\rput(\colonne,\ligne){{\Large\the\multidocount}} + \fi + \else\rput(\colonne,\ligne){{\Large\the\multidocount}} + \fi +% +\advance\colonne by +1 +\ifnum\colonne>7\colonne=1\fi} +\rput(4,-4){\psovalbox[fillstyle=solid,fillcolor=yellow,linestyle=none]{\textcolor{black}{{{\huge\psk@CalendrierA}}}}} +\multido{\rL=-2.5+1.0}{6}{\psline[linecolor=LightCyan](0.5,\rL)(7.5,\rL)} +\endpspicture}} +% +%% END: CalendrierFP.sty +\endinput + + + +% les jours fériés +% le 1 de l'an + \ifnum\psk@CalendrierM=1 + \ifnum\the\multidocount=1 + \rput(\colonne,\ligne){\psframebox[style=holiday]{\textrm{\textcolor{red}{\Large\the\multidocount}}}} + \fi\fi +% le 1 mai et 8 mai + \ifnum\psk@CalendrierM=5 + \ifnum\the\multidocount=1 + \rput(\colonne,\ligne){\psframebox[style=holiday]{\textrm{\textcolor{red}{\Large\the\multidocount}}}}% + \fi + \ifnum\the\multidocount=8 + \rput(\colonne,\ligne){\psframebox[style=holiday]{\textrm{\textcolor{red}{\Large\the\multidocount}}}}% + \fi + \fi +% 15 août + \ifnum\psk@CalendrierM=8 + \ifnum\the\multidocount=15 + \rput(\colonne,\ligne){% + \psframebox[style=holiday]{\textbf{\textcolor{red}{\Large\the\multidocount}}}} + \fi\fi +% 1 Novembre et 11 Novembre + \ifnum\psk@CalendrierM=11 + \ifnum\the\multidocount=1 + \rput(\colonne,\ligne){% + \psframebox[style=holiday]{\textbf{\textcolor{red}{\Large\the\multidocount}}}} + \fi + \ifnum\the\multidocount=11 + \rput(\colonne,\ligne){% + \psframebox[style=holiday]{\textbf{\textcolor{red}{\Large\the\multidocount}}}} + \fi + \fi +% Noël + \ifnum\psk@CalendrierM=12 + \ifnum\the\multidocount=25 + \rput(\colonne,\ligne){% + \psframebox[style=holiday]{\textbf{\textcolor{red}{\Large\the\multidocount}}}} + \fi\fi +% Dimanche de Pâques + \ifnum\psk@CalendrierM=\Month + \ifnum\the\multidocount=\Day + \rput(\colonne,\ligne){% + \psframebox[style=holiday]{\textbf{\textcolor{red}{\Large\the\multidocount}}}} + \fi\fi +% Ascension + \ifnum\psk@CalendrierM=\MonthAscension + \ifnum\the\multidocount=\DayAscension + \rput(\colonne,\ligne){% + \psframebox[style=holiday]{\textbf{\textcolor{red}{\Large\the\multidocount}}}} + \fi\fi +% Pentecôte + \ifnum\psk@CalendrierM=\MonthPentecote + \ifnum\the\multidocount=\DayPentecote + \rput(\colonne,\ligne){% + \psframebox[style=holiday]{\textbf{\textcolor{red}{\Large\the\multidocount}}}} + \fi\fi
\ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/arabi/cp1256.def b/Master/texmf-dist/tex/latex/arabi/cp1256.def new file mode 100644 index 00000000000..2765833a033 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/cp1256.def @@ -0,0 +1,146 @@ +% \iffalse meta-comment +% +% Copyright 2006 Youssef Jabri +% +% +% This file is part of the `Arabi' system. +% ------------------------------------------- +% +% It may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.3b +% 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.3b or later is part of all distributions of LaTeX +% version 2005/12/01 or later. +% +% This file has the LPPL maintenance status "maintained". +% +% +% \fi +% +% Filename: cp1256.def +%% + \ProvidesFile{cp1256.def} + [2006/01/01 v0.1 CP1256 Arabic input encoding file] + + +\makeatletter +\ProvideTextCommandDefault{\textdegree}{\ensuremath{{^\circ}}} +\ProvideTextCommandDefault{\textonehalf}{\ensuremath{\frac12}} +\ProvideTextCommandDefault{\textonequarter}{\ensuremath{\frac14}} +\ProvideTextCommandDefault{\textthreequarters}{\ensuremath{\frac34}} +\ProvideTextCommandDefault{\textflorin}{\textit{f}} +\ProvideTextCommandDefault{\textcent} + {\TextSymbolUnavailable\textcent} +\ProvideTextCommandDefault{\textyen} + {\TextSymbolUnavailable\textyen} +\ProvideTextCommandDefault{\newsheqel} + {\TextSymbolUnavailable\newsheqel} +\ProvideTextCommandDefault{\textbrokenbar} + {\TextSymbolUnavailable\textbrokenbar} +\ProvideTextCommandDefault{\textperthousand} + {\TextSymbolUnavailable\textperthousand} +\providecommand{\mathonesuperior}{{^1}} +\providecommand{\maththreesuperior}{{^3}} +\providecommand{\mathtwosuperior}{{^2}} +%% +%% Digits and Punctuation characters are "set" in their +%% corresponding part in the Latin scripts +%% +\DeclareInputText{160}{\nobreakspace} +\DeclareInputMath{161}{,} %arabic comma +\DeclareInputText{164}{} %what is this ?? ;) +\DeclareInputText{186}{;} %arabic semicolon +\DeclareInputText{191}{?} %arabic question mark +\DeclareInputText{193}{\hamza} +\DeclareInputText{194}{\alefmadda} +\DeclareInputText{195}{\alefhamza} +\DeclareInputText{196}{\wawhamza} +\DeclareInputText{197}{\aleflowerhamza} +\DeclareInputText{198}{\yahamza} +\DeclareInputText{199}{\alef} +\DeclareInputText{200}{\baa} +\DeclareInputText{201}{\T} %taa marbuuta +\DeclareInputText{202}{\taa} +\DeclareInputText{203}{\thaa} +\DeclareInputText{204}{\jeem} %geem +\DeclareInputText{205}{\Haa} +\DeclareInputText{206}{\kha} +\DeclareInputText{207}{\dal} +\DeclareInputText{208}{\dhal} +\DeclareInputText{209}{\ra} +\DeclareInputText{210}{\zay} +\DeclareInputText{211}{\seen} +\DeclareInputText{212}{\sheen} +\DeclareInputText{213}{\sad} +\DeclareInputText{214}{\dad} +% +\DeclareInputText{216}{\Ta} +\DeclareInputText{217}{\za} +\DeclareInputText{218}{\ayn} +\DeclareInputText{219}{\ghayn} +\DeclareInputText{220}{\tatweel} +\DeclareInputText{221}{\fa} +\DeclareInputText{222}{\qaf} +\DeclareInputText{223}{\kaf} +% +\DeclareInputText{225}{\lam} +% +\DeclareInputText{227}{\meem} +\DeclareInputText{228}{\nun} +\DeclareInputText{229}{\ha} +\DeclareInputText{230}{\waw} +% +\DeclareInputText{236}{\alefmaqsura} +\DeclareInputText{237}{\ya} +% +\DeclareInputText{187}{\closguill}%Opening guillemet!! +\DeclareInputText{171}{\openguill}%Closing guillemet!! +\DeclareInputText{175}{-}% High -- +\DeclareInputText{151}{\textemdash}%--- +\DeclareInputText{150}{\textendash}%-- +% Farsi characters +\DeclareInputText{129}{\peh} +\DeclareInputText{141}{\tcheh} +\DeclareInputText{142}{\jeh} +\DeclareInputText{144}{\gaf} +\DeclareInputText{152}{\farsikaf}% FARSI KAF +\DeclareInputText{157}{\ZWNJ} +\DeclareInputText{158}{\noboundary}%%200C;ZWNJ%<< * is a local trick in our font to force final form + %and the {} to force initial form of the next character + +% +\DeclareInputText{240}{\nasb} +\DeclareInputText{241}{\raff} +\DeclareInputText{242}{\jarr} +\DeclareInputText{243}{\fatha} +\DeclareInputText{245}{\damma} +\DeclareInputText{246}{\kasra} +\DeclareInputText{248}{\shadda} +\DeclareInputText{250}{\sukun}%247 +% +% Special characters to be ignored +% +\DeclareInputText{160}{}%NSP +\DeclareInputText{173}{}%SHY +\DeclareInputText{252}{}%LRO +\DeclareInputText{253}{}%RLO +\makeatother +%% +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/farsi.ldf b/Master/texmf-dist/tex/latex/arabi/farsi.ldf new file mode 100644 index 00000000000..9d34e349dc1 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/farsi.ldf @@ -0,0 +1,356 @@ +% \iffalse meta-comment +% +% Copyright 2006 Youssef Jabri +% +% +% This file is part of the `Arabi' system. +% ------------------------------------------- +% +% It may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.3b +% 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.3b or later is part of all distributions of LaTeX +% version 2005/12/01 or later. +% +% This file has the LPPL maintenance status "maintained". +% +% +% \fi +% +% Filename: `farsi.ldf' the language definition file of Farsi +% for use with BABEL. +% + +\ProvidesFile{farsi.ldf} + +\ProvidesLanguage{farsi}[2006/01/01 v0.1 Farsi support for the babel system] + + +\LdfInit{farsi}{captionsfarsi} + + +\ifx\l@farsi\@undefined + \@nopatterns{farsi}% + \adddialect\l@farsi0 +\fi +\InputIfFileExists{lfeenc.def}{% + \message{Loading the definitions for the LaTeX{} Farsi encoding}}{% + \errhelp{I can't find the laeenc.def file for the Farsi fonts}% + \errmessage{Since I do not know what the LFE encoding means^^J + I can't typeset Farsi.^^J + I stop here, while you get a suitable lfeenc.def file}\@@end + } + +%% actually, due to the fact that there is no standard encoding +%% used widely by the Iranian community. We adopt the Unicode utf8 +%% encoding and the Windows CP1256. The user may use the editor he wants if it can export +%% to one of these two formats. If none is specified we will assume it's utf-8!! +%% If no encoding is loaded, utf-8 will be automatically! +%% +\AtEndOfPackage{% + \@ifpackageloaded{inputenc}{}{\RequirePackage[utf8]{inputenc}}} + + + +%NO hyphenation is needed in Farsi!! +\providehyphenmins{\CurrentOption}{\thr@@\thr@@} + + +%% Some captions are missing. The others have been ``stolen'' from \FarsiTeX +\addto\captionsfarsi{% +\def\prefacename{\textFR{\meem\dal\kha\lam}}% << +\def\refname{\textFR{\meem\ra\jeem\ayn}}% +\def\abstractname{\textFR{\tcheh\kaf\ya\dal\ha}}% +\def\bibname{\textFR{\kaf\taa\alef\baa\ZWNJ\nun\alef\meem\ha}}% +\def\chaptername{\textFR{\fa\sad\lam}}% +\def\appendixname{\textFR{\peh\ya\waw\seen\taa}}% +\def\contentsname{\textFR{\fa\ha\ra\seen\taa\space\meem\nun\dal\ra\jeem\alef\taa}}% +\def\listfigurename{\textFR{\lam\ya\seen\taa\ \alef\sheen\kaf\alef\lam}}% +\def\listtablename{\textFR{\lam\ya\seen\taa\ \jeem\dal\alef\waw\lam}}% +\def\indexname{\textFR{\fa\ha\ra\seen\taa\ \alef\lam\fa\baa\alef\ya\ya}}% +\def\figurename{\textFR{\sheen\kaf\lam}}% +\def\tablename{\textFR{\jeem\dal\waw\lam}}% +\def\partname{\textFR{\baa\kha\sheen}}% +\def\enclname{}%<-- Needs translation +\def\ccname{\textFR{\nun\seen\kha\T\space\lam\noboundary}}% << +\def\headtoname{}%<-- Needs translation +\def\pagename{\textFR{\sad\fa\Haa\T}}% +\def\seename{\textFR{\ra\alef\jeem\ayn}}%<< +\def\alsoname{\textFR{\ra\alef\jeem\ayn\space\alefhamza\ya\dad\alef}}%<< +\def\proofname{\textFR{\baa\ra\ha\alef\nun}}% for AMS-\LaTeX +\def\glossaryname{\textFR{\qaf\alef\meem\waw\seen}}%<< +} + + + + +% +% The default format for the date in IRAN +% It's called the Jalali calendar. Adapted from FarsiTeX +% +\InputIfFileExists{Arabiftoday.sty}{% + \message{Loading the definitions for the Jalali calendar}}{% + \errhelp{I can't find the Arabiftoday.sty file for the Jalali calendar}% + \errmessage{Since I do not know what the Jalali calendar is^^J + I can't typeset the Farsi date.^^J + I stop here, while you get a suitable Arabiftoday.sty file}\@@end +} + +\def\datefarsi{\def\today{\ftoday}} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% MACROS FOR Arabic/Latin TYPESETTING +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +% First, the common part to Arabic and Farsi +% +\InputIfFileExists{Arabicore.sty}{% + \message{Loading the Common definitions for Arabic and Farsi}}{% + \errhelp{I can't find the Arabicore.sty file}% + \errmessage{Since I can't find the Arabicore.sty file^^J + I can't typeset Arabic.^^J + I stop here, while you get a suitable Arabicore.sty file}\@@end +} + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Now the specific part to Farsi +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +%\newif\if@farsi %-----> Arabicore +% +\newcommand{\FarsiEncoding}{\fontencoding{LFE}\selectfont} + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% ArabTeX has already \R as well as \RL command +% While (La)TeX defines already \L +% In addition to the fact that the Hebrew package for Babel +% has \R and \L !! +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\DeclareRobustCommand{\@farsi@R}[1]{\bgroup\beginR\@arabicfalse\@farsitrue\FarsiEncoding + #1\endR\egroup} +% To avoid bad surprised we use \def to define the \R control sequence, +% many packages ``like'' to use , like ArabTeX and the Hebrew package +% supporting Babel +\newcommand{\textFR}[1]{\expandafter\@farsi@R{#1}}% +\def\textRL#1{\expandafter\@farsi@R{#1}}% +%Temporary shortcut +\newcommand{\FR}[1]{\textFR{#1}} +% For \cs{L} see the core ! +\DeclareRobustCommand{\@ensure@farsi}[1]{\if@farsi #1 \else\beginR\FarsiEncoding #1\endR\fi} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + + + + +\def\farsiencoding{LFE} +\DeclareFontEncoding{LFE}{}{} +\DeclareFontSubstitution{LFE}{cmr}{m}{n} +\DeclareErrorFont{LFE}{cmr}{m}{n}{10} + +\DeclareRobustCommand{\bbl@farsi}{% + \bbl@arabi% + \fontencoding\farsiencoding\selectfont% + \let\encodingdefault\farsiencoding% + \@rltrue% + \@farsitrue% +} + +\addto\extrasfarsi{\bbl@farsi +} + +\addto\noextrasfarsi{% +\@rlfalse +\@farsifalse +\latintext\normalfont %enough ?? +% Restore the lplain.tex penalties?? +\hyphenpenalty=50 +\binoppenalty=700 +\relpenalty=500 +} + + +% The package \pkg{ifthen} is needed. We test if the font contains a character +% \cs{rial}. Else we define it just to be the \cs{rial} of the font \texttt{nazli] +% which has one +% +\newlength{\rialheight}% + +\DeclareTextCommand{\rial}{LFE}{% + \settoheight{\rialheight}{\rialchar}% + \ifthenelse{\lengthtest{\rialheight=0pt}}% + {\mbox{\textnazli{\,\rialchar\,}}}% + {{}\,\rialchar\,{}}% + } + + +% +% Now, the Farsi fonts Definitions +% +\InputIfFileExists{farsifnt.sty}{% + \message{Loading the Arabi fonts definitions for Farsi}}{% + \errhelp{I can't find the farsifnt.sty file}% + \errmessage{Since I can't find the farsifnt.sty file^^J + I can't typeset Farsi.^^J + I stop here, while you get a suitable farsifnt.sty file}\@@end +} + + + +%% Numbers in Arabic contexts, must be written as input, not reflected! +%% They are already Right-to-Left! Sometimes written in Arabic digits and +%% other times with Arabo-Indic digits. +%% They have to be input using the \I control sequence +%% +\newcommand{\ExtendedIndicDigit}[1]{\L{\FarsiEncoding #1}} + + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%==========================================================% +% The changes that should be executed after reading % +% the main style file. (e.g., article.sty) % +%==========================================================% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\addto\extrasfarsi{% + \let\SAV@alph\@alph% + \let\SAV@Alph\@Alph% + \renewcommand*{\@alph}[1]{\protect\abjadnumeral{\number#1}}% + \renewcommand*{\@Alph}[1]{\protect\abjadnumeral{\number#1}}} + +\addto\noextrasfarsi{% + \let\@alph\SAV@alph% + \let\@Alph\SAV@Alph} + + + +% **************************************** +% * PUNCTUATION * +% **************************************** +% +% TEMPORARILY + +\addto\extrasfarsi{% +\frenchspacing} + + + + +%% We change \alph{counter} so that we get abjad numerals instead, +%% we change \Alph{counter} to get abjad numerals since no Uppercase +%% exists in Arabic, just to avoid bad surprises. +%% + +%% Good for Farsi? Change!? +%% + +\let\latin@Alph\Alph +\let\latin@alph\alph +\def\arabic@alph#1{\expandafter\abjadnumeral\expandafter{\number#1}} +\def\arabic@Alph#1{\expandafter\abjadnumeral\expandafter{\number#1}} +\addto\extrasfarsi{% +\def\alph#1{\expandafter\abjadnumeral\csname c@#1\endcsname} +\def\Alph#1{\expandafter\abjadnumeral\csname c@#1\endcsname} +} +\addto\noextrasfarsi{% + \let\alph\latin@alph + \let\Alph\latin@Alph} + + + +% +% Now, the common file to Arabic and Farsi that allows +% activating and deactivating Vowelization +% +\InputIfFileExists{arabnovowel.sty}{% + \message{Loading the Common definitions for Arabic and Farsi}}{% + \errhelp{I can't find the arabnovowel.sty file}% + \errmessage{Since I can't find the arabnovowel.sty file^^J + I can't activate or deactivate vowelization.^^J + The vowels you type will be printed!}\@@end +} + +% To get the parentheses around equations numbers to appear correctly +% works with standard classes article, report and book (with or without amsmath package) +% and with ams[*] classes. (reqno should be used!!) +% +\addto\extrasfarsi{% +\let\SAV@@eqnnum\@eqnnum +\let\SAV@tagform@\tagform@ +\def\tagform@#1{\maketag@@@{)\ignorespaces#1\unskip\@@italiccorr(}}% if amsmath is loaded +\renewcommand{\@eqnnum}{)\theequation(}% otherwise +} + +% Restore original values +\addto\noextrasfarsi{% +\let\@eqnnum\SAV@@eqnnum +\let\tagform@\SAV@tagform@ +} + + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Experimental Farsi mathematics +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%% Farsi digits in MATHS %%%%%%%%%%%%%%%%%% + +% New MathVersion +\DeclareMathVersion{farsimath} + +% DeclareSymbolFont to be used with persian and Arabic digits +\DeclareSymbolFont{farsiletters}{LFE}{nazli}{m}{n} +% SetSymbolFont for each version +\SetSymbolFont{farsiletters}{farsimath}{LFE}{nazli}{m}{n} +% We suppose the normal mathematics fonts when restoring back +% the normal behaviour +\SetSymbolFont{farsiletters}{normal}{OT1}{cmr}{m}{n} + +%To work with persianmathdigits +\DeclareMathSymbol{0}{\mathalpha}{farsiletters}{48}% +\DeclareMathSymbol{1}{\mathalpha}{farsiletters}{49}% +\DeclareMathSymbol{2}{\mathalpha}{farsiletters}{50}% +\DeclareMathSymbol{3}{\mathalpha}{farsiletters}{51}% +\DeclareMathSymbol{4}{\mathalpha}{farsiletters}{52}% +\DeclareMathSymbol{5}{\mathalpha}{farsiletters}{53}% +\DeclareMathSymbol{6}{\mathalpha}{farsiletters}{54}% +\DeclareMathSymbol{7}{\mathalpha}{farsiletters}{55}% +\DeclareMathSymbol{8}{\mathalpha}{farsiletters}{56}% +\DeclareMathSymbol{9}{\mathalpha}{farsiletters}{57}% + + +\newcommand{\farsimathdigits}{% +\mathversion{farsimath}} +\newcommand{\arabicmathdigits}{% +\mathversion{normal}} + + + +% We suppose the normal behaviour inside Farsi is to use +% Farsi digits +\addto\extrasfarsi{% +\farsimathdigits +} +% While outside, the Arabic digits are used +\addto\noextrasfarsi{% +\arabicmathdigits +} + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + +%%%%%% To let this file clean and usable by everybody %%%%%% +% use "farsi.cfg" instead and uncomment next line +%\loadlocalcfg{farsi} %last patches and additional hacks +%% +\ldf@finish{farsi} + + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/farsifnt.sty b/Master/texmf-dist/tex/latex/arabi/farsifnt.sty new file mode 100644 index 00000000000..e406ea0d5e7 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/farsifnt.sty @@ -0,0 +1,178 @@ +% \iffalse meta-comment +% +% Copyright 2006 Youssef Jabri +% +% +% This file is part of the `Arabi' system. +% ------------------------------------------- +% +% It may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.3b +% 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.3b or later is part of all distributions of LaTeX +% version 2005/12/01 or later. +% +% This file has the LPPL maintenance status "maintained". +% +% +% \fi +% +% Filename: `farsifnt.sty' Arabic font switching commands used by +% the Arabi package. +% +\def\fileversion{1.0} +\def\filedate{2006/01/01} +%%%%%%%%%%%%%%%%%%%%%%%% Font Names %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Check if file is loaded and announce file on terminal: +% +\csname FarsifontsLoaded\endcsname +\let\FarsifontsLoaded\endinput + +\message{\space\space Farsi font switching commands v\fileversion\space\space\filedate} +\message{\space\space (may still change)\space\space} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% +%% +%\ProvidesPackage{farsifnt}[2006/01/01 v1.0 Farsi font switching +% commands (may still change)] + + + +% \DeclareTextFontCommand {<cmd>} {<font-switches>} +% +% Declares command <cmd> to be a font command with one argument. The current font attributes +% are locally modified by <font-switches> and then the argument of <cmd> is typeset in the +% resulting new font. +% +% Commands defined by \DeclareTextFontCommand automatically take care of any necessary +% italic correction (on either side). + + +% +%============================== Microsoft =================================== +% +% Farsi Simple and outline + \DeclareTextFontCommand{\textfrsimpl}{\fontfamily{farsismpl}\selectfont} + \DeclareRobustCommand{\frsimpl}{\fontfamily{farsismpl}\selectfont} +% + \DeclareRobustCommand{\frsimplout}{\fontfamily{farsismpl}\fontseries{b}\selectfont} + \DeclareTextFontCommand{\textfrsimplout}{\fontfamily{farsismpl}\fontseries{b}\selectfont} + + +% Arial + \DeclareTextFontCommand{\textfrarial}{\fontfamily{frarial}\selectfont} + \DeclareRobustCommand{\frarial}{\fontfamily{frarial}\selectfont} +% + \DeclareTextFontCommand{\textfrarialb}{\fontfamily{frarial}\fontseries{b}\selectfont} + \DeclareRobustCommand{\frarialb}{\fontfamily{frarial}\fontseries{b}\selectfont} + +% Times New Roman + \DeclareTextFontCommand{\textftimes}{\fontfamily{frtimes}\selectfont} + \DeclareRobustCommand{\ftimes}{\fontfamily{frtimes}\selectfont} +% + \DeclareTextFontCommand{\textftimesb}{\fontfamily{frtimes}\fontseries{b}\selectfont} + \DeclareRobustCommand{\ftimesb}{\fontfamily{frtimes}\fontseries{b}\selectfont} +% Courier +% \DeclareTextFontCommand{\textcour}{\fontfamily{cour}\selectfont} +% \DeclareRobustCommand{\cour}{\fontfamily{cour}\selectfont} +% +% \DeclareTextFontCommand{\textcourb}{\fontfamily{cour}\fontseries{b}\selectfont} +% \DeclareRobustCommand{\courb}{\fontfamily{cour}\fontseries{b}\selectfont} +% Traditional Arabic + \DeclareTextFontCommand{\textftrad}{\fontfamily{ftraditionalarabic}\selectfont} + \DeclareRobustCommand{\ftrad}{\fontfamily{ftraditionalarabic}\selectfont} +% + \DeclareTextFontCommand{\textftradb}{\fontfamily{ftraditionalarabic}\fontseries{b}\selectfont} + \DeclareRobustCommand{\ftradb}{\fontfamily{ftraditionalarabic}\fontseries{b}\selectfont} +% Simplified arabic + \DeclareTextFontCommand{\textfrsimplarabic}{\fontfamily{smplarabic}\selectfont} + \DeclareRobustCommand{\frsimplarabic}{\fontfamily{smplarabic}\selectfont} +% + \DeclareTextFontCommand{\textfrsimplarabicb}{\fontfamily{smplarabic}\fontseries{b}\selectfont} + \DeclareRobustCommand{\frsimplarabicb}{\fontfamily{smplarabic}\fontseries{b}\selectfont} +% +% Andalus + \DeclareTextFontCommand{\textfandalus}{\fontfamily{fandlso}\selectfont} + \DeclareRobustCommand{\fandalus}{\fontfamily{fandlso}\selectfont} + +% +%================================== ?????????????? ========================== +% + + +% +%=============================== FarsiWeb Project Fonts =================================== +% Nazli (Normal and Bold) + \DeclareTextFontCommand{\textnazli}{\fontfamily{nazli}\selectfont} + \DeclareRobustCommand{\nazli}{\fontfamily{nazli}\selectfont} +% + \DeclareTextFontCommand{\textnazlib}{\fontfamily{nazli}\fontseries{b}\selectfont} + \DeclareRobustCommand{\nazlib}{\fontfamily{nazli}\fontseries{b}\selectfont} +% Nazli Outline (Normal and Bold) + \DeclareTextFontCommand{\textnazliout}{\fontfamily{nazliout}\selectfont} + \DeclareRobustCommand{\nazliout}{\fontfamily{nazliout}\selectfont} +% + \DeclareTextFontCommand{\textnazlibout}{\fontfamily{nazliout}\fontseries{b}\selectfont} + \DeclareRobustCommand{\nazlibout}{\fontfamily{nazliout}\fontseries{b}\selectfont} +% +% Titr (Bold only for titles) + \DeclareTextFontCommand{\texttitr}{\fontfamily{titr}\selectfont} + \DeclareRobustCommand{\titr}{\fontfamily{titr}\selectfont} +% +% Titr Outline + \DeclareTextFontCommand{\texttitrout}{\fontfamily{titrout}\selectfont} + \DeclareRobustCommand{\titrout}{\fontfamily{titrout}\selectfont} +% +% Koodak + \DeclareTextFontCommand{\textkoodak}{\fontfamily{koodak}\selectfont} + \DeclareRobustCommand{\koodak}{\fontfamily{koodak}\selectfont} +% +% Homa + \DeclareTextFontCommand{\texthoma}{\fontfamily{homa}\selectfont} + \DeclareRobustCommand{\homa}{\fontfamily{homa}\selectfont} +% Elham + \DeclareTextFontCommand{\textelham}{\fontfamily{elham}\selectfont} + \DeclareRobustCommand{\elham}{\fontfamily{elham}\selectfont} +% +% Roya (Normal and Bold) + \DeclareTextFontCommand{\textroya}{\fontfamily{roya}\selectfont} + \DeclareRobustCommand{\roya}{\fontfamily{roya}\selectfont} +% + \DeclareTextFontCommand{\textroyab}{\fontfamily{roya}\fontseries{b}\selectfont} + \DeclareRobustCommand{\royab}{\fontfamily{roya}\fontseries{b}\selectfont} + +% Terafik (Normal and Bold) + \DeclareTextFontCommand{\textterafik}{\fontfamily{terafik}\selectfont} + \DeclareTextFontCommand{\terafik}{\fontfamily{terafik}\selectfont} +% + \DeclareTextFontCommand{\textterafikb}{\fontfamily{terafik}\fontseries{b}\selectfont} + \DeclareTextFontCommand{\terafikb}{\fontfamily{terafik}\fontseries{b}\selectfont} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%% +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +%% +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/fmultico.sty b/Master/texmf-dist/tex/latex/arabi/fmultico.sty new file mode 100644 index 00000000000..a37c4174491 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/fmultico.sty @@ -0,0 +1,567 @@ +%% +%% This is file `fmulticol.sty', generated +%% on <1993/12/2> with the docstrip utility (2.0r). +%% +%% The original source files were: +%% +%% multicol.doc (with options: `style,check,marktrace') +%% +%% Copyright (C) 1989-1992 by Frank Mittelbach. All rights reserved. +%% Copyright (C) 1996 by The FarsiTeX Project Group. +%% +%% This file is part of the multicol package. +%% +%% IMPORTANT NOTICE: +%% +%% You are not allowed to change this file. You may however copy +%% this file to a file with a different name and then change the copy +%% if you obey the restrictions on file changes described in +%% readme.mz. +%% +%% You are NOT ALLOWED to distribute this file alone. You are NOT +%% ALLOWED to take money for the distribution or use of this file (or +%% a changed version) except for a nominal charge for copying etc. +%% +%% You are allowed to distribute this file under the condition that +%% it is distributed together with all files mentioned in readme.mz1. +%% +%% If you receive only some of these files from someone, complain! +%% +%% However, if these files are distributed by established suppliers +%% as part of a complete TeX distribution, and the structure of the +%% distribution would make it difficult to distribute the whole set +%% of files, *those parties* are allowed to distribute only some of +%% the files provided that it is made clear that the user will get a +%% complete distribution-set upon request to that supplier (not me). +%% Notice that this permission is not granted to the end user. +%% +%% +%% For error reports in case of UNCHANGED versions see readme.mz +%% +%% + +%%% Save file as: multicol.doc Source: FILESERV@SHSU.BITNET +%%% Note: This is a file from the MULTICOL (version 1.4m, 7 September 1992) +%%% set written by Frank Mittelbach <MITTELBACH@MZDMZA.ZDM.Uni-Mainz.de>. +%%% NOTE: This is part 1 of a 3 part distribution. +%%% The following checksum includes all SHSU-generated topmatter. +%%% checksum = "34058 854 5506 38012" = +%%% +\def\fileversion{v1.4m} +\def\filedate{92/09/04} +\def\docdate {92/09/04} + +%% \CheckSum{1101} +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +%% +%% Style-option `multicol' to use with LaTeX v2.09 +%% Copyright (C) 1989-1992 Frank Mittelbach, all rights reserved. +\@ifundefined{mult@cols}{}{\endinput} +\typeout{Style option: `multicol' + \fileversion\space <\filedate> (FMi)} +\typeout{English documentation + \@spaces\@spaces\space<\docdate> (FMi)} +\def\multicols#1{\col@number#1\relax + \ifnum\col@number<\tw@ + \@warning{Using `\number\col@number' + columns doesn't seem a good idea.^^J + I therefore use two columns instead}% + \col@number\tw@ \fi + \ifnum\col@number>5 + \@warning{Current implementation doesn't + support more than five columns.^^J + I therefore use five columns instead}% + \col@number5 \fi + \@ifnextchar[\mult@cols{\mult@cols[]}} +\def\mult@cols[#1]{\@ifnextchar[% + {\mult@@cols{#1}}% + {\mult@@cols{#1}[\premulticols]}} +\def\mult@@cols#1[#2]{% + \par + \ifinner \@boxedmulticolstrue + \else + \ifnum \doublecol@number>\z@ + \@boxedmulticolstrue + \fi + \fi + \ifnum\c@tracingmulticols>\z@ + \typeout{^^J^^JStarting multicolumn + output with \the\col@number + \space columns% + \if@boxedmulticols\space + (boxed mode)\fi + \on@line:^^J}\fi + \enough@room{#2}% + {#1\par}\addvspace\multicolsep + \begingroup + \prepare@multicols + \if@boxedmulticols + \setbox\mult@box\vbox\bgroup + \penalty-\@M + \fi + \ignorespaces} +\newif\if@boxedmulticols \@boxedmulticolsfalse +\newbox\mult@box +\def\enough@room#1{% + \if@boxedmulticols\else + \par + \bgroup\@nobreakfalse\addpenalty\z@\egroup + \page@free \pagegoal + \advance \page@free -\pagetotal + \ifnum \c@tracingmulticols>\z@ + \typeout{Current page:}% + \message{\@spaces goal height=% + \the\pagegoal: used \the\pagetotal + \space -> free=\the\page@free}% + \typeout{\@spaces needed \the#1 + (for \string#1)}\fi + \ifdim \page@free <#1\newpage \fi + \fi} +\def\prepare@multicols{% + \multicol@leftmargin\@totalleftmargin + \@totalleftmargin\z@ + \parshape\z@ + \doublecol@number\col@number + \multiply\doublecol@number\tw@ + \if@boxedmulticols + \let\l@kept@firstmark\kept@firstmark + \let\l@kept@botmark\kept@botmark + \global\let\kept@firstmark\@empty + \global\let\kept@botmark\@empty + \else + \nointerlineskip \null + \output{% + \global\setbox\partial@page\vbox + {% +%%%---END---Part 1 of 3---multicol.doc + +%%% Save file as: multicol.doc Source: FILESERV@SHSU.BITNET +%%% Note: This is a file from the MULTICOL (version 1.4m, 7 September 1992) +%%% set written by Frank Mittelbach <MITTELBACH@MZDMZA.ZDM.Uni-Mainz.de>. +%%% NOTE: This is part 2 of a 3 part distribution. +%%% The following checksum includes all SHSU-generated topmatter. +%%% checksum = "02434 960 4927 38435" = +%%% + \ifvoid\partial@page\else + \@latexerr{Error saving partial + page\on@line}% + {The part of the page before + the multicols environment was + nearly full with the result + that starting the environment + will produce an overfull + page. Some text may be lost! + Please increase \premulticols + either generally or for this + environment by specifying a + suitable value in the second + optional argument to the + multicols environment.} + \unvbox\partial@page + \box\last@line + \fi + \unvbox\@cclv + \global\setbox\last@line\lastbox + }% + \prep@keptmarks + \global\let\kept@topmark\firstmark + }\eject + \advance\@colroom-\ht\partial@page + \vsize\col@number\@colroom + \advance\vsize\c@collectmore\baselineskip + \output{\multi@column@out}% + \multiply\count\footins\col@number + \multiply\skip \footins\col@number + \reinsert@footnotes + \fi + \vbadness10001 \hbadness5000 + \tolerance\multicoltolerance + \pretolerance\multicolpretolerance + \setemergencystretch\col@number\hsize + \set@floatcmds + \advance\baselineskip\multicolbaselineskip + \hsize\linewidth \advance\hsize\columnsep + \advance\hsize-\col@number\columnsep + \divide\hsize\col@number + \full@width\linewidth + \linewidth\hsize +} +\newdimen\multicol@leftmargin +\def\endmulticols{\par + \if@boxedmulticols + \egroup + \setbox\@tempboxa\vsplit\mult@box to\z@ + \balance@columns + \return@nonemptymark{first}\kept@firstmark + \return@nonemptymark{bot}\kept@botmark + \page@sofar + \global\let\kept@firstmark\l@kept@firstmark + \global\let\kept@botmark\l@kept@botmark + \ifnum\c@tracingmulticols>\tw@ + \typeout{Restore kept marks to% + ^^J first: \meaning\kept@firstmark% + ^^J bot\space\space: + \meaning\kept@botmark }% + \fi + \else + \bgroup\@nobreakfalse\addpenalty\z@\egroup + \output{\balance@columns@out}\eject + \ifvbox\partial@page\unvbox\partial@page\fi + \global\let\kept@firstmark\@empty + \global\let\kept@botmark\@empty + \ifnum\c@tracingmulticols>\tw@ + \typeout{Make kept marks empty}% + \fi + \fi + \@checkend{multicols}% + \endgroup + \if@boxedmulticols\else + \reinsert@footnotes + \fi + \global\c@unbalance\z@ + \enough@room\postmulticols + \addvspace\multicolsep + \ifnum\c@tracingmulticols>\z@ + \typeout{^^JEnding multicolumn + output% + \if@boxedmulticols + \space(boxed mode)\fi + .^^J^^J}\fi} +\newcount\c@unbalance +\newcount\c@collectmore +\newcount\c@tracingmulticols +\newcount\col@number +\newcount\doublecol@number +\newcount\multicoltolerance +\newcount\multicolpretolerance +\newdimen\full@width +\newdimen\page@free +\newdimen\premulticols +\newdimen\postmulticols +\newskip\multicolsep +\newskip\multicolbaselineskip +\newbox\partial@page +\newbox\last@line +\c@unbalance = 0 +\c@collectmore = 0 +\c@tracingmulticols = 0 +\col@number = 1 +\multicoltolerance = 9999 +\multicolpretolerance = -1 +\premulticols = 50pt +\postmulticols= 20pt +\multicolsep = 12pt plus 4pt minus 3pt +\multicolbaselineskip=0pt +\def\process@cols#1#2{\count@#1\relax + \loop #2% + \advance\count@\tw@ + \ifnum\count@<\doublecol@number + \repeat} +\def\revprocess@cols#1#2{\count@\doublecol@number\relax +\advance\count@ by -2 +% \ifodd\count@ \advance\count@ by -1 \fi + \loop #2% + \ifnum\count@>#1\relax + \advance\count@-\tw@ + \repeat} +\def\page@sofar{% + \process@cols\z@{\wd\count@\hsize}% + \ifnum\c@tracingmulticols>\z@ + \typeout{Column spec: + (\the\multicol@leftmargin\space --> + \the\full@width\space = \the\hsize + \space x \the\col@number)^^J}% + \fi +\ifvmode\else\errmessage{Multicol Error}\fi + \moveright\multicol@leftmargin + \hbox to\full@width{% + \box\z@ + \llap{\phantom p}% + \revprocess@cols\tw@{% + \hss\vrule\@width\columnseprule\hss\box\count@}% +}% +%%%%%\ifvmode\else\errmessage{Multicol Error}\fi +%%%%% \moveright\multicol@leftmargin +%%%%% \hbox to\full@width{% +%%%%% \process@cols\tw@{\box\count@ +%%%%% \hss\vrule\@width\columnseprule\hss}% +%%%%% \box\z@ +%%%%% \rlap{\phantom p}% +%%%%%}% +} +\def\reinsert@footnotes{\ifvoid\footins\else + \insert\footins{}\fi} +\def\multi@column@out{% + \ifnum\outputpenalty <-\@Mi + \speci@ls \else + \splittopskip\topskip + \splitmaxdepth\maxdepth + \dimen@\@colroom + \divide\skip\footins\col@number + \ifvoid\footins \else + \advance\dimen@-\skip\footins + \advance\dimen@-\ht\footins \fi + \process@cols\tw@{\setbox\count@ + \vsplit\@cclv to\dimen@ + \set@keptmarks + \ifshr@nking + \setbox\count@\vbox to\dimen@ + {\unvbox\count@\vfill}% + \fi + }% + \setbox\z@\vsplit\@cclv to\dimen@ + \set@keptmarks + \ifshr@nking + \setbox\z@\vbox to\dimen@ + {\unvbox\z@\vfill}% + \fi + \ifvoid\@cclv \else + \unvbox\@cclv + \penalty\outputpenalty + \ifvoid\footins\else + \@warning{I moved some lines to + the next page.^^J + \@spaces Footnotes on page + \thepage\space might be wrong}% + \fi + \ifnum \c@tracingmulticols>\thr@@ + \hrule\allowbreak \fi + \fi + \ifx\@empty\kept@firstmark + \let\firstmark\kept@topmark + \let\botmark\kept@topmark + \else + \let\firstmark\kept@firstmark + \let\botmark\kept@botmark + \fi + \ifnum\c@tracingmulticols>\tw@ + \typeout{Use kept top + \space\space mark: + `\meaning\kept@topmark'% + ^^JUse kept first mark: + `\meaning\kept@firstmark'% + ^^JUse kept bot + \space\space mark: + `\meaning\kept@botmark'% + ^^JProduce first mark: + `\meaning\firstmark'% + ^^JProduce bot + \space\space mark: + `\meaning\botmark'}% + \fi + \setbox\@cclv\vbox{\unvbox\partial@page + \page@sofar}% + \@makecol\@outputpage + \global\let\kept@topmark\botmark + \global\let\kept@firstmark\@empty + \global\let\kept@botmark\@empty + \ifnum\c@tracingmulticols>\tw@ + \typeout{(Re)Init top + \space\space mark: + `\meaning\kept@topmark'}% + \fi + \global\@colroom\@colht + \process@deferreds + \@whilesw\if@fcolmade\fi{\@outputpage + \global\@colroom\@colht + \process@deferreds}% + \ifnum\c@tracingmulticols>\@ne + \typeout{Colroom: \the\@colht\space + after float space removed + = \the\@colroom }\fi + \global\vsize\col@number\@colroom + \global\advance\vsize + \c@collectmore\baselineskip + \fi} +\def\speci@ls{% + \typeout{Floats and marginpars not + allowed inside `multicols' + environment!}% + \unvbox\@cclv\reinsert@footnotes + \xdef\@freelist{\@freelist\@currlist}% + \gdef\@currlist{}} +\def\process@deferreds{% + \@floatplacement + \@tryfcolumn\@deferlist + \if@fcolmade\else + \begingroup + \let\@tempb\@deferlist + \gdef\@deferlist{}% + \let\@elt\@scolelt + \@tempb \endgroup + \fi} +\newif\ifshr@nking +\def\raggedcolumns{% + \@bsphack\shr@nkingtrue\@esphack} +\def\flushcolumns{% + \@bsphack\shr@nkingfalse\@esphack} +\def\balance@columns@out{% + \setbox\mult@box\vbox{\unvbox\@cclv}% + \balance@columns + \global\vsize\@colroom + \global\advance\vsize\ht\partial@page + \unvbox\partial@page + \return@nonemptymark{first}\kept@firstmark + \return@nonemptymark{bot}\kept@botmark + \page@sofar} +\def\balance@columns{% + \setbox\mult@box\vbox to\ht\mult@box{% + \unvbox\mult@box + \remove@discardable@items + }% + \get@keptmarks\mult@box + \splittopskip\topskip + \splitmaxdepth\maxdepth + \@tempdima\ht\mult@box + \advance\@tempdima\dp\mult@box + \divide\@tempdima\col@number +%%%---END---Part 2 of 3---multicol.doc + +%%% Save file as: multicol.doc Source: FILESERV@SHSU.BITNET +%%% Note: This is a file from the MULTICOL (version 1.4m, 7 September 1992) +%%% set written by Frank Mittelbach <MITTELBACH@MZDMZA.ZDM.Uni-Mainz.de>. +%%% NOTE: This is part 3 of a 3 part distribution. +%%% The following checksum includes all SHSU-generated topmatter. +%%% checksum = "15022 557 2546 20727" = +%%% + \count@\@tempdima + \divide\count@\baselineskip + \dimen@\count@\baselineskip + \advance\dimen@\topskip + \ifdim \dimen@ >\@tempdima + \advance\dimen@-\baselineskip + \fi + \advance\dimen@\c@unbalance\baselineskip + \ifnum\c@tracingmulticols>\@ne + \typeout{Balance columns\on@line: + \ifnum\c@unbalance=\z@\else + (off balance=\number\c@unbalance)\fi}% + \fi + \ifnum\dimen@<\topskip + \ifnum\c@tracingmulticols>\@ne + \typeout{Start value + \the\dimen@ \space -> + \the\topskip \space (corrected)}% + \fi + \dimen@\topskip + \fi + \vbadness\@M \loop + {\process@cols\@ne{\global\setbox\count@ + \box\voidb@x}}% + \global\setbox\@ne\copy\mult@box + {\process@cols\thr@@{% + \global\setbox\count@ + \vsplit\@ne to\dimen@ + }}% + \boxmaxdepth\maxdepth + \global\setbox\@ne\vbox{\unvbox\@ne}% + \ifnum\c@tracingmulticols>\@ne + \message{\@spaces First column + = \the\ht\thr@@}\fi + \ifshr@nking \global\setbox\thr@@ + \vbox{\unvbox\thr@@}% + \ifnum\c@tracingmulticols>\@ne + \message{ after shrinking + \the\ht\thr@@}\fi\fi + \ifnum\c@tracingmulticols>\@ne + \message{<> last column = + \the\ht\@ne^^J}% + \fi + \ifdim\ht\@ne >\ht\thr@@ + \advance\dimen@\p@ + \repeat + \dimen@\ht\thr@@ + \ifdim\dimen@>\@colroom + \dimen@\@colroom + \fi + \process@cols\z@{\@tempcnta\count@ + \advance\@tempcnta\@ne + \setbox\count@\vbox to\dimen@ + {\unvbox\@tempcnta + \ifshr@nking\vfill\fi}}% +} +\@ifundefined{emergencystretch} + {\newdimen\emergencystretch}{} +\def\setemergencystretch#1#2{% + \emergencystretch 4pt + \multiply\emergencystretch#1} + +\def\set@floatcmds{% + \let\@dblfloat\@dbflt + \def\end@dblfloat{\par + \vskip\z@\egroup + \ifnum\@floatpenalty<\z@ + \@cons\@deferlist\@currbox + \fi + \ifnum\@floatpenalty=-\@Mii + \@esphack + \fi}} +\def\kept@topmark{{}{}} +\let\kept@firstmark\@empty +\let\kept@botmark\@empty +\def\return@nonemptymark#1#2{% + \ifx#2\@empty + \else + \ifnum\c@tracingmulticols>\tw@ + \typeout{Returned #1 mark: \meaning#2}% + \nobreak + \fi + \mark{#2}% + \nobreak + \fi} +\def\get@keptmarks#1{% + \begingroup + \vbadness\@M + \setbox#1\copy#1% + \setbox#1\vsplit#1to\maxdimen + \set@keptmarks + \endgroup +} +\def\set@keptmarks{% + \ifx\kept@firstmark\@empty + \expandafter\gdef\expandafter + \kept@firstmark + \expandafter{\splitfirstmark}% + \ifnum\c@tracingmulticols>\tw@ + \ifx\kept@firstmark\@empty\else + \typeout{Set kept first mark: + `\meaning\kept@firstmark'}% + \fi + \fi + \fi + \expandafter\def\expandafter\@tempa + \expandafter{\splitbotmark}% + \ifx\@tempa\@empty\else + \global\let\kept@botmark\@tempa + \ifnum\c@tracingmulticols>\tw@ + \typeout{Set kept bot mark: + `\meaning\kept@botmark'}% + \fi + \fi}% +\def\prep@keptmarks{% + \if@boxedmulticols \else + \get@keptmarks\partial@page + \fi} +\def\remove@discardable@items{% + \unskip\unpenalty\unkern + \unskip\unpenalty\unkern + \unskip\unpenalty\unkern + \unskip\unpenalty\unkern +} +\endinput +%% +%% End of file `multicol.sty'. diff --git a/Master/texmf-dist/tex/latex/arabi/fnum.sty b/Master/texmf-dist/tex/latex/arabi/fnum.sty new file mode 100644 index 00000000000..5477c8ace0e --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/fnum.sty @@ -0,0 +1,20 @@ +\def\abjad#1{\@abjad{\@nameuse{c@#1}}} +\def\adadi#1{\@adadi{\@nameuse{c@#1}}} +\def\harfi#1{\@harfi{\@nameuse{c@#1}}} + +\def\@abjad#1{\beginR\ifcase#1\or óÓ\or ’\or š\or ¢\else\@iabjad{#1}\fi\endR} +\def\@iabjad#1{\ifcase#1\or \or \or \or \or û\or ø\or ¥\or ž\or + ¯\or ý\or í\or ñ\or ô\or ö\or §\or á\or é\or «\or + ë\or ¤\or ©\or –\or ˜\or \or £\or \or à\or å\else\@ctrerr\fi} + +\def\@adadi#1{\beginR\ifcase#1\or þ×\or ¢ø\or ¨‚\or ú‘¤\else + \@iadadi{#1}\fi\endR} +\def\@iadadi#1{\ifcase#1\or \or \or \or \or •€¸\or ªÇ\or ûÔ´\or ûÈ´\or + ÷‚\or ¢ù\or þ‘¥¢ù\or ¢ø¥¢ù\or ¨ƒÃ¢ù\or ú‘¤¢ù\or •‘÷âù\or ª‘÷âù\or + ûÔÀù\or û¹Àù\or ÷¥¢ù\or “ƒÆ´\else\@ctrerr\fi} + +\def\@harfi#1{\beginR\ifcase#1\or óÓ\or ’\or ”\or –\else\@iharfi{#1}\fi\endR} +\def\@iharfi#1{\ifcase#1\or \or \or \or \or ˜\or š\or œ\or ž\or + \or £\or ¤\or ¥\or ¦\or §\or ©\or «\or + \or ¯\or à\or á\or å\or é\or ë\or í\or ï\or ñ\or ô\or ö\or + ø\or û\or ý\else\@ctrerr\fi} diff --git a/Master/texmf-dist/tex/latex/arabi/frfonts.sty b/Master/texmf-dist/tex/latex/arabi/frfonts.sty new file mode 100644 index 00000000000..3137b4c6313 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/frfonts.sty @@ -0,0 +1,134 @@ +% \iffalse meta-comment +% +% Copyright 2006 Youssef Jabri +% +% +% This file is part of the `Arabi' system. +% ------------------------------------------- +% +% It may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.3b +% 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.3b or later is part of all distributions of LaTeX +% version 2005/12/01 or later. +% +% This file has the LPPL maintenance status "maintained". +% +% +% \fi +% +% Filename: `FRfonts.sty' Arabic font ..... +% the Arabi package. +% +%% + +\ProvidesPackage{FRfonts}[2006/12/01 Part of the Arabi package] + + +\newif\ifffree\newif\iffmscore + +\DeclareOption{free}{\fmscorefalse\ffreetrue} +\DeclareOption{mscore}{\ffreefalse\fmscoretrue} +\ExecuteOptions{free} +\ProcessOptions + +\ifffree +\DeclareFontFamily{LFE}{\rmdefault}{\hyphenchar\font=-1}% +\DeclareFontShape{LFE}{\rmdefault}{m}{n}{<-> s*[1.25] nazli }{}% +\DeclareFontShape{LFE}{\rmdefault}{m}{it}{<-> s*[1.25] nazli }{}% +\DeclareFontShape{LFE}{\rmdefault}{m}{sl}{<-> s*[1.25] nazli }{}% +\DeclareFontShape{LFE}{\rmdefault}{m}{sc}{<-> s*[1.25] nazli }{}% +% +\DeclareFontShape{LFE}{\rmdefault}{bx}{n}{<-> s*[1.25] titr }{}% +\DeclareFontShape{LFE}{\rmdefault}{bx}{sl}{<->s*[1.25] titr }{}% +\DeclareFontShape{LFE}{\rmdefault}{bx}{it}{<->s*[1.25] titr }{}% +%%%% +\DeclareFontShape{LFE}{\rmdefault}{b}{n}{<-> s*[1.25] titr }{}% +\DeclareFontShape{LFE}{\rmdefault}{b}{sl}{<-> s*[1.25] titr }{}% +\DeclareFontShape{LFE}{\rmdefault}{b}{it}{<-> s*[1.25] titr }{}% +% +%%%%%%%%%%%%%%%%%%%%%%% Terafik for typewriter type %%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%% and Terafik bold for typewriter type Bold face %%%%%%%%%%%%%%%%%%%%%% +\DeclareFontFamily{LFE}{\ttdefault}{\hyphenchar\font=-1} +\DeclareFontShape{LFE}{\ttdefault}{m}{n}{<-> s*[1.25] homa }{}% +\DeclareFontShape{LFE}{\ttdefault}{m}{sl}{<-> s*[1.25] homa }{}% +\DeclareFontShape{LFE}{\ttdefault}{m}{it}{<-> s*[1.25] homa }{}% +\DeclareFontShape{LFE}{\ttdefault}{m}{sc}{<-> s*[1.25] homa }{}% +% +\DeclareFontShape{LFE}{\ttdefault}{bx}{n}{<-> s*[1.25] homa }{}% +\DeclareFontShape{LFE}{\ttdefault}{bx}{sl}{<->s*[1.25] homa }{}% +\DeclareFontShape{LFE}{\ttdefault}{bx}{it}{<->s*[1.25] homa }{}% +%%%% +\DeclareFontShape{LFE}{\ttdefault}{b}{n}{<-> s*[1.25] homa }{}% +\DeclareFontShape{LFE}{\ttdefault}{b}{sl}{<-> s*[1.25] homa }{}% +\DeclareFontShape{LFE}{\ttdefault}{b}{it}{<-> s*[1.25] homa }{}% +% +%%%%%%%%%%%%%%%%%%%%%%% Roya for Sans Serif !! %%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%% +\DeclareFontFamily{LFE}{\sfdefault}{\hyphenchar\font=-1}% +\DeclareFontShape{LFE}{\sfdefault}{m}{n}{<-> s*[1.25] nazlib }{}% +\DeclareFontShape{LFE}{\sfdefault}{m}{sl}{<-> s*[1.25] nazlib }{}% +\DeclareFontShape{LFE}{\sfdefault}{m}{it}{<-> s*[1.25] nazlib }{}% +\DeclareFontShape{LFE}{\sfdefault}{m}{sc}{<-> s*[1.25] nazlib }{}% +% +\DeclareFontShape{LFE}{\sfdefault}{bx}{n}{<-> s*[1.25] nazlib }{}% +\DeclareFontShape{LFE}{\sfdefault}{bx}{sl}{<->s*[1.25] nazlib }{}% +\DeclareFontShape{LFE}{\sfdefault}{bx}{it}{<->s*[1.25] nazlib }{}% +%%%% +\DeclareFontShape{LFE}{\sfdefault}{b}{n}{<-> s*[1.25] nazlib }{}% +\DeclareFontShape{LFE}{\sfdefault}{b}{sl}{<-> s*[1.25] nazlib }{}% +\DeclareFontShape{LFE}{\sfdefault}{b}{it}{<-> s*[1.25] nazlib }{}% +\else +\iffmscore +\DeclareFontFamily{LFE}{\rmdefault}{\hyphenchar\font=-1}% +\DeclareFontShape{LFE}{\rmdefault}{m}{n}{<-> s*[1.25] frsspbl }{}% +\DeclareFontShape{LFE}{\rmdefault}{m}{it}{<-> s*[1.25] frsspbl }{}% +\DeclareFontShape{LFE}{\rmdefault}{m}{sl}{<-> s*[1.25] frsspbl }{}% +\DeclareFontShape{LFE}{\rmdefault}{m}{sc}{<-> s*[1.25] fandlso }{}% +% +\DeclareFontShape{LFE}{\rmdefault}{bx}{n}{<-> s*[1.25] frsspout }{}% +\DeclareFontShape{LFE}{\rmdefault}{bx}{sl}{<->s*[1.25] frsspout }{}% +\DeclareFontShape{LFE}{\rmdefault}{bx}{it}{<->s*[1.25] frsspout }{}% +%%%% +\DeclareFontShape{LFE}{\rmdefault}{b}{n}{<-> s*[1.25] frsspout }{}% +\DeclareFontShape{LFE}{\rmdefault}{b}{sl}{<-> s*[1.25] frsspout }{}% +\DeclareFontShape{LFE}{\rmdefault}{b}{it}{<-> s*[1.25] frsspout }{}% +% +%%%%%%%%%%%%%%%%%%%%%%% Arial for typewriter type ?! %%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%% Courier seems to have a BAD spacing ?! %%%%%%%%%%%%%%%%%%%%%%%%%% +\DeclareFontFamily{LFE}{\ttdefault}{\hyphenchar\font=-1} +\DeclareFontShape{LFE}{\ttdefault}{m}{n}{<-> s*[1.25] frarial }{}% +\DeclareFontShape{LFE}{\ttdefault}{m}{sl}{<-> s*[1.25] frarial }{}% +\DeclareFontShape{LFE}{\ttdefault}{m}{it}{<-> s*[1.25] frarial }{}% +\DeclareFontShape{LFE}{\ttdefault}{m}{sc}{<-> s*[1.25] fandlso }{}%Andalus for small caps! +% +\DeclareFontShape{LFE}{\ttdefault}{bx}{n}{<-> s*[1.25] frarialb }{}% +\DeclareFontShape{LFE}{\ttdefault}{bx}{sl}{<->s*[1.25] frarialb }{}% +\DeclareFontShape{LFE}{\ttdefault}{bx}{it}{<->s*[1.25] frarialb }{}% +%%%% +\DeclareFontShape{LFE}{\ttdefault}{b}{n}{<-> s*[1.25] frarialb }{}% +\DeclareFontShape{LFE}{\ttdefault}{b}{sl}{<-> s*[1.25] frarialb }{}% +\DeclareFontShape{LFE}{\ttdefault}{b}{it}{<-> s*[1.25] frarialb }{}% +% +%%%%%%%%%%%%%%%%%%%%%%% Simplified Arabic for Sans Serif !! %%%%%%%%%%%%%%%%%%%%%%%%%%% +\DeclareFontFamily{LFE}{\sfdefault}{\hyphenchar\font=-1}% +\DeclareFontShape{LFE}{\sfdefault}{m}{n}{<-> s*[1.25] frsimpo }{}% +\DeclareFontShape{LFE}{\sfdefault}{m}{sl}{<-> s*[1.25] frsimpo }{}% +\DeclareFontShape{LFE}{\sfdefault}{m}{it}{<-> s*[1.25] frsimpo }{}% +\DeclareFontShape{LFE}{\sfdefault}{m}{sc}{<-> s*[1.25] frsimpo }{}% +% +\DeclareFontShape{LFE}{\sfdefault}{bx}{n}{<-> s*[1.25] frsimpbdo }{}% +\DeclareFontShape{LFE}{\sfdefault}{bx}{sl}{<->s*[1.25] frsimpbdo }{}% +\DeclareFontShape{LFE}{\sfdefault}{bx}{it}{<->s*[1.25] frsimpbdo }{}% +%%%% +\DeclareFontShape{LFE}{\sfdefault}{b}{n}{<-> s*[1.25] frsimpbdo }{}% +\DeclareFontShape{LFE}{\sfdefault}{b}{sl}{<-> s*[1.25] frsimpbdo }{}% +\DeclareFontShape{LFE}{\sfdefault}{b}{it}{<-> s*[1.25] frsimpbdo }{}% +\fi +\fi + + + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/haparabica.sty b/Master/texmf-dist/tex/latex/arabi/haparabica.sty new file mode 100644 index 00000000000..e8e2d739d0a --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/haparabica.sty @@ -0,0 +1,153 @@ +\NeedsTeXFormat{LaTeX2e}[1995/12/01] +\ProvidesPackage{HAPArabica}[2004/05/16] +\typeout{`Arabica' style for HA-prosper} +\typeout{(c) 2005 Youssef Jabri, Oujda, Morocco} +\typeout{Package version: 0.1} +\typeout{Adapted from HAPTycja} + +% Color definitions +\newrgbcolor{tjlblue}{.90 .95 .98}%{.78 .82 .85} +\newrgbcolor{tjblue}{.19 .39 .61} +\newrgbcolor{tjdblue}{.19 .44 .61}%{.09 .27 .47} +\newrgbcolor{HAP@textc}{.09 .27 .47} +\newrgbcolor{tjyellow}{1 .81 .42} +\newrgbcolor{tjlyellow}{1 .97 .84} +\newrgbcolor{HAP@framecolor}{.17 .31 .44}%{.09 .27 .47} + +% Highlighting definitions +\newrgbcolor{HAP@hcolor}{.09 .27 .47} % Highlight frame color +\newrgbcolor{HAP@htcolor}{1 .97 .84} % Highlight text color + +% Font definitions +\FontTitle{\usefont{T1}{phv}{b}{n}\fontsize{14.4pt}{14pt}\selectfont\tjdblue}% + {\usefont{T1}{phv}{b}{n}\fontsize{14.4pt}{14pt}\selectfont\tjdblue} +\FontText{\usefont{T1}{phv}{m}{n}\fontsize{10pt}{10pt}\selectfont\HAP@textc}% + {\usefont{T1}{phv}{m}{n}\fontsize{10pt}{10pt}\selectfont\HAP@textc} +\FontLeftFoot{\@fontTextColor\fontsize{8pt}{8pt}\selectfont\tjdblue}% + {\@fontTextColor\fontsize{8pt}{4pt}\selectfont\tjdblue} +\FontRightFoot{\@fontTextColor\fontsize{8pt}{8pt}\selectfont\tjdblue}% + {\@fontTextColor\fontsize{8pt}{4pt}\selectfont\tjdblue} + +% Slide style definitions +\RequirePackage{pst-grad} +\newcommand{\TitleSlide}[1]{% + \ifHAP@portrait + \psframe[linestyle=none,fillcolor=tjlyellow,fillstyle=solid](-2,11.5)(12.5,-.9)% + \psline[linewidth=.3pt,linecolor=tjdblue]{C-C}(-2,9.1)(-1,9.1)% + \psline[linewidth=.3pt,linecolor=tjdblue]{C-C}(-1,9.1)(-1,9.4)% + \psline[linewidth=.3pt,linecolor=tjdblue]{C-C}(-1,9.4)(12.5,9.4)% + \psframe[linestyle=none,fillstyle=gradient,gradbegin=tjlyellow,gradend=tjyellow,% + gradmidpoint=1](-2,-.15)(12.5,-2.26)% + \HAP@PutLF{tl}{-0.95,-.35}% + \HAP@PutRF{tr}{8.6,-.35}% + \else% + \psframe[linestyle=none,fillcolor=tjlyellow,fillstyle=solid](-2,9)(12.5,-.6)% + \psline[linewidth=.3pt,linecolor=tjdblue]{C-C}(-2,7.6)(-1,7.6)% + \psline[linewidth=.3pt,linecolor=tjdblue]{C-C}(-1,7.6)(-1,7.9)% + \psline[linewidth=.3pt,linecolor=tjdblue]{C-C}(-1,7.9)(11.5,7.9)% + \psline[linewidth=.3pt,linecolor=tjdblue]{C-C}(11.5,7.9)(11.5,8.2)% + \psline[linewidth=.3pt,linecolor=tjdblue]{C-C}(11.5,8.2)(12.5,8.2)% + \psframe[linestyle=none,fillstyle=gradient,gradbegin=tjlyellow,gradend=tjyellow,% title slide bottom + gradmidpoint=1](-2,-.5)(12.5,-1.32)% + \HAP@PutLF{tl}{-1.65,-.9}% + \HAP@PutRF{tr}{11.35,-.9}% + \fi% + {#1}}% + +\newcommand{\NormalSlide}[1]{% + \ifHAP@portrait% + \psframe[linestyle=none,fillcolor=tjlyellow,fillstyle=solid](-2,11.5)(12.5,-.9)% + \psline[linewidth=.3pt,linecolor=tjdblue]{C-C}(-2,9.1)(-1,9.1)% + \psline[linewidth=.3pt,linecolor=tjdblue]{C-C}(-1,9.1)(-1,9.4)% + \psline[linewidth=.3pt,linecolor=tjdblue]{C-C}(-1,9.4)(12.5,9.4)% + \psframe[linestyle=none,fillstyle=gradient,gradbegin=tjyellow,gradend=tjlyellow,% + gradmidpoint=1](8.4,11.5)(10,-2)% + \rput[lb](-2.3,9.95){% + \@ifundefined{HAP@NSNav}% + {\includegraphics[scale=.14]{flower.ps}}% + {\Acrobatmenu{\HAP@NSNav}{\includegraphics[scale=.14]{flower.ps}}}% + }% + \psframe[linestyle=none,fillstyle=gradient,gradbegin=tjlyellow,gradend=tjyellow,% + gradmidpoint=1](-2,-.15)(12.5,-5)% + \ifHAP@toc% + \rput[tr](3.7,-.8){\begin{minipage}[t]{2cm}\HAP@tsections\end{minipage}}% + \rput[tl](4.1,-.8){\begin{minipage}[t]{2cm}\HAP@tcontent\end{minipage}}% + \fi% + \HAP@PutLF{tl}{-0.95,-.35}% + \HAP@PutRF{tr}{8.6,-.35}% + \else% + \psframe[linestyle=none,fillcolor=tjlyellow,fillstyle=solid](-2,9)(9.4,-.6)% slide body + \psline[linewidth=.3pt,linecolor=tjdblue]{C-C}(-2,7.6)(-1,7.6)% + \psline[linewidth=.3pt,linecolor=tjdblue]{C-C}(-1,7.6)(-1,7.8)% + \psline[linewidth=.3pt,linecolor=tjdblue]{C-C}(-1,7.8)(9.3,7.8)% + \psline[linewidth=.3pt,linecolor=tjdblue]{C-C}(9.3,7.8)(9.3,9)%11.5 + \psframe[linestyle=none,fillstyle=gradient,gradbegin=tjyellow,gradend=tjlyellow,% vertical panel + gradmidpoint=1](9.3,9)(12.5,-2)% all slide height +% \psframe[linestyle=none,fillstyle=gradient,gradbegin=tjlblue,gradend=tjblue,% bottom +% gradmidpoint=1](-2,-.5)(12.5,-1.32)% + \psframe[linestyle=none,fillstyle=solid,fillcolor=tjlyellow,gradmidpoint=1](-2,-.5)(12.5,-1.32)%% bottom + + \ifHAP@toc% + \rput[lt](9.475,7.25){\begin{minipage}[t]{2cm}\HAP@toc\end{minipage}}% + \fi% + \HAP@PutLF{tl}{-1.65,-.9}% + \HAP@PutRF{tr}{11.35,-.9}% + \fi% + {#1}}% + +\newcommand{\SpecialSlide}[1]{% + \ifHAP@portrait% + \psframe[linestyle=none,fillcolor=tjlyellow,fillstyle=solid](-2,11.5)(12.5,-.9)% + \psline[linewidth=.3pt,linecolor=tjdblue]{C-C}(-2,9.1)(-1,9.1)% + \psline[linewidth=.3pt,linecolor=tjdblue]{C-C}(-1,9.1)(-1,9.4)% + \psline[linewidth=.3pt,linecolor=tjdblue]{C-C}(-1,9.4)(12.5,9.4)% + \psframe[linestyle=none,fillstyle=gradient,gradbegin=tjyellow,gradend=tjlyellow,gradmidpoint=1](8.4,11.5)(10,-.2)% + \psframe[linestyle=none,fillstyle=gradient,gradbegin=tjlyellow,gradend=tjyellow,gradmidpoint=1](-2,-.15)(12.5,-5)% + \ifHAP@toc% + \rput[tr](3.7,-.8){\begin{minipage}[t]{2cm}\HAP@tsections\end{minipage}}% + \rput[tl](4.1,-.8){\begin{minipage}[t]{2cm}\HAP@tcontent\end{minipage}}% + \fi% + \HAP@PutLF{tl}{-0.95,-.35}% + \HAP@PutRF{tr}{8.6,-.35}% + \else% + \psframe[linestyle=none,fillcolor=tjlyellow,fillstyle=solid](-2,9)(9.4,-.6)% + \psframe[linestyle=none,fillstyle=gradient,gradbegin=tjyellow,gradend=tjlyellow,gradmidpoint=1](9.3,9)(12.5,-2)% + \psframe[linestyle=none,fillcolor=tjlyellow,fillstyle=solid](9.2,7.91)(12.5,-2)% + \psline[linewidth=.3pt,linecolor=tjdblue]{C-C}(-2,7.6)(-1,7.6)% + \psline[linewidth=.3pt,linecolor=tjdblue]{C-C}(-1,7.6)(-1,7.9)% + \psline[linewidth=.3pt,linecolor=tjdblue]{C-C}(-1,7.9)(12.5,7.9)% + \psframe[linestyle=none,fillstyle=gradient,gradbegin=tjlyellow,gradend=tjyellow,gradmidpoint=1](-2,-.5)(12.5,-1.32)% + \HAP@PutLF{tl}{-1.65,-.9}% + \HAP@PutRF{tr}{11.35,-.9}% + \fi% + {#1}}% + +\ifHAP@portrait + \newcommand{\HAPR@titleSlide}{\NewSlideStyle[9cm]{tl}{-.65,2.9}{TitleSlide}} + \newcommand{\HAPR@normalSlide}{\NewSlideStyle[8.7cm]{tl}{-.65,3.3}{NormalSlide}} + \newcommand{\HAPR@wideSlide}{\NewSlideStyle[8.7cm]{tl}{-.65,3.3}{NormalSlide}} + \newcommand{\HAPR@dualSlide}{\NewSlideStyle[4.2cm]{tl}{-.65,3.3}{NormalSlide}} + \newcommand{\slidetitle}[1]{\rput[Br](8.3,4.55){\fontTitle{#1}}} +\else + \newcommand{\HAPR@titleSlide}{\NewSlideStyle[11.7cm]{tl}{-.6,3.4}{TitleSlide}} + \newcommand{\HAPR@normalSlide}{\NewSlideStyle[9.5cm]{tl}{-.6,3.7}{NormalSlide}} + \newcommand{\HAPR@wideSlide}{\NewSlideStyle[11.7cm]{tl}{-.6,3.7}{SpecialSlide}} + \newcommand{\HAPR@dualSlide}{\NewSlideStyle[5.5cm]{tl}{-.6,3.7}{SpecialSlide}} + \newcommand{\slidetitle}[1]{\rput[Br](9.2,4.55){\fontTitle{#1}}} +\fi + +% List item definitions +\RequirePackage{pifont} +\myitem{1}{\raisebox{1pt}{\fontsize{7pt}{7pt}\selectfont\ding{110}}} +\myitem{2}{\raisebox{1pt}{\fontsize{7pt}{7pt}\selectfont\ding{117}}} +\myitem{3}{\raisebox{1pt}{\fontsize{5pt}{5pt}\selectfont\ding{110}}} + +% Style of table of contents entries +\newcommand{\HAP@tsectionm}{% + \ifHAP@portrait\else + \psline[linecolor=tjdblue,linewidth=.25pt](-.04,-.05)(2,-.05)% + \fi +} +\newcommand{\HAP@tsectiononly}[1]{\parbox{2cm}{\raggedleft#1\,}}% + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/laeaealbattar.fd b/Master/texmf-dist/tex/latex/arabi/laeaealbattar.fd new file mode 100644 index 00000000000..a12a431d595 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/laeaealbattar.fd @@ -0,0 +1,19 @@ +%% +%% This is file `laeaealbattar.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% +\ProvidesFile{laeaealbattar.fd} + [2006/01/01 v0.1 LaTeX Arabic font description + (test version: may change)] + +\DeclareFontFamily{LAE}{aealbattar}{\hyphenchar\font=-1}% + +\DeclareFontShape{LAE}{aealbattar}{m}{n}{<-> s*[1.25] aealbattar}{} +\DeclareFontShape{LAE}{aealbattar}{bx}{n}{<-> s*[1.25] aealbattar}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/laeaealmateen.fd b/Master/texmf-dist/tex/latex/arabi/laeaealmateen.fd new file mode 100644 index 00000000000..aaf7da1ca5a --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/laeaealmateen.fd @@ -0,0 +1,19 @@ +%% +%% This is file `laeaealmateen.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% +\ProvidesFile{laeaealmateen.fd} + [2006/01/01 v0.1 LaTeX Arabic font description + (test version: may change)] + +\DeclareFontFamily{LAE}{aealmateen}{\hyphenchar\font=-1}% + +\DeclareFontShape{LAE}{aealmateen}{m}{n}{<-> s*[1.25] aealmateen}{} +\DeclareFontShape{LAE}{aealmateen}{bx}{n}{<-> s*[1.25] aealmateen}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/laeaealmohanadb.fd b/Master/texmf-dist/tex/latex/arabi/laeaealmohanadb.fd new file mode 100644 index 00000000000..eaefac5179b --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/laeaealmohanadb.fd @@ -0,0 +1,37 @@ +%% +%% This is file `laeaealmohanadb.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% + + +\ProvidesFile{laeaealmohanadb.fd} + [2006/01/01 v0.1 LaTeX Arabic font description + (test version: may change)] + + +\DeclareFontFamily{LAE}{aealmohanadb}{\hyphenchar\font=-1}% + +\DeclareFontShape{LAE}{aealmohanadb}{m}{n}{% + <-> s*[1.25] aealmohanadb }{} + +%%%%%%% Italicized shape +\DeclareFontShape{LAE}{cmr}{m}{it}{<-> s*[1.25] ae_almohanad_bolditalic }{} +\DeclareFontShape{LAE}{cmr}{m}{sl}{<-> s*[1.25] ae_almohanad_bolditalic }{} + +%%%%%%% Bold extended series +\DeclareFontShape{LAE}{aealmohanadb}{b}{n}{<-> s*[1.25] ae_almohanad_xxbold}{} +\DeclareFontShape{LAE}{aealmohanadb}{bx}{n}{<-> s*[1.25] ae_almohanad_xxbold}{} + + +%%%%%%% Bold extended (Italic) series +\DeclareFontShape{LAE}{aealmohanadb}{bx}{sl}{<-> ssub * aealmohanadb/b/n}{} +\DeclareFontShape{LAE}{aealmohanadb}{bx}{it}{<-> ssub * aealmohanadb/b/n}{} + + +\endinput + diff --git a/Master/texmf-dist/tex/latex/arabi/laeaealmothnna.fd b/Master/texmf-dist/tex/latex/arabi/laeaealmothnna.fd new file mode 100644 index 00000000000..0fe543bf6c7 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/laeaealmothnna.fd @@ -0,0 +1,22 @@ +%% +%% This is file `laeaealmothnna.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% + + +\ProvidesFile{laeaealmothnna.fd} + [2006/01/01 v0.1 LaTeX Arabic font description + (test version: may change)] + + +\DeclareFontFamily{LAE}{aealmothnna}{\hyphenchar\font=-1}% + +\DeclareFontShape{LAE}{aealmothnna}{m}{n}{<-> s*[1.25] aealmothnna}{} +\DeclareFontShape{LAE}{aealmothnna}{bx}{n}{<-> ssub * aealmothnna/m/n}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/laeaealyermook.fd b/Master/texmf-dist/tex/latex/arabi/laeaealyermook.fd new file mode 100644 index 00000000000..d56a79d1cc4 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/laeaealyermook.fd @@ -0,0 +1,22 @@ +%% +%% This is file `aealyermook.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% + + +\ProvidesFile{aealyermook.fd} + [2006/01/01 v0.1 LaTeX Arabic font description + (test version: may change)] + + +\DeclareFontFamily{LAE}{aealyermook}{\hyphenchar\font=-1}% + +\DeclareFontShape{LAE}{aealyermook}{m}{n}{<-> s*[1.25] aealyermook }{} +\DeclareFontShape{LAE}{aealyermook}{bx}{n}{<-> ssub * aealyermook/m/n}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/laeaearab.fd b/Master/texmf-dist/tex/latex/arabi/laeaearab.fd new file mode 100644 index 00000000000..70f26ac8fb2 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/laeaearab.fd @@ -0,0 +1,22 @@ +%% +%% This is file `laeaearab.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% + + +\ProvidesFile{laeaearab.fd} + [2006/01/01 v0.1 LaTeX Arabic font description + (test version: may change)] + + +\DeclareFontFamily{LAE}{aearab}{\hyphenchar\font=-1}% + +\DeclareFontShape{LAE}{aearab}{m}{n}{<-> s*[1.25] aearab }{} +\DeclareFontShape{LAE}{aearab}{bx}{n}{<-> ssub * aearab/m/n}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/laeaecortoba.fd b/Master/texmf-dist/tex/latex/arabi/laeaecortoba.fd new file mode 100644 index 00000000000..f7cc7ec5305 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/laeaecortoba.fd @@ -0,0 +1,23 @@ +%% +%% This is file `laeaecortoba.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% + + +\ProvidesFile{laeaecortoba.fd} + [2006/01/01 v0.1 LaTeX Arabic font description + (test version: may change)] + + + +\DeclareFontFamily{LAE}{aecortoba}{\hyphenchar\font=-1}% + +\DeclareFontShape{LAE}{aecortoba}{m}{n}{<-> s*[1.25] aecortoba}{} +\DeclareFontShape{LAE}{aecortoba}{bx}{n}{<-> ssub * aecortoba/m/n}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/laeaedimnah.fd b/Master/texmf-dist/tex/latex/arabi/laeaedimnah.fd new file mode 100644 index 00000000000..9696bc53671 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/laeaedimnah.fd @@ -0,0 +1,22 @@ +%% +%% This is file `laeaedimnah.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% + + +\ProvidesFile{laeaedimnah.fd} + [2006/01/01 v0.1 LaTeX Arabic font description + (test version: may change)] + +\DeclareFontFamily{LAE}{aedimnah}{\hyphenchar\font=-1}% + +\DeclareFontShape{LAE}{aedimnah}{m}{n}{<-> s*[1.25] aedimnah}{} + +\DeclareFontShape{LAE}{aedimnah}{bx}{n}{<-> ssub * aedimnah/m/n}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/laeaefurat.fd b/Master/texmf-dist/tex/latex/arabi/laeaefurat.fd new file mode 100644 index 00000000000..3a2f935ae09 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/laeaefurat.fd @@ -0,0 +1,21 @@ +%% +%% This is file `laeaefurat.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% + + +\ProvidesFile{laeaefurat.fd} + [2006/01/01 v0.1 LaTeX Arabic font description + (test version: may change)] + +\DeclareFontFamily{LAE}{aefurat}{\hyphenchar\font=-1}% + +\DeclareFontShape{LAE}{aefurat}{m}{n}{<-> s*[1.25] aefurat}{} +\DeclareFontShape{LAE}{aefurat}{bx}{n}{<-> ssub * aefurat/m/n}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/laeaegranada.fd b/Master/texmf-dist/tex/latex/arabi/laeaegranada.fd new file mode 100644 index 00000000000..e8ff6dad6a8 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/laeaegranada.fd @@ -0,0 +1,28 @@ +%% +%% This is file `laeaegranada.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% + + +\ProvidesFile{laeaegranada.fd} + [2006/01/01 v0.1 LaTeX Arabic font description + (test version: may change)] + +\DeclareFontFamily{LAE}{aegranada}{\hyphenchar\font=-1}% + +\DeclareFontShape{LAE}{aegranada}{m}{n}{<-> s*[1.25] aegranada}{} +\DeclareFontShape{LAE}{aegranada}{m}{it}{<-> ssub * aegranada/m/n }{} +\DeclareFontShape{LAE}{aegranada}{m}{sl}{<-> ssub * aegranada/m/n }{} +\DeclareFontShape{LAE}{aegranada}{bx}{n}{<-> ssub * aegranada/m/n }{} +\DeclareFontShape{LAE}{aegranada}{bx}{it}{<-> ssub * aegranada/m/n }{} +\DeclareFontShape{LAE}{aegranada}{bx}{sl}{<-> ssub * aegranada/m/n }{} +\DeclareFontShape{LAE}{aegranada}{b}{n}{<-> ssub * aegranada/m/n }{} +\DeclareFontShape{LAE}{aegranada}{b}{sl}{<-> ssub * aegranada/m/n }{} +\DeclareFontShape{LAE}{aegranada}{b}{it}{<-> ssub * aegranada/m/n }{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/laeaegraph.fd b/Master/texmf-dist/tex/latex/arabi/laeaegraph.fd new file mode 100644 index 00000000000..0418e9b737a --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/laeaegraph.fd @@ -0,0 +1,21 @@ +%% +%% This is file `laeaegraph.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% + + +\ProvidesFile{laeaegraph.fd} + [2006/01/01 v0.1 LaTeX Arabic font description + (test version: may change)] + +\DeclareFontFamily{LAE}{aegraph}{\hyphenchar\font=-1}% + +\DeclareFontShape{LAE}{aegraph}{m}{n}{<-> s*[1.25] aegraph }{} +\DeclareFontShape{LAE}{aegraph}{bx}{n}{<-> ssub * aegraph/m/n}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/laeaehani.fd b/Master/texmf-dist/tex/latex/arabi/laeaehani.fd new file mode 100644 index 00000000000..8c16e43d22b --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/laeaehani.fd @@ -0,0 +1,22 @@ +%% +%% This is file `laeaehani.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% + + +\ProvidesFile{laeaehani.fd} + [2006/01/01 v0.1 LaTeX Arabic font description + (test version: may change)] + + +\DeclareFontFamily{LAE}{aehani}{\hyphenchar\font=-1}% + +\DeclareFontShape{LAE}{aehani}{m}{n}{<-> s*[1.25] aehani }{} +\DeclareFontShape{LAE}{aehani}{bx}{n}{<-> ssub * aehani/m/n }{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/laeaehor.fd b/Master/texmf-dist/tex/latex/arabi/laeaehor.fd new file mode 100644 index 00000000000..3ea7694501e --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/laeaehor.fd @@ -0,0 +1,22 @@ +%% +%% This is file `laeaehor.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% + + +\ProvidesFile{laeaehor.fd} + [2006/01/01 v0.1 LaTeX Arabic font description + (test version: may change)] + + +\DeclareFontFamily{LAE}{aehor}{\hyphenchar\font=-1}% + +\DeclareFontShape{LAE}{aehor}{m}{n}{<-> s*[1.25] aehor }{} +\DeclareFontShape{LAE}{aehor}{bx}{n}{<-> ssub * aehor }{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/laeaekayrawan.fd b/Master/texmf-dist/tex/latex/arabi/laeaekayrawan.fd new file mode 100644 index 00000000000..c4261cb54a3 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/laeaekayrawan.fd @@ -0,0 +1,22 @@ +%% +%% This is file `laeaekayrawan.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% + + +\ProvidesFile{laeaekayrawan.fd} + [2006/01/01 v0.1 LaTeX Arabic font description + (test version: may change)] + + +\DeclareFontFamily{LAE}{aekayrawan}{\hyphenchar\font=-1}% + +\DeclareFontShape{LAE}{aekayrawan}{m}{n}{<-> s*[1.25] aekayrawan }{} +\DeclareFontShape{LAE}{aekayrawan}{bx}{n}{<-> ssub * aekayrawan/m/n }{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/laeaekhalid.fd b/Master/texmf-dist/tex/latex/arabi/laeaekhalid.fd new file mode 100644 index 00000000000..5da33af0611 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/laeaekhalid.fd @@ -0,0 +1,22 @@ +%% +%% This is file `laeaekhalid.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% + + +\ProvidesFile{laeaekhalid.fd} + [2006/01/01 v0.1 LaTeX Arabic font description + (test version: may change)] + + +\DeclareFontFamily{LAE}{aekhalid}{\hyphenchar\font=-1}% + +\DeclareFontShape{LAE}{aekhalid}{m}{n}{<-> s*[1.25] aekhalid }{} +\DeclareFontShape{LAE}{aekhalid}{bx}{n}{<-> ssub * aekhalid/m/n }{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/laeaemashq.fd b/Master/texmf-dist/tex/latex/arabi/laeaemashq.fd new file mode 100644 index 00000000000..05e9513fba7 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/laeaemashq.fd @@ -0,0 +1,21 @@ +%% +%% This is file `laeaemashq.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% + + +\ProvidesFile{laeaemashq.fd} + [2006/01/01 v0.1 LaTeX Arabic font description + (test version: may change)] + +\DeclareFontFamily{LAE}{aemashq}{\hyphenchar\font=-1}% + +\DeclareFontShape{LAE}{aemashq}{m}{n}{<-> s*[1.25]aemashq }{} +\DeclareFontShape{LAE}{aemashq}{bx}{n}{<-> ssub * aemashq/m/n }{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/laeaemetal.fd b/Master/texmf-dist/tex/latex/arabi/laeaemetal.fd new file mode 100644 index 00000000000..35f6c66a6eb --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/laeaemetal.fd @@ -0,0 +1,22 @@ +%% +%% This is file `laeaemetal.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% + + +\ProvidesFile{laeaemetal.fd} + [2006/01/01 v0.1 LaTeX Arabic font description + (test version: may change)] + + +\DeclareFontFamily{LAE}{aemetal}{\hyphenchar\font=-1}% + +\DeclareFontShape{LAE}{aemetal}{m}{n}{<-> s*[1.25] aemetal }{} +\DeclareFontShape{LAE}{aemetal}{bx}{n}{<-> ssub * aemetal/m/n }{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/laeaenada.fd b/Master/texmf-dist/tex/latex/arabi/laeaenada.fd new file mode 100644 index 00000000000..5ecbebb2a98 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/laeaenada.fd @@ -0,0 +1,22 @@ +%% +%% This is file `laeaenada.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% + + +\ProvidesFile{laeaenada.fd} + [2006/01/01 v0.1 LaTeX Arabic font description + (test version: may change)] + + +\DeclareFontFamily{LAE}{aenada}{\hyphenchar\font=-1}% + +\DeclareFontShape{LAE}{aenada}{m}{n}{<-> s*[1.25] aenada }{} +\DeclareFontShape{LAE}{aenada}{bx}{n}{<-> ssub * aenada/m/n}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/laeaenagham.fd b/Master/texmf-dist/tex/latex/arabi/laeaenagham.fd new file mode 100644 index 00000000000..c8fb4c18789 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/laeaenagham.fd @@ -0,0 +1,22 @@ +%% +%% This is file `laeaenagham.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% + + +\ProvidesFile{laeaenagham.fd} + [2006/01/01 v0.1 LaTeX Arabic font description + (test version: may change)] + + +\DeclareFontFamily{LAE}{aenagham}{\hyphenchar\font=-1}% + +\DeclareFontShape{LAE}{aenagham}{m}{n}{<-> s*[1.25] aenagham }{} +\DeclareFontShape{LAE}{aenagham}{bx}{n}{<-> ssub * aenagham/m/n }{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/laeaenice.fd b/Master/texmf-dist/tex/latex/arabi/laeaenice.fd new file mode 100644 index 00000000000..39e3d057d18 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/laeaenice.fd @@ -0,0 +1,22 @@ +%% +%% This is file `laeaenice.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% + + +\ProvidesFile{laeaenice.fd} + [2006/01/01 v0.1 LaTeX Arabic font description + (test version: may change)] + + +\DeclareFontFamily{LAE}{aenice}{\hyphenchar\font=-1}% + +\DeclareFontShape{LAE}{aenice}{m}{n}{<-> s*[1.25] aenice }{} +\DeclareFontShape{LAE}{aenice}{bx}{n}{<-> ssub * aenice/m/n }{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/laeaeostorah.fd b/Master/texmf-dist/tex/latex/arabi/laeaeostorah.fd new file mode 100644 index 00000000000..78100a804aa --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/laeaeostorah.fd @@ -0,0 +1,22 @@ +%% +%% This is file `laeaeostorah.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% + + +\ProvidesFile{laeaeostorah.fd} + [2006/01/01 v0.1 LaTeX Arabic font description + (test version: may change)] + + +\DeclareFontFamily{LAE}{aeostorah}{\hyphenchar\font=-1}% + +\DeclareFontShape{LAE}{aeostorah}{m}{n}{<-> s*[1.25] aeostorah }{} +\DeclareFontShape{LAE}{aeostorah}{bx}{n}{<-> ssub * aeostorah }{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/laeaeouhod.fd b/Master/texmf-dist/tex/latex/arabi/laeaeouhod.fd new file mode 100644 index 00000000000..8a2448da217 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/laeaeouhod.fd @@ -0,0 +1,23 @@ +%% +%% This is file `laeaeouhod.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% + + +\ProvidesFile{laeaeouhod.fd} + [2006/01/01 v0.1 LaTeX Arabic font description + (test version: may change)] + + +\DeclareFontFamily{LAE}{aeouhod}{\hyphenchar\font=-1}% + +\DeclareFontShape{LAE}{aeouhod}{m}{n}{<-> s*[1.25] aeouhod }{} + +\DeclareFontShape{LAE}{aeouhod}{bx}{n}{<-> ssub * aeouhod/m/n }{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/laeaepetra.fd b/Master/texmf-dist/tex/latex/arabi/laeaepetra.fd new file mode 100644 index 00000000000..b8117e05002 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/laeaepetra.fd @@ -0,0 +1,22 @@ +%% +%% This is file `laeaepetra.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% + + +\ProvidesFile{laeaepetra.fd} + [2006/01/01 v0.1 LaTeX Arabic font description + (test version: may change)] + + +\DeclareFontFamily{LAE}{aepetra}{\hyphenchar\font=-1}% + +\DeclareFontShape{LAE}{aepetra}{m}{n}{<-> s*[1.25] aepetra }{} +\DeclareFontShape{LAE}{aepetra}{bx}{n}{<-> ssub * aepetra/m/n }{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/laeaerehan.fd b/Master/texmf-dist/tex/latex/arabi/laeaerehan.fd new file mode 100644 index 00000000000..40a2bd407c7 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/laeaerehan.fd @@ -0,0 +1,22 @@ +%% +%% This is file `laeaerehan.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% + + +\ProvidesFile{laeaerehan.fd} + [2006/01/01 v0.1 LaTeX Arabic font description + (test version: may change)] + + +\DeclareFontFamily{LAE}{aerehan}{\hyphenchar\font=-1}% + +\DeclareFontShape{LAE}{aerehan}{m}{n}{<-> s*[1.25] aerehan }{} +\DeclareFontShape{LAE}{aerehan}{bx}{n}{<-> ssub * aerehan }{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/laeaesalem.fd b/Master/texmf-dist/tex/latex/arabi/laeaesalem.fd new file mode 100644 index 00000000000..98437d9febc --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/laeaesalem.fd @@ -0,0 +1,23 @@ +%% +%% This is file `laeaesalem.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% + + +\ProvidesFile{laeaesalem.fd} + [2006/01/01 v0.1 LaTeX Arabic font description + (test version: may change)] + + +\DeclareFontFamily{LAE}{aesalem}{\hyphenchar\font=-1}% + +\DeclareFontShape{LAE}{aesalem}{m}{n}{<-> s*[1.25] aesalem }{} + +\DeclareFontShape{LAE}{aesalem}{bx}{n}{<-> ssub * aesalem/m/n }{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/laeaeshado.fd b/Master/texmf-dist/tex/latex/arabi/laeaeshado.fd new file mode 100644 index 00000000000..35e138913d6 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/laeaeshado.fd @@ -0,0 +1,22 @@ +%% +%% This is file `laeaeshado.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% + + +\ProvidesFile{laeaeshado.fd} + [2006/01/01 v0.1 LaTeX Arabic font description + (test version: may change)] + + +\DeclareFontFamily{LAE}{aeshado}{\hyphenchar\font=-1}% + +\DeclareFontShape{LAE}{aeshado}{m}{n}{<-> s*[1.25] aeshado }{} +\DeclareFontShape{LAE}{aeshado}{bx}{n}{<-> ssub * aeshado/m/n }{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/laeaesharjah.fd b/Master/texmf-dist/tex/latex/arabi/laeaesharjah.fd new file mode 100644 index 00000000000..fb48eb199e4 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/laeaesharjah.fd @@ -0,0 +1,22 @@ +%% +%% This is file `laeaesharjah.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% + + +\ProvidesFile{laeaesharjah.fd} + [2006/01/01 v0.1 LaTeX Arabic font description + (test version: may change)] + + +\DeclareFontFamily{LAE}{aesharjah}{\hyphenchar\font=-1}% + +\DeclareFontShape{LAE}{aesharjah}{m}{n}{<-> s*[1.25] aesharjah }{} +\DeclareFontShape{LAE}{aesharjah}{bx}{n}{<-> ssub * aesharjah/m/n }{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/laeaesindibad.fd b/Master/texmf-dist/tex/latex/arabi/laeaesindibad.fd new file mode 100644 index 00000000000..7f5f937af0f --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/laeaesindibad.fd @@ -0,0 +1,22 @@ +%% +%% This is file `laeaesindibad.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% + + +\ProvidesFile{laeaesindibad.fd} + [2006/01/01 v0.1 LaTeX Arabic font description + (test version: may change)] + + +\DeclareFontFamily{LAE}{aesindibad}{\hyphenchar\font=-1}% + +\DeclareFontShape{LAE}{aesindibad}{m}{n}{<-> s*[1.25] aesindibad }{} +\DeclareFontShape{LAE}{aesindibad}{bx}{n}{<-> ssub * aesindibad/m/n}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/laeaetarablus.fd b/Master/texmf-dist/tex/latex/arabi/laeaetarablus.fd new file mode 100644 index 00000000000..9d0cfeb2709 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/laeaetarablus.fd @@ -0,0 +1,22 @@ +%% +%% This is file `laeaetarablus.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% + + +\ProvidesFile{laeaetarablus.fd} + [2006/01/01 v0.1 LaTeX Arabic font description + (test version: may change)] + + +\DeclareFontFamily{LAE}{aetarablus}{\hyphenchar\font=-1}% + +\DeclareFontShape{LAE}{aetarablus}{m}{n}{<-> s*[1.25] aetarablus }{} +\DeclareFontShape{LAE}{aetarablus}{bx}{n}{<-> ssub * aetarablus/m/n }{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/laeaetholoth.fd b/Master/texmf-dist/tex/latex/arabi/laeaetholoth.fd new file mode 100644 index 00000000000..0043ae0e5bd --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/laeaetholoth.fd @@ -0,0 +1,22 @@ +%% +%% This is file `laeaetholth.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% + + +\ProvidesFile{laeaetholth.fd} + [2006/01/01 v0.1 LaTeX Arabic font description + (test version: may change)] + + +\DeclareFontFamily{LAE}{aetholoth}{\hyphenchar\font=-1}% + +\DeclareFontShape{LAE}{aetholoth}{m}{n}{<-> s*[1.25] aetholoth }{} +\DeclareFontShape{LAE}{aetholoth}{bx}{n}{<-> ssub * aetholoth/m/n }{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/laeandlso.fd b/Master/texmf-dist/tex/latex/arabi/laeandlso.fd new file mode 100644 index 00000000000..43f67fcff56 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/laeandlso.fd @@ -0,0 +1,22 @@ +%% +%% This is file `laeandlso.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% + + +\ProvidesFile{laeandlso.fd} + [2006/01/01 v0.1 LaTeX Arabic font description + (test version: may change)] + + +\DeclareFontFamily{LAE}{andlso}{\hyphenchar\font=-1}% + +\DeclareFontShape{LAE}{andlso}{m}{n}{<-> s*[1.25] andlso }{} +\DeclareFontShape{LAE}{andlso}{bx}{n}{<-> ssub * andlso/m/n }{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/laeararial.fd b/Master/texmf-dist/tex/latex/arabi/laeararial.fd new file mode 100644 index 00000000000..b44f54b5f3a --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/laeararial.fd @@ -0,0 +1,24 @@ +%% +%% This is file `laeararial.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% + + +\ProvidesFile{laeararial.fd} + [2006/01/01 v0.1 LaTeX Arabic font description + (test version: may change)] + + + +\DeclareFontFamily{LAE}{ararial}{\hyphenchar\font=-1}% + +\DeclareFontShape{LAE}{ararial}{m}{n}{<-> s*[1.25] ararial }{} +\DeclareFontShape{LAE}{ararial}{b}{n}{<-> s*[1.25] ararialbd }{} +\DeclareFontShape{LAE}{ararial}{bx}{n}{<-> ssub * ararial/b/n }{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/laearcour.fd b/Master/texmf-dist/tex/latex/arabi/laearcour.fd new file mode 100644 index 00000000000..3de2034ce53 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/laearcour.fd @@ -0,0 +1,23 @@ +%% +%% This is file `laeararial.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% + + +\ProvidesFile{laeararial.fd} + [2006/01/01 v0.1 LaTeX Arabic font description + (test version: may change)] + + +\DeclareFontFamily{LAE}{arcour}{\hyphenchar\font=-1}% + +\DeclareFontShape{LAE}{arcour}{m}{n}{<-> s*[1.25] arcour }{} +\DeclareFontShape{LAE}{arcour}{b}{n}{<-> s*[1.25] arcourbd }{} +\DeclareFontShape{LAE}{arcour}{bx}{n}{<-> ssub * arcour/b/n }{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/laearomega.fd b/Master/texmf-dist/tex/latex/arabi/laearomega.fd new file mode 100644 index 00000000000..92a62bedc25 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/laearomega.fd @@ -0,0 +1,24 @@ +%% +%% This is file `laearomega.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% + + +\ProvidesFile{laearomega.fd} + [2006/01/01 v0.1 LaTeX Arabic font description + (test version: may change)] + + +\DeclareFontFamily{LAE}{aromega}{\hyphenchar\font=-1}% + +\DeclareFontShape{LAE}{aromega}{m}{n}{<-> s*[1.25] aromega }{} +\DeclareFontShape{LAE}{aromega}{b}{n}{<-> s*[1.25] aromegab}{} +\DeclareFontShape{LAE}{aromega}{bx}{n}{<-> ssub * aromega/b/n}{} + + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/laearsimpo.fd b/Master/texmf-dist/tex/latex/arabi/laearsimpo.fd new file mode 100644 index 00000000000..f1f8aff2e84 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/laearsimpo.fd @@ -0,0 +1,23 @@ +%% +%% This is file `laearsimpo.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% + + +\ProvidesFile{laearsimpo.fd} + [2006/01/01 v0.1 LaTeX Arabic font description + (test version: may change)] + + +\DeclareFontFamily{LAE}{arsimpo}{\hyphenchar\font=-1}% + +\DeclareFontShape{LAE}{arsimpo}{m}{n}{<-> s*[1.25] arsimpo }{} +\DeclareFontShape{LAE}{arsimpo}{b}{n}{<-> s*[1.25] arsimpbdo}{} +\DeclareFontShape{LAE}{arsimpo}{bx}{n}{<-> ssub * arsimpo/b/n}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/laeartimes.fd b/Master/texmf-dist/tex/latex/arabi/laeartimes.fd new file mode 100644 index 00000000000..26efd0c2080 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/laeartimes.fd @@ -0,0 +1,23 @@ +%% +%% This is file `laeartimes.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% + + +\ProvidesFile{laeartimes.fd} + [2006/01/01 v0.1 LaTeX Arabic font description + (test version: may change)] + + +\DeclareFontFamily{LAE}{artimes}{\hyphenchar\font=-1}% + +\DeclareFontShape{LAE}{artimes}{m}{n}{<-> s*[1.25] artimes }{} +\DeclareFontShape{LAE}{artimes}{b}{n}{<-> s*[1.25] artimesbd }{} +\DeclareFontShape{LAE}{artimes}{bx}{n}{<-> ssub * artimes/b/n }{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/laeasv.fd b/Master/texmf-dist/tex/latex/arabi/laeasv.fd new file mode 100644 index 00000000000..5ad2043a484 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/laeasv.fd @@ -0,0 +1,19 @@ +%% +%% This is file `laeasv.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% +\ProvidesFile{laeasv.fd} + [2006/01/01 v0.1 LaTeX Arabic font description + (test version: may change)] + +\DeclareFontFamily{LAE}{asv}{\hyphenchar\font=-1}% + +\DeclareFontShape{LAE}{asv}{m}{n}{<-> s*[1.2] asv}{} %s*[1.25] +\DeclareFontShape{LAE}{asv}{bx}{n}{<-> s*[1.2] asv-bold}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/laecmr.fd b/Master/texmf-dist/tex/latex/arabi/laecmr.fd new file mode 100644 index 00000000000..543a2cdb35d --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/laecmr.fd @@ -0,0 +1,31 @@ +%% +%% This is file `laecmr.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% + + +\ProvidesFile{laecmr.fd} + [2006/01/01 v0.1 LaTeX Arabic default font description + (test version: may change)] + +\DeclareFontFamily{LAE}{cmr}{\hyphenchar\font=-1}% + +\DeclareFontShape{LAE}{cmr}{m}{n}{<-> s*[1.25] aealmohanadb }{} +%%%%%%% Italicized shape +\DeclareFontShape{LAE}{cmr}{m}{it}{<-> s*[1.25] aedimnah }{} +\DeclareFontShape{LAE}{cmr}{m}{sl}{<-> ssub * cmr/m/it }{} +\DeclareFontShape{LAE}{cmr}{m}{sc}{<-> s*[1.25] aenada }{} +%%%%%%% Bold extended series +\DeclareFontShape{LAE}{cmr}{b}{n}{<-> s*[1.25] aealmateen }{} +\DeclareFontShape{LAE}{cmr}{bx}{n}{<-> ssub * cmr/b/n }{} +%%%%%%% Bold extended (Italic) series +\DeclareFontShape{LAE}{cmr}{bx}{sl}{<-> ssub * cmr/b/n }{} +\DeclareFontShape{LAE}{cmr}{bx}{it}{<-> ssub * cmr/b/n }{} + + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/laecmss.fd b/Master/texmf-dist/tex/latex/arabi/laecmss.fd new file mode 100644 index 00000000000..469f58a74cc --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/laecmss.fd @@ -0,0 +1,29 @@ +%% +%% This is file `laecmss.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% + + +\ProvidesFile{laecmss.fd} + [2006/01/01 v0.1 LaTeX Arabic default font description + (test version: may change)] + +\DeclareFontFamily{LAE}{cmss}{\hyphenchar\font=-1}% +\DeclareFontShape{LAE}{cmss}{m}{n}{<-> s*[1.25] aesindibad }{} +%%%%%%% Italicized shape +\DeclareFontShape{LAE}{cmss}{m}{it}{<-> ssub * cmss/m/n }{} +\DeclareFontShape{LAE}{cmss}{m}{sl}{<-> ssub * cmss/m/n }{} +\DeclareFontShape{LAE}{cmss}{m}{sc}{<-> ssub * cmss/m/n }{} +%%%%%%% Bold extended series +\DeclareFontShape{LAE}{cmss}{b}{n}{<-> s*[1.25] aegraph }{} +\DeclareFontShape{LAE}{cmss}{bx}{n}{<-> ssub * cmss/b/n }{} +%%%%%%% Bold extended (Italic) series +\DeclareFontShape{LAE}{cmss}{bx}{sl}{<-> ssub * cmss/b/n }{} +\DeclareFontShape{LAE}{cmss}{bx}{it}{<-> ssub * cmss/b/n }{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/laecmtt.fd b/Master/texmf-dist/tex/latex/arabi/laecmtt.fd new file mode 100644 index 00000000000..3c9690ec34a --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/laecmtt.fd @@ -0,0 +1,29 @@ +%% +%% This is file `laecmtt.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% + + +\ProvidesFile{laecmtt.fd} + [2006/01/01 v0.1 LaTeX Arabic default font description + (test version: may change)] + +\DeclareFontFamily{LAE}{cmtt}{\hyphenchar\font=-1}% +\DeclareFontShape{LAE}{cmtt}{m}{n}{<-> s*[1.25] aenice }{} +%%%%%%% Italicized shape +\DeclareFontShape{LAE}{cmtt}{m}{it}{<-> ssub * cmtt/m/n }{} +\DeclareFontShape{LAE}{cmtt}{m}{sl}{<-> ssub * cmtt/m/n }{} +\DeclareFontShape{LAE}{cmtt}{m}{sc}{<-> ssub * cmtt/m/n }{} +%%%%%%% Bold extended series +\DeclareFontShape{LAE}{cmtt}{b}{n}{<-> s*[1.25] aegraph }{} +\DeclareFontShape{LAE}{cmtt}{bx}{n}{<-> ssub * cmtt/b/n }{} +%%%%%%% Bold extended (Italic) series +\DeclareFontShape{LAE}{cmtt}{bx}{sl}{<-> ssub * cmtt/b/n }{} +\DeclareFontShape{LAE}{cmtt}{bx}{it}{<-> ssub * cmtt/b/n }{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/laedthuluth.fd b/Master/texmf-dist/tex/latex/arabi/laedthuluth.fd new file mode 100644 index 00000000000..f6323e16eb6 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/laedthuluth.fd @@ -0,0 +1,19 @@ +%% +%% This is file `laedthuluth.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% +\ProvidesFile{laedthuluth.fd} + [2006/01/01 v0.1 LaTeX Arabic font description + (test version: may change)] + +\DeclareFontFamily{LAE}{dthuluth}{\hyphenchar\font=-1}% + +\DeclareFontShape{LAE}{dthuluth}{m}{n}{<-> s*[1.25] dthuluth}{} +\DeclareFontShape{LAE}{dthuluth}{bx}{n}{<-> s*[1.25] dthuluth}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/laedtpn.fd b/Master/texmf-dist/tex/latex/arabi/laedtpn.fd new file mode 100644 index 00000000000..477b90e4fce --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/laedtpn.fd @@ -0,0 +1,19 @@ +%% +%% This is file `laedtpn.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% +\ProvidesFile{laedtpn.fd} + [2006/01/01 v0.1 LaTeX Arabic font description + (test version: may change)] + +\DeclareFontFamily{LAE}{dtpn}{\hyphenchar\font=-1}% + +\DeclareFontShape{LAE}{dtpn}{m}{n}{<-> s*[1.25] dtpn}{} +\DeclareFontShape{LAE}{dtpn}{bx}{n}{<-> s*[1.25] dtpn}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/laedtpnsp.fd b/Master/texmf-dist/tex/latex/arabi/laedtpnsp.fd new file mode 100644 index 00000000000..b9b26585fff --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/laedtpnsp.fd @@ -0,0 +1,19 @@ +%% +%% This is file `laedtpnsp.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% +\ProvidesFile{laedtpnsp.fd} + [2006/01/01 v0.1 LaTeX Arabic font description + (test version: may change)] + +\DeclareFontFamily{LAE}{dtpn}{\hyphenchar\font=-1}% + +\DeclareFontShape{LAE}{dtpnsp}{m}{n}{<-> s*[1.25] dtpnsp}{} +\DeclareFontShape{LAE}{dtpnsp}{bx}{n}{<-> s*[1.25] dtpnsp}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/laeenc.def b/Master/texmf-dist/tex/latex/arabi/laeenc.def new file mode 100644 index 00000000000..dda6249a01e --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/laeenc.def @@ -0,0 +1,125 @@ +% \iffalse meta-comment +% +% Copyright 2006 Youssef Jabri +% +% +% This file is part of the `Arabi' system. +% ------------------------------------------- +% +% It may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.3b +% 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.3b or later is part of all distributions of LaTeX +% version 2005/12/01 or later. +% +% This file has the LPPL maintenance status "maintained". +% +% +% \fi +% +% Filename: laeenc.def +%% +\ProvidesFile{laeenc.def} + [2006/01/01 v0.1 Local Arabic font encoding (test version: may change)] + +\DeclareFontEncoding{LAE}{}{} +\DeclareFontSubstitution{LAE}{cmr}{m}{n} +\DeclareErrorFont{LAE}{cmr}{m}{n}{10} + +\ProvideTextCommand{\textcopyright}{LAE}{\textcircled{\@latin{c}}} +\ProvideTextCommand{\textregistered}{LAE}{\textcircled{\scshape% + \@latin{r}}} +\ProvideTextCommand{\texttrademark}{LAE}{\textsuperscript{\@latin{TM}}} + +\DeclareTextSymbol{\hamza}{LAE}{186} +\DeclareTextSymbol{\alefmadda}{LAE}{6} +\DeclareTextSymbol{\alefhamza}{LAE}{2} +\DeclareTextSymbol{\wawhamza}{LAE}{165} +\DeclareTextSymbol{\aleflowerhamza}{LAE}{4} +\DeclareTextSymbol{\yahamza}{LAE}{183} +\DeclareTextSymbol{\alef}{LAE}{65} +\DeclareTextSymbol{\baa}{LAE}{98} +\DeclareTextSymbol{\T}{LAE}{84} %taa marbuuta +\DeclareTextSymbol{\taa}{LAE}{116} +\DeclareTextSymbol{\thaa}{LAE}{16} +\DeclareTextSymbol{\jeem}{LAE}{20} %geem +\DeclareTextSymbol{\Haa}{LAE}{24} +\DeclareTextSymbol{\kha}{LAE}{28} +\DeclareTextSymbol{\dal}{LAE}{100} +\DeclareTextSymbol{\dhal}{LAE}{64} +\DeclareTextSymbol{\ra}{LAE}{114} +\DeclareTextSymbol{\zay}{LAE}{122} +\DeclareTextSymbol{\seen}{LAE}{115} +\DeclareTextSymbol{\sheen}{LAE}{75} +\DeclareTextSymbol{\sad}{LAE}{79} +\DeclareTextSymbol{\dad}{LAE}{83} +\DeclareTextSymbol{\Ta}{LAE}{87} +\DeclareTextSymbol{\za}{LAE}{92} +\DeclareTextSymbol{\ayn}{LAE}{96} +\DeclareTextSymbol{\ghayn}{LAE}{140} +% +\DeclareTextSymbol{\keshchar}{LAE}{254}%tatweel +\DeclareTextSymbol{\fa}{LAE}{102} +\DeclareTextSymbol{\qaf}{LAE}{113} +\DeclareTextSymbol{\kaf}{LAE}{107} +\DeclareTextSymbol{\lam}{LAE}{108} +\DeclareTextSymbol{\meem}{LAE}{109} +\DeclareTextSymbol{\nun}{LAE}{110} +\DeclareTextSymbol{\ha}{LAE}{104} +\DeclareTextSymbol{\waw}{LAE}{119} +\DeclareTextSymbol{\ya}{LAE}{121} +\DeclareTextSymbol{\alefmaqsura}{LAE}{89}%170 +% +%%%%%%%%%%%% Vowels +% +% Firt, Vowels that come only at the end of a word +% +\DeclareTextSymbol{\nasb}{LAE}{190} +\DeclareTextSymbol{\raff}{LAE}{191} +\DeclareTextSymbol{\jarr}{LAE}{192} +% +\DeclareTextSymbol{\shaddanasb}{LAE}{198} +\DeclareTextSymbol{\shaddaraff}{LAE}{199} +\DeclareTextSymbol{\shaddajarr}{LAE}{200} +% +% Then, Vowels that come anywhere in a word +% +\DeclareTextSymbol{\fatha}{LAE}{97} +\DeclareTextSymbol{\damma}{LAE}{117} +\DeclareTextSymbol{\kasra}{LAE}{105} +\DeclareTextSymbol{\shadda}{LAE}{204} +\DeclareTextSymbol{\sukun}{LAE}{34} +% +\DeclareTextSymbol{\shaddafatha}{LAE}{201} +\DeclareTextSymbol{\shaddadamma}{LAE}{202} +\DeclareTextSymbol{\shaddakasra}{LAE}{203} +% +% Some special ones for LAE! +% +\DeclareTextCommand{\tatweel}{LAE}{\keshchar} +\DeclareTextSymbol{\llahchar}{LAE}{252} +\DeclareTextSymbol{\Decimalchar}{LAE}{251} +%% +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +%% +\endinput + + + + diff --git a/Master/texmf-dist/tex/latex/arabi/laeenc.dfu b/Master/texmf-dist/tex/latex/arabi/laeenc.dfu new file mode 100644 index 00000000000..4af8d12f452 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/laeenc.dfu @@ -0,0 +1,127 @@ +% \iffalse meta-comment +% +% Copyright 2006 Youssef Jabri +% +% +% This file is part of the `Arabi' system. +% ------------------------------------------- +% +% It may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.3b +% 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.3b or later is part of all distributions of LaTeX +% version 2005/12/01 or later. +% +% This file has the LPPL maintenance status "maintained". +% +% +% \fi +% +% Filename: laeenc.dfu + + \ProvidesFile{laeenc.dfu} + [2006/01/01 v1.0 UTF-8 support for Arabic and Farsi for use with inputenc] +%%%%%%%%%% +% The foolowing Arabic characters are put in the place of +% corresponding Latin ones. +% +\DeclareUnicodeCharacter{066A}{\%}%066A;afii57381;ARABIC PERCENT SIGN +\DeclareUnicodeCharacter{060C}{,}%060C;afii57388;ARABIC COMMA +\DeclareUnicodeCharacter{0660}{0}%0660;afii57392;ARABIC-INDIC DIGIT ZERO +\DeclareUnicodeCharacter{0661}{1}%0661;afii57393;ARABIC-INDIC DIGIT ONE +\DeclareUnicodeCharacter{0662}{2}%0662;afii57394;ARABIC-INDIC DIGIT TWO +\DeclareUnicodeCharacter{0663}{3}%0663;afii57395;ARABIC-INDIC DIGIT THREE +\DeclareUnicodeCharacter{0664}{4}%0664;afii57396;ARABIC-INDIC DIGIT FOUR +\DeclareUnicodeCharacter{0665}{5}%0665;afii57397;ARABIC-INDIC DIGIT FIVE +\DeclareUnicodeCharacter{0666}{6}%0666;afii57398;ARABIC-INDIC DIGIT SIX +\DeclareUnicodeCharacter{0667}{7}%0667;afii57399;ARABIC-INDIC DIGIT SEVEN +\DeclareUnicodeCharacter{0668}{8}%0668;afii57400;ARABIC-INDIC DIGIT EIGHT +\DeclareUnicodeCharacter{0669}{9}%0669;afii57401;ARABIC-INDIC DIGIT NINE +\DeclareUnicodeCharacter{061B}{;}%061B;afii57403;ARABIC SEMICOLON +\DeclareUnicodeCharacter{061F}{?}%061F;afii57407;ARABIC QUESTION MARK +%%%%%%%%%%%%%%% +\DeclareUnicodeCharacter{0621}{\hamza}%0621;afii57409;ARABIC LETTER HAMZA +\DeclareUnicodeCharacter{0622}{\alefmadda}%0622;afii57410;ARABIC LETTER ALEF WITH MADDA ABOVE +\DeclareUnicodeCharacter{0623}{\alefhamza}%0623;afii57411;ARABIC LETTER ALEF WITH HAMZA ABOVE +\DeclareUnicodeCharacter{0624}{\wawhamza} % 0624;afii57412;ARABIC LETTER WAW WITH HAMZA ABOVE +\DeclareUnicodeCharacter{0625}{\aleflowerhamza}%0625;afii57413;ARABIC LETTER ALEF WITH HAMZA BELOW +\DeclareUnicodeCharacter{0626}{\yahamza}%0626;afii57414;ARABIC LETTER YEH WITH HAMZA ABOVE +\DeclareUnicodeCharacter{0627}{\alef}%0627;afii57415;ARABIC LETTER ALEF +\DeclareUnicodeCharacter{0628}{\baa}%0628;afii57416;ARABIC LETTER BEH +\DeclareUnicodeCharacter{0629}{\T}%0629;afii57417;ARABIC LETTER TEH MARBUTA +\DeclareUnicodeCharacter{062A}{\taa}%062A;afii57418;ARABIC LETTER TEH +\DeclareUnicodeCharacter{062B}{\thaa}%062B;afii57419;ARABIC LETTER THEH +\DeclareUnicodeCharacter{062C}{\jeem}%062C;afii57420;ARABIC LETTER JEEM +\DeclareUnicodeCharacter{062D}{\Haa}%062D;afii57421;ARABIC LETTER HAH +\DeclareUnicodeCharacter{062E}{\kha}%062E;afii57422;ARABIC LETTER KHAH +\DeclareUnicodeCharacter{062F}{\dal}%062F;afii57423;ARABIC LETTER DAL +\DeclareUnicodeCharacter{0630}{\dhal}%0630;afii57424;ARABIC LETTER THAL +\DeclareUnicodeCharacter{0631}{\ra}%0631;afii57425;ARABIC LETTER REH +\DeclareUnicodeCharacter{0632}{\zay}%0632;afii57426;ARABIC LETTER ZAIN +\DeclareUnicodeCharacter{0633}{\seen}%0633;afii57427;ARABIC LETTER SEEN +\DeclareUnicodeCharacter{0634}{\sheen}%0634;afii57428;ARABIC LETTER SHEEN +\DeclareUnicodeCharacter{0635}{\sad}%0635;afii57429;ARABIC LETTER SAD +\DeclareUnicodeCharacter{0636}{\dad}%0636;afii57430;ARABIC LETTER DAD +\DeclareUnicodeCharacter{0637}{\Ta}%0637;afii57431;ARABIC LETTER TAH +\DeclareUnicodeCharacter{0638}{\za}%0638;afii57432;ARABIC LETTER ZAH +\DeclareUnicodeCharacter{0639}{\ayn}%0639;afii57433;ARABIC LETTER AIN +\DeclareUnicodeCharacter{063A}{\ghayn}%063A;afii57434;ARABIC LETTER GHAIN +\DeclareUnicodeCharacter{0640}{\tatweel}%0640;afii57440;ARABIC TATWEEL +\DeclareUnicodeCharacter{0641}{\fa} %0641;afii57441;ARABIC LETTER FEH +\DeclareUnicodeCharacter{0642}{\qaf}%0642;afii57442;ARABIC LETTER QAF +\DeclareUnicodeCharacter{0643}{\kaf}%0643;afii57443;ARABIC LETTER KAF +\DeclareUnicodeCharacter{0644}{\lam}%0644;afii57444;ARABIC LETTER LAM +\DeclareUnicodeCharacter{0645}{\meem}%0645;afii57445;ARABIC LETTER MEEM +\DeclareUnicodeCharacter{0646}{\nun}%0646;afii57446;ARABIC LETTER NOON +\DeclareUnicodeCharacter{0647}{\ha}%0647;afii57470;ARABIC LETTER HEH +\DeclareUnicodeCharacter{0648}{\waw}%0648;afii57448;ARABIC LETTER WAW +\DeclareUnicodeCharacter{0649}{\alefmaqsura}%0649;afii57449;ARABIC LETTER ALEF MAKSURA +\DeclareUnicodeCharacter{064A}{\ya}%064A;afii57450;ARABIC LETTER YEH +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\DeclareUnicodeCharacter{064B}{\nasb}%064B;afii57451;ARABIC FATHATAN +\DeclareUnicodeCharacter{064C}{\raff}%064C;afii57452;ARABIC DAMMATAN +\DeclareUnicodeCharacter{064D}{\jarr}%064D;afii57453;ARABIC KASRATAN +\DeclareUnicodeCharacter{064E}{\fatha}%064E;afii57454;ARABIC FATHA +\DeclareUnicodeCharacter{064F}{\damma}%064F;afii57455;ARABIC DAMMA +\DeclareUnicodeCharacter{0650}{\kasra}%0650;afii57456;ARABIC KASRA +\DeclareUnicodeCharacter{0651}{\shadda}%0651;afii57457;ARABIC SHADDA +\DeclareUnicodeCharacter{0652}{\sukun}%0652;afii57458;ARABIC SUKUN +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% The non-Arabic language characters used with languages +% like Farsi, ... +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Farsi +\DeclareUnicodeCharacter{067E}{\peh}%067E;afii57506;ARABIC LETTER PEH +\DeclareUnicodeCharacter{0686}{\tcheh}%0686;afii57507;ARABIC LETTER TCHEH +\DeclareUnicodeCharacter{0698}{\jeh}%0698;afii57508;ARABIC LETTER JEH +\DeclareUnicodeCharacter{06A9}{\farsikaf}%06CC;afii?????;FARSI LETTER KAF +\DeclareUnicodeCharacter{06AF}{\gaf}%06AF;afii57509;ARABIC LETTER GAF +\DeclareUnicodeCharacter{06CC}{\farsiya}%06CC;afii?????;FARSI LETTER YEH +% Farsi numbers ! +\DeclareUnicodeCharacter{06F0}{0}%06F0;afii57392;EXTENDED ARABIC-INDIC DIGIT ZERO +\DeclareUnicodeCharacter{06F1}{1}%06F1;afii57393;EXTENDED ARABIC-INDIC DIGIT ONE +\DeclareUnicodeCharacter{06F2}{2}%06F2;afii57394;EXTENDED ARABIC-INDIC DIGIT TWO +\DeclareUnicodeCharacter{06F3}{3}%06F3;afii57395;EXTENDED ARABIC-INDIC DIGIT THREE +\DeclareUnicodeCharacter{06F4}{4}%06F4;afii57396;EXTENDED ARABIC-INDIC DIGIT FOUR +\DeclareUnicodeCharacter{06F5}{5}%06F5;afii57397;EXTENDED ARABIC-INDIC DIGIT FIVE +\DeclareUnicodeCharacter{06F6}{6}%06F6;afii57398;EXTENDED ARABIC-INDIC DIGIT SIX +\DeclareUnicodeCharacter{06F7}{7}%06F7;afii57399;EXTENDED ARABIC-INDIC DIGIT SEVEN +\DeclareUnicodeCharacter{06F8}{8}%06F8;afii57400;EXTENDED ARABIC-INDIC DIGIT EIGHT +\DeclareUnicodeCharacter{06F9}{9}%06F9;afii57401;EXTENDED ARABIC-INDIC DIGIT NINE +% +% Some important special chartacters +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\DeclareUnicodeCharacter{200C}{\ZWNJ}%200C;ZWNJ%<< * is a local trick in our font to force final form + %and the {} to force initial form of the next character +\DeclareUnicodeCharacter{06D5}{\noboundary}%200D;ZWJ + + + +\endinput + + + + + diff --git a/Master/texmf-dist/tex/latex/arabi/laekacstbook.fd b/Master/texmf-dist/tex/latex/arabi/laekacstbook.fd new file mode 100644 index 00000000000..8ee10c6dc28 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/laekacstbook.fd @@ -0,0 +1,29 @@ +%% +%% This is file `laekacstbook.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% + + +\ProvidesFile{laekacstbook.fd} + [2006/01/01 v0.1 LaTeX Arabic font description + (test version: may change)] + + +\DeclareFontFamily{LAE}{kacstbook}{\hyphenchar\font=-1}% + +\DeclareFontShape{LAE}{kacstbook}{m}{n}{<-> s*[1.25] kacstbook }{} +\DeclareFontShape{LAE}{kacstbook}{m}{it}{<-> s*[1.25] kacstbookitalic }{} +\DeclareFontShape{LAE}{kacstbook}{m}{sl}{<-> s*[1.25] kacstbookitalic }{} +\DeclareFontShape{LAE}{kacstbook}{bx}{n}{<-> s*[1.25] kacstbookbold }{} +\DeclareFontShape{LAE}{kacstbook}{b}{n}{<-> s*[1.25] kacstbookbold }{} +\DeclareFontShape{LAE}{kacstbook}{bx}{it}{<-> s*[1.25] kacstbookbolditalic }{} +\DeclareFontShape{LAE}{kacstbook}{b}{it}{<-> s*[1.25] kacstbookbolditalic }{} +\DeclareFontShape{LAE}{kacstbook}{bx}{sl}{<-> s*[1.25] kacstbookbolditalic }{} +\DeclareFontShape{LAE}{kacstbook}{b}{sl}{<-> s*[1.25] kacstbookbolditalic }{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/laemaghribi.fd b/Master/texmf-dist/tex/latex/arabi/laemaghribi.fd new file mode 100644 index 00000000000..f496f25608e --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/laemaghribi.fd @@ -0,0 +1,24 @@ +%% +%% This is file `laemaghribi.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% + + +\ProvidesFile{laemaghribi.fd} + [2006/01/01 v0.1 LaTeX Arabic font description + (test version: may change)] + + +\DeclareFontFamily{LAE}{maghribi}{\hyphenchar\font=-1}% s*[1.25]s*[1.25] + +\DeclareFontShape{LAE}{maghribi}{m}{n}{<-> s*[1.2] maghribi1 }{} +\DeclareFontShape{LAE}{maghribi}{b}{n}{<-> s*[1.2] maghribi1}{} +\DeclareFontShape{LAE}{maghribi}{bx}{n}{<-> ssub * maghribi/b/n}{} + + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/laenaskhi.fd b/Master/texmf-dist/tex/latex/arabi/laenaskhi.fd new file mode 100644 index 00000000000..8ec4a12cceb --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/laenaskhi.fd @@ -0,0 +1,19 @@ +%% +%% This is file `laenaskhi.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% +\ProvidesFile{laenaskhi.fd} + [2006/01/01 v0.1 LaTeX Arabic font description + (test version: may change)] + +\DeclareFontFamily{LAE}{naskhi}{\hyphenchar\font=-1}% + +\DeclareFontShape{LAE}{naskhi}{m}{n}{<-> s*[1.0] naskhi}{} %s*[1.25] +\DeclareFontShape{LAE}{naskhi}{bx}{n}{<-> s*[1.0] naskhi}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/laereqaa.fd b/Master/texmf-dist/tex/latex/arabi/laereqaa.fd new file mode 100644 index 00000000000..5401d4c3817 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/laereqaa.fd @@ -0,0 +1,19 @@ +%% +%% This is file `laereqaa.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% +\ProvidesFile{laereqaa.fd} + [2006/01/01 v0.1 LaTeX Arabic font description + (test version: may change)] + +\DeclareFontFamily{LAE}{reqaa}{\hyphenchar\font=-1}% + +\DeclareFontShape{LAE}{reqaa}{m}{n}{<-> s*[1.25] myreqaa}{} +\DeclareFontShape{LAE}{reqaa}{bx}{n}{<-> s*[1.25] myreqaa}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/laetraditionalarabic.fd b/Master/texmf-dist/tex/latex/arabi/laetraditionalarabic.fd new file mode 100644 index 00000000000..1641189e179 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/laetraditionalarabic.fd @@ -0,0 +1,28 @@ +%% +%% This is file `laetraditionalarabic.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% + + +\ProvidesFile{laetraditionalarabic.fd} + [2006/01/01 v0.1 LaTeX Arabic font description + (test version: may change)] + + +\DeclareFontFamily{LAE}{traditionalarabic}{\hyphenchar\font=-1}% + +\DeclareFontShape{LAE}{traditionalarabic}{m}{n}{% + <-> s*[1.25] traditionalarabic }{} + +\DeclareFontShape{LAE}{traditionalarabic}{b}{n}{% + <-> s*[1.25] traditionalarabicbold }{} + +\DeclareFontShape{LAE}{traditionalarabic}{bx}{n}{% + <-> ssub * traditionalarabic/b/n }{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/lagally.sty b/Master/texmf-dist/tex/latex/arabi/lagally.sty new file mode 100644 index 00000000000..fb2d471dfb5 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/lagally.sty @@ -0,0 +1,80 @@ + +%\ifx \ar@batcode \undefined \else +%\message{ArabTeX is aleready loaded, No support is provided} +%\message{with ArabTeX 7 bit input encoding}\expandafter \endinput +%\fi + + + +%%%%%%%%%%%%%%%%%%%%%%%%%% to test with ArabTeX input %%%%%%%%%%%%%% + +\initiate@active@char{_} +\initiate@active@char{^} +\initiate@active@char{.} +\initiate@active@char{'} + + +\expandafter\addto\csname extrasarabic\endcsname{% + \bbl@activate{_}\bbl@activate{^}\bbl@activate{.}\bbl@activate{'} +% + } + + +\expandafter\addto\csname noextrasarabic\endcsname{% + \bbl@deactivate{_}\bbl@deactivate{^}\bbl@deactivate{.}\bbl@deactivate{'} +% +} + + + +\declare@shorthand{arabic}{_h}{%g +\textormath{\kha}{\sb{h}}}% +\declare@shorthand{arabic}{_t}{%g +\textormath{\thaa}{\sb{t}}}% +\declare@shorthand{arabic}{_d}{%g +\textormath{\dhal}{\sb{d}}}% +\declare@shorthand{arabic}{_A}{%g +\textormath{\alefmaqsura}{\sb{A}}}% +\declare@shorthand{arabic}{_a}{%g +\textormath{\keshchar}{\sb{a}}}% + +\declare@shorthand{arabic}{^g}{%g +\textormath{\jeem}{\sp{g}}}% +\declare@shorthand{arabic}{^s}{%g +\textormath{\sheen}{\sp{s}}}% + +\declare@shorthand{arabic}{.g}{%g +\textormath{\ghayn}{.g}}% +\declare@shorthand{arabic}{.h}{%g +\textormath{\Haa}{.h}}% +\declare@shorthand{arabic}{.s}{%g +\textormath{\sad}{.s}}% +\declare@shorthand{arabic}{.d}{%g +\textormath{\dad}{.d}}% +\declare@shorthand{arabic}{.t}{%g +\textormath{\Ta}{.t}}% +\declare@shorthand{arabic}{.z}{%g +\textormath{\za}{.z}}% + +\declare@shorthand{arabic}{'a}{%g +\textormath{\alefhamza\ifx\vocalizetrue\fatha\fi}{'a}}% +\declare@shorthand{arabic}{'u}{%g +\textormath{\alefhamza\ifx\vocalizetrue\damma\fi}{'u}}% +\declare@shorthand{arabic}{'i}{%g +\textormath{\aleflowerhamza\ifx\vocalizetrue\kasra\fi}{'i}}% + + +\declare@shorthand{arabic}{^u}{%g latin chars +\textormath{\relax\damma}{}}% + + +\addto\extrasarabic{\languageshorthands{arabic}}% + + + + +\endinput + + + + diff --git a/Master/texmf-dist/tex/latex/arabi/lfecmr.fd b/Master/texmf-dist/tex/latex/arabi/lfecmr.fd new file mode 100644 index 00000000000..f8c31e6209c --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/lfecmr.fd @@ -0,0 +1,29 @@ +%% +%% This is file `lfecmr.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1a +%% +%% + + +\ProvidesFile{lfecmr.fd} + [2006/12/01 v0.1a LaTeX default Farsi font description + (test version: may change)] + +\DeclareFontFamily{LFE}{cmr}{\hyphenchar\font=-1}% +\DeclareFontShape{LFE}{cmr}{m}{n}{<-> s*[1.25] nazli }{} +%%%%%%% Italicized shape +\DeclareFontShape{LFE}{cmr}{m}{it}{<-> ssub * nazli/m/n }{} +\DeclareFontShape{LFE}{cmr}{m}{sl}{<-> ssub * nazli/m/n }{} +\DeclareFontShape{LFE}{cmr}{m}{sc}{<-> ssub * nazli/m/n }{} +%%%%%%% Bold extended series +\DeclareFontShape{LFE}{cmr}{b}{n}{<-> s*[1.25] titr }{} +\DeclareFontShape{LFE}{cmr}{bx}{n}{<-> ssub * nazli/b/n }{} +%%%%%%% Bold extended (Italic) series +\DeclareFontShape{LFE}{cmr}{bx}{sl}{<-> ssub * nazli/b/n }{} +\DeclareFontShape{LFE}{cmr}{bx}{it}{<-> ssub * nazli/b/n }{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/lfecmss.fd b/Master/texmf-dist/tex/latex/arabi/lfecmss.fd new file mode 100644 index 00000000000..f7dd1525bcf --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/lfecmss.fd @@ -0,0 +1,29 @@ +%% +%% This is file `lfecmss.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1a +%% +%% + + +\ProvidesFile{lfecmss.fd} + [2006/12/01 v0.1a LaTeX default Farsi font description + (test version: may change)] + +\DeclareFontFamily{LAE}{cmss}{\hyphenchar\font=-1}% +\DeclareFontShape{LAE}{cmss}{m}{n}{<-> s*[1.25] nazlib }{} +%%%%%%% Italicized shape +\DeclareFontShape{LAE}{cmss}{m}{it}{<-> ssub * cmss/m/n }{} +\DeclareFontShape{LAE}{cmss}{m}{sl}{<-> ssub * cmss/m/n }{} +\DeclareFontShape{LAE}{cmss}{m}{sc}{<-> ssub * cmss/m/n }{} +%%%%%%% Bold extended series +\DeclareFontShape{LAE}{cmss}{bx}{n}{<-> s*[1.25] nazlib }{} +\DeclareFontShape{LAE}{cmss}{b}{n}{<-> ssub * cmss/bx/n }{} +%%%%%%% Bold extended (Italic) series +\DeclareFontShape{LAE}{cmss}{bx}{sl}{<-> ssub * cmss/bx/n }{} +\DeclareFontShape{LAE}{cmss}{bx}{it}{<-> ssub * cmss/bx/n }{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/lfecmtt.fd b/Master/texmf-dist/tex/latex/arabi/lfecmtt.fd new file mode 100644 index 00000000000..092cba399f2 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/lfecmtt.fd @@ -0,0 +1,29 @@ +%% +%% This is file `lfecmtt.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1a +%% +%% + + +\ProvidesFile{lfecmtt.fd} + [2006/12/01 v0.1a LaTeX default Farsi font description + (test version: may change)] + +\DeclareFontFamily{LFE}{cmtt}{\hyphenchar\font=-1}% +\DeclareFontShape{LFE}{cmtt}{m}{n}{<-> s*[1.25] homa }{} +%%%%%%% Italicized shape +\DeclareFontShape{LFE}{cmtt}{m}{it}{<-> ssub * cmtt/m/n }{} +\DeclareFontShape{LFE}{cmtt}{m}{sl}{<-> ssub * cmtt/m/n }{} +\DeclareFontShape{LFE}{cmtt}{m}{sc}{<-> ssub * cmtt/m/n }{} +%%%%%%% Bold extended series +\DeclareFontShape{LFE}{cmtt}{bx}{n}{<-> s*[1.25] homa }{} +\DeclareFontShape{LFE}{cmtt}{b}{n}{<-> ssub * cmtt/bx/n }{} +%%%%%%% Bold extended (Italic) series +\DeclareFontShape{LFE}{cmtt}{bx}{sl}{<-> ssub * cmtt/bx/n }{} +\DeclareFontShape{LFE}{cmtt}{bx}{it}{<-> ssub * cmtt/bx/n }{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/lfeelham.fd b/Master/texmf-dist/tex/latex/arabi/lfeelham.fd new file mode 100644 index 00000000000..775276a7193 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/lfeelham.fd @@ -0,0 +1,23 @@ +%% +%% This is file `lfeelham.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% + + +\ProvidesFile{lfeelham.fd} + [2006/01/01 v0.1 LaTeX Farsi font description + (test version: may change)] + + +\DeclareFontFamily{LFE}{elham}{\hyphenchar\font=-1}% + +\DeclareFontShape{LFE}{elham}{m}{n}{<-> s*[1.25] elham }{} +\DeclareFontShape{LFE}{elham}{bx}{n}{ <-> ssub * elham/m/n }{} +\DeclareFontShape{LFE}{elham}{b}{n}{<-> ssub * elham/m/n }{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/lfeenc.def b/Master/texmf-dist/tex/latex/arabi/lfeenc.def new file mode 100644 index 00000000000..71119bbb48f --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/lfeenc.def @@ -0,0 +1,151 @@ +% \iffalse meta-comment +% +% Copyright 2006 Youssef Jabri +% +% +% This file is part of the `Arabi' system. +% ------------------------------------------- +% +% It may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.3b +% 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.3b or later is part of all distributions of LaTeX +% version 2005/12/01 or later. +% +% This file has the LPPL maintenance status "maintained". +% +% +% \fi +% +% Filename: lfeenc.def + +\ProvidesFile{lfeenc.def} + [2006/01/01 v0.1 Local Farsi font encoding (test version: may change)] + +\DeclareFontEncoding{LFE}{}{} +\DeclareFontSubstitution{LFE}{cmr}{m}{n} +\DeclareErrorFont{LFE}{cmr}{m}{n}{10} + +\ProvideTextCommand{\textcopyright}{LFE}{\textcircled{\@latin{c}}} +\ProvideTextCommand{\textregistered}{LFE}{\textcircled{\scshape% + \@latin{r}}} +\ProvideTextCommand{\texttrademark}{LFE}{\textsuperscript{\@latin{TM}}} + +\DeclareTextSymbol{\hamza}{LFE}{186} +\DeclareTextSymbol{\alefmadda}{LFE}{6} +\DeclareTextSymbol{\alefhamza}{LFE}{2} +\DeclareTextSymbol{\wawhamza}{LFE}{165} +\DeclareTextSymbol{\aleflowerhamza}{LFE}{4} +\DeclareTextSymbol{\yahamza}{LFE}{183} +\DeclareTextSymbol{\alef}{LFE}{65} +\DeclareTextSymbol{\baa}{LFE}{98} +\DeclareTextSymbol{\peh}{LFE}{112} +\DeclareTextSymbol{\T}{LFE}{84} %taa marbuuta +\DeclareTextSymbol{\taa}{LFE}{116} +\DeclareTextSymbol{\thaa}{LFE}{16} +\DeclareTextSymbol{\jeem}{LFE}{20} %geem +\DeclareTextSymbol{\tcheh}{LFE}{99} +\DeclareTextSymbol{\Haa}{LFE}{24} +\DeclareTextSymbol{\kha}{LFE}{28} +\DeclareTextSymbol{\dal}{LFE}{100} +\DeclareTextSymbol{\dhal}{LFE}{64} +\DeclareTextSymbol{\ra}{LFE}{114} +\DeclareTextSymbol{\zay}{LFE}{122} +\DeclareTextSymbol{\seen}{LFE}{115} +\DeclareTextSymbol{\sheen}{LFE}{75} +\DeclareTextSymbol{\sad}{LFE}{79} +\DeclareTextSymbol{\dad}{LFE}{83} +\DeclareTextSymbol{\Ta}{LFE}{87} +\DeclareTextSymbol{\za}{LFE}{92} +\DeclareTextSymbol{\ayn}{LFE}{96} +\DeclareTextSymbol{\ghayn}{LFE}{140} +\DeclareTextSymbol{\jeh}{LFE}{209} +% +\DeclareTextSymbol{\keshchar}{LFE}{254}%tatweel +\DeclareTextSymbol{\fa}{LFE}{102} +\DeclareTextSymbol{\qaf}{LFE}{113} +\DeclareTextSymbol{\farsikaf}{LFE}{107} +% +\DeclareTextSymbol{\kaf}{LFE}{107}%added to use CP 1256 +% +\DeclareTextSymbol{\gaf}{LFE}{103} +\DeclareTextSymbol{\lam}{LFE}{108} +\DeclareTextSymbol{\meem}{LFE}{109} +\DeclareTextSymbol{\nun}{LFE}{110} +\DeclareTextSymbol{\ha}{LFE}{104} +\DeclareTextSymbol{\waw}{LFE}{119} +\DeclareTextSymbol{\farsiya}{LFE}{121} +% +\DeclareTextSymbol{\ya}{LFE}{121}%added to use CP 1256 +% +\DeclareTextSymbol{\alefmaqsura}{LFE}{89} +% +%%%%%%%%%%%% Vowels +% +% Firt, Vowels that come only at the end of a word +% +\DeclareTextSymbol{\nasb}{LFE}{190} +\DeclareTextSymbol{\raff}{LFE}{191} +\DeclareTextSymbol{\jarr}{LFE}{192} +% +\DeclareTextSymbol{\shaddanasb}{LFE}{198} +\DeclareTextSymbol{\shaddaraff}{LFE}{199} +\DeclareTextSymbol{\shaddajarr}{LFE}{200} +% +% Then, Vowels that come anywhere in a word +% +\DeclareTextSymbol{\fatha}{LFE}{97} +\DeclareTextSymbol{\damma}{LFE}{117} +\DeclareTextSymbol{\kasra}{LFE}{105} +\DeclareTextSymbol{\shadda}{LFE}{204} +\DeclareTextSymbol{\sukun}{LFE}{34} +% +\DeclareTextSymbol{\shaddafatha}{LFE}{201} +\DeclareTextSymbol{\shaddadamma}{LFE}{202} +\DeclareTextSymbol{\shaddakasra}{LFE}{203} +% +\DeclareTextCommand{\ZWNJ}{LFE}{{}}%\kern0ptZWNJ *to force final of previous char + %and + to force initian of next one +% +\DeclareTextCommand{\Farsimadda}{LFE}{}%Farsi madda accent +\DeclareTextCommand{\Farsihamza}{LFE}{}%Farsi hamza accent +\DeclareTextCommand{\Farsihamzabelow}{LFE}{}%Farsi hamza accent below + +% +% Some special ones for LFE! +% +\DeclareTextCommand{\tatweel}{LFE}{\keshchar} +% a little utility ! +\DeclareTextCommand{\Notdef}{LFE}{}%!!!!!!!!!!! +% The macro \cs{rial} is defined in the `farsi.ldf' file +\DeclareTextSymbol{\rialchar}{LFE}{253} +% +\DeclareTextSymbol{\llahchar}{LFE}{252} +\DeclareTextSymbol{\Decimalchar}{LFE}{251} + + + +%% +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +%% +\endinput + + + + diff --git a/Master/texmf-dist/tex/latex/arabi/lfefandlso.fd b/Master/texmf-dist/tex/latex/arabi/lfefandlso.fd new file mode 100644 index 00000000000..599dbee8455 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/lfefandlso.fd @@ -0,0 +1,21 @@ +%% +%% This is file `lfefandlso.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% + + +\ProvidesFile{lfefandlso.fd} + [2006/01/01 v0.1 LaTeX Farsi font description + (test version: may change)] + +\DeclareFontFamily{LFE}{fandlso}{\hyphenchar\font=-1}% +\DeclareFontShape{LFE}{fandlso}{m}{n}{<-> s*[1.25] fandlso }{} +\DeclareFontShape{LFE}{fandlso}{bx}{n}{<-> ssub * fandlso/m/n }{} +\DeclareFontShape{LFE}{fandlso}{b}{n}{<-> ssub * fandlso/m/n }{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/lfefarsismpl.fd b/Master/texmf-dist/tex/latex/arabi/lfefarsismpl.fd new file mode 100644 index 00000000000..2b710c85b39 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/lfefarsismpl.fd @@ -0,0 +1,23 @@ +%% +%% This is file `lfefarsismpl.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% + + +\ProvidesFile{lfefarsismpl.fd} + [2006/01/01 v0.1 LaTeX Farsi font description + (test version: may change)] + + +\DeclareFontFamily{LFE}{farsismpl}{\hyphenchar\font=-1}% + +\DeclareFontShape{LFE}{farsismpl}{m}{n}{<-> s*[1.25] frsspbl }{} +\DeclareFontShape{LFE}{farsismpl}{bx}{n}{<-> s*[1.25] frsspout }{} +\DeclareFontShape{LFE}{farsismpl}{b}{n}{<-> ssub * farsismpl/bx/n }{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/lfefrarial.fd b/Master/texmf-dist/tex/latex/arabi/lfefrarial.fd new file mode 100644 index 00000000000..ac223f07275 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/lfefrarial.fd @@ -0,0 +1,24 @@ +%% +%% This is file `lfefrarial.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% + + +\ProvidesFile{lfefrarial.fd} + [2006/01/01 v0.1 LaTeX Farsi font description + (test version: may change)] + + +\DeclareFontFamily{LFE}{frarial}{\hyphenchar\font=-1}% + +\DeclareFontShape{LFE}{frarial}{m}{n}{<-> s*[1.25] frarial }{} +\DeclareFontShape{LFE}{frarial}{b}{n}{<-> s*[1.25] frarialb }{} +\DeclareFontShape{LFE}{frarial}{bx}{n}{<-> ssub * frarial/b/n }{} + + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/lfefrtimes.fd b/Master/texmf-dist/tex/latex/arabi/lfefrtimes.fd new file mode 100644 index 00000000000..b858a8baebe --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/lfefrtimes.fd @@ -0,0 +1,23 @@ +%% +%% This is file `lfefrtimes.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% + + +\ProvidesFile{lfefrtimes.fd} + [2006/01/01 v0.1 LaTeX Farsi font description + (test version: may change)] + + +\DeclareFontFamily{LFE}{frtimes}{\hyphenchar\font=-1}% + +\DeclareFontShape{LFE}{frtimes}{m}{n}{<-> s*[1.25] frtimes }{} +\DeclareFontShape{LFE}{frtimes}{bx}{n}{<-> s*[1.25] frtimesbd }{} +\DeclareFontShape{LFE}{frtimes}{b}{n}{<-> ssub * frtimes/bx/n }{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/lfeftraditionalarabic.fd b/Master/texmf-dist/tex/latex/arabi/lfeftraditionalarabic.fd new file mode 100644 index 00000000000..9620b8a04ce --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/lfeftraditionalarabic.fd @@ -0,0 +1,26 @@ +%% +%% This is file `lfefTraditionalArabic.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% + + +\ProvidesFile{lfefTraditionalArabic.fd} + [2006/01/01 v0.1 LaTeX Farsi font description + (test version: may change)] + + +\DeclareFontFamily{LFE}{ftraditionalarabic}{\hyphenchar\font=-1}% + +\DeclareFontShape{LFE}{ftraditionalarabic}{m}{n}{% + <-> s*[1.25] ftraditionalarabic }{} +\DeclareFontShape{LFE}{ftraditionalarabic}{bx}{n}{% + <-> s*[1.25] ftraditionalarabicbold }{} +\DeclareFontShape{LFE}{ftraditionalarabic}{b}{n}{% + <-> ssub * ftraditionalarabic/bx/n }{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/lfehoma.fd b/Master/texmf-dist/tex/latex/arabi/lfehoma.fd new file mode 100644 index 00000000000..5bf97f28506 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/lfehoma.fd @@ -0,0 +1,25 @@ +%% +%% This is file `lfehoma.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% + + +\ProvidesFile{lfehoma.fd} + [2006/01/01 v0.1 LaTeX Farsi font description + (test version: may change)] + + + +\DeclareFontFamily{LFE}{homa}{\hyphenchar\font=-1}% + +\DeclareFontShape{LFE}{homa}{m}{n}{<-> s*[1.25] homa }{} +\DeclareFontShape{LFE}{homa}{b}{n}{<-> ssub * homa/m/n }{} +\DeclareFontShape{LFE}{homa}{bx}{n}{<-> ssub * homa/m/n }{} + + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/lfekoodak.fd b/Master/texmf-dist/tex/latex/arabi/lfekoodak.fd new file mode 100644 index 00000000000..ce6ddb102d6 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/lfekoodak.fd @@ -0,0 +1,23 @@ +%% +%% This is file `lfekoodak.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% + + +\ProvidesFile{lfekoodak.fd} + [2006/01/01 v0.1 LaTeX Farsi font description + (test version: may change)] + + +\DeclareFontFamily{LFE}{koodak}{\hyphenchar\font=-1}% + +\DeclareFontShape{LFE}{koodak}{m}{n}{<-> s*[1.25] koodak }{} +\DeclareFontShape{LFE}{koodak}{bx}{n}{<-> ssub * koodak/m/n }{} +\DeclareFontShape{LFE}{koodak}{b}{n}{<-> ssub * koodak/m/n }{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/lfenazli.fd b/Master/texmf-dist/tex/latex/arabi/lfenazli.fd new file mode 100644 index 00000000000..f9525b8df9e --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/lfenazli.fd @@ -0,0 +1,26 @@ +%% +%% This is file `lfenazli.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% + + +\ProvidesFile{lfenazli.fd} + [2006/01/01 v0.1 LaTeX Farsi font description + (test version: may change)] + + +\DeclareFontFamily{LFE}{nazli}{\hyphenchar\font=-1}% + %as in \DeclareFontFamily{T1}{cmtt}{\hyphenchar\font=-1} + +\DeclareFontShape{LFE}{nazli}{m}{n}{<-> s*[1.25] nazli }{} + +\DeclareFontShape{LFE}{nazli}{b}{n}{<-> s*[1.25] nazlib }{} +\DeclareFontShape{LFE}{nazli}{bx}{n}{<-> ssub * nazli/b/n }{} + + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/lfenazliout.fd b/Master/texmf-dist/tex/latex/arabi/lfenazliout.fd new file mode 100644 index 00000000000..7a46ac79adb --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/lfenazliout.fd @@ -0,0 +1,24 @@ +%% +%% This is file `lfenazliout.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% + + +\ProvidesFile{lfenazliout.fd} + [2006/01/01 v0.1 LaTeX Farsi font description + (test version: may change)] + + + +\DeclareFontFamily{LFE}{nazliout}{\hyphenchar\font=-1}% + +\DeclareFontShape{LFE}{nazliout}{m}{n}{<-> s*[1.25] nazliout }{} +\DeclareFontShape{LFE}{nazliout}{bx}{n}{<-> s*[1.25] nazlibout }{} +\DeclareFontShape{LFE}{nazliout}{b}{n}{<-> ssub * nazliout/bx/n }{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/lferoya.fd b/Master/texmf-dist/tex/latex/arabi/lferoya.fd new file mode 100644 index 00000000000..3df5d1a3edf --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/lferoya.fd @@ -0,0 +1,24 @@ +%% +%% This is file `lferoya.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% + + +\ProvidesFile{lferoya.fd} + [2006/01/01 v0.1 LaTeX Farsi font description + (test version: may change)] + + + +\DeclareFontFamily{LFE}{roya}{\hyphenchar\font=-1}% + +\DeclareFontShape{LFE}{roya}{m}{n}{<-> s*[1.25] roya }{} +\DeclareFontShape{LFE}{roya}{bx}{n}{<-> s*[1.25] royab }{} +\DeclareFontShape{LFE}{roya}{b}{n}{<-> ssub * roya/bx/n }{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/lfesmplarabic.fd b/Master/texmf-dist/tex/latex/arabi/lfesmplarabic.fd new file mode 100644 index 00000000000..0a57ab93b41 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/lfesmplarabic.fd @@ -0,0 +1,23 @@ +%% +%% This is file `lfesmplarabic.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% + + +\ProvidesFile{lfesmplarabic.fd} + [2006/01/01 v0.1 LaTeX Farsi font description + (test version: may change)] + +\DeclareFontFamily{LFE}{smplarabic}{\hyphenchar\font=-1}% + +\DeclareFontShape{LFE}{smplarabic}{m}{n}{<-> s*[1.25] frsimpo }{} +\DeclareFontShape{LFE}{smplarabic}{b}{n}{<-> s*[1.25] frsimpbdo }{} +\DeclareFontShape{LFE}{smplarabic}{bx}{n}{<-> ssub * smplarabic/b/n}{} + + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/lfeterafik.fd b/Master/texmf-dist/tex/latex/arabi/lfeterafik.fd new file mode 100644 index 00000000000..308ea7f3201 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/lfeterafik.fd @@ -0,0 +1,25 @@ +%% +%% This is file `lfeterafik.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% + + +\ProvidesFile{lfeterafik.fd} + [2006/01/01 v0.1 LaTeX Farsi font description + (test version: may change)] + + + +\DeclareFontFamily{LFE}{terafik}{\hyphenchar\font=-1}% + +\DeclareFontShape{LFE}{terafik}{m}{n}{<-> s*[1.25] terafik }{} +\DeclareFontShape{LFE}{terafik}{b}{n}{<-> s*[1.25] terafikb }{} +\DeclareFontShape{LFE}{terafik}{bx}{n}{<-> ssub * terafik/b/n }{} + + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/lfetitr.fd b/Master/texmf-dist/tex/latex/arabi/lfetitr.fd new file mode 100644 index 00000000000..e6afbab214b --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/lfetitr.fd @@ -0,0 +1,25 @@ +%% +%% This is file `lfetitr.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% + + +\ProvidesFile{lfetitr.fd} + [2006/01/01 v0.1 LaTeX Farsi font description + (test version: may change)] + + + +\DeclareFontFamily{LFE}{titr}{\hyphenchar\font=-1}% + +\DeclareFontShape{LFE}{titr}{m}{n}{<-> s*[1.25] titr }{} +\DeclareFontShape{LFE}{titr}{b}{n}{<-> ssub * titr/m/n }{} +\DeclareFontShape{LFE}{titr}{bx}{n}{<-> ssub * titr/m/n }{} + + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/lfetitrout.fd b/Master/texmf-dist/tex/latex/arabi/lfetitrout.fd new file mode 100644 index 00000000000..082c047027e --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/lfetitrout.fd @@ -0,0 +1,24 @@ +%% +%% This is file `lfetitrout.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% + + +\ProvidesFile{lfetitrout.fd} + [2006/01/01 v0.1 LaTeX Farsi font description + (test version: may change)] + + + +\DeclareFontFamily{LFE}{titrout}{\hyphenchar\font=-1}% + +\DeclareFontShape{LFE}{titrout}{m}{n}{<-> s*[1.25] titrout }{} +\DeclareFontShape{LFE}{titrout}{bx}{n}{<-> ssub * titrout/m/n }{} +\DeclareFontShape{LFE}{titrout}{b}{n}{<-> ssub * titrout/m/n }{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/mosq.def b/Master/texmf-dist/tex/latex/arabi/mosq.def new file mode 100644 index 00000000000..17027231ba2 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/mosq.def @@ -0,0 +1,51 @@ +% \iffalse meta-comment +% +% Copyright 2006 Youssef Jabri +% +% +% This file is part of the `Arabi' system. +% ------------------------------------------- +% +% It may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.3b +% 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.3b or later is part of all distributions of LaTeX +% version 2005/12/01 or later. +% +% This file has the LPPL maintenance status "maintained". +% +% +% \fi +% +% Filename: mosq.def for use with `shapepar.sty' the package by Donald Arseneau + +\def\mosqdoor{% + {15}% Horizontal center + {0}b{15}\\% Text begins at x=15, y=0 + {1}t{13}{4}\\% + {2}t{10.5}{9}\\% + {3}t{8.5}{13}\\% + {4}t{7.2}{15.6}\\% + {5}t{6.3}{17.4}\\% + {6}t{5.5}{19}\\% + {7}t{4.8}{20.4}\\% + {8}t{4.3}{21.4}\\% + {9}t{4.1}{21.8}\\% + {9.5}t{3.9}{22.2}\\% + {10}t{4.1}{21.8}\\% + {11}t{4.3}{21.4}\\% + {12}t{4.5}{21}\\% + {13}t{5}{20}\\% + {14}t{5.8}{18.4}\\% + {15}t{7}{16}\\% + {17}t{7}{16}\\% + {18}t{7}{16}\\% << + {18.1}t{6}{18}\\% + {19}t{6}{18}\\% + {20}t{5}{20}\\% + {29}t{5}{20}\\% + {30}e{15}% +}% End of mosq door definition. +\endinput
\ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/arabi/poetry.sty b/Master/texmf-dist/tex/latex/arabi/poetry.sty new file mode 100644 index 00000000000..8cf78f10c3a --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/poetry.sty @@ -0,0 +1,143 @@ +% \iffalse meta-comment +% +% Copyright 2006 Youssef Jabri +% +% +% This file is part of the `Arabi' system. +% ------------------------------------------- +% +% It may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.3b +% 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.3b or later is part of all distributions of LaTeX +% version 2005/12/01 or later. +% +% This file has the LPPL maintenance status "maintained". +% +% +% \fi +% +% Filename: poetry.sty +%%%%%%%%%%%%%%%%%%%%%%%% poetry %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +% \def \setversedim #1#2 % set length of half-verse, separation +% \def \halfverses #1#2 % first half-verse, second half-verse (boyh are in arabic) +% \def \connverses #1#2#3 % first half-verse, connection, second half-verse +% +% 04.10.2005 +% +% avoids loading twice +\expandafter \ifx \csname ar@poetry\endcsname \relax \else + \expandafter \endinput \fi + +\def\ar@poetry{\relax} + + +\ProvidesFile{poetry.sty} + [2005/10/04 v0.1 Arabic poetry] + + + +%%%%%%%%%%%%%% A slight modification of the halfverses Macro %%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%%%%%%% from the ArabTeX package by K. Lagally. %%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%% verses.sty %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% verses.sty +% utility for ArabTeX +% macros for typesetting Arabic verses in two columns +% usage: load as a package or after loading ArabTeX +% provides: +% \def \setversedim #1#2{% set length of half-verse, separation +% \def \halfverses #1#2{% first half-verse, second half-verse +% \def \connverses #1#2#3{% first half-verse, connection, second half-verse +% use within an Arabic environment +% 28.03.1998 +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% (c) Klaus Lagally +% Institut fuer Informatik +% Universitaet Stuttgart +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%% Macro "borrowed" from the Midnight bundle. +%% From the Macro \border ... +%% +%%%%%%% exactly fitting border with overlaps +% \border makes a border of the specified dimensions, by overlapping some +% of the elements when necessary. +% \hborder takes four arguments, the width, and the indices of the left +% element, the middle element, and the right element. It makes an horizontal +% border of the form \hbox to wd{ l m+ r }, where there is at least one m. +% If wd is large enough to set at least {l m r}, all overlap is between +% elements of type m. In the unusual case where wd is too small, the overlap +% is necessarily with the corner elements. +% +%\def\hborder#1#2#3#4% wd, l, m, r +% {\hbox to#1 +% {\setbox0=\hbox{\borderelm#3}% +% \borderelm#2% +% \hskip0pt minus1fil % +% \copy0\kern-.5\wd0 % +% \cleaders\copy0\hskip0pt plus1fil % +% \kern-.5\wd0\copy0 % +% \hskip0pt minus1fil % +% \borderelm#4% +% }% +% } +% +\DeclareRobustCommand{\Spreadbox}[2]{\bgroup% +\setbox0=\hbox{{\if@farsi\fontencoding{LFE}\else\fontencoding{LAE}\fi\selectfont\keshchar}} +\renewcommand{\tatweel}{% +\noboundary\nobreak% +\hskip0pt% minus1fil % +\copy0\kern-.5\wd0 % +\cleaders\copy0\hskip0pt plus1fil % +\kern-.5\wd0\copy0 % +\hskip0pt% minus1fil % +\nobreak\noboundary} +% +\parbox{#1}{\hbox to #1{\if@farsi\FR{#2}\else\AR{#2}\fi}}\egroup} + + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\newdimen \a@hvlen +\newdimen \a@hvsep +\newdimen \a@hvind + +% define some verse dimensions, verses will be centered +\def \setversedim #1#2{% set length of half-verse, separation +\a@hvlen #1\relax \a@hvsep #2\relax +\a@hvind \hsize \advance \a@hvind -\a@hvsep +\divide \a@hvind 2 \advance \a@hvind -\a@hvlen } + + +%strut for the Arabic font Traditional Arabic if vowels are used! +%\def\astrut{\rule[-.3cm]{0cm}{8.5mm}} +\def\astrut{\hbox{\ArabiStrut}} +%% +%% better to use instead of \hfil --> \hspace*{\stretch{1}}? +%% + + +% macro for a verse with a connection +\def \Connverses #1#2#3{% first half-verse + strut, connection, second half-verse +\noindent \hspace \a@hvind \astrut +\Spreadbox \a@hvlen {#1}% first block +%\Spreadbox \a@hvsep {\hfill #2\hfill}% separator +\Spreadbox \a@hvsep {\hspace*{\stretch{1}} #2\hspace*{\stretch{1}}}% separator +\Spreadbox \a@hvlen {#3}% second block +\par } + + +% macro for two half verses +\def \Halfverses #1#2{% normal case +%\Connverses {#1}{\hfill}{#2}} +\Connverses {#1}{\hspace*{\stretch{1}}}{#2}} + + + + +\endinput
\ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/arabi/puenc-ar.def b/Master/texmf-dist/tex/latex/arabi/puenc-ar.def new file mode 100644 index 00000000000..efedd5c8cdd --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/puenc-ar.def @@ -0,0 +1,67 @@ +\ProvidesFile{puenc-ar.def} + [2006/09/26 v1.0a + Hyperref: PDF Unicode definition for Arabic characters Youssef Jabri] + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\DeclareTextCommand{\hamza}{PU}{\9006\041}%0621;afii57409;ARABIC LETTER HAMZA +\DeclareTextCommand{\alefmadda}{PU}{\9006\042}%0622;afii57410;ARABIC LETTER ALEF WITH MADDA ABOVE +\DeclareTextCommand{\alefhamza}{PU}{\9006\043}%0623;afii57411;ARABIC LETTER ALEF WITH HAMZA ABOVE +\DeclareTextCommand{\wawhamza}{PU}{\9006\044} % 0624;afii57412;ARABIC LETTER WAW WITH HAMZA ABOVE +\DeclareTextCommand{\aleflowerhamza}{PU}{\9006\045}%0625;afii57413;ARABIC LETTER ALEF WITH HAMZA BELOW +\DeclareTextCommand{\yahamza}{PU}{\9006\046}%0626;afii57414;ARABIC LETTER YEH WITH HAMZA ABOVE +\DeclareTextCommand{\alef}{PU}{\9006\047}%0627;afii57415;ARABIC LETTER ALEF +\DeclareTextCommand{\baa}{PU}{\9006\050}%0628;afii57416;ARABIC LETTER BEH +\DeclareTextCommand{\T}{PU}{\9006\051}%0629;afii57417;ARABIC LETTER TEH MARBUTA +\DeclareTextCommand{\taa}{PU}{\9006\052}%062A;afii57418;ARABIC LETTER TEH +\DeclareTextCommand{\thaa}{PU}{\9006\053}%062B;afii57419;ARABIC LETTER THEH +\DeclareTextCommand{\jeem}{PU}{\9006\054}%062C;afii57420;ARABIC LETTER JEEM +\DeclareTextCommand{\Haa}{PU}{\9006\055}%062D;afii57421;ARABIC LETTER HAH +\DeclareTextCommand{\kha}{PU}{\9006\056}%062E;afii57422;ARABIC LETTER KHAH +\DeclareTextCommand{\dal}{PU}{\9006\057}%062F;afii57423;ARABIC LETTER DAL +\DeclareTextCommand{\dhal}{PU}{\9006\060}%0630;afii57424;ARABIC LETTER THAL +\DeclareTextCommand{\ra}{PU}{\9006\061}%0631;afii57425;ARABIC LETTER REH +\DeclareTextCommand{\zay}{PU}{\9006\062}%0632;afii57426;ARABIC LETTER ZAIN +\DeclareTextCommand{\seen}{PU}{\9006\063}%0633;afii57427;ARABIC LETTER SEEN +\DeclareTextCommand{\sheen}{PU}{\9006\064}%0634;afii57428;ARABIC LETTER SHEEN +\DeclareTextCommand{\sad}{PU}{\9006\065}%0635;afii57429;ARABIC LETTER SAD +\DeclareTextCommand{\dad}{PU}{\9006\066}%0636;afii57430;ARABIC LETTER DAD +\DeclareTextCommand{\Ta}{PU}{\9006\067}%0637;afii57431;ARABIC LETTER TAH +\DeclareTextCommand{\za}{PU}{\9006\070}%0638;afii57432;ARABIC LETTER ZAH +\DeclareTextCommand{\ayn}{PU}{\9006\071}%0639;afii57433;ARABIC LETTER AIN +\DeclareTextCommand{\ghayn}{PU}{\9006\072}%063A;afii57434;ARABIC LETTER GHAIN +\DeclareTextCommand{\tatweel}{PU}{\9006\100}%0640;afii57440;ARABIC TATWEEL +\DeclareTextCommand{\fa}{PU}{\9006\101}%0641;afii57441;ARABIC LETTER FEH +\DeclareTextCommand{\qaf}{PU}{\9006\102}%0642;afii57442;ARABIC LETTER QAF +\DeclareTextCommand{\kaf}{PU}{\9006\103}%0643;afii57443;ARABIC LETTER KAF +\DeclareTextCommand{\lam}{PU}{\9006\104}%0644;afii57444;ARABIC LETTER LAM +\DeclareTextCommand{\meem}{PU}{\9006\105}%0645;afii57445;ARABIC LETTER MEEM +\DeclareTextCommand{\nun}{PU}{\9006\106}%0646;afii57446;ARABIC LETTER NOON +\DeclareTextCommand{\ha}{PU}{\9006\107}%0647;afii57470;ARABIC LETTER HEH +\DeclareTextCommand{\waw}{PU}{\9006\110}%0648;afii57448;ARABIC LETTER WAW +\DeclareTextCommand{\alefmaqsura}{PU}{\9006\111}%0649;afii57449;ARABIC LETTER ALEF MAKSURA +\DeclareTextCommand{\ya}{PU}{\9006\112}%064A;afii57450;ARABIC LETTER YEH +% +\DeclareTextCommand{\nasb}{PU}{\9006\113}%064B;afii57451;ARABIC FATHATAN +\DeclareTextCommand{\raff}{PU}{\9006\114}%064C;afii57452;ARABIC DAMMATAN +\DeclareTextCommand{\jarr}{PU}{\9006\115}%064D;afii57453;ARABIC KASRATAN +\DeclareTextCommand{\fatha}{PU}{\9006\116}%064E;afii57454;ARABIC FATHA +\DeclareTextCommand{\damma}{PU}{\9006\117}%064F;afii57455;ARABIC DAMMA +\DeclareTextCommand{\kasra}{PU}{\9006\120}%0650;afii57456;ARABIC KASRA +\DeclareTextCommand{\shadda}{PU}{\9006\121}%0651;afii57457;ARABIC SHADDA +\DeclareTextCommand{\sukun}{PU}{\9006\122}%0652;afii57458;ARABIC SUKUN +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Farsi +\DeclareTextCommand{\peh}{PU}{\9006\176}%067E;afii57506;ARABIC LETTER PEH +\DeclareTextCommand{\tcheh}{PU}{\9006\206}%0686;afii57507;ARABIC LETTER TCHEH +\DeclareTextCommand{\jeh}{PU}{\9006\230}%0698;afii57508;ARABIC LETTER JEH +\DeclareTextCommand{\farsikaf}{PU}{\9006\251}%06A9???;afii?????;FARSI LETTER KAF +\DeclareTextCommand{\gaf}{PU}{\9006\257}%06AF;afii57509;ARABIC LETTER GAF +\DeclareTextCommand{\farsiya}{PU}{\9006\314}%06CC;afii?????;FARSI LETTER YEH +% +\DeclareTextCommand{\ZWNJ}{PU}{\9040\014}%200C;ZWNJ% +\DeclareTextCommand{\noboundary}{PU}{\9006\325}%200D;ZWJ +% +\endinput + + +066A arabicpercentsign
\ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/arabi/transcmr.fd b/Master/texmf-dist/tex/latex/arabi/transcmr.fd new file mode 100644 index 00000000000..35931e3f4b9 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/transcmr.fd @@ -0,0 +1,90 @@ +%% +%% This is file `transcmr.fd', +%% +%% A part of the Arabi package to be used with the Babel system +%% to write Arabic and/or Farsi +%% +%% Version 0.1 +%% +%% + + +\ProvidesFile{transcmr.fd} + [2006/01/01 v0.1 LaTeX Arabic font description + (test version: may change)] + + +\DeclareFontFamily{trans}{cmr}{\hyphenchar\font=-1}% +\ProvidesFile{ot1cmr.fd} + [1999/05/25 v2.5h Standard LaTeX font definitions] +\DeclareFontFamily{trans}{cmr}{\hyphenchar\font45 } + + +% This is just a copy of ot1cmr.fd + +\DeclareFontShape{trans}{cmr}{m}{n}% + {<5><6><7><8><9><10><12>gen*cmr% + <10.95>cmr10% + <14.4>cmr12% + <17.28><20.74><24.88>cmr17}{} +\DeclareFontShape{trans}{cmr}{m}{sl}% + {% + <5><6><7>cmsl8% + <8><9>gen*cmsl% + <10><10.95>cmsl10% + <12><14.4><17.28><20.74><24.88>cmsl12% + }{} +\DeclareFontShape{trans}{cmr}{m}{it}% + {% + <5><6><7>cmti7% + <8>cmti8% + <9>cmti9% + <10><10.95>cmti10% + <12><14.4><17.28><20.74><24.88>cmti12% + }{} +\DeclareFontShape{trans}{cmr}{m}{sc}% + {% + <5><6><7><8><9><10><10.95><12>% + <14.4><17.28><20.74><24.88>cmcsc10% + }{} +% Warning: please note that the upright shape below is +% used for the \pounds symbol of LaTeX. So this +% font definition shouldn't be removed. +% +\DeclareFontShape{trans}{cmr}{m}{ui} + { + <5><6><7><8><9><10><10.95><12>% + <14.4><17.28><20.74><24.88>cmu10% + }{} +%%%%%%% bold series +\DeclareFontShape{trans}{cmr}{b}{n} + {% + <5><6><7><8><9><10><10.95><12>% + <14.4><17.28><20.74><24.88>cmb10% + }{} +%%%%%%%% bold extended series +\DeclareFontShape{trans}{cmr}{bx}{n} + {% + <5><6><7><8><9>gen*cmbx% + <10><10.95>cmbx10% + <12><14.4><17.28><20.74><24.88>cmbx12% + }{} +\DeclareFontShape{trans}{cmr}{bx}{sl} + {% + <5><6><7><8><9>% + <10><10.95><12><14.4><17.28><20.74><24.88>cmbxsl10% + }{} +\DeclareFontShape{trans}{cmr}{bx}{it} + {% + <5><6><7><8><9>% + <10><10.95><12><14.4><17.28><20.74><24.88>cmbxti10% + }{} +% Again this is necessary for a correct \pounds symbol in +% the cmr fonts Hopefully the dc/ec font layout will take +% over soon. +% +\DeclareFontShape{trans}{cmr}{bx}{ui} + {<->sub*cmr/m/ui}{} + + +\endinput diff --git a/Master/texmf-dist/tex/latex/arabi/translit.sty b/Master/texmf-dist/tex/latex/arabi/translit.sty new file mode 100644 index 00000000000..c8aec54d876 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabi/translit.sty @@ -0,0 +1,186 @@ +% \iffalse meta-comment +% +% Copyright 2006 Youssef Jabri +% +% +% This file is part of the `Arabi' system. +% ------------------------------------------- +% +% It may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.3b +% 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.3b or later is part of all distributions of LaTeX +% version 2005/12/01 or later. +% +% This file has the LPPL maintenance status "maintained". +% +% +% \fi +% +% Filename: translit.sty +%% +%% When texts are in general not fully vowelized, the transliteration +%% cannot be expected to be correct. +%% +%% Moreover, when writing using CP1256/ISO 8859-6 8-bit input encoding, +%% there is no way to distinguish between long vowels A I U and the letters +%% alif yaa and waw. neither, it is possible to write correctly the hamza +%% when on alif waw or yaa. +%% +\ProvidesFile{tranlit.sty} + [2005/09/08 v0.1 Arabic transliteration (test version: may change)] + +%\renewcommand{\rmdefault}{ptm} +%\renewcommand{\sfdefault}{phv} +%\renewcommand{\ttdefault}{pcr} + + +\DeclareTextCommand{\hamza}{T1}{\ensuremath{\rhook }} +\DeclareTextCommand{\alefmadda}{T1}{\ensuremath{\rhook\kern-.1em \bar a}} +\DeclareTextCommand{\alefhamza}{T1}{\ensuremath{\rhook\kern-.3em a}} +\DeclareTextCommand{\wawhamza}{T1}{\ensuremath{\rhook\kern-.1em w}} +\DeclareTextCommand{\aleflowerhamza}{T1}{\ensuremath{\rhook\kern-.3em i}} +\DeclareTextCommand{\yahamza}{T1}{183} + +\DeclareTextCommand{\alef}{T1}{\ensuremath{\bar a}} +\DeclareTextCommand{\baa}{T1}{\ensuremath{b}} +\DeclareTextCommand{\T}{T1}{\ensuremath{t}} %taa marbuuta +\DeclareTextCommand{\taa}{T1}{\ensuremath{t}} + +\DeclareTextCommand{\thaa}{T1}{\ensuremath{\bar t}} +\DeclareTextCommand{\jeem}{T1}{\ensuremath{\check{g}}} %geem ??? +\DeclareTextCommand{\Haa}{T1}{\textit{\d h}} +\DeclareTextCommand{\kha}{T1}{\ensuremath{\underbar{\text{\textit{h}}}}} %<<<<<<<<<<<<< +\DeclareTextCommand{\dal}{T1}{\ensuremath{d}} +\DeclareTextCommand{\dhal}{T1}{\ensuremath{\bar d}} +\DeclareTextCommand{\ra}{T1}{\ensuremath{r}} +\DeclareTextCommand{\zay}{T1}{\ensuremath{z}} +\DeclareTextCommand{\seen}{T1}{\ensuremath{s}} +\DeclareTextCommand{\sheen}{T1}{\ensuremath{\check{s}}} +\DeclareTextCommand{\sad}{T1}{\textit{\d s}} +\DeclareTextCommand{\dad}{T1}{\textit{\d d}} +\DeclareTextCommand{\Ta}{T1}{\textit{\d{t}}} +\DeclareTextCommand{\za}{T1}{\ensuremath{\dot z}} +\DeclareTextCommand{\ayn}{T1}{\ensuremath{\lhook }} +\DeclareTextCommand{\ghayn}{T1}{\textit{\d g}} +% +\DeclareTextCommand{\keshchar}{T1}{254} +\DeclareTextCommand{\fa}{T1}{\ensuremath{f}} +\DeclareTextCommand{\qaf}{T1}{\ensuremath{q}} +\DeclareTextCommand{\kaf}{T1}{\ensuremath{k}} +\DeclareTextCommand{\lam}{T1}{\ensuremath{l}} +\DeclareTextCommand{\meem}{T1}{\ensuremath{m}} +\DeclareTextCommand{\nun}{T1}{\ensuremath{n}} +\DeclareTextCommand{\ha}{T1}{\ensuremath{h}} +\DeclareTextCommand{\waw}{T1}{\ensuremath{w}} +\DeclareTextCommand{\ya}{T1}{\ensuremath{y}} +\DeclareTextCommand{\alefmaqsura}{T1}{\ensuremath{\bar a}}%170 +% +%%%%%%%%%%%% Vowels +% +% Firt, Vowels that come only at the end of a word +% +\DeclareTextCommand{\nasb}{T1}{\ensuremath{aN}} +\DeclareTextCommand{\raff}{T1}{\ensuremath{uN}} +\DeclareTextCommand{\jarr}{T1}{\ensuremath{iN}} +% +\DeclareTextCommand{\shaddanasb}{T1}{\ensuremath{aN}} +\DeclareTextCommand{\shaddaraff}{T1}{\ensuremath{uN}} +\DeclareTextCommand{\shaddajarr}{T1}{\ensuremath{iN}} +% +% Then, Vowels that come anywhere in a word +% +\DeclareTextCommand{\fatha}{T1}{\ensuremath{a}}%{161} +\DeclareTextCommand{\damma}{T1}{\ensuremath{u}}%{162} +\DeclareTextCommand{\kasra}{T1}{\ensuremath{i}}%{163} +\DeclareTextCommand{\shadda}{T1}{\ensuremath{}}%{164} +\DeclareTextCommand{\sukun}{T1}{\ensuremath{}}%{197}%{} +% +\DeclareTextCommand{\shaddafatha}{T1}{\ensuremath{a}}%169 +\DeclareTextCommand{\shaddadamma}{T1}{\ensuremath{u}}%170 +\DeclareTextCommand{\shaddakasra}{T1}{\ensuremath{i}}%171 +% + + +%%%%%%%%%%%% Vowels after passing through \novocalize <--> \vocalize +% +% Firt, Vowels that come only at the end of a word +% +\DeclareTextCommand{\nasbSAV}{T1}{\ensuremath{aN}} +\DeclareTextCommand{\raffSAV}{T1}{\ensuremath{uN}} +\DeclareTextCommand{\jarrSAV}{T1}{\ensuremath{iN}} +% +\DeclareTextCommand{\shaddanasbSAV}{T1}{\ensuremath{aN}} +\DeclareTextCommand{\shaddaraffSAV}{T1}{\ensuremath{uN}} +\DeclareTextCommand{\shaddajarrSAV}{T1}{\ensuremath{iN}} +% +% Then, Vowels that come anywhere in a word +% +\DeclareTextCommand{\fathaSAV}{T1}{\ensuremath{a}}%{161} +\DeclareTextCommand{\dammaSAV}{T1}{\ensuremath{u}}%{162} +\DeclareTextCommand{\kasraSAV}{T1}{\ensuremath{i}}%{163} +\DeclareTextCommand{\shaddaSAV}{T1}{\ensuremath{}}%{164} +\DeclareTextCommand{\sukunSAV}{T1}{\ensuremath{}}%{197}%{} +% +\DeclareTextCommand{\shaddafathaSAV}{T1}{\ensuremath{a}}%169 +\DeclareTextCommand{\shaddadammaSAV}{T1}{\ensuremath{u}}%170 +\DeclareTextCommand{\shaddakasraSAV}{T1}{\ensuremath{i}}%171 +% + +%%%%%%%%%%%% Vowels after passing through \novocalize --> \vocalize +% +% Firt, Vowels that come only at the end of a word +% +\DeclareTextCommand{\nasbOFF}{T1}{\ensuremath{aN}} +\DeclareTextCommand{\raffOFF}{T1}{\ensuremath{uN}} +\DeclareTextCommand{\jarrOFF}{T1}{\ensuremath{iN}} +% +\DeclareTextCommand{\shaddanasbOFF}{T1}{\ensuremath{aN}} +\DeclareTextCommand{\shaddaraffOFF}{T1}{\ensuremath{uN}} +\DeclareTextCommand{\shaddajarrOFF}{T1}{\ensuremath{iN}} +% +% Then, Vowels that come anywhere in a word +% +\DeclareTextCommand{\fathaOFF}{T1}{\ensuremath{a}}%{161} +\DeclareTextCommand{\dammaOFF}{T1}{\ensuremath{u}}%{162} +\DeclareTextCommand{\kasraOFF}{T1}{\ensuremath{i}}%{163} +\DeclareTextCommand{\shaddaOFF}{T1}{\ensuremath{}}%{164} +\DeclareTextCommand{\sukunOFF}{T1}{\ensuremath{}}%{197}%{} +% +\DeclareTextCommand{\shaddafathaOFF}{T1}{\ensuremath{a}}%169 +\DeclareTextCommand{\shaddadammaOFF}{T1}{\ensuremath{u}}%170 +\DeclareTextCommand{\shaddakasraOFF}{T1}{\ensuremath{i}}%171 +% + + + +\DeclareTextCommand{\tatweel}{T1}{} + + + +%% +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +%% +\endinput +%% +%% End of file `jaeenc.def'. + + + + |