1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% arabext.sty
% ArabTeX
% 05.07.1997
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% (c) Klaus Lagally
% Institut fuer Informatik
% Universitaet Stuttgart
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% patches for arabtex.sty etc
% for use with arabart.cls
% ArabTeX 3.06
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\a@ident {arabext.sty} {3.06 patches for use with arabart.cls} {05.07.1997}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def \a@c@ignorespaces {\test@token }
\def \a@c@ref {\unarab@codes \a@@ref }
\def \a@@ref #1{\putwordb@x {\ref {#1}}\arab@codes \test@token }
\def \a@c@cite {\unarab@codes \a@@cite }
\def \a@@cite #1{\putwordb@x {\rm \cite {#1}}\arab@codes \test@token }
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\iffalse
\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
\renewcommand\thefigure {\@arabic\c@figure}
%\renewcommand\thefigure {\xpa \RL \xpa {\@arabic\c@figure}}
\renewcommand\thetable {\@arabic\c@table}
%\renewcommand\thetable {\xpa \RL \xpa {\@arabic\c@table}}
\def\fnum@figure {\thefigure~\xpa \RL \xpa {\figurename }}
\def\fnum@figure {\xpa \RL \xpa {\thefigure}~\xpa \RL \xpa {\figurename }}
\def\fnum@table {\thetable~\xpa \RL \xpa {\tablename }}
\def\fnum@table {\xpa \RL \xpa {\thetable}~\xpa \RL \xpa {\tablename }}
\fi
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\iffalse
\def\contentsname {al-mu.htawayAtu}
\def\listfigurename {qA'imaTu a.s-.suwari}
\def\listtablename {qA'imaTu al-^gadAwili}
\def\partname {al-^guz'u}
\fi
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def \arabdef #1{% define command valid for Arabic environment only
\begingroup \escapechar -1
\xdef \reserved@a {\xpa \nxp \csname a@\string #1\endcsname }\endgroup
\toks@ \xpa {\xpa \let \xpa #1\reserved@a }\allowarab #1%
\xpa \at@arabtext \xpa {\the\toks@ }\xpa \def \reserved@a }
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def \a@c@table {\unarab@codes \a@@table }
\def \a@@table [#1]{% table within Arabic environment
\let \a@endtable \endtable \def \endtable {\a@par \a@endtable }%
\table [#1]\arab@codes \test@token }
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def \a@c@figure {\unarab@codes \a@@figure }
\def \a@@figure [#1]{% figure within Arabic environment
\let \a@endfigure \endfigure \def \endfigure {\a@par \a@endfigure }%
\figure [#1]\arab@codes \test@token }
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\all@w@ne \label
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def \a@endtabular {\a@@endtabular \advance \parfillskip \rightskip
\rightskip \leftskip \leftskip \parfillskip
\parfillskip \z@ \aftergroup \a@spacefalse \par }
\def \a@c@tabular {\unarab@codes \let \@mkpream \a@mkpream
\let \a@@endtabular \endtabular \let \endtabular \a@endtabular
\a@@par \leavevmode \tabular }
\def \a@c@array {\unarab@codes
\let \a@@endtabular \endarray \let \endarray \a@endtabular
\a@@par \leavevmode \array }
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\let \a@@mkpream \@mkpream
\def \a@c@a@RL {\test@token }
\def \a@c@protect {\test@token }
\def \a@mkpream #1{\a@@mkpream {#1}\let \@@sharp \relax \let \a@END \relax
\edef \@sharp {\protect\a@SEQ \@@sharp \a@END }%
\edef \@preamble {\@preamble}%
\def \@@sharp {\@sharp }\let \@sharp \relax
\edef \@preamble {\@preamble}}
\def \a@SEQ {% put a sequence of words into a \hbox
\begingroup \transfalse \showfalse
\arab@codes \set@arabfont \@waslafalse \@wasfalse
\def \next@command {\test@special}\let \a@put@line \break@line
\def \a@last@line {\let \next \a@NL }\let \put@word \addt@line
\initlineb@x \test@token }
\def \a@c@a@END {\box\lineb@x \endgroup }
\def \a@NL {\box\lineb@x \endgroup \\}%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\endinput
|