blob: 50324fd946b688f3aa8687cab3115228767c3903 (
plain)
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
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%% hebtex.tex %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% hebtex.tex
% version 3.11
% Plain TeX loader for ArabTeX, Hebrew mode
% 08.09.2003
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% (c) Klaus Lagally EMail: lagallyk@acm.org
% Institut fuer Formale
% Methoden der Informatik TEL: +49-711-7816-392
% Universitaet Stuttgart FAX: +49-711-7816-370
% Universitaetsstrasse 38
% D-70569 Stuttgart INFO: arabtex@informatik.uni-stuttgart.de
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% This program can be redistributed and/or modified under the terms
% of the LaTeX Project Public License distributed from CTAN
% archives in directory macros/latex/base/lppl.txt; either
% version 1 of the License, or (at your option) any later version.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \input this file at the beginning of an ArabTeX input file running
% under Plain TeX. This is an adaptation by Tom Koornwinder of
% Jan Lodder's file arab.plain.tex, again modified by Klaus Lagally
% and modified again to switch to Hebrew mode
% 16.09.2001
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\message { Plain TeX Hebrew setup for ArabTeX }
\input arabtex.tex % load the ArabTeX package
\makeatletter
\a@ident {hebtex.tex} {3.11 Plain TeX Hebrew loader for ArabTeX} {08.09.2003}
%\def \pheb {\hebfont }
\iffalse
\input hebtex.sty % load the Hebrew extension
\input apatch.sty % load any patches
\input hepatch.sty % load any patches
\fi
% commands for font selection:
\font \hclassic = hclassic \relax % fix em and ex
\fontdimen5\hclassic =.8\fontdimen2\hclassic
\fontdimen6\hclassic =3\fontdimen5\hclassic
\font \hcaption = hcaption \relax % fix em and ex
\fontdimen5\hcaption =.8\fontdimen2\hcaption
\fontdimen6\hcaption =3\fontdimen5\hcaption
\fontdimen1\hcaption =.2pt \relax
\def \hc {\sethebfont {\hclassic}}
\def \hp {\sethebfont {\hcaption}}
\all@wcmd \hc \all@wcmd \hp % allow these in Hebrew context
\font \jerusalem = jerusalem \relax
\font \Jerusalem = Jerusalem \relax
\font \OldJaffa = OldJaffa \relax
\font \DeadSea = DeadSea \relax
\font \TelAviv = TelAviv \relax
\def \jm {\sethebfont {\jerusalem}}
\def \Jm {\sethebfont {\Jerusalem}}
\def \oj {\sethebfont {\OldJaffa}}
\def \ds {\sethebfont {\DeadSea}}
\def \ta {\sethebfont {\TelAviv}} % add others as required
\all@wcmd \ds \all@wcmd \oj \all@wcmd \jm \all@wcmd \ta \all@wcmd \Jm
\font \smold = shlm_old \relax
\fontdimen5\font =\fontdimen2\font
\def \shlmold {\sethebfont {\smold}}
\font \smscr = shlm_scr \relax
\fontdimen5\font =\fontdimen2\font
\def \shlmscr {\sethebfont {\smscr}}
\font \smstk = shlm_stk \relax
\fontdimen5\font =\fontdimen2\font
\def \shlmstk {\sethebfont {smstk}}
\all@wcmd \shlmold \all@wcmd \shlmscr \all@wcmd \shlmstk
\def \fr {\sethebfont {fr}}
\def \frbx {\sethebfont {frbx}}
\def \frsl {\sethebfont {frsl}}
\all@wcmd \fr \all@wcmd \frbx \all@wcmd \frsl
\def \crml {\sethebfont {crml10}% fix ex
\fontdimen5\font =\fontdimen2\font }
\def \crmlsl {\sethebfont {crmlsl10}% fix ex
\fontdimen5\font =\fontdimen2\font }
\all@wcmd \crml \all@wcmd \crmlsl
%\makeatother
\input hebtex.sty % load the Hebrew extension
\input apatch.sty % load any patches
\input hepatch.sty % load any patches
\hc % define a default Hebrew font choose one !
%\jm % define a default Hebrew font
%\ds % define a default Hebrew font
%\ta % define a default Hebrew font
%\oj % define a default Hebrew font
%\hp % define a default Hebrew font
%\shlmold % define a default Hebrew font
%\shlmscr % define a default Hebrew font
%\shlmstk % define a default Hebrew font
%\fr % define a default Hebrew font
%\frbx % define a default Hebrew font
%\frsl % define a default Hebrew font
%\crml % define a default Hebrew font
%\crmlsl % define a default Hebrew font
\sethebrew % switch to Hebrew mode
\makeatother
\endinput
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% EOF %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|