summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-07-09 22:04:04 +0000
committerKarl Berry <karl@freefriends.org>2006-07-09 22:04:04 +0000
commita8e832c98d4866efe1f10573edb04a0609ffec10 (patch)
tree19262ce3fe45b7123dee0ee5a2e1bd5582ef8633 /Master/texmf-dist/tex
parenta7436def27eb5d5cf587b24638c458c835fc33e2 (diff)
arabtex update, now real ctan2tds.pl support
git-svn-id: svn://tug.org/texlive/trunk@1788 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/arabtex/alocal.sty20
-rw-r--r--Master/texmf-dist/tex/latex/arabtex/apatch.sty474
-rw-r--r--Master/texmf-dist/tex/latex/arabtex/arabrep1.cls914
-rw-r--r--Master/texmf-dist/tex/latex/arabtex/arabtex.tex (renamed from Master/texmf-dist/tex/generic/arabtex/arabtex.tex)0
-rw-r--r--Master/texmf-dist/tex/latex/arabtex/arabwin.sty90
-rw-r--r--Master/texmf-dist/tex/latex/arabtex/arwindoc.tex118
-rw-r--r--Master/texmf-dist/tex/latex/arabtex/asmo449a.sty126
-rw-r--r--Master/texmf-dist/tex/latex/arabtex/guha.tex59
-rw-r--r--Master/texmf-dist/tex/latex/arabtex/hebtex.tex (renamed from Master/texmf-dist/tex/generic/arabtex/hebtex.tex)0
-rw-r--r--Master/texmf-dist/tex/latex/arabtex/hecmd.sty106
-rw-r--r--Master/texmf-dist/tex/latex/arabtex/kashmiri.tex123
-rw-r--r--Master/texmf-dist/tex/latex/arabtex/ligtable.tex172
-rw-r--r--Master/texmf-dist/tex/latex/arabtex/malay.tex61
-rw-r--r--Master/texmf-dist/tex/latex/arabtex/manifest.txt90
-rw-r--r--Master/texmf-dist/tex/latex/arabtex/omar.tex37
-rw-r--r--Master/texmf-dist/tex/latex/arabtex/raw.sty1
-rw-r--r--Master/texmf-dist/tex/latex/arabtex/saw.sty43
-rw-r--r--Master/texmf-dist/tex/latex/arabtex/sindhi.tex156
-rw-r--r--Master/texmf-dist/tex/latex/arabtex/twoblks.sty1
-rw-r--r--Master/texmf-dist/tex/latex/arabtex/uighur.tex121
-rw-r--r--Master/texmf-dist/tex/latex/arabtex/unash.fd46
-rw-r--r--Master/texmf-dist/tex/latex/arabtex/utf8.sty4
-rw-r--r--Master/texmf-dist/tex/latex/arabtex/verses.sty108
23 files changed, 2562 insertions, 308 deletions
diff --git a/Master/texmf-dist/tex/latex/arabtex/alocal.sty b/Master/texmf-dist/tex/latex/arabtex/alocal.sty
new file mode 100644
index 00000000000..c0e0ad3dc11
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/arabtex/alocal.sty
@@ -0,0 +1,20 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% alocal.sty
+% ArabTeX
+% stub for local extensions
+% should normally be empty!
+% Version 26.02.2006
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% (c) Klaus Lagally
+% Institut fuer Formale Methoden der Informatik
+% Universitaet Stuttgart
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\a@message {3.11 local stub, 26.02.2006}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\relax
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\endinput
diff --git a/Master/texmf-dist/tex/latex/arabtex/apatch.sty b/Master/texmf-dist/tex/latex/arabtex/apatch.sty
index 319bf4705f7..cf3eb20933e 100644
--- a/Master/texmf-dist/tex/latex/arabtex/apatch.sty
+++ b/Master/texmf-dist/tex/latex/arabtex/apatch.sty
@@ -1,9 +1,8 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% apatch.sty
% last minute corrections
-% see \datum and \level at the end of the file
+% see \a@pdatum and \a@level at the end of the file
% template: 22.08.2003
-\def \version {3.11}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% (c) Klaus Lagally
% Institut fuer Informatik
@@ -17,8 +16,10 @@
\chardef \patchatcode = \catcode`\@ \catcode`\@ = 11
\chardef \patchdqcode = \catcode`\" \catcode`\" = 12
-\ifx \version \theversion \else \edef \next {\errmessage
-{This patch file only works with ArabTeX version \version }}
+\def \a@version {3.11} % compare to arabtex::theversion
+
+\ifx \a@version \theversion \else \edef \next {\errmessage
+{This patch file only works with ArabTeX version \a@version }}
\next \def \a@patchlevel {-undefined-}
\xpa \endinput
\fi
@@ -58,7 +59,7 @@
%\fi % no patches yet; otherwise: delete !
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\def \datum {22.08.2003} \def \level {-}
+\def \a@pdatum {22.08.2003} \def \a@level {-}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% aligs.sty
@@ -168,7 +169,7 @@
\fi % Hebrew
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\def \datum {27.08.2003} \def \level {a}
+\def \a@pdatum {27.08.2003} \def \a@level {a}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ifx \a@hebr \undefined \else
@@ -206,7 +207,7 @@
\fi
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\def \datum {08.09.2003} \def \level {b}
+\def \a@pdatum {08.09.2003} \def \a@level {b}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ifx \a@hebr \undefined \else
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -286,7 +287,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\fi %\setjudarab
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\def \datum {17.09.2003} \def \level {c}
+\def \a@pdatum {17.09.2003} \def \a@level {c}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% acmd.sty
@@ -524,7 +525,7 @@
\advance \a@@prevgraf \@ne \prevgraf \a@@prevgraf }
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\def \datum {23.10.2003} \def \level {d}
+\def \a@pdatum {23.10.2003} \def \a@level {d}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% arabtex.sty
@@ -907,7 +908,7 @@ N"\n@xp\a@Za\or N"\n@xp\a@Za A\or N"\n@xp\a@Za w\or N"\n@xp\a@Za w"u\or \fi }%
\fi }
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\def \datum {16.11.2003} \def \level {d+UCS}
+\def \a@pdatum {16.11.2003} \def \a@level {d+UCS}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% witbhs.sty
@@ -973,7 +974,7 @@ N"\n@xp\a@Za\or N"\n@xp\a@Za A\or N"\n@xp\a@Za w\or N"\n@xp\a@Za w"u\or \fi }%
\tracingmacros 0 }
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\def \datum {08.12.2003} \def \level {e}
+\def \a@pdatum {08.12.2003} \def \a@level {e}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% aboxes.sty
@@ -1062,7 +1063,7 @@ t\def \next {\tr@aword #1}\fi \next }
\fi % Hebrew
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\def \datum {12.02.2004} \def \level {f}
+\def \a@pdatum {12.02.2004} \def \a@level {f}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% cp1256.sty
@@ -1253,7 +1254,7 @@ arabwin\set@awin cp1256\set@awin }
\fi
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\def \datum {26.02.2004} \def \level {g}
+\def \a@pdatum {26.02.2004} \def \a@level {g}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% ascan.sty
@@ -1295,8 +1296,8 @@ arabwin\set@awin cp1256\set@awin }
\let \sc@beg \utf@beg
\let \sc@word \utf@word
\global\a@digits = {0123456789}%
-\global\a@first = {}%
-\catcode ` 11
+\global\a@first = {ϕ}%
+\catcode ` 11
\a@message {input encoding set to UTF-8 conventions}}
\fi % utf8.sty
@@ -1565,16 +1566,16 @@ arabwin\set@awin cp1256\set@awin }
\fi % yiddish.sty
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\def \datum {15.03.2004} \def \level {h}
+\def \a@pdatum {15.03.2004} \def \a@level {h}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% abidir.sty
\ifx \a@patchlevel \undefined % first patching run
-\newtoks \a@oldoutput
-\newbox \a@oldbox
-\newbox \a@newbox
-\newdimen \a@prevdepth
+\csname newtoks\endcsname \a@oldoutput
+\csname newbox\endcsname \a@oldbox
+\csname newbox\endcsname \a@newbox
+\csname newdimen\endcsname \a@prevdepth
\def \a@@Rinsert #1{% RL insertion inside Ltext
%\tracingmacros 1
@@ -1651,7 +1652,7 @@ $${\endgraf }%
\fi % first run
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\def \datum {29.04.2004} \def \level {i1}
+\def \a@pdatum {29.04.2004} \def \a@level {i2}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% buck.sty
@@ -1817,7 +1818,7 @@ $${\endgraf }%
\fi % a@hebr
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\def \datum {17.05.2004} \def \level {j}
+\def \a@pdatum {17.05.2004} \def \a@level {j}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% abidir.sty
@@ -1867,7 +1868,7 @@ $${\endgraf }%
\def \a@endx {\if@ignore \@ignorefalse \xpa\ignorespaces \fi }
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\def \datum {24.05.2004} \def \level {k}
+\def \a@pdatum {24.05.2004} \def \a@level {k}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% arabtex.sty
@@ -1943,7 +1944,7 @@ $${\endgraf }%
\test@token }
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\def \datum {22.06.2004} \def \level {l}
+\def \a@pdatum {22.06.2004} \def \a@level {l}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% alists.sty
@@ -1965,23 +1966,432 @@ $${\endgraf }%
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\def \a@pdatum {23.01.2005} \def \a@level {m}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% arabext.sty
+
+\ifx \a@@figure \undefined \else
+
+\def \a@@figure {% figure within Arabic environment
+\let \a@endfigure \endfigure \def \endfigure {\a@par \a@endfigure }%
+\a@par \figure }
+
+\def \a@@table {% table within Arabic environment
+\let \a@endtable \endtable \def \endtable {\a@par \a@endtable }%
+\a@par \table }
+
+\fi
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\def \a@pdatum {06.04.2005} \def \a@level {n}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% abidir.sty
+
+% for use with abidir.sty version 3.12a:
+\csname newcount\endcsname \a@lines
+\csname newdimen\endcsname \a@Lwidth
+
+%\newdimen \a@prevdepth
+%\newdimen \a@displaywidth
+%\newcount \a@prevgraf
+%\newtoks \a@oldoutput
+
+\def \RLskip {\hskip \z@ plus 0.1em }% after RL insertion (right)
+\def \LRskip {\hskip 1em plus 0.1em }% before RL insertion (left)
+
+\def \a@@Rsplit #1{% splice RL words into the current paragraph
+\bgroup \global\a@oldoutput = \output
+\dimen0 \vsize \advance \dimen0 100pt \pagegoal \dimen0
+$$\global\a@prevgraf \prevgraf \global\a@displaywidth \displaywidth
+$${\endgraf }%
+\ifinner \a@back@line \else
+\global\output = {\a@newoutput }\eject
+\fi \global\prevdepth \a@prevdepth
+\ifvoid \a@oldbox \else \advance \a@prevgraf -1
+\setbox\a@oldbox \hbox {\hskip -\leftskip \unhbox\a@oldbox
+ \unskip \unskip \unpenalty \unpenalty }%
+\fi
+\setbox\Rinsertb@x \vbox {\a@box@rparm \a@box@aparm
+ \putlineb@x {\hbox {\unhcopy\a@oldbox }}\a@spacefalse
+ \test@token #1 \end \hbox {\box\lineb@x \hfill }}%
+\a@Rgetline
+\setbox\tempb@x \hbox {\unhbox \tempb@x \unskip \unpenalty
+ \global\setbox \a@newbox \lastbox }%
+\noindent \prevgraf \a@prevgraf \unhcopy \a@newbox
+\ifdim \wd\a@newbox = 0pt \else
+\ifdim \wd\a@newbox = \parindent \else
+\ifdim \wd\tempb@x = 0pt \else
+ \space \LRskip
+\fi\fi\fi \unhbox \tempb@x
+\ifvbox \Rinsertb@x \break \a@Runpack
+\else \RLskip
+\fi
+\egroup }
+
+\gdef \a@back@line {% skip back over empty display
+\dimen0 \baselineskip \unskip \unpenalty \setbox0 \lastbox
+\dimen2 \lastskip \unskip \unskip \unpenalty
+\global\setbox \a@oldbox \lastbox % last line
+\ifvoid \a@oldbox \else \dimen2 \lastskip \unskip
+\advance\dimen0 -\ht\a@oldbox \fi
+\advance\dimen0 -\dimen2 % compute \prevdepth
+\global\a@prevdepth \dimen0 \unskip }%
+
+\gdef \a@newoutput {% intermediate output routine
+\global\output = \a@oldoutput
+%\ifnum \tracingmacros = 0 \else \showbox 255 \fi
+\setbox 255 \vbox {\unvbox 255 % put back into MVL
+\a@back@line }\unvbox 255 }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% atrans.sty
+% because of an incompatible change in Plain 3.1415926
+
+\gdef \x@s #1{\oalign{#1\crcr\hidewidth \nsh@ft{34}% accent for _h
+ \vbox to -.2ex {\hbox{\char'25}\vss}\hidewidth}}
+
+\gdef \x@x #1{\oalign{#1\crcr\hidewidth \nsh@ft{29}% accent for .s in Urdu
+ \vbox to.2ex{\hbox{\char'177}\vss}\hidewidth}}
+
+\def \ish@ft #1{\dimen\z@.00#1ex\multiply\dimen\z@\fontdimen1\font
+ \kern.0156\dimen\z@} % positive kern for slant
+
+\def \rsh@ft #1#2{\ish@ft{#1}#2\nsh@ft{#1}}
+
+\def \nsh@ft#1{\dimen\z@.00#1ex\multiply\dimen\z@\fontdimen1\font
+ \kern-.0156\dimen\z@} % compensate for slant in lowered accents
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\def \a@pdatum {25.01.2006} \def \a@level {o}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% version 3.11i::abidir.sty
+
+%\csname newbox\endcsname for \newbox etc. (inner!)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% aligs.sty
+
+\def \hah@end #1#2*#3#4+#5*#6{% hah, test for ligature
+% c1 m1 * c2 m21 + m22 * c3
+\ifu@gh \ifx #1\a@H
+ \else \set@act \sk@h@u
+ \fi
+\else
+\ifm@lay \else
+\ifurd@ \set@act \sk@h@s \hah@urd #3% round h?
+ \ifx #1T\else
+ \ifx #3l\test@allah {#4}{#6}\else
+ \ifx #1\a@H
+ \else \set@act\sk@h@u
+ \if\is@end@char #3%
+ \else \set@loww@act \global\a@min 1
+ \fi
+ \fi\fi\fi
+\else
+\ifx #3l\test@allah {#4}{#6}\else
+\ifnum \chr@cls = 1 \set@chr\sk@b \put@tatwil % 1 YntCbyp
+\else
+\ifnum \chr@cls = 3 \put@tatwil % 3 GHX
+\else \gim@test #6\put@tatwil
+\fi
+\fi\fi\fi\fi\fi }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\def \a@pdatum {08.02.2006} \def \a@level {p}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% abidir.sty
+
+\csname newdimen\endcsname \a@displaywidth
+
+\def \LRskip {\hskip \z@ plus 0.1em }% before RL insertion (left)
+
+\def \a@@Rsplit #1{% splice RL words into the current paragraph
+\bgroup \global\a@oldoutput = \output
+\dimen0 \vsize \advance \dimen0 100pt \pagegoal \dimen0
+$$\global\a@prevgraf \prevgraf \global\a@displaywidth \displaywidth
+$${\par }%
+\ifinner \a@back@line \else
+\global\output = {\a@newoutput }\eject
+\fi \global\prevdepth \a@prevdepth
+\ifvoid \a@oldbox \else \advance \a@prevgraf -1
+\setbox\a@oldbox \hbox {\hskip -\leftskip \unhbox\a@oldbox
+ \unskip \unskip \unpenalty \unpenalty }%
+\fi
+\setbox\Rinsertb@x \vbox {\a@box@rparm \a@box@aparm
+ \putlineb@x {\hbox {\unhcopy\a@oldbox }}\a@spacefalse
+ \test@token #1 \end \hbox {\box\lineb@x \hfill }}%
+\a@Rgetline
+\setbox\tempb@x \hbox {\unhbox \tempb@x \unskip \unpenalty
+ \global\setbox \a@newbox \lastbox }%
+\noindent \prevgraf \a@prevgraf \unhcopy \a@newbox
+\ifdim \wd\a@newbox = 0pt \else
+\ifdim \wd\a@newbox = \parindent \else
+\ifdim \wd\tempb@x = 0pt \else
+ \space \LRskip
+\fi\fi\fi \unhbox \tempb@x
+\ifvbox \Rinsertb@x \break \a@Runpack
+\else \RLskip
+\fi
+\egroup }
+
+\def \a@box@aparm {% Arabic parameters for vbox
+\let \end \relax \def \next@command {\test@special}\transfalse
+\def \a@kern {\nobreak\kern.05em } \def \a@mkern {\nobreak\kern-.05em }
+\showfalse \spreadtrue \a@hsize \a@displaywidth
+\advance \a@hsize -\leftskip \advance \a@hsize -\rightskip
+\leftskip \z@ \rightskip \z@
+%\advance \a@hsize 20pt % TENTATIVE
+\def \arab@space {\nobreak\hskip 5pt plus 4pt minus 1pt }%
+\def \tat@skip {0.04ex plus 0.5ex }}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% aoutput.sty
+
+\def \put@ab@x {% deposit line
+\ifhmode \unskip {\par }\penalty \clubpenalty
+\parindent \z@ \parskip \z@ \else
+\ifnum \a@prevgraf = \z@ \else \penalty \widowpenalty
+\fi\fi
+\begingroup \parfillskip 0pt plus 1fill
+ \leftskip \z@ \rightskip \z@ \noindent
+ \ifdim \a@leftmargin = \z@ \else \hskip \a@leftmargin \fi
+ \box\a@tempb@x \par
+\endgroup \parindent \z@ \parskip \z@ plus 1pt \initlineb@x
+\advance \a@prevgraf \@ne \a@@prevgraf \prevgraf
+\advance \a@@prevgraf \@ne \prevgraf \a@@prevgraf }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% altxext.sty
+
+\ifx \a@olddisp \undefined
+\let \a@olddisp \[ % for lineno.sty
+\ifx \linenumbers \undefined \else
+ \def \[{\par\nobreak\noindent \a@olddisp}
+ \all@w@ne \linelabel
+\fi
+\fi
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% for acmd.sty in version 3.11 only!
+
+\def \a@c@smallskip {\a@@par \smallskip \test@token }
+\def \a@c@medskip {\a@@par \medskip \test@token }
+\def \a@c@bigskip {\a@@par \bigskip \test@token }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% aparse.sty
-\def \test@B #1#2{% tatweel or ligature break
-#2#1}% deposit vowel carrier
+{\catcode `\< = \@other % better make sure
+\gdef \a@parse #1>{% parse token sequence into syllables
+\iftest@parse \tracingmacros = 1
+\iftest@scan \else \a@verb (#1)>\fi\fi
+\csname a@parse@hook\endcsname
+\last@con ={.}\last@mod = 0 \last@voc = 0 \global\@highfalse
+\global \sv@revwd ={}\global \a@revwd ={}\syl@beg #1<<<>%
+\iftest@parse \tracingmacros = 0 %
+\xpa \a@verb \xpa (\the\a@revwd )>\fi }
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\def \a@pdatum {01.03.2006} \def \a@level {q}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% alatex.sty
+\ifx \linenumbers \undefined
+\global\let \linenumbers \relax \fi
+\global\let \ifLineNumbers \iffalse
+% CAUTION: must be in \outer context!
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\def \datum {24.01.2005} \def \level {m}
+% abidir.sty
+
+\gdef \a@Rinsert #1{% put a sequence of RL words into Ltext
+\leavevmode % go to hmode if not there already
+\ifinner \a@sequence {#1}% inside a \hbox: append
+\else \a@@Rsplit {#1}% splice into the current paragraph
+\fi }
+
+\gdef \a@@Rinsert #1{% RL insertion inside Ltext
+%\tracingmacros 1
+\ifshow \a@@verb {#1}\fi % verbating listing
+\ifarab \a@Rinsert {#1}\fi % arabic writing
+\iftrans \set@transfont \trans@text #1 \end \/\fi
+\ifnum \tracingarab > \@ne \message {>}\fi
+\unskip \egroup }
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifx \a@patchlevel \undefined % first patching run
-\a@ident {apatch.sty} {\version\level\space last minute patches } {\datum }
- \edef \a@patchlevel {\version \level \space (\datum )}
-\else \a@message {version \a@patchlevel: second phase of patching}
+\gdef \a@back@line {% skip back over last line
+\ifLineNumbers % undo last linenumber
+ \unskip \unkern \unskip \unpenalty \setbox0 \lastbox
+ \ifvoid0 \else \global \advance \c@linenumber -1
+ \fi \unkern \unskip
+\fi \global\setbox \a@oldbox \lastbox % grab last text line
+\ifvoid \a@oldbox \prevdepth 0pt % start of paragraph
+\else \dimen0 \baselineskip \advance\dimen0 -\ht\a@oldbox
+ \advance\dimen0 -\lastskip \prevdepth \dimen0 % compute \prevdepth
+\fi \unskip }
+
+\gdef \a@@Rsplit #1{% splice RL words into the current paragraph
+\bgroup \global\a@oldoutput = \output
+\dimen0 \vsize \advance \dimen0 100pt \pagegoal \dimen0
+\everypar {}%
+\par \global\a@prevgraf \prevgraf
+\ifinner \a@back@line \else
+ \global\output = {\a@newoutput }\break
+\fi
+\dimen0 \pagegoal \advance \dimen0 -100pt \pagegoal \dimen0
+\ifvoid \a@oldbox \global \a@displaywidth \hsize
+\else \advance \a@prevgraf -1 \vskip -\parskip
+ \global \a@displaywidth \wd \a@oldbox
+ \setbox\a@oldbox \hbox {\hskip -\leftskip \unhbox\a@oldbox
+ \unskip \unskip \unpenalty \unpenalty }%
+\fi
+\setbox\Rinsertb@x \vbox {\a@box@rparm \a@box@aparm \let \par \endgraf
+ \putlineb@x {\hbox {\unhcopy\a@oldbox }}\a@spacefalse
+ \test@token #1 \end \hbox {\box\lineb@x \hfill }}%
+\a@Rgetline
+\setbox\tempb@x \hbox {\unhbox \tempb@x \unskip \unpenalty
+ \global\setbox \a@newbox \lastbox }%
+\noindent \prevgraf \a@prevgraf \unhcopy \a@newbox
+\ifdim \wd\a@newbox = 0pt \else
+\ifdim \wd\a@newbox = \parindent \else
+\ifdim \wd\tempb@x = 0pt \else \space \LRskip
+\fi\fi\fi
+\unhbox \tempb@x
+\ifvbox \Rinsertb@x \break \a@Runpack \else \RLskip
+\fi \egroup }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\gdef \a@newoutput {% intermediate output routine
+\global\output = \a@oldoutput
+%\ifnum \tracingmacros = 0 \else \showbox 255 \fi
+%\showbox255
+\setbox 255 \vbox {\unvbox 255 % put back into MVL
+%\tracingmacros 1
+\a@back@line }\unvbox 255 }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\gdef \a@Linsert #1{% splice Ltext into RL paragraph
+%\tracingmacros 1
+\putwordb@x {\RLskip }\a@spacefalse \a@@Linsert {#1}\a@Lunpack
+\putwordb@x {\LRskip }\a@spacetrue \arab@codes
+%\tracingmacros 0
+\test@token }
+
+\gdef \a@@Linsert #1{% splice Ltext into RL paragraph
+\dimen0 \wd \lineb@x \setbox \Linsertb@x \vbox
+{\hsize \a@hsize \hangindent -\dimen0 \hangafter -\@ne
+\tr@ceoff \rm \tr@ceon \rightskip \z@ plus .001fil
+\vskip \a@vglue \everypar {}\parskip \z@
+\dimen2 \fontdimen4\font \fontdimen4\font 0pt % prevent shrinking
+\noindent \null #1\clubpenalty 0 \widowpenalty 0 \tolerance 10000
+\endgraf \fontdimen4\font \dimen2 }}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% arabaux.sty
+
+\ifx \a@check@mathfonts \undefined
+\global\let \a@check@mathfonts \check@mathfonts
+\gdef\check@mathfonts{\tr@ceoff % dont trace fonts
+\a@check@mathfonts \tr@ceon }
\fi
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% aedpatch.sty
+
+\let \ins@skip \relax
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% arabtex.sty
+
+%\long\def \test@@special #1{% check for special cases
+\long\gdef \test@special #1{% check for special cases
+\ifcat \bgroup \nxp \next@token % arabic group
+ \a@@putword \def \next {\arab@group {#1}}\else
+\if \relax \nxp #1% % command
+ \if\is@in@set #1\a@accent % known to scanner
+ \a@@append {#1}\def \next {\get@token }%
+ \else % general command
+ \a@@putword \def \next {\test@command #1}%
+ \fi \else
+\if \sp@ce \nxp \next@token % RTL space
+ \a@@putword \def \next {\get@token }\else
+\ifnum `#1 > 127 % inputenc command
+ \a@@append {#1}\def \next {\get@token}\else
+\ifcat \nxp ~\nxp #1% % active character
+ \a@@putword \def \next {\test@command #1}\else
+\if \nxp <\nxp #1\unarab@codes % Roman insert
+ \a@@putword \let \next \test@insert \else
+\ifx $#1\unarab@codes % Math insert
+ \a@@putword \let \next \test@math
+\else \a@@append {#1}\def \next {\get@token}% % normal case
+\fi\fi\fi\fi\fi\fi\fi \next }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\def \a@pdatum {16.04.2006} \def \a@level {r}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% abidir.sty
+
+\gdef \a@@Rinsert #1{% RL insertion inside Ltext
+%\tracingmacros 1
+\ifshow \a@@verb {#1}\fi % verbating listing
+\ifarab \a@Rinsert {#1}\fi % arabic writing
+\iftrans \set@transfont \trans@text #1 \end \/\fi
+\ifnum \tracingarab > \@ne \message {>}\fi
+\RLskip \egroup }
+
+\gdef \a@@Rsplit #1{% splice RL words into the current paragraph
+\bgroup \global\a@oldoutput = \output
+ \dimen0 \vsize \advance \dimen0 100pt \pagegoal \dimen0
+ \skip0 \lastskip \everypar {}\par \global\a@prevgraf \prevgraf
+\ifinner \a@back@line \else \global\output = {\a@newoutput }\break
+\fi
+ \dimen0 \pagegoal \advance \dimen0 -100pt \pagegoal \dimen0
+ \global\prevdepth \a@prevdepth
+\ifvoid \a@oldbox \global \a@displaywidth \hsize
+\else \advance \a@prevgraf -1 \vskip -\parskip
+ \global \a@displaywidth \wd \a@oldbox
+ \setbox\a@oldbox \hbox {\hskip -\leftskip \unhbox\a@oldbox
+ \unskip \unskip \unpenalty \unpenalty }%
+\fi
+\setbox\Rinsertb@x \vbox {\a@box@rparm \a@box@aparm \let \par \endgraf
+ \putlineb@x {\hbox {\unhcopy\a@oldbox }}\a@spacefalse
+ \test@token #1 \end \hbox {\box\lineb@x \hfill }}%
+\a@Rgetline
+\setbox\tempb@x \hbox {\unhbox \tempb@x \unskip \unpenalty
+ \global\setbox \a@newbox \lastbox }%
+\noindent \prevgraf \a@prevgraf \unhcopy \a@newbox
+\ifdim \wd\a@newbox = 0pt \else
+\ifdim \wd\a@newbox = \parindent \else
+\ifdim \wd\tempb@x = 0pt \else
+ \ifdim \skip0 = 0pt \else \hskip \skip0
+ \fi \LRskip
+\fi\fi\fi
+\unhbox \tempb@x
+\ifvbox \Rinsertb@x \break \a@Runpack
+\fi \egroup }
+
+\def \a@Runpack {% unpack all lines from the insertion
+\loop \a@Rgetline \unhbox \tempb@x \unskip \unskip \break
+\ifvbox \Rinsertb@x \repeat \unpenalty }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\def \a@pdatum {02.07.2006} \def \a@level {s}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+\input alocal.sty % local patches!
+% must be idempotent!
+
+\ifx \a@patchlevel \undefined % first patching run
+\a@ident {apatch.sty}
+ {\a@version\a@level\space last minute patches } {\a@pdatum }
+ \edef \a@patchlevel {\a@version \a@level \space (\a@pdatum )}
+\else \a@message {version \a@patchlevel: second phase of patching}
+\fi
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\catcode`\" = \patchdqcode \catcode`\@ = \patchatcode
\endinput
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
diff --git a/Master/texmf-dist/tex/latex/arabtex/arabrep1.cls b/Master/texmf-dist/tex/latex/arabtex/arabrep1.cls
new file mode 100644
index 00000000000..0f5b9a48672
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/arabtex/arabrep1.cls
@@ -0,0 +1,914 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% arabrep.cls
+% ArabTeX extension
+% Arabic version of report.cls
+% for use with ArabTeX Version 3.08 - 3.10
+%
+% Copyright (C) 1997, 1999 by Klaus Lagally
+% 16.05.1997
+% 21.03.1999
+%
+% reusing report.cls (and book.cls) of 19 Jun 1995
+% reusing report.cls (and book.cls) of 26 May 1996
+% patches for pagenumbering 25 March 1999
+% 15.07.1999
+% 21.04.2000 % new font handling
+% 14.09.2001 % RTL footnotes, chapter names etc.
+% 16.02.2002 % input encoding at \part
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\NeedsTeXFormat {LaTeX2e}[1996/06/01]
+%\ProvidesClass {arabrep}[2001/09/14 v3.10 arabic report format]
+\ProvidesClass {arabrep}[2002/02/16 v3.11 arabic report format]
+
+\newif\if@mainmatter \@mainmattertrue
+\newif\ifa@book \a@bookfalse
+\newif\ifa@article \a@articlefalse
+\DeclareOption {book}{\a@booktrue \@mainmattertrue }
+\DeclareOption {article}{\a@articletrue \@mainmattertrue }
+\DeclareOption* {\PassOptionsToClass {\CurrentOption}{report}}
+\ProcessOptions
+\LoadClass {report}[1996/05/26] % load the LaTeX standard class
+
+\ifa@book \@openrighttrue \fi
+%\input{bk1\@ptsize.clo} % collision on \small !!
+
+\ifa@article \@titlepagefalse \fi
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%\RequirePackage {arabtex}[1997/05/08] % load the ArabTeX processor
+\RequirePackage {arabtex}[2000/04/21] % load the ArabTeX processor
+
+\UsePackage {latexext} % load local patches for LaTeX
+
+% ****************************************
+% * PAGE STYLES *
+% ****************************************
+
+\if@twoside % If two-sided printing.
+ \def \ps@headings {% for arabic mode
+ \let \@mkboth \markboth \def\@oddfoot{}\def\@evenfoot{}%
+ \def \@evenhead {\edef \thep@ge {\nxp\RL{\thepage }}% left heading
+ \a@normalfont \leftmark \hfil \thep@ge }%
+ \def \@oddhead {\edef \thep@ge {\nxp\RL{\thepage }}% right heading
+ \a@normalfont \thep@ge \hfil \rightmark }%
+ \def \chaptermark ##1{\markboth {##1%
+ \ifnum \c@secnumdepth >\m@ne
+ \if@mainmatter
+ \hskip 1em\relax \RL{\@chapapp \space \thechapter. }%
+ \fi\fi }{}}%
+ \def \sectionmark ##1{\markleft {##1\ifnum \c@secnumdepth >\@ne
+ \hskip 1em\relax \RL{\thesection }\fi }}%
+ \ifa@article
+ \def \subsectionmark ##1{\markleft {##1\ifnum \c@secnumdepth >\@ne
+ \hskip 1em\relax \RL{\thesubsection }\fi }}%
+ \fi }
+\else % If one-sided printing.
+ \def \ps@headings {% for arabic mode
+ \let \@mkboth \markboth \def \@oddfoot{}\def \@evenfoot{}%
+ \def \@oddhead {\edef \thep@ge {\nxp\RL{\thepage }}% right heading
+ \a@normalfont \thep@ge \hfil \rightmark }%
+ \def \chaptermark ##1{\markright {##1%
+ \ifnum \c@secnumdepth >\m@ne
+ \if@mainmatter
+ \hskip 1em\relax \RL{\@chapapp\space \thechapter. }%
+ \fi\fi }}}
+\fi
+
+\def \ps@plain {% for arabic mode
+ \let \@mkboth\@gobbletwo \let\@oddhead\@empty \let\@evenhead\@empty
+ \def \@oddfoot {\edef \thep@ge {\nxp\RL{\thepage }}% right heading
+ \a@normalfont \hfil \thep@ge \hfil }%
+ \let \@evenfoot\@oddfoot }
+
+\def \ps@myheadings {% for arabic mode
+ \let\@oddfoot \@empty \let\@evenfoot \@empty
+ \def \@oddhead {\edef \thep@ge {\nxp\RL{\thepage }}% right heading
+ \a@normalfont \thep@ge \hfil \rightmark }%
+ \def \@evenhead {\edef \thep@ge {\nxp\RL{\thepage }}% left heading
+ \a@normalfont \leftmark \hfil \thep@ge }%
+ \let\@mkboth\@gobbletwo \let\subsectionmark\@gobble
+ \let\chaptermark\@gobble \let\sectionmark\@gobble }
+
+% ****************************************
+% * TITLE AND ABSTRACT *
+% ****************************************
+
+\iffalse %%%%%%%%%%%%%%%% article.cls %%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\if@titlepage
+ \newcommand\maketitle{\begin{titlepage}%
+ \let\footnotesize\small
+ \let\footnoterule\relax
+ \null\vfil
+ \vskip 60\p@
+ \begin{center}%
+ {\LARGE \@title \par}%
+ \vskip 3em%
+ {\large
+ \lineskip .75em%
+ \begin{tabular}[t]{c}%
+ \@author
+ \end{tabular}\par}%
+ \vskip 1.5em%
+ {\large \@date \par}% % Set date in \large size.
+ \end{center}\par
+ \@thanks
+ \vfil\null
+ \end{titlepage}%
+ \setcounter{footnote}{0}%
+ \let\thanks\relax\let\maketitle\relax
+ \gdef\@thanks{}\gdef\@author{}\gdef\@title{}}
+\else
+ \newcommand\maketitle{\par
+ \begingroup
+ \renewcommand\thefootnote{\@fnsymbol\c@footnote}%
+ \def\@makefnmark{\hb@xt@\z@{$\m@th^{\@thefnmark}$\hss}}%
+ \long\def\@makefntext##1{\parindent 1em\noindent
+ \hb@xt@1.8em{\hss\@makefnmark}##1}%
+ \if@twocolumn
+ \ifnum \col@number=\@ne
+ \@maketitle
+ \else
+ \twocolumn[\@maketitle]%
+ \fi
+ \else
+ \newpage
+ \global\@topnum\z@ % Prevents figures from going at top of page.
+ \@maketitle
+ \fi
+ \thispagestyle{plain}\@thanks
+ \endgroup
+ \setcounter{footnote}{0}%
+ \let\thanks\relax
+ \let\maketitle\relax\let\@maketitle\relax
+ \gdef\@thanks{}\gdef\@author{}\gdef\@title{}}
+
+ \def\@maketitle{%
+ \newpage
+ \null
+ \vskip 2em%
+ \begin{center}%
+ {\LARGE \@title \par}%
+ \vskip 1.5em%
+ {\large
+ \lineskip .5em%
+ \begin{tabular}[t]{c}%
+ \@author
+ \end{tabular}\par}%
+ \vskip 1em%
+ {\large \@date}%
+ \end{center}%
+ \par
+ \vskip 1.5em}
+\fi
+
+\else %============= arabart.cls ==================================
+\fi %%%%%%%%%%%%%%%% article.cls %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% ****************************************
+% * UNITS *
+% ****************************************
+
+\ifa@book
+\newcommand\frontmatter
+ {\cleardoublepage \@mainmatterfalse \pagenumbering{Abjad}}
+% {\cleardoublepage \@mainmatterfalse \pagenumbering{Abj}}
+\newcommand\mainmatter
+ {\cleardoublepage \@mainmattertrue \pagenumbering{arabic}}
+% {\cleardoublepage \@mainmattertrue \pagenumbering{arab}}
+\newcommand\backmatter
+ {\if@openright \cleardoublepage \else \clearpage
+ \fi \@mainmatterfalse }
+\fi
+
+\ifa@article
+\renewcommand\thesection {\@arabic\c@section}
+\fi
+
+%\allowarab \@chapapp
+
+% ****************************************
+% * PARTS *
+% ****************************************
+
+\renewcommand \thepart {\@arabic\c@part }
+
+\def \a@c@part {\a@@par
+\ifa@article \addvspace{4ex}\@afterindentfalse
+\else \cleardoublepage \thispagestyle{plain}%
+ \if@twocolumn \onecolumn \@tempswatrue
+ \else \@tempswafalse
+ \fi
+ \hbox{}\vfil
+\fi \secdef \a@part \a@spart }
+
+\ifa@article
+
+\def \a@part [#1]#2{% numbered part
+\ifnum \c@secnumdepth > \m@ne
+ \refstepcounter {part}%
+ \addcontentsline {toc}{part}{\protect\RL
+ {\protect\abjad {\thepart}\hspace {1em} #1 }}%
+\else \addcontentsline {toc}{part}{\protect\RL {#1}}%
+\fi
+\begingroup \let \end \a@@par \a@parindent \z@ \a@@raggedright
+ \a@normalfont \bfseries \interlinepenalty \@M
+\ifnum \c@secnumdepth >\m@ne
+ \Large \set@arabfont
+ \test@token \partname \abjad{\thepart } \end \nobreak
+\fi
+ \huge \set@arabfont \test@token #2 \end
+ \markboth {}{}
+\endgroup
+\nobreak \vskip 3ex
+\a@afterheading \test@token }
+
+\def \a@part [#1]#2{% numbered part
+\ifnum \c@secnumdepth > \m@ne
+ \refstepcounter {part}%
+ \addcontentsline {toc}{part}{\protect\RL
+ {\protect\abjad {\thepart}\hspace {1em} #1 }}%
+\else \addcontentsline {toc}{part}{\protect\RL {#1}}%
+\fi
+\begingroup \let \end \a@@par \a@parindent \z@ \a@@raggedright
+ \a@normalfont \bfseries \interlinepenalty \@M
+\ifnum \c@secnumdepth >\m@ne
+ \Large \set@arabfont
+{\let \a@oldcode \sc@code \setcode{arabtex}%
+ \test@token \partname \abjad{\thepart } \end
+\xpa\setcode\xpa{\a@oldcode }}%
+ \nobreak
+\fi
+ \huge \set@arabfont \test@token #2 \end
+ \markboth {}{}
+\endgroup
+\nobreak \vskip 3ex
+\a@afterheading \test@token }
+
+\def \a@spart #1{% unnumbered part
+\begingroup \let \end \a@@par \a@@raggedright \a@parindent \z@
+ \interlinepenalty \@M
+ \a@normalfont \huge \bffamily \set@arabfont \test@token #1 \end
+\endgroup
+\nobreak \vskip 3ex
+\a@afterheading \test@token }
+
+\else % report or book
+
+\def \a@part [#1]#2{% numbered part
+ \ifnum \c@secnumdepth > \ifa@article \m@ne \else -2 \fi
+ \refstepcounter {part}%
+ \addcontentsline {toc}{part}{\protect\RL
+ {\protect\abjad {\thepart}\hspace {1em} #1 }}%
+ \else \addcontentsline {toc}{part}{\protect\RL {#1}}%
+ \fi
+ \markboth{}{}
+\begingroup \let \end \a@@par \a@@centering \interlinepenalty \@M
+ \a@normalfont \bfseries
+ \ifnum \c@secnumdepth > -2\relax
+ \huge \set@arabfont
+ \test@token \partname \abjad{\thepart } \end
+ \vskip 20\p@
+ \fi
+ \Huge \set@arabfont \test@token #2 \end
+\endgroup
+\@endpart \test@token }
+
+\def \a@part [#1]#2{% numbered part
+\ifnum \c@secnumdepth > \ifa@article \m@ne \else -2 \fi
+ \refstepcounter {part}%
+ \addcontentsline {toc}{part}{\protect\RL
+ {\protect\abjad {\thepart}\hspace {1em} #1 }}%
+\else \addcontentsline {toc}{part}{\protect\RL {#1}}%
+\fi
+\markboth{}{}
+\begingroup \let \end \a@@par \a@@centering \interlinepenalty \@M
+ \a@normalfont \bfseries
+\ifnum \c@secnumdepth > -2\relax
+ \huge \set@arabfont
+{\let \a@oldcode \sc@code \setcode{arabtex}%
+ \test@token \partname \abjad{\thepart } \end
+\xpa\setcode\xpa{\a@oldcode }}%
+ \vskip 20\p@
+\fi
+ \Huge \set@arabfont \test@token #2 \end
+\endgroup
+\@endpart \test@token }
+
+\def \a@spart #1{% unnumbered part
+\begingroup \let \end \a@@par \a@@centering \interlinepenalty \@M
+ \a@normalfont \Huge \bfseries \set@arabfont \test@token #1 \end
+\endgroup
+\@endpart \test@token }
+
+\fi % article, report or book
+
+\def\@part[#1]#2{% \part outside Arabic text
+\begin{arabtext}
+\a@part[\LR{#1}]{\LR{#2}}
+\end{arabtext}}
+
+\def\@spart#1{% \part* outside Arabic text
+\begin{arabtext}
+\a@spart {\LR{#1}}
+\end{arabtext}}
+
+% ****************************************
+% * CHAPTERS *
+% ****************************************
+
+
+\ifa@article \else % report or book
+\allowarab \thechapter
+
+\newcommand \a@c@chapter {\a@@par
+ \if@openright \cleardoublepage \else \clearpage \fi
+ \thispagestyle {plain}%
+ \global\@topnum \z@ \@afterindentfalse
+ \secdef \a@chapter \a@schapter }
+
+\def \a@chapter [#1]#2{% numbered chapter
+ \ifnum \c@secnumdepth >\m@ne
+ \if@mainmatter
+ \refstepcounter {chapter}%
+ \typeout {\@chapapp \space \thechapter.}%
+ \addcontentsline {toc}{chapter}%
+ {\protect\numberline {\thechapter }\protect\RL {#1}}%
+ \else \addcontentsline {toc}{chapter}{\protect\RL {#1}}%
+ \fi
+ \else \addcontentsline {toc}{chapter}{\protect\RL {#1}}%
+ \fi
+\chaptermark{\RL {#1}}%
+\addtocontents {lof}{\protect\addvspace {10\p@}}%
+\addtocontents {lot}{\protect\addvspace {10\p@}}%
+ \if@twocolumn \@topnewpage [\a@makechapterhead {#2}]%
+ \else \a@makechapterhead {#2}\a@afterheading
+ \fi
+\tracingmacros 0
+\test@token }
+
+\def\a@makechapterhead #1{% make heading with number
+ \null \vskip 50\p@
+\begingroup \let \end \a@@par \a@@raggedright \interlinepenalty\@M
+ \a@normalfont \bfseries
+ \ifnum \c@secnumdepth >\m@ne
+ \if@mainmatter
+ \edef \thechapter {\@chapapp \space \thechapter . }%
+ \huge \set@arabfont \test@token {\thechapter } \end
+ \nobreak \vskip 20\p@
+ \fi\fi
+ \Huge \set@arabfont \test@token #1 \end
+ \nobreak \vskip 40\p@
+\endgroup }
+
+\def\a@schapter #1{% unnumbered chapter
+ \if@twocolumn \@topnewpage [\a@makeschapterhead {#1}]%
+ \else \a@makeschapterhead {#1}\a@afterheading
+ \fi
+\test@token }
+
+\def\a@makeschapterhead #1{%
+\null \vskip 50\p@
+\begingroup \let \end \a@@par \a@@raggedright \interlinepenalty\@M
+ \a@normalfont \Huge \bfseries \set@arabfont \test@token #1 \end
+\endgroup
+\nobreak \vskip 40\p@ }
+
+\fi % report or book
+
+%*********************************************************************
+%*********************************************************************
+%************************* rest not yet adapted **********************
+%*********************************************************************
+%*********************************************************************
+
+% ****************************************
+% * SECTIONS *
+% ****************************************
+
+\def \a@c@section {\a@startsection
+{section}{1}{\z@}{-3.5ex plus-1ex minus -.2ex}{2.3ex plus.2ex}%
+%{\reset@font \Large\setnashbf }}
+{\a@normalfont \Large \bfseries }}
+
+\def \a@c@subsection {\a@startsection
+{subsection}{2}{\z@}{-3.25ex plus-1ex minus-.2ex}{1.5ex plus.2ex}%
+{\a@normalfont \large \bfseries }}
+
+\def \a@c@subsubsection {\a@startsection
+{subsubsection}{3}{\z@}{-3.25ex plus -1ex minus-.2ex}{1.5ex plus.2ex}%
+{\a@normalfont \normalsize \bfseries }}
+
+\def \a@c@paragraph {\a@startsection
+{paragraph}{4}{\z@}{3.25ex plus1ex minus.2ex}{-1em}%
+{\a@normalfont \normalsize \bfseries }}
+
+\def\a@c@subparagraph {\a@startsection
+{subparagraph}{5}{\parindent}{3.25ex plus1ex minus .2ex}{-1em}%
+{\a@normalfont \normalsize \bfseries }}
+
+% ****************************************
+% * LISTS *
+% ****************************************
+
+\at@arabtext {% switch to Arabic terms
+ \def\theenumii{\arabic{enumii}}
+ \def\theenumiii{\arabic{enumiii}}
+ \def\theenumiv{\arabic{enumiv}}
+%
+ \def\labelenumi{\theenumi\space-}
+ \def\labelenumii{\abj@d{\theenumii}-}
+ \def\labelenumiii{\theenumiii\nospace(}
+ \def\labelenumiv{\abj@d{\theenumiv}\nospace)}
+%
+ \def\labelitemi{$\circ$}
+ \def\labelitemii{$-$}
+ \def\labelitemiii{$\star$}
+ \def\labelitemiv{$+$}
+}
+
+% ****************************************
+% * OTHER ENVIRONMENTS *
+% ****************************************
+
+% DESCRIPTION
+
+\def \descriptionlabel #1{\setnashbf \RL{#1}\hskip \labelsep }
+\def \descriptionlabel #1{\bfseries \RL{#1}\hskip \labelsep }
+
+% THEOREM
+%%%%%%%%%%%%% NOT IMPLEMENTED
+
+% EQUATION and EQNARRAY
+%%%%%%%%%%%%% NOT IMPLEMENTED
+
+% TITLEPAGE
+%%%%%%%%%%%%% NOT IMPLEMENTED
+
+% TABBING
+%%%%%%%%%%%%% NOT IMPLEMENTED
+
+% MINIPAGE
+%%%%%%%%%%%%% NOT IMPLEMENTED
+
+% FRAMEBOX
+%%%%%%%%%%%%% NOT IMPLEMENTED
+
+% ****************************************
+% * ABSTRACT *
+% ****************************************
+
+\iffalse %%%%%%%%%%%%%%%% article.cls %%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\ifa@book
+\else
+\if@titlepage
+ \newenvironment{abstract}{%
+ \titlepage
+ \null\vfil
+ \begin{center}%
+ \bfseries \abstractname
+ \@endparpenalty\@M
+ \end{center}}%
+ {\par\vfil\null\endtitlepage}
+\else
+ \newenvironment{abstract}{%
+ \if@twocolumn
+ \section*{\abstractname}%
+ \else
+ \small
+ \begin{center}%
+ {\bfseries \abstractname\vspace{-.5em}\vspace{\z@}}%
+ \end{center}%
+ \quotation
+ \fi}
+ {\if@twocolumn\else\endquotation\fi}
+\fi
+\fi
+
+\else %============= arabart.cls ==================================
+
+\ifa@book
+\else
+\if@titlepage
+\iffalse
+\newenvironment{abstract}{%
+ \titlepage
+ \null\vfil
+ \begin{center}%
+ \bfseries \abstractname
+ \@endparpenalty\@M
+ \end{center}}%
+ {\par\vfil\null\endtitlepage}
+\fi
+\else
+
+\def \a@c@abstract{%
+\if@twocolumn \def \next
+ {\a@c@section*{\abstractname}}%
+\else \def \next
+ {\small
+ \begingroup \center
+% \setnashbf \abstractname
+ \a@normalfont \bfseries \abstractname
+ \vspace{-.5em}\vspace{\z@}%
+ \endcenter \endgroup
+ \a@c@quotation }%
+\fi
+ \def \endabstract
+ {\if@twocolumn\else\endquotation\fi}%
+\next }
+
+\fi
+\fi
+
+\fi %%%%%%%%%%%%%%%% article.cls %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% ****************************************
+% * OTHER ENVIRONMENTS *
+% ****************************************
+
+\iffalse %%%%%%%%%%%%%%%% article.cls %%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\newenvironment{verse}
+ {\let\\=\@centercr
+ \list{}{\itemsep \z@
+ \itemindent -1.5em%
+ \listparindent\itemindent
+ \rightmargin \leftmargin
+ \advance\leftmargin 1.5em}%
+ \item[]}
+ {\endlist}
+
+\newenvironment{quotation}
+ {\list{}{\listparindent 1.5em%
+ \itemindent \listparindent
+ \rightmargin \leftmargin
+ \parsep \z@ \@plus\p@}%
+ \item[]}
+ {\endlist}
+
+\newenvironment{quote}
+ {\list{}{\rightmargin\leftmargin}%
+ \item[]}
+ {\endlist}
+
+\else %============= arabart.cls ==================================
+
+\def \a@c@verse {%
+%\tracingmacros 1
+\let \endverse \a@@endtrivlist
+\a@@list{}{\itemsep\z@ \itemindent -1.5em \listparindent \itemindent
+ \rightmargin\leftmargin \advance\leftmargin 1.5em}\a@@item[]}
+
+\def \a@c@quotation {%
+%\tracingmacros 1
+\a@@list{}{\listparindent 1.5em \itemindent\listparindent
+ \rightmargin\leftmargin \parsep \z@ plus\p@}\a@@item[]}
+
+\def \a@c@quote {%
+%\tracingmacros 1
+\let \endquote \a@@endtrivlist
+\a@@list{}{\rightmargin\leftmargin}\a@@item[]}
+
+\fi %%%%%%%%%%%%%%%% article.cls %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% ****************************************
+% * TITLE PAGE *
+% ****************************************
+
+\iffalse %%%%%%%%%%%%%%%% article.cls %%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\newenvironment{titlepage}
+{% \titlepage
+ \ifa@book
+ \cleardoublepage
+ \fi
+ \if@twocolumn
+ \@restonecoltrue\onecolumn
+ \else
+ \@restonecolfalse\newpage
+ \fi
+ \thispagestyle{empty}%
+ \if@compatibility
+ \setcounter{page}{0}
+ \else
+ \ifa@book \else
+ \setcounter{page}{1}%
+ \fi
+ \fi }%
+{% \endtitlepage
+ \if@restonecol\twocolumn \else \newpage \fi
+ \ifa@book \else
+ \setcounter{page}{1}%
+ \fi }
+
+\else %============= arabart.cls ==================================
+\fi %%%%%%%%%%%%%%%% article.cls %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% ****************************************
+% * APPENDIX *
+% ****************************************
+
+\def\a@c@appendix{%\par
+ \setcounter{section}{0}%
+ \renewcommand\@chapapp {\appendixname }%
+\ifa@article \renewcommand\thesection {\@Abjad \c@section }%
+ \setcounter{subsection}{0}%
+\else \renewcommand\thechapter {\@Abjad \c@chapter }%
+ \setcounter{chapter}{0}%
+\fi \test@token }
+
+% ****************************************
+% * FIGURES AND TABLES *
+% ****************************************
+
+\ifa@article
+ \renewcommand\theequation{\@arabic\c@equation}
+ \renewcommand\thefigure{\@arabic\c@figure}
+ \renewcommand\thetable{\@arabic\c@table}
+\fi
+
+\def\fnum@figure {\figurename \space \thefigure }
+
+\def\fnum@table {\tablename \space \thetable }
+
+\long\def \a@makecaption #1#2{%
+ \vskip\abovecaptionskip
+ \sbox\@tempboxa{#2 : #1}%
+ \ifdim \wd\@tempboxa >\hsize
+ #2 : #1\par
+ \else
+ \global \@minipagefalse
+ \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
+ \fi
+ \vskip\belowcaptionskip }
+
+\let \@makecaption \a@makecaption
+
+\long\def \a@caption #1[#2]#3{\par
+ \addcontentsline {\csname ext@#1\endcsname}{#1}
+ {\protect\numberline {\csname the#1\endcsname}\protect #2}%
+\begingroup \@parboxrestore \normalsize
+ \edef \reserved@a {\csname fnum@#1\endcsname }%
+ \@makecaption {\xpa \RL \xpa {\reserved@a }}{#3}\par
+\endgroup}
+
+\let \@caption \a@caption
+
+\long\def \a@@caption #1[#2]#3{\par
+ \addcontentsline {\csname ext@#1\endcsname}{#1}
+ {\protect\numberline {\csname the#1\endcsname}\protect\RL {#2}}%
+\begingroup \@parboxrestore \normalsize
+ \edef \reserved@a {\csname fnum@#1\endcsname }%
+ \@makecaption {\xpa \RL \xpa {\reserved@a }}{\RL {#3}}\par
+\endgroup \test@token }
+
+\at@arabtext {\let \@caption \a@@caption }
+
+\let \a@c@caption \caption
+
+% ****************************************
+% * TABLE OF CONTENTS, ETC. *
+% ****************************************
+
+\ifa@article \setcounter{tocdepth}{3}
+\else \setcounter{tocdepth}{2}
+\fi
+
+\setcounter{tocdepth}{5} % for test only
+
+\def \a@c@tableofcontents {\a@t@ble {\contentsname }{toc}}
+%\def \a@c@tableofcontents {\a@t@ble {\RL{\contentsname }}{toc}}
+
+\def \a@c@starttoc #1{\endarabtext
+\the\arabtext@hook
+\@starttoc {#1}\arabtext }
+
+%\def \a@t@ble #1#2{% \tableofcontents etc.
+% \a@c@section *{#1}\@mkboth {#1}{#1}\starttoc {#2}}
+
+%\def \a@c@@mkboth #1#2{\@mkboth {\RL{#1}}{\RL{#2}}\test@token }
+
+\def \a@l@section #1#2{% for arabic mode
+\ifnum \c@tocdepth >\z@
+ \addpenalty {\@secpenalty }\addvspace {1.0em plus\p@ }
+ \if@twocolumn \@tempdima 1.0em \else \@tempdima 1.5em \fi
+ \a@@lsection {#1}{#2}{\a@normalfont \bfseries }%
+\fi }
+
+\def \a@l@part #1#2{% for arabic mode
+\ifnum \c@tocdepth >-2\relax
+ \addpenalty {-\@highpenalty }\addvspace {2.25em plus\p@ }
+ \if@twocolumn \@tempdima 2.0em \else \@tempdima 3.0em \fi
+ \a@@lsection {#1}{#2}{\a@normalfont \large \bfseries }%
+\fi }
+
+\def \a@l@chapter #1#2{% for arabic mode
+\ifnum \c@tocdepth >\m@ne
+ \addpenalty {-\@highpenalty }\addvspace {1.0em plus\p@ }
+ \if@twocolumn \@tempdima 1.0em \else \@tempdima 1.5em \fi
+ \a@@lsection {#1}{#2}{\a@normalfont \bfseries }%
+ \penalty\@highpenalty
+\fi }
+
+\at@arabtext {% switch to Arabic terms
+ \let \l@part \a@l@part
+ \let \l@section \a@l@section
+ \let \l@chapter \a@l@chapter
+}
+
+\if@twocolumn
+ \def\l@subsection{\@dottedtocline{2}{1.0em}{1.5em}}
+ \def\l@subsubsection{\@dottedtocline{3}{2.5em}{2.3em}}
+ \def\l@paragraph{\@dottedtocline{4}{4.8em}{3.1em}}
+ \def\l@subparagraph{\@dottedtocline{5}{7.9em}{3.9em}}
+ \def\@tocrmarg {1.55em}
+\fi
+
+\def \a@c@listoffigures {\a@t@ble {\listfigurename }{lof}}
+
+\def \a@c@listoftables {\a@t@ble {\listtablename }{lot}}
+
+% ****************************************
+% * BIBLIOGRAPHY *
+% ****************************************
+
+\iffalse %%%%%%%%%%%%%%%% article.cls %%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\newdimen\bibindent
+\bibindent=1.5em
+
+\newenvironment{thebibliography}[1]
+% {\chapter*{\bibname
+ {\section*{\bibname
+ \@mkboth{\MakeUppercase\bibname}{\MakeUppercase\bibname}}%
+ \list{\@biblabel{\@arabic\c@enumiv}}%
+ {\settowidth\labelwidth{\@biblabel{#1}}%
+ \leftmargin\labelwidth
+ \advance\leftmargin\labelsep
+ \@openbib@code
+ \usecounter{enumiv}%
+ \let\p@enumiv\@empty
+ \renewcommand\theenumiv{\@arabic\c@enumiv}}%
+ \sloppy\clubpenalty4000\widowpenalty4000%
+ \sfcode`\.=\@m}
+ {\def\@noitemerr
+ {\@latex@warning{Empty `thebibliography' environment}}%
+ \endlist}
+
+%\newcommand\newblock{\hskip .11em\@plus.33em\@minus.07em}
+%\let\@openbib@code\@empty
+
+\else %============= arabart.cls ==================================
+\fi %%%%%%%%%%%%%%%% article.cls %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% ****************************************
+% * THE INDEX *
+% ****************************************
+
+\iffalse %%%%%%%%%%%%%%%% article.cls %%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\newcommand\newblock{}
+
+\newenvironment{theindex}
+ {\if@twocolumn
+ \@restonecolfalse
+ \else
+ \@restonecoltrue
+ \fi
+ \columnseprule \z@
+ \columnsep 35\p@
+ \twocolumn[\@makeschapterhead{\indexname}]%
+ \@mkboth{\MakeUppercase\indexname}%
+ {\MakeUppercase\indexname}%
+ \thispagestyle{plain}\parindent\z@
+ \parskip\z@ \@plus .3\p@\relax
+ \let\item\@idxitem}
+ {\if@restonecol\onecolumn\else\clearpage\fi}
+
+\newcommand\@idxitem{\hangindent 40\p@}
+\newcommand\subitem{\par\hangindent 40\p@ \hspace*{20\p@}}
+\newcommand\subsubitem{\par\hangindent 40\p@ \hspace*{30\p@}}
+\newcommand\indexspace{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
+
+\else %============= arabart.cls ==================================
+\fi %%%%%%%%%%%%%%%% article.cls %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% ****************************************
+% * FOOTNOTES *
+% ****************************************
+
+% Default definition
+\def\@makefnmark{\hbox{$^{\@thefnmark}\m@th$}}
+
+\def \footnoterule{%
+ \kern-3\p@
+ \hbox to \columnwidth{\hskip .6\columnwidth \hrulefill }
+ \kern2.6\p@}
+
+\RLfootnotes
+
+% see also "alatex.sty"
+
+% ****************************************
+% * LANGUAGE DEPENDENT NAMES *
+% ****************************************
+
+\iffalse %%%%%%%%%%%%%%%% article.cls %%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\newcommand\contentsname{Contents}
+\newcommand\listfigurename{List of Figures}
+\newcommand\listtablename{List of Tables}
+\newcommand\bibname{Bibliography}
+\newcommand\refname{References}
+\newcommand\indexname{Index}
+\newcommand\figurename{Figure}
+\newcommand\tablename{Table}
+\newcommand\partname{Part}
+\newcommand\chaptername{Chapter}
+\newcommand\appendixname{Appendix}
+\newcommand\abstractname{Abstract}
+
+\else %============= arabart.cls ==================================
+
+% tableofcontents = al-mu.htawayAtu
+% listoffigures = qA'imaTu al-.suwaru
+% listoftables = qA'imaTu al-^gadAwilu
+% listofpictures = qA'imaTu al-rusUmu
+% bibliography = al-marA^gi`u
+% references = al-ma.sAdiru
+% index = al-fihrisu (al-fihristu)
+% chapter = al-fa.slu
+% appendix = al-mul.haqu
+% abstract = al-mula_h_ha.su
+% attachments = al-murfaqAtu
+% number = al-raqmu
+
+%\at@arabtext {% switch to Arabic terms
+ \def\bibname {\a@tok(al-marAGiPu)}
+ \def\refname {\a@tok(al-maSAdiru)}
+ \def\indexname {\a@tok(al-fihristu)}
+ \def\figurename {\a@tok(SUraTuN)}
+ \def\tablename {\a@tok(GadwaluN)}
+ \def\partname {\a@tok(al-GuzQzu)}
+ \def\chaptername {\a@tok(al-faSlu)}
+ \def\appendixname {\a@tok(al-mulHaqu)}
+ \def\abstractname {\a@tok(al-mulaXXaSu)}
+%}
+
+\allowarab \contentsname
+\allowarab \listfigurename
+\allowarab \listtablename
+\allowarab \bibname
+\allowarab \refname
+\allowarab \indexname
+\allowarab \figurename
+\allowarab \tablename
+\allowarab \partname
+\allowarab \chaptername
+\allowarab \appendixname
+\allowarab \abstractname
+
+\fi %%%%%%%%%%%%%%%% article.cls %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% ****************************************
+% * INITIALIZATION *
+% ****************************************
+
+% Default initializations
+
+\ifa@book \pagestyle{headings}
+\else \pagestyle{plain}
+\fi
+
+\pagenumbering{arabic} % Arabic page numbers
+
+% ****************************************
+% * SIZE DEPENDENT PATCHES *
+% ****************************************
+
+\input {asize1\@ptsize.clo}
+
+\UsePackage {arabext} % load local patches for ArabTeX
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\gdef \contentsname{Contents}
+\gdef \listfigurename{List of Figures}
+\gdef \listtablename{List of Tables}
+
+\at@arabtext {% switch to Arabic terms
+ \def\contentsname {\a@tok(al-muHtawayAtu)}
+ \def\listfigurename {\a@tok(qAQAimaTu aS-Suwari)}
+ \def\listtablename {\a@tok(qAQAimaTu al-GadAwili)}
+ \def\chaptername {\a@tok(al-faSlu)}
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% end of file arabrep.cls
+\endinput
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
diff --git a/Master/texmf-dist/tex/generic/arabtex/arabtex.tex b/Master/texmf-dist/tex/latex/arabtex/arabtex.tex
index 5593ddfe02c..5593ddfe02c 100644
--- a/Master/texmf-dist/tex/generic/arabtex/arabtex.tex
+++ b/Master/texmf-dist/tex/latex/arabtex/arabtex.tex
diff --git a/Master/texmf-dist/tex/latex/arabtex/arabwin.sty b/Master/texmf-dist/tex/latex/arabtex/arabwin.sty
deleted file mode 100644
index 7143b3bf6f1..00000000000
--- a/Master/texmf-dist/tex/latex/arabtex/arabwin.sty
+++ /dev/null
@@ -1,90 +0,0 @@
-%%%%%%%%%%%%%%%%%%%%%%%%%%% arabwin.sty %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% arabwin.sty based on iso88596.sty
-% Scanner module for the encoding used by Windows with Arabic support
-% how to install it:
-% with LaTeX2e, say "\usepackage {arabwin}"
-% with LaTeX 2.09, add the style option "arabwin"
-% with Plain TeX, say "\input arabwin.sty"
-% how to activate it: say "\setcode {arabwin}"
-% 10.04.1997
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% (c) Isam G. Ishaq
-% (isam0732@mailszrz.zrz.TU-Berlin.DE)
-% (c) Klaus Lagally
-% Institut fuer Informatik
-% Universitaet Stuttgart
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
-\UsePackage {asmo449} \catcode `\@ = 11
-\a@ident {arabwin.sty} {3.05 Arabic Windows encoding} {10.04.1997}
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
-\def \win@scan #1>{% modified scanner call: token sequence -> \a@tokens
-\iftest@scan \ifshow \else \lowercase {\a@verb #1>}\fi
-\tracingmacros = 1 \fi
-\gdef \a@rest {}\a@tokens = {}\lowercase {\sc@beg #1\@ \@@ }% transform
-\iftest@scan \tracingmacros = 0 %
-\expandafter \a@verb \expandafter (\the\a@tokens )>\fi }
-
-\def \win@endscan \@@ {\gdef \a@scan {\win@scan }}
-
-\def \win@back #1\@ \@@ {% end scanning, push back into input
-\gdef \a@scan {\a@@scan }%
-\gdef \a@rest {#1 \reset@win }%
-\global\let \test@token \test@rest }
-
-\def \reset@win {% after pushback
-\gdef \a@scan {\win@scan }%
-\gdef \sc@endscan {\win@endscan }}
-
-\def \a@c@reset@win {% after pushback
-\reset@win \test@token }
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
-\newcount \win@s \newcount \win@d
-
-\def \awin@loop #1#2#3{% transform characters
-\win@s = #1 \win@d = #2 \loop \lccode \win@s = \win@d
-\advance \win@d 1 \advance \win@s 1 \ifnum \win@d < #3 \repeat }
-
-\def \set@awin {% substitute scanner for Windows with Arabic support
-\awin@loop {160}{32}{44} % arabic space (NBSP)
-\awin@loop {161}{44}{45} % arabic comma
-\awin@loop {173}{45}{46} % soft hyphen
-\awin@loop {186}{59}{60} % arabic semicolon
-\awin@loop {191}{63}{87}
-\awin@loop {216}{87}{91}
-\awin@loop {220}{96}{100}
-\awin@loop {225}{100}{101} % lam
-\awin@loop {227}{101}{105}
-\awin@loop {236}{105}{107}
-\awin@loop {240}{107}{111}
-\awin@loop {245}{111}{113}
-\awin@loop {248}{113}{114}
-\awin@loop {250}{114}{115}
-
-\win@d = 193 \win@s = 225
-\loop \catcode \win@s = 11 \catcode \win@d = 11 % make letters
-\advance \win@d 1 \advance \win@s 1 \ifnum \win@d < 224 \repeat
-
-\catcode 192 = 10 \catcode 255 = 15 \catcode 220 = 12
-
-\set@asmo \global\let \a@scan \win@scan
-\a@first = {^^dc}
-\let \sc@back \win@back \let \sc@endscan \win@endscan
-\message {input encoding set to Windows cp1256 conventions}}
-
-\xpa \def \xpa \sc@table \xpa {\sc@table % add the CP 1256 encoding
-arabwin\set@awin cp1256\set@awin }
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
-\message {scanner for Arabic Windows encoding (CP1256) installed.}
-\setcode {arabwin}
-
-\catcode `\@ = \asmoatcode % !!
-\endinput
-%%%%%%%%%%%%%%%%%%%%%%%% EOF %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
diff --git a/Master/texmf-dist/tex/latex/arabtex/arwindoc.tex b/Master/texmf-dist/tex/latex/arabtex/arwindoc.tex
new file mode 100644
index 00000000000..58f6e0e7a18
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/arabtex/arwindoc.tex
@@ -0,0 +1,118 @@
+% arwindoc.tex
+% 9 Apr 1997
+%
+\documentclass[12pt]{article}
+\usepackage{arabtex}
+
+\begin {document}
+
+
+\begin{table}[htbp]
+\begin{center}
+\novocalize \setarab
+\small \tabcolsep 4.5pt
+
+\def \sun {% sun symbol
+\unitlength 0.2em
+\begin{picture}(4,4)(-1.4,-1.2)
+\put(0.6,0.2){\circle{1.6}}
+\put(+1.0,+1.0){.} \put(+1.0,-1.0){.}
+\put(-1.0,-1.0){.} \put(-1.0,+1.0){.}
+\put(+0.8,+0.8){.} \put(+0.8,-0.8){.}
+\put(-0.8,-0.8){.} \put(-0.8,+0.8){.}
+\end{picture}}
+
+\def \mc #1{\multicolumn{2}{c|}{#1}}
+
+
+\begin{tabular}
+{|c||@{}c@{}|@{}c@{}|c|@{}c@{}|@{}c@{}|c|c|c|c|c|c|@{}c@{}|c|c|c|c|@{}c@{%
+\vrule height 15pt depth 9pt width 0pt}||}
+\hline
+ & 00& 01& 02&\mc{03}&04&05 &06&07&08&09&10&11&12& 13 & 14 & 15 \\
+\hline
+\hline
+00 &NUL&DLE&SP &0& \<0> &@& P & ` & p && &NSP& & & \<_d> & & \<|B"aN> \\
+\hline
+01 &SOH&DC1&! &1& \<1> &A& Q & a & q &&&\<,> && \<-'> & \<r> & \<l> & \<|B"uN> \\
+\hline
+02 &STX&DC2&" &2& \<2> &B& R & b & r &&&&& \<'A> & \<z> & & \<|B"iN> \\
+\hline
+03 &ETX&DC3&\# &3& \<3> &C& S & c & s &&&&& \<'a> & \<s> & \<m> & \<|B"a> \\
+\hline
+04 &EOT&DC4&\$ &4& \<4> &D& T & d & t &&&&&\<w"'>& \<^s> & \<n> & \\
+\hline
+05 &ENQ&NAK&\% &5& \<5> &E& U & e & u &&&&& \<'i> & \<.s> & \<h> & \<|B"u> \\
+\hline
+06 &ACK&SYN&\& &6& \<6> &F& V & f & v &&&&& \<Y"'->& \<.d> & \<w> & \<|B"i> \\
+\hline
+07 &BEL&ETB& ' &7& \<7> &G& W & g & w &&&&& \<a> & & & \\
+\hline
+08 &BS &CAN& ) &8& \<8> &H& X & h & x &&&&& \<b> & \<.t> & & \<|BB> \\
+\hline
+09 &HT &EM & ( &9& \<9> &I& Y & i & y &&&&& \<T> & \<.z> & & \\
+\hline
+10 &LF &SUB&$*$&\mc{:} &J& Z & j & z &&&&\<;>& \<t> & \<`> & & \<|B"> \\
+\hline
+11 &VT &ESC&$+$&\mc{;} &K&\verb"]"&k&\verb"}"&&&&&\<_t>&\<.g>& & \\
+\hline
+12 &FF &IS4& , &\mc{$>$}&L&\verb"\"&l&\verb"|"&&&& &\<^g>&\<B|B|B> & \<Y> & \\
+\hline
+13 &CR &IS3&$-$&\mc{$=$}&M&\verb"["&m&\verb"{"&&&SHY& &\<.h>& \<f> & \<y> & \\
+\hline
+14 &SO &IS2& . &\mc{$<$}&N&\verb"^"&n&\verb"~"& & & & &\<_h>&\<q>& & \\
+\hline
+15 &SI &IS1& / &\mc{?} &O&\verb"_"&o& & & & & \<?> &\<d> &\<k>& &DEL\\
+\hline
+\end{tabular}
+\end{center}
+%\caption{MS Windows with arabic support code table}\label{awin}
+\caption{MS Arabic Windows code table (CP 1256)}\label{awin}
+\end{table}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+The file \verb"arabwin.sty" contains a reading module for the
+{\em MS-Windows with arabic support} code.
+It is installed by the \LaTeX\ option \verb"arabwin"
+or by \verb"\input arabwin.sty".
+The module is activated by \verb"\setcode {arabwin}";
+all following Arabic text will be considered to be coded according to
+the {\em MS-Windows with arabic support} standard.
+The ArabTeX notation may be reactivated by \verb"\setcode {arabtex}".
+ \index{code!MS-Windows}
+ \index{MS-Windows}
+ \index{code!8-bit}
+ \index{\setcode{arabwin}}
+ \index{\setcode{arabtex}}
+
+The {\em MS-Windows with arabic support} code (see Table \ref{awin})
+is an 8-bit code closely related both to 7-bit ASCII;
+whereas the lower 128 positions are identical to
+ASCII (ISO 646), some of the upper 128 positions contain the Arabic characters
+plus additional graphic and control characters.
+ \index{code!ASCII}
+
+We reuse the ASMO 449
+reading routines, after suitable modification of the input.
+This only works correctly if the input text does not contain
+genuine ASCII letters, as we
+project the Arabic characters onto their locations in ASMO 449.
+Please note that only the characters that appear in Table \ref{awin}
+are correctly processed.
+Some of the code switching messages in the log file are spurious;
+do not worry.
+
+The notes on vowelization and transliteration of ASMO 449 apply also.
+
+The driver file indicated for ASMO 449 will be usable after the
+obvious modifications; however, your \TeX\ installation must be
+capable of processing 8-bit data input.
+This is nowadays usually the case; otherwise you can try to
+locally find some utility program that will strip the highest order bit
+off the characters in your file, and process the result via ASMO 449.
+
+\end {document}
+%%%%%%%%%%%%%%%%%%%%%%%% EOF %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
diff --git a/Master/texmf-dist/tex/latex/arabtex/asmo449a.sty b/Master/texmf-dist/tex/latex/arabtex/asmo449a.sty
new file mode 100644
index 00000000000..02607dd8872
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/arabtex/asmo449a.sty
@@ -0,0 +1,126 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%% asmo449.sty %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% asmo449.sty
+% Scanner for ASMO 449 Code (ISO 9036) (long version)
+% to install it, include it as a LaTeX package or style option "asmo449"
+% with Plain TeX, say "\input asmo449.sty"
+% to activate it, say "\setcode {asmo449}" or "\setcode {iso9036}"
+% 11.04.1997
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% (c) Klaus Lagally
+% Institut fuer Informatik
+% Universitaet Stuttgart
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\ifx \asmoatcode \undefined \else \expandafter \endinput
+\fi % load only once
+
+\chardef \asmoatcode = \catcode`\@ \catcode`\@ = 11
+
+\a@ident {asmo449.sty} {3.05 ASMO449 input encoding (long)} {11.04.1997}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% dynamic definitions for Arabic
+{\catcode `\^ 7 \catcode `\ =9 \catcode `\^^M=9 \catcode `\^^I=9
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\gdef \setasmo@codes {% activate and change some codes
+\globaldefs=1
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\def \sc@A {Q|} \def \sc@B {QA} \def \sc@C {Qa} \def \sc@D {Qw}
+\def \sc@E {Qi} \def \sc@F {Qy} \def \sc@G {A} \def \sc@H {b}
+\def \sc@I {T} \def \sc@J {t} \def \sc@K {C} \def \sc@L {G}
+\def \sc@M {H} \def \sc@N {X} \def \sc@O {d} \def \sc@P {F}
+\def \sc@Q {r} \def \sc@R {z} \def \sc@S {s} \def \sc@T {x}
+\def \sc@U {S} \def \sc@V {D} \def \sc@W {V} \def \sc@X {Z}
+\def \sc@Y {P} \def \sc@Z {R}
+\def \sc@a {f} \def \sc@b {q} \def \sc@c {k} \def \sc@d {l}
+\def \sc@e {m} \def \sc@f {n} \def \sc@g {h} \def \sc@h {w}
+\def \sc@i {Y} \def \sc@j {y} \def \sc@k {"aN} \def \sc@l {"uN}
+\def \sc@m {"iN} \def \sc@n {"a} \def \sc@o {"u} \def \sc@p {"i}
+\def \sc@q {@} \def \sc@r {""} \def \sc@s {@} \def \sc@t {@}
+\def \sc@u {@} \def \sc@v {@} \def \sc@w {@} \def \sc@x {@}
+\def \sc@y {@} \def \sc@z {@} \def \sc@@ {@}
+\a@digits = {0123456789} \a@paren = {"'([}
+\a@first = {}
+\globaldefs=0 }
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+}% end of dynamic definitions for Arabic
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\newif \ifa@quote
+
+\def \asmo@beg #1#2{% start ASMO 449 scanner
+\h@mzafalse \iz@fetfalse \novocalize % because of explicit quoting
+ \def \next {\asmo@word #1#2}%
+\ifx #1\@ \def \next {\sc@endscan #2}\else % finished
+\ifx #1G\def \next {\asmo@alif #2}\else
+\ifx #1"\def \next {\asmo@lquote #2}\else
+\ifx #1/\global \a@tokens ={#1}\def \next {\asmo@word #2}% x>
+\fi\fi\fi\fi \next }
+
+{\catcode `\^ 7 \catcode `\^^M=13
+\gdef \asmo@word #1#2{% transform input into internal notation
+\ifx #1\@ \def \next {\sc@endscan #2}\else % finished
+\ifx #1-\def \next {\asmo@minus #2}\else %
+\ifx #1"\def \next {\asmo@rquote #2}\else %
+\ifx #1/\def \next {\sc@back #1#2}\else %
+\if \nxp ^^M\nxp #1\def \next {\asmo@par #2}\else % active character
+\ifx #1#2\def \next {\asmo@word #1-#2}\else %
+ \ifx #1`\def \sc@char {B}\else %
+ \ifcat a\nxp #1\edef \sc@char {\csname sc@#1\endcsname }%
+ \else \def \sc@char {\nxp #1}%
+ \fi \fi %
+ \sc@put %
+ \ifx #2q\def \next {\asmo@word #1}\else %
+ \ifx #2s\def \next {\asmo@word #1k}\else %
+ \ifx #2t\def \next {\asmo@word #1l}\else %
+ \ifx #2u\def \next {\asmo@word #1m}\else %
+ \ifx #2v\def \next {\asmo@word #1n}\else %
+ \ifx #2w\def \next {\asmo@word #1o}\else %
+ \ifx #2x\def \next {\asmo@word #1p}\else %
+ \def \next {\asmo@word #2}%
+ \fi\fi\fi\fi\fi\fi\fi %
+\fi\fi\fi\fi\fi\fi \next }%
+} % catcode 13
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\def \asmo@alif {% alif at the beginning of a word
+\def \sc@char {a}\sc@put \asmo@word }
+
+\def \asmo@minus {% hyphen between words
+\def \sc@char {-}\sc@put \asmo@beg }
+
+\def \asmo@lquote {% left quote
+\ifa@quote \def \sc@char {'}\global\a@quotefalse
+\else \def \sc@char {`}\global\a@quotetrue
+\fi
+\sc@put \asmo@beg }
+
+\def \asmo@rquote {% right quote
+\global\a@quotefalse
+\def \sc@char {'}\sc@put \asmo@word }
+
+\def \asmo@par #1\@ \@@ {% new line, push back the rest
+\sc@back \\#1\@ \@@ }
+
+\def \asmo@endscan \@@ {\global\let \a@scan \a@@scan }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\def \set@asmo {% select the ASMO 449 scanner
+\let \sc@beg \asmo@beg \let \sc@word \asmo@word
+\let \sc@back \sc@@back \let \sc@endscan \sc@@endscan
+\global\let \a@scan \a@@scan \setasmo@codes \a@quotefalse
+\message {input encoding set to ASMO 449 (ISO 9036) conventions}}
+
+\xpa \def \xpa \sc@table \xpa {\sc@table % add the ASMO449 encoding
+asmo449\set@asmo iso9036\set@asmo }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\message {scanner for code ASMO 449 (ISO 9036) installed.}
+
+\catcode `\@ = \asmoatcode
+\endinput
+%%%%%%%%%%%%%%%%%%%%%%%% EOF %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
diff --git a/Master/texmf-dist/tex/latex/arabtex/guha.tex b/Master/texmf-dist/tex/latex/arabtex/guha.tex
new file mode 100644
index 00000000000..e4096938839
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/arabtex/guha.tex
@@ -0,0 +1,59 @@
+\documentstyle[12pt,arabtex,atrans,nashbf]{article}
+\sloppy
+%\parskip = 5mm
+\frenchspacing
+\pagestyle{empty}
+\begin{document}
+
+\setarab \transtrue
+\setnashbf \Large
+% Anekdoten
+\centerline {<nawAdiru>}
+
+% Juha und die 10 Esel
+
+\normalsize
+\transtrue
+\centerline {<^gu.hA wa-.hamIruhu al-`a^saraTu>}
+
+\setnash
+\begin{arabtext}
+i^starY ^gu.hA `a^saraTa .hamIriN.
+fari.ha bihA wa-sAqahA 'amAmahu,
+_tumma rakiba wA.hidaN minhA.
+wa-fI al-.t.tarIqi `adda .hamIrahu wa-huwa rAkibuN,
+fa-wa^gadahA tis`aTaN.
+_tumma nazala wa-`addahA fa-ra'AhA `a^saraTuN fa-qAla:
+
+'am^sI wa-'aksibu .himAraN,
+'af.dalu min 'an 'arkaba wa-'a_hsara .himAraN.
+\end{arabtext}
+
+\bigskip
+
+% das Kind und die Trommel
+
+\setnashbf
+\centerline {<al-waladu wa-al-.t.tablu>}
+
+\setnash
+\begin{arabtext}
+
+.talaba waladuN min 'abIhi 'an ya^stariya lahu .tablaN .sa.gIraN.
+fa-rafa.da al-wAlidu, wa-qAla lahu: yA bunayya,
+law-i i^staraytu laka .tablaN fa-sawfa tuza`i|^gunA bi-.sawtihi.
+
+qAla al-waladu: lA ta.g.dab yA 'abI.
+lA 'u.tabbilu bihi, 'illA wa-'anta nA'imuN.
+\end{arabtext}
+
+\rm
+\vfill \today
+\end{document}
+
+
+
+
+
+
+
diff --git a/Master/texmf-dist/tex/generic/arabtex/hebtex.tex b/Master/texmf-dist/tex/latex/arabtex/hebtex.tex
index 50324fd946b..50324fd946b 100644
--- a/Master/texmf-dist/tex/generic/arabtex/hebtex.tex
+++ b/Master/texmf-dist/tex/latex/arabtex/hebtex.tex
diff --git a/Master/texmf-dist/tex/latex/arabtex/hecmd.sty b/Master/texmf-dist/tex/latex/arabtex/hecmd.sty
index 9a151495ff7..bc2721ebeed 100644
--- a/Master/texmf-dist/tex/latex/arabtex/hecmd.sty
+++ b/Master/texmf-dist/tex/latex/arabtex/hecmd.sty
@@ -44,41 +44,41 @@
\begingroup
\heb@catcodes
-\allowarab \ \allowarab \
-\allowarab \ \allowarab \
-\allowarab \ \allowarab \
-\allowarab \ \allowarab \
-\allowarab \ \allowarab \
-\allowarab \ \allowarab \
-\allowarab \ \allowarab \
-\allowarab \ \allowarab \
-\allowarab \ \allowarab \
-\allowarab \ \allowarab \
-\allowarab \ \allowarab \
-\allowarab \ \allowarab \
-\allowarab \ \allowarab \
-\allowarab \ \allowarab \
-\allowarab \ \allowarab \
-\allowarab \ \allowarab \
-\allowarab \ \allowarab \
-
-\gdef \ {\hadgesh} \gdef \ {\hadgesh}
-\gdef \ {\makafgadol} \gdef \ {\makafgadol}
-\gdef \ {\makafanak} \gdef \ {\makafanak}
-\gdef \ {\geresh} \gdef \ {\geresh}
-\gdef \ {\opengeresh} \gdef \ {\opengeresh}
-\gdef \ {\closegeresh} \gdef \ {\closegeresh}
-\gdef \ {\openquote} \gdef \ {\openquote}
-\gdef \ {\closequote} \gdef \ {\closequote}
-\gdef \ {\piska} \gdef \ {\piska}
-\gdef \ {\piskapiska} \gdef \ {\piskapiska}
-\gdef \ {\smallskip} \gdef \ {\smallskip }
-\gdef \ {\medskip} \gdef \ {\medskip }
-\gdef \ {\bigskip} \gdef \ {\bigskip }
-\gdef \ {\rightline} \gdef \ {\rightline}
-\gdef \ {\leftline} \gdef \ {\leftline}
-\gdef \ {\centerline} \gdef \ {\centerline}
-\gdef \ {\hebday} \gdef \ {\hebday}
+\allowarab \ \allowarab \Ԩ
+\allowarab \ \allowarab \
+\allowarab \ \allowarab \
+\allowarab \ \allowarab \԰
+\allowarab \ \allowarab \԰
+\allowarab \ \allowarab \հ԰
+\allowarab \ \allowarab \
+\allowarab \ \allowarab \հ
+\allowarab \ \allowarab \ڱ
+\allowarab \ \allowarab \ڱڱ
+\allowarab \ \allowarab \ޭ
+\allowarab \ \allowarab \ڭխڷ
+\allowarab \ \allowarab \
+\allowarab \ \allowarab \հگڴ
+\allowarab \ \allowarab \հ
+\allowarab \ \allowarab \ٵ
+\allowarab \ \allowarab \
+
+\gdef \ {\hadgesh} \gdef \Ԩ {\hadgesh}
+\gdef \ {\makafgadol} \gdef \ {\makafgadol}
+\gdef \ {\makafanak} \gdef \ {\makafanak}
+\gdef \ {\geresh} \gdef \԰ {\geresh}
+\gdef \ {\opengeresh} \gdef \԰ {\opengeresh}
+\gdef \ {\closegeresh} \gdef \հ԰ {\closegeresh}
+\gdef \ {\openquote} \gdef \ {\openquote}
+\gdef \ {\closequote} \gdef \հ {\closequote}
+\gdef \ {\piska} \gdef \ڱ {\piska}
+\gdef \ {\piskapiska} \gdef \ڱڱ {\piskapiska}
+\gdef \ {\smallskip} \gdef \ޭ {\smallskip }
+\gdef \ {\medskip} \gdef \ڭխڷ {\medskip }
+\gdef \ {\bigskip} \gdef \ {\bigskip }
+\gdef \ {\rightline} \gdef \հگڴ {\rightline}
+\gdef \ {\leftline} \gdef \հ {\leftline}
+\gdef \ {\centerline} \gdef \ٵ {\centerline}
+\gdef \ {\hebday} \gdef \ {\hebday}
\endgroup
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -114,9 +114,9 @@
\let \undertext \underline
\def \a@c@hebday {\putwordb@x {\number\day }\a@spacetrue
-\edef \themonth {\ifcase \month \or
- \or \or \or \or \or \or
- \or \or \or \or \or \fi }%
+\edef \themonth {\ifcase \month \or
+ \or \or \or \or \or \or
+ \or \or \or \or \or \fi }%
\putwordb@x {\xpa \RL \xpa {\themonth }}\a@spacetrue
\putwordb@x {\number\year }\test@token }
@@ -128,7 +128,7 @@
\Hebrewsetreg
\tracingmacros 1
\edef \theHebrewDay {\HebrewDayName {\Hebrewday }\space
-\HebrewMonthName {\Hebrewmonth }{\Hebrewyear },\space
+\HebrewMonthName {\Hebrewmonth }{\Hebrewyear },\space
\a@HebrewYearName {\Hebrewyear }}%
\tracingmacros 0
\putwordb@x {\xpa \R \xpa {\theHebrewDay }}\test@token }
@@ -145,8 +145,8 @@
\ifnum #2#3#4> 0 \else \DigitInHebrew {#1}'\fi
\else \DigitInHebrew {#1}'\fi
\a@ShortHYName {#2#3#4}%
-\ifnum #1< 1 \space )"(\fi
-\ifnum #2#3#4= 0 \space )"(\fi }
+\ifnum #1< 1 \space )"(\fi
+\ifnum #2#3#4= 0 \space )"(\fi }
\def \a@SHYNumber #1{% fully expandable version
\ifnum #1>999 \errmessage{ShortHYName: illegal argument #1}\else
@@ -155,10 +155,10 @@
\xpa \a@SHYName \xpa 0\xpa 0\number #1\fi \fi \fi }
\def \a@SHYName #1#2#3{% max 3 digits, fully expandable
-\ifcase #1\or \or \or \or \or
- \or \or \or \or \fi
-\ifnum #2#3 = 16 \else
-\ifnum #2#3 = 15 \else
+\ifcase #1\or \or \or \or \or
+ \or \or \or \or \fi
+\ifnum #2#3 = 16 \else
+\ifnum #2#3 = 15 \else
\ifnum #2 = 0 \else \TensInHebrew{#2}\fi
\ifnum #3 = 0 \else \DigitInHebrew{#3}\fi
\fi\fi }
@@ -204,14 +204,14 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\endinput
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- ! " $ % & . ( ) = ? ;
-^ 1 2 3 4 5 6 7{ 8[ 9] 0} \ ,
- Q@ W E R T Z U I O P *
- / ' +~
- A S D F G H J K L ,
- #
- > Y X C V B N M : _
- <| -
+ ! " $ % & . ( ) = ? ;
+^ 1 2 3 4 5 6 7{ 8[ 9] 0} \ ,
+ Q@ W E R T Z U I O P *
+ / ' +~
+ A S D F G H J K L ,
+ #
+ > Y X C V B N M : _
+ <| -
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% EOF %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
diff --git a/Master/texmf-dist/tex/latex/arabtex/kashmiri.tex b/Master/texmf-dist/tex/latex/arabtex/kashmiri.tex
new file mode 100644
index 00000000000..cea343cf025
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/arabtex/kashmiri.tex
@@ -0,0 +1,123 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\documentclass[12pt]{article}
+\usepackage{arabtex}
+\usepackage{kashmiri}
+
+%\advance \topsep -10mm
+%\advance \textwidth 10mm
+%\advance \textheight 10mm
+\parindent 0pt
+\parskip 2mm
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\begin{document}
+\setkashmiri
+
+\title{Kashmiri in Arab\TeX}
+\author {Klaus Lagally}
+%\date {}
+\maketitle
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%\makeatletter
+%\urd@false
+
+\begin{table}[tbph]
+\begin{center}
+\Large \tt
+\def <#1>{\<#1> &{\arabfalse \transtrue \<#1>}}
+\begin{tabular}{||c|c|c||c|c|c||c|c|c||c|c|c||}
+\hline
+a &<a> &d &<d> &.d &<.d> &m &<m> \\
+b &<b> &,d &<,d> &.t &<.t> &n &<n> \\
+p &<p> &\_d &<_d> &.z &<.z> &w &<w> \\
+t &<t> &r &<r> &` &<`> &,h &<,h> \\
+,t &<,t> &,r &<,r> &.g &<.g> &y &<y> \\
+\_t &<_t> &z &<z> &f &<f> &h &<h> \\
+j &<j> &\^{}z &<^z> &q &<q> &E &<E> \\
+\^{}c &<^c> &s &<s> &k &<k> &' &<|'> \\
+.h &<.h> &\^{}s &<^s> &g &<g> &T &<T> \\
+\_h &<_h> &.s &<.s> &l &<l> &.y &<B.yB> \\
+\hline
+a &<B|BaB>&i &<B|BiB>&u &<B|BuB>&.o &<B.o> \\
+A &<BA> &I &<BIB> &U &<BU> &.O &<B.O> \\
+.a &<B|B.aB>&.u &<B|B.uB>&o &<Bo> &e &<BeB> \\
+.A &<B.A> &.U &<B|B.UB>&O &<BO> &E &<BEB> \\
+\hline
+\end{tabular}
+\rm
+\caption{The Kashmiri Alphabet}
+\label{codes}
+\end{center}
+\end{table}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\bigskip
+
+There is a new experimental Arab\TeX\ language module {\tt kashmiri.sty}
+for processing Kashmiri texts in the extended Perso-Arabic script.
+This mode works only with Arab\TeX\ version 3.08g or later versions,
+and requires the font ``xnash14''.
+
+To activate Kashmiri mode,
+load the module by \verb+\input{kashmiri.sty}+
+(or else \verb+\usepackage{kashmiri}+ with \LaTeX2e),
+and select the language by \verb+\setkashmiri+.
+Kashmiri input texts are encoded in a modification of the
+standard \ArabTeX\ encoding.
+
+The input codes and the default transcription are given
+in Table~\ref {codes} on page~\pageref {codes}.
+The transcription follows the ALA-LC romanization conventions.
+
+Comments on the encoding and the transcription are welcome.
+Kashmiri mode might later
+become part of the \ArabTeX\ system proper;
+in that case explicit loading of the module will no more be necessary.
+
+\iffalse
+%\bigskip
+%Notes:
+\begin{enumerate}
+\itemsep 0pt
+\item
+This is a preliminary version solely
+intended for inspection, experiments, evaluation, and suggestions.
+The final version may differ in details, depending on feedback
+by the users.
+
+\item
+Use hyphens to resolve ambiguities with aspired consonants.
+
+\item
+If the new font is not available,
+the ``wide letter kaf'' is missing.
+We temporarily substitute an ordinary letter kaf with four dots,
+which does not exist, but should be conspicuous enough.
+%Once the font will have been extended, the substitute should disappear.
+
+\item
+Tanween works as expected: \verb+miN+ <miN> , \verb+'|iN+ <'|iN> .
+
+\item
+The user may want to break some ligatures by inserting a vertical bar,
+to get the correct writing, or just for a better appearance of the script.
+
+\end{enumerate}
+\fi
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\bigskip
+
+{Klaus Lagally\\
+Institut f\"ur Informatik\\
+Breitwiesenstra\ss e 20--22\\
+D-70565 Stuttgart\\
+GERMANY\\
+\tt mailto:lagallyk@acm.org}
+%\date{August 06, 1997}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\end{document}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
diff --git a/Master/texmf-dist/tex/latex/arabtex/ligtable.tex b/Master/texmf-dist/tex/latex/arabtex/ligtable.tex
new file mode 100644
index 00000000000..6fa941521b2
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/arabtex/ligtable.tex
@@ -0,0 +1,172 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Tabelle aller Zeichenverbindungen
+% Stand 27.01.1992
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\documentstyle[arabtex]{article}
+\pagestyle{myheadings}
+\thispagestyle{empty}
+\parskip=5mm
+\parindent=0mm
+\setarab
+
+\begin{document}
+{\huge \bf Arab\TeX\ Ligatures \hfil \today }
+\markright{Arab\TeX\ Ligatures \hfil \today }
+
+\novocalize
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\newdimen \fw \newcount \nf
+
+\def \tableformat #1*{% Tabellenformat berechnen
+% columns
+\fw \hsize \advance \fw -3pt \relax
+\nf 1
+\ctfd #1,\end
+\divide \fw \nf }
+
+\def \ctfd #1,#2\end{% Felder zaehlen
+\advance \nf 1
+\ifx #2\relax \relax \let \next \relax
+\else \def \next {\ctfd #2\end }%
+\fi \next }
+
+\def \enter #1\end {% Element eintragen
+\hbox to \fw {\hss <#1>\hss }%
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\def \tableline #1*#2*#3*#4*{% eine Zeile eintragen
+% beg row columns end
+%\hrule
+%\leavevmode
+%\hrule
+\hbox {%
+\ifx #2A\enter -a#4\end \else
+\enter -#2#4\end
+\fi
+\vrule
+\addtoline #1*#2*#3,*#4*%
+}
+%\hrule
+\typeout{#2 * #3}% Statusmeldung
+}
+
+\def \addtoline #1*#2*#3,#4*#5*{% Tabellenelemente eintragen
+% beg row column columns end
+\ifx #2A\enter #1#3#2#5\end
+\else \enter #1#3a#2#5\end
+\fi
+\ifx #4\relax \relax \let \next \relax
+\else \def \next {\addtoline #1*#2*#4*#5*}%
+\fi \next }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\newif \ifcon
+
+\def \testcon #1#2*{% pruefe ob verbindbar
+\contrue
+\ifx #1A\confalse \else
+\ifx #1E\confalse \else
+\ifx #1d\confalse \else
+\ifx #1r\confalse \else
+\ifx #1z\confalse \else
+\ifx #1w\confalse \else
+\ifx #1_\ifx #2d\confalse \fi \else
+\ifx #1^\ifx #2z\confalse \fi \else
+\ifx #2\relax \relax \else
+\testcon #2*%
+\fi\fi\fi\fi\fi\fi\fi\fi\fi }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\def \addlines #1*#2*#3*#4*{% Zeilenblock aufbauen
+% beg rows columns end
+\addrow #1*#2,*#3*#4*}
+
+\def \addrow #1*#2,#3*#4*#5*{% Zeilen eintragen
+% beg row rows columns end
+\ifx #5\relax \relax \contrue
+ \tableline #1*#2*#4*#5*% eine Zeile
+\else \testcon #2*%
+ \ifcon
+ \tableline #1*#2*#4*#5*% eine Zeile
+ \fi
+\fi
+\ifx #3\relax \relax \let \next \relax
+\else \def \next {\addrow #1*#3*#4*#5*}% weiter
+% \ifcon \\
+% \fi
+\fi \next }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\def \ligtab #1*#2*#3*#4*{% Tabelle ausgeben
+% beg rows columns end
+{\offinterlineskip \tableformat #3*% Format aufbauen
+\leavevmode
+\tableline #1*-*#3**% Kopfzeile eintragen
+\hrule
+%\tracingmacros = 1 %
+\addlines #1*#2*#3*#4*% Tabellenrumpf eintragen
+\tracingmacros = 0 %
+}}
+
+\def \ligtable #1#2{% alle Tabellen
+% rows columns
+\expandafter \ligtabi #2*#1*}
+
+\def \ligtabi #1*#2*{% erstes Argument explizit
+% columns rows
+\expandafter \ligtabii #2*#1*}
+
+\def \ligtabii #1*#2*{% beide Argumente explizit
+% rows columns
+
+%Anfangsform -- Endform
+initial form to final form
+
+\ligtab *#1*#2**%
+
+%Mittelform -- Endform
+medial form to final form
+
+\ligtab -*#1*#2**%
+
+\newpage
+%Anfangsform -- Mittelform
+initial form to medial form
+
+\ligtab *#1*#2*-*%
+
+\newpage
+%Mittelform -- Mittelform
+medial form to medial form
+
+\ligtab -*#1*#2*-*%
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\def \crow {A,p,_t,^c,_h,_d,^z,^s,.d,.z,.g,q,k,l,m,n,h,w,y,E,%
+lA,p^c,m^c,h^c,hm,py,pm,hE}
+
+\def \ccol {p,_t,^c,^s,.d,.z,.g,q,k,l,m,h}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\huge
+\Huge
+\Large
+
+\ligtable \crow \ccol
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\tracingmacros=0
+\end{document}
+
diff --git a/Master/texmf-dist/tex/latex/arabtex/malay.tex b/Master/texmf-dist/tex/latex/arabtex/malay.tex
new file mode 100644
index 00000000000..52ccf788625
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/arabtex/malay.tex
@@ -0,0 +1,61 @@
+\documentclass[12pt]{article}
+\usepackage{arabtex}
+
+\parindent 0pt
+\parskip 2mm
+
+\advance \textwidth 10mm
+\advance \textheight 10mm
+\thispagestyle{empty}
+
+\makeatletter
+\def \({\a@verb}
+\makeatother
+
+\begin{document}
+\title{Old Malay in Arab\TeX}
+\author
+{Klaus Lagally\\
+Institut f\"ur Informatik\\
+Breitwiesenstra\ss e 20--22\\
+D-70565 Stuttgart\\
+GERMANY\\
+\tt mailto:lagallyk@acm.org
+}
+\date{August 06, 1997}
+\maketitle
+
+\setmalay
+%\vocalize
+
+\vspace*{-05mm}
+There is a new Arab\TeX\ language mode, \verb+\setmalay+,
+for processing Old Malay texts in the extended Arabic writing.
+
+This mode works only with Arab\TeX\ version 3.06 or later.
+
+Old Malay input texts are encoded in a modification of the
+standard \ArabTeX\ encoding, see below.
+
+This language mode is strictly experimental
+and expected to contain many errors.
+Please report your experience and suggestions
+for changes and improvements to the author.
+
+Additional encodings (note the variants):
+
+\begin{center}
+\Large
+\begin{tabular}{|cc|c|}
+\hline
+\verb+p+ & &<p> \\
+\verb+g+ & &<g> \\
+\verb+v+ & &<v> \\
+\verb+ng+ &\verb+~g+ &<ng>\\
+\verb+ny+ &\verb+~n+ &<ny>\\
+\verb+c+ &\verb+^c+ &<c> \\
+\hline
+\end{tabular}
+\end{center}
+
+\end{document}
diff --git a/Master/texmf-dist/tex/latex/arabtex/manifest.txt b/Master/texmf-dist/tex/latex/arabtex/manifest.txt
deleted file mode 100644
index 586b2916558..00000000000
--- a/Master/texmf-dist/tex/latex/arabtex/manifest.txt
+++ /dev/null
@@ -1,90 +0,0 @@
-
- Datentrger, Laufwerk G, hat den Namen ARAB.
- Datentrgernummer ist 6698:C015
- Verzeichnis von G:\arabtex.cur\tex\latex\arabtex
-
-23.10.03 20.41 <DIR> 0 .
-23.10.03 20.41 <DIR> 0 ..
-22.08.03 10.56 9728 0 abidir.sty
-26.04.03 20.16 2304 0 abjad.sty
-28.05.03 20.53 16786 0 aboxes.sty
- 1.11.98 16.52 928 0 acjk.sty
-20.08.03 13.33 11818 0 acmd.sty
-27.04.03 19.30 3490 0 aconfig.sty
-20.08.03 13.37 7133 0 aedpatch.sty
- 1.11.98 17.03 1722 0 afonts.sty
- 1.11.98 17.03 2348 0 afonts0.sty
- 1.11.98 17.04 1851 0 afonts1.sty
-19.10.99 15.19 1964 0 afonts2.sty
-12.05.03 14.38 3487 0 afoot.sty
- 4.05.03 0.51 5841 0 alatex.sty
-27.05.03 20.44 21207 0 aligs.sty
- 4.05.03 0.56 6845 0 alists.sty
- 4.05.03 0.56 3592 0 altxext.sty
-26.04.03 20.09 7246 0 amac.sty
- 4.06.00 3.29 6072 0 aoutput.sty
-26.05.03 19.07 36270 0 aparse.sty
-23.10.03 18.15 18262 0 apatch.sty
- 1.11.98 17.03 1165 0 arababel.sty
- 9.05.97 14.05 802 0 arabart.cls
-21.05.03 17.41 4081 0 arabaux.sty
-19.02.02 20.35 794 0 arabbook.cls
- 1.11.98 17.00 3041 0 arabchrs.sty
-21.08.03 14.40 3557 0 arabext.sty
- 4.05.03 0.58 33077 0 arabrep.cls
- 4.06.00 16.38 9136 0 arabskel.sty
- 1.11.98 18.42 8917 0 arabsymb.sty
-22.08.03 11.23 24732 0 arabtex.sty
-26.04.03 15.24 4667 0 arabtex.tex
-17.07.99 21.23 6772 0 arabtoks.sty
- 1.11.98 18.42 3214 0 arabwin.sty
-22.08.03 10.54 15805 0 ascan.sty
- 4.05.03 0.56 13520 0 asect.sty
- 9.05.97 14.07 1222 0 asize10.clo
- 9.05.97 14.07 1222 0 asize11.clo
- 9.05.97 14.07 1222 0 asize12.clo
-26.04.03 20.17 4460 0 asmo449.sty
- 4.05.03 0.56 4676 0 atabg.sty
-14.06.03 13.25 19349 0 atrans.sty
- 5.06.03 13.35 12656 0 awrite.sty
- 8.05.00 0.49 7441 0 bhs.sty
- 1.12.98 12.56 4631 0 bhslabel.sty
-29.07.03 17.49 8522 0 buck.sty
-21.11.95 12.47 1984 0 captions.def
-26.04.03 20.41 7146 0 cp1256.sty
- 4.11.98 14.25 172 0 etrans.sty
-10.09.01 2.04 4480 0 gedalin.sty
-26.04.03 20.17 5316 0 hebchrs.sty
-12.06.00 18.41 1715 0 hebsymb.sty
-27.04.03 16.50 2747 0 hebtex.sty
- 8.09.03 17.20 4249 0 hebtex.tex
- 7.05.00 13.40 7789 0 hecmd.sty
- 1.11.98 18.23 1723 0 hefonts.sty
- 1.11.98 18.23 1499 0 hefonts0.sty
- 1.11.98 18.23 1256 0 hefonts1.sty
-27.04.03 19.09 1901 0 hefonts2.sty
-27.04.03 13.55 8814 0 heparse.sty
- 5.10.01 23.32 1289 0 hepatch.sty
- 7.03.02 17.31 8827 0 hescan.sty
- 8.05.00 1.00 3494 0 hetrans.sty
-14.09.03 12.28 22763 0 hewrite.sty
-13.03.02 17.09 6606 0 hmac.sty
-26.04.03 20.08 8381 0 isiri.sty
- 8.05.00 0.40 919 0 iso88596.sty
-24.10.03 13.34 0 0 manifest.txt
- 4.11.98 14.25 165 0 nashbf.sty
- 1.11.98 18.44 1531 0 raw.sty
-16.02.03 19.33 1636 0 sotoku.sty
- 1.11.98 18.45 4200 0 twoblks.sty
-13.06.00 18.05 3678 0 uheb.fd
-23.05.99 12.38 1495 0 Unash.fd
-13.06.00 14.44 1351 0 utf8.sty
-26.04.03 20.04 11213 0 utfcode.sty
-22.04.00 13.14 2113 0 Uxnsh.fd
- 1.11.98 18.45 2652 0 verses.sty
-14.09.01 15.13 7481 0 witbhs.sty
-28.05.03 14.10 7481 0 xarbskel.sty
- 1.11.98 16.55 9655 0 xarbsymb.sty
-14.06.00 21.07 6446 0 yiddish.sty
- 83 Datei(en) 531742 Byte belegt
- 97113088 Byte frei
diff --git a/Master/texmf-dist/tex/latex/arabtex/omar.tex b/Master/texmf-dist/tex/latex/arabtex/omar.tex
new file mode 100644
index 00000000000..77378979b03
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/arabtex/omar.tex
@@ -0,0 +1,37 @@
+\documentstyle[12pt,arabtex]{article}
+\parindent=0pt \textheight=25cm \pagestyle{empty}
+\begin{document}
+\null \vskip -2cm
+\setfarsi \novocalize \Large
+%
+\begin{arabtext}
+gUyand kasAn behe^st bA .hUr _hO^s ast \\
+man mIgUyam keh 'Ab-i angUr _hO^s ast \\
+In naqd begIr wa-dast az 'An nesiyeh bedAr \\
+k-'AwAz-i dohol ^sanIdan az dUr _hO^s ast. \\
+<\hskip 4cm> *** \\
+%
+dUrI keh dar 'Amadan wa-raftane mAst \\
+U-rA neh nehAyat neh bedAyat peydAst \\
+kas mI nazand damI darAyn ma`n-I rAst \\
+kAyn 'Amadan az ko^gA wa-raftan ze ko^gAst! \\
+<\hskip 4cm> *** \\
+%
+asrAr-i azal rA neh tO dAnI wa-neh man \\
+wa-yan .harf-i mo`ammA neh tO dAn-I wa-neh man \\
+hast az pase pardeh goftogU-i man wa-tO \\
+^cUn pardeh bar uftad, neh tO mAn-I wa-neh man. \\
+<\hskip 4cm> *** \\
+%
+yek ^cand beh kUdak-I beh ostAd ^sodIm \\
+yek ^cand ze ostAd-I _hOd ^sAd ^sodIm \\
+pAyAn-i so_han ^senow keh mA-rA ^ceh rasId \\
+^cUn 'Ab bar'AmadIm wa-^cUn bAd ^sodIm. \\
+<\hskip 4cm> *** \\
+%
+`umar-i _hayyAm
+%
+\end{arabtext}
+%
+\testoutput
+\end{document}
diff --git a/Master/texmf-dist/tex/latex/arabtex/raw.sty b/Master/texmf-dist/tex/latex/arabtex/raw.sty
index 01740d91303..d0961570469 100644
--- a/Master/texmf-dist/tex/latex/arabtex/raw.sty
+++ b/Master/texmf-dist/tex/latex/arabtex/raw.sty
@@ -39,4 +39,3 @@
\endinput
%%%%%%%%%%%%%%%%%%%%%%%% EOF %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- \ No newline at end of file
diff --git a/Master/texmf-dist/tex/latex/arabtex/saw.sty b/Master/texmf-dist/tex/latex/arabtex/saw.sty
new file mode 100644
index 00000000000..717e479a275
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/arabtex/saw.sty
@@ -0,0 +1,43 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% saw.sty
+% macros for SAW and ALS
+% only available in one size
+% 22.06.2006
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% (c) Klaus Lagally
+% Institut fuer Formale Methoden der Informatik
+% Universitaet Stuttgart
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\a@ident {saw.sty}{1.00 SAW and ALS } {22.06.2006}
+
+\def \SAW {% for Roman mode
+% .salla all-ah `alayhi wa-sallam
+\setbox0 \hbox {\setarab \novocalize \tiny
+\vbox {\hbox {\<.sall_A \hskip-0.6em al-ll_ahu >}%
+\nointerlineskip \vskip -1.5ex
+\hbox {\<wa-salama >}%
+\nointerlineskip \vskip -2.2ex
+\hbox {\hskip .4em \<`alayBBhi >\,}}}%
+\dp0 0pt \leavevmode \lower .20\ht0 \box0 }
+
+\def \ALS {% for Roman mode
+% `alayhi al-ssalAm
+\setbox0 \hbox {\setarab \novocalize \tiny
+\vbox {\hbox {\,\<`alaByBhi >}%
+\nointerlineskip \vskip -1.0ex
+\hbox {\<al-ssalAm >\,}}}%
+\leavevmode \box0 }
+
+\def \a@c@SAW {% for Arabic paragraph mode
+\nospace \putwordb@x {\SAW \hskip -0.3em }\test@token }
+
+\def \a@c@ALS {% for Arabic paragraph mode
+\nospace \putwordb@x {\ALS \hskip -0.3em }\test@token }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\endinput
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%% EOF %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+
diff --git a/Master/texmf-dist/tex/latex/arabtex/sindhi.tex b/Master/texmf-dist/tex/latex/arabtex/sindhi.tex
new file mode 100644
index 00000000000..dbd81133861
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/arabtex/sindhi.tex
@@ -0,0 +1,156 @@
+
+\documentclass[12pt]{article}
+\usepackage{arabtex}
+\usepackage{atrans}
+\advance \topsep -10mm
+\advance \textwidth 10mm
+\advance \textheight 10mm
+
+\begin{document}
+
+\title{Sindhi in Arab\TeX}
+\author
+{Klaus Lagally\\
+Institut f\"ur Informatik\\
+Breitwiesenstra\ss e 20--22\\
+D-70565 Stuttgart\\
+GERMANY\\
+\tt mailto:lagallyk@acm.org}
+\date{August 06, 1997}
+
+\maketitle
+
+\setsindhi
+
+There is a new Arab\TeX\ language mode, \verb+\setsindhi+,
+for processing Sindhi texts in the extended Arabic writing.
+
+This mode works only with Arab\TeX\ version 3.06 or later
+and requires an updated version of the font ``nash14''.
+These conditions are checked, if \LaTeX2$\varepsilon$ is used.
+For Plain \TeX\ there are no checks.
+
+To activate the Sindhi mode, select the language by \verb+\setsindhi+.
+Sindhi input texts are encoded in a modification of the
+standard \ArabTeX\ encoding.
+The alphabet is given in Table~\ref {codes}.
+
+For the use of the encoding, see Table~\ref {examples}.
+It contains all Sindhi letters,
+together with their input encoding and a typical example of use.
+For every line the external notation is also given.
+
+%\bigskip
+%Notes:
+\begin{enumerate}
+\itemsep 0pt
+\item
+This is a preliminary version solely
+intended for inspection, experiments, evaluation, and suggestions.
+The final version may differ in details, depending on feedback
+by the users.
+
+\item
+Use hyphens to resolve ambiguities with aspired consonants.
+
+\item
+If the new font is not available,
+the ``wide letter kaf'' is missing.
+We temporarily substitute an ordinary letter kaf with four dots,
+which does not exist, but should be conspicuous enough.
+%Once the font will have been extended, the substitute should disappear.
+
+\item
+Tanween works as expected: \verb+miN+ <miN> , \verb+'|iN+ <'|iN> .
+
+\item
+The user may want to break some ligatures by inserting a vertical bar,
+to get the correct writing, or just for a better appearance of the script.
+
+\end{enumerate}
+
+\begin{table}[tbp]
+\begin{center}
+\large
+\Large
+\tt
+\def <#1>{\<#1> &{\arabfalse \transtrue \<#1>}}
+\begin{tabular}{||c|c|c||c|c|c||c|c|c||c|c|c||}
+\hline
+a &<a> &\~{}n &<~n> &z &<z> &kh &<kh> \\
+b &<b> &\^{}c &<^c> &s &<s> &g &<g> \\
+:b &<:b> &\^{}ch &<^ch> &\^{}s &<^s> &:g &<:g> \\
+bh &<bh> &.h &<.h> &.s &<.s> &gh &<gh> \\
+t &<t> &\_h &<_h> &.d &<.d> &:n &<:n> \\
+th &<th> &d &<d> &.t &<.t> &l &<l> \\
+,t &<,t> &dh &<dh> &.z &<.z> &m &<m> \\
+,th &<,th> &:d &<:d> &` &<`> &n &<n> \\
+\_s &<_s> &,d &<,d> &.g &<.g> &,n &<,n> \\
+p &<p> &,dh &<,dh> &f &<f> &w &<w> \\
+j &<j> &\_d &<_d> &ph &<ph> &,h &<,h> \\
+%:j &<:j> &r &<r> &q &<q> &'| &<'|> \\
+:j &<:j> &r &<r> &q &<q> &h &<h> \\
+jh &<jh> &,r &<,r> &k &<k> &y &<y> \\
+\hline
+a &<B|BaB>&e &<B|BeB>&i &<B|BiB>&o &<B|BoB>\\
+u &<B|BuB>&A &<BA> &E &<BE> &I &<BI> \\
+O &<BO> &U &<BU> &ae &<Bae> &ao &<Bao> \\
+i &<i> &\_A &<B_A> &'A &<'A> &'a &<'a> \\
+'i &<'i> &'y &<'y> &'w &<'w> &'| &<'|> \\
+\hline
+\end{tabular}
+\rm
+\caption{The Sindhi Alphabet}
+\label{codes}
+\end{center}
+\end{table}
+
+\begin{table}[htbp]
+\large
+\begin{arabtext}
+\showtrue
+1: \hfill a <a> anbu \hfill b <b> badaka
+\hfill :b <:b> :bilI \hfill bh <bh> bhOli,rO
+
+2: \hfill t <t> ti:di \hfill th <th> thIlihI
+\hfill ,t <,t> ,tOplO \hfill ,th <,th> ,thUn,thi
+
+3: \hfill _s <\_s> _samara \hfill p <p> pakhO
+\hfill j <j> jahAzu \hfill :j <:j> :jibha
+
+4: \hfill jh <jh> jihrkI \hfill ~n <\~{}n> :ja~na
+\hfill ^c <\^{}c> ^can,du \hfill ^ch <\^{}ch> ^cha,tI
+
+5: \hfill .h <.h> .huqO \hfill _h <\_h> _ha:tu
+\hfill d <d> daru \hfill dh <dh> dhuka.ra
+
+6: \hfill :d <:d> :dOlu \hfill ,d <,d> ,dAkha
+\hfill ,dh <,dh> ,dha:gI \hfill _d <\_d> _da_hIrO
+
+7: \hfill r <r> rIla \hfill ,r <,r> bagha,ru
+\hfill z <z> zAla \hfill s <s> sijju
+
+8: \hfill ^s <\^{}s> ^sInhun \hfill .s <.s> .sUfu
+\hfill .d <.d> .da`Ifu \hfill .t <.t> .tO.tO
+
+9: \hfill .z <.z> .zAlimu \hfill ` <`> `aynaka
+\hfill .g <.g> .gAlI^cO \hfill f <f> fawjI
+
+10: \hfill ph <ph> phUhArO \hfill q <q> qalamu
+\hfill k <k> kutO \hfill kh <kh> kha,ta
+
+11: \hfill g <g> ga:dahu \hfill :g <:g> :gayrO
+\hfill gh <gh> ghO,rO \hfill :n <:n> si:na
+
+12: \hfill l <l> la.ga,ru \hfill m <m> ma^chI
+\hfill n <n> nAngu \hfill ,n <,n> wa,nu
+
+13: \hfill w <w> wA:jO \hfill h <h> hAthI
+\hfill '| <\tt '|> '| \hfill y <y> yakO
+\end{arabtext}
+\caption {Examples for the use of the Sindhi Alphabet}
+\label{examples}
+\end{table}
+
+
+\end{document}
diff --git a/Master/texmf-dist/tex/latex/arabtex/twoblks.sty b/Master/texmf-dist/tex/latex/arabtex/twoblks.sty
index f9bcabc63c0..fd144d48f21 100644
--- a/Master/texmf-dist/tex/latex/arabtex/twoblks.sty
+++ b/Master/texmf-dist/tex/latex/arabtex/twoblks.sty
@@ -102,4 +102,3 @@
\endinput
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- \ No newline at end of file
diff --git a/Master/texmf-dist/tex/latex/arabtex/uighur.tex b/Master/texmf-dist/tex/latex/arabtex/uighur.tex
new file mode 100644
index 00000000000..772647bdd3b
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/arabtex/uighur.tex
@@ -0,0 +1,121 @@
+%\documentclass[12pt,a4paper]{article}
+\documentclass[12pt]{article}
+\usepackage{arabtex}
+
+\parindent 0pt
+\parskip 2mm
+
+\advance \textwidth 20mm
+\advance \textheight 20mm
+%\pagestyle{empty}
+
+\makeatletter
+\def \({\a@verb}
+\makeatother
+
+\begin{document}
+\title{Uighuric in Arab\TeX}
+\author
+{Klaus Lagally\\
+Institut f\"ur Informatik\\
+Breitwiesenstra\ss e 20--22\\
+D-70565 Stuttgart\\
+GERMANY\\
+%\verb+mailto:lagallyk@acm.org+
+\tt mailto:lagallyk@acm.org
+}
+\date{August 06, 1997}
+\maketitle
+
+\setuighur
+\vocalize
+
+There is a new Arab\TeX\ language mode, \verb+\setuighur+,
+for processing Uighuric texts in the extended Arabic writing.
+
+This mode works only with Arab\TeX\ version 3.06 or later.
+
+Uighuric input texts are encoded in a modification of the
+standard \ArabTeX\ encoding, see
+column~5 of the Table.
+Please observe that in Uighuric all characters are coded verbatim.
+
+This language mode is strictly experimental
+and expected to contain errors.
+Please report your experience and suggestions
+for changes and improvements to the author.
+% at \verb+mailto:lagallyk@acm.org+
+
+\newpage
+\parskip 0pt
+
+\begin{center}
+Arab\TeX\ encoding of Uighuric
+\end{center}
+
+\parbox[t]{75mm}{%
+\null
+\begin{tabular}{|r|cccc@{ = }c@{ (}c@{)
+ \vrule width0pt height13pt depth10pt}l|}
+\hline
+ & 1 & 2 & 3 & 4 & 5 & 6 & 7 \\
+\hline
+01& & & <Ba> & <a> &\(a> & 01 & a \\
+02& & & <B:a> & <:a> &\(:a> & 02 & \"a \\
+03& & & <Bd> & <d> &\(d> & 09 & de \\
+04& & & <Br> & <r> &\(r> & 10 & re \\
+05& & & <Bz> & <z> &\(z> & 11 & ze \\
+06& & & <B^z> & <^z> &\(^z> & 12 & \v ze \\
+07& & & <Bo> & <o> &\(o> & 25 & o \\
+08& & & <B:o> & <:o> &\(:o> & 27 & \"o \\
+09& & & <Bu> & <u> &\(u> & 26 & u \\
+10& & & <B:u> & <:u> &\(:u> & 28 & \"u \\
+11& & & <Bw> & <w> &\(w> & 29 & we \\
+12&<bB> &<BbB> & <Bb> & <b> &\(b> & 03 & be \\
+13&<pB> &<BpB> & <Bp> & <p> &\(p> & 04 & pe \\
+14&<tB> &<BtB> & <Bt> & <t> &\(t> & 05 & te \\
+15&<nB> &<BnB> & <Bn> & <n> &\(n> & 23 & ne \\
+16&<jB> &<BjB> & <Bj> & <j> &\(j> & 06 & je \\
+17&<^cB>&<B^cB> & <B^c> & <^c> &\(^c> & 07 & \v ce \\
+\hline
+\end{tabular}}\hfil
+\parbox[t]{75mm}{%
+\null
+\begin{tabular}{|r|cccc@{ = }c@{ (}c@{)
+ \vrule width0pt height13pt depth10pt}l|}
+\hline
+ & 1 & 2 & 3 & 4 & 5 & 6 & 7 \\
+\hline
+18&<xB> &<BxB> & <Bx> & <x> &\(x> & 08 & xe \\
+19&<iB> &<BiB> & <Bi> & <i> &\(i> & 31 & i \\
+20&<eB> &<BeB> & <Be> & <e> &\(e> & 30 & e \\
+21&<yB> &<ByB> & <By> & <y> &\(y> & 32 & y \\
+22&<sB> &<BsB> & <Bs> & <s> &\(s> & 13 & se \\
+23&<^sB>&<B^sB> & <B^s> & <^s> &\(^s> & 14 & \v se \\
+24&<^gB>&<B^gB> & <B^g> & <^g> &\(^g> & 15 & \v ge \\
+25&<fB> &<BfB> & <Bf> & <f> &\(f> & 16 & fe \\
+26&<qB> &<BqB> & <Bq> & <q> &\(q> & 17 & qe \\
+27&<kB> &<BkB> & <Bk> & <k> &\(k> & 18 & ke \\
+28&<~nB>&<B~nB> & <B~n> & <~n> &\(~n> & 20 & $\eta$e \\
+29&<gB> &<BgB> & <Bg> & <g> &\(g> & 19 & ge \\
+30&<lB> &<BlB> & <Bl> & <l> &\(l> & 21 & le \\
+31&<mB> &<BmB> & <Bm> & <m> &\(m> & 22 & me \\
+32&<hB> &<BhB> & <Bh> & <h> &\(h> & 24 & he \\
+33&<'B> &<B'B> & & &\('> & & \\
+34& & & <Bl"A>& <l"A> &\(la> & & \\
+\hline
+\end{tabular}}
+
+\begin{enumerate}
+\itemsep 0pt
+\item initial shape
+\item medial shape
+\item final shape
+\item isolated shape
+\item external encoding
+\item sorting position
+\item name
+\end{enumerate}
+
+%\vfill \today
+\end{document}
diff --git a/Master/texmf-dist/tex/latex/arabtex/unash.fd b/Master/texmf-dist/tex/latex/arabtex/unash.fd
new file mode 100644
index 00000000000..00ab4d6ba0b
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/arabtex/unash.fd
@@ -0,0 +1,46 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Unash.fd
+%
+% 31.08.93 1.0 created file when added support for NFSS2 (br)
+% 04.04.1997 ranges fixed (KL)
+% 17.09.1997 smaller sizes allowed
+% 31.03.1998 test for xnsh14: does not work
+% 12.07.1998 cleanup
+% 23.05.1999 name "unash.fd"
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% (c) Bernd Raichle and Klaus Lagally
+% Institut fuer Informatik
+% Universitaet Stuttgart
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% This file contains the font description of font `nash'
+% fontencoding: U
+% fontfamily: nash
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% make sure, that it is used with NFSS2 only
+%
+\ifx\DeclareFontShape\undefined
+ \message{Something is wrong -- %
+ this file can only be used with LaTeX2e and NFSS2!!!}
+\expandafter\endinput\fi
+
+\ProvidesFile{unash.fd}[1999/05/23 3.08 ArabTeX Naskh font definitions]
+
+\DeclareFontFamily{U}{nash}{}%
+
+\DeclareFontShape{U}{nash}{m}{n}{%
+ <-6> sfixed * [7.2] nash14
+ <6-10> s * [1.44] nash14
+ <10><10.95><12><14.4><17.28><20.74><24.88> s * [1.44] nash14
+}{}
+
+\DeclareFontShape{U}{nash}{bx}{n}{%
+ <-6> sfixed * [7.2] nash14bf
+ <6-10> s * [1.44] nash14bf
+ <10><10.95><12><14.4><17.28><20.74><24.88> s * [1.44] nash14bf
+}{}
+
+\endinput
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
diff --git a/Master/texmf-dist/tex/latex/arabtex/utf8.sty b/Master/texmf-dist/tex/latex/arabtex/utf8.sty
index 604cda0bbfa..80c754b479e 100644
--- a/Master/texmf-dist/tex/latex/arabtex/utf8.sty
+++ b/Master/texmf-dist/tex/latex/arabtex/utf8.sty
@@ -27,8 +27,8 @@
\global\def \sc@beg {\utf@beg }%
\global\def \sc@word {\utf@word }%
\global\a@digits = {0123456789}%
-\global\a@first = {}%
-\catcode ` 11
+\global\a@first = {ϕ}%
+\catcode ` 11
\a@message {input encoding set to UTF-8 conventions}}
\xpa \def \xpa \sc@table \xpa {\sc@table % add the UTF-8 encoding
diff --git a/Master/texmf-dist/tex/latex/arabtex/verses.sty b/Master/texmf-dist/tex/latex/arabtex/verses.sty
index 629257bce6f..0849864662e 100644
--- a/Master/texmf-dist/tex/latex/arabtex/verses.sty
+++ b/Master/texmf-dist/tex/latex/arabtex/verses.sty
@@ -2,17 +2,42 @@
% 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
+% usage: load as a package, or after loading ArabTeX
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% (c) Klaus Lagally
-% Institut fuer Informatik
+% Institut fuer Formale Methoden der Informatik
% Universitaet Stuttgart
+% 08.02.2006
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Usage:
+% (use within an Arabic environment)
+%
+% \setversedim #1#2 % define the layout (within a group):
+% #1 = length of both half-verses
+% #2 = separation distance = length of a connection, if present
+% Variant:
+% \setversedim #1[#2]#3 % for half-verses of unequal length
+% #1 = length of first (=right) half-verse
+% #2 = length of second (=left) half-verse
+% #3 = separation distance = length of a connection, if present
+%
+% \halfverses #1#2 % typeset two separated half-verses
+% #1 = text of first (=right) half-verse
+% #2 = text of second (=left) half-verse
+% Variant:
+% \halfverses #1[#2]#3 % typeset two connected half-verses
+% #1 = text of first (=right) half-verse
+% #2 = text of connection
+% #3 = text of second (=left) half-verse
+%
+% Alternative (if preferred):
+%
+% \connverses #1#2#3 % = \halfverses #1[#2]#3
+%
+% Note: use keshide to attach the connection, if required
+% Note: if the verses do not fit on the line, they will be put on
+% two lines, flush to the margins.
+%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ifx \verseatcode \undefined \else \expandafter \endinput
@@ -20,57 +45,62 @@
\chardef \verseatcode = \catcode`\@ \catcode`\@ = 11
-\a@ident {verses.sty} {3.00 verses in two columns} {28.03.1998}
+\a@ident {verses.sty} {3.12 verses in two columns} {08.02.2006}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% define the layout, verses will be centered
+
+\newdimen \a@hvlen \newdimen \a@hvsep
+\newdimen \a@hvind \newdimen \a@@hvlen
-\newdimen \a@hvlen
-\newdimen \a@hvsep
-\newdimen \a@hvind
+\def \setversedim #1#2{% set lengths of half-verse, [separation]
+\ifx \LaTeX \undefined \a@hvind \hsize
+\else \a@hvind \textwidth \fi
+\a@hvlen #1\relax \advance \a@hvind -\a@hvlen
+\ifx [#2\def \next {\set@verseI [}\else
+\a@@hvlen \a@hvlen \def \next {\set@@verse {#2}}\fi \next }
-% 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 }
+\def \set@verseI [#1]{% optional parameter
+\a@@hvlen #1\relax \set@@verse }
+
+\def \set@@verse #1{% separation
+\advance \a@hvind -\a@@hvlen \a@hvsep #1\relax
+\advance \a@hvind -\a@hvsep \divide \a@hvind 2 }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% macro for a verse with a connection
\def \connverses #1#2#3{% first half-verse, connection, second half-verse
-\noindent \hspace \a@hvind
-\spreadbox \a@hvlen {#1}% first block
+\cond{\ifdim 0pt > \a@hvind }%
+{\spreadbox \a@hvlen {#1}\\ \hfill }% first block
+{\noindent \hskip \a@hvind \relax \spreadbox \a@hvlen {#1}}\fi
\spreadbox \a@hvsep {#2}% separator
-\spreadbox \a@hvlen {#3}% second block
+\spreadbox \a@@hvlen {#3}% second block
+\tracingmacros 0
\par }
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% macro for two half verses
\def \halfverses #1#2{% normal case
\connverses {#1}{\hfill}{#2}}
-% make macros known to ArabTeX
-\allowarab \halfverses
-\allowarab \connverses
-\all@wtw@ \setversedim
-\all@w@ne \setspace
+\def \a@c@halfverses #1#2{% optional parameter?
+%\tracingmacros 1
+\cond{\ifx [#2}{\half@verses {#1}[}%
+{\half@verses {#1}[\hfill]{#2}}\fi }
-% define formatting of poetry, defaults
+\def \half@verses #1[#2]#3{% first[mid]second
+\test@token \connverses {#1}{#2}{#3}}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% define a default layout
% do this within a group!
%\setversedim {2.0in}{0.3in}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% the following are patches for ArabTeX 3.06, otherwise harmless
-
-\def \a@spreadbox #1{% {width}{text} get the text
-\ifarab \putwordb@x {\spreadtrue \setspace {.3em plus .3fil}%
-\a@sequence {#1}\setbox0 \lastbox \hbox to \a@bwidth {\unhbox0 }}%
-\fi \a@spacefalse \a@showinput {#1}\test@token }
-
-\def \a@fntext {% common part for footnote text
-\footnotesize \hsize \columnwidth \@parboxrestore \clubpenalty 5000
-\@makefntext {\rule {\z@ }{\footnotesep }}\futurelet \next \fo@t }
+% make macros known to ArabTeX
+\allowarab \connverses \all@wtw@ \setversedim
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\catcode `\@ = \verseatcode
\endinput
%%%%%%%%%%%%%%%%%%%%%%%% EOF %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-