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
136
137
138
139
140
|
\vskip 2cm
\centerline{\hebrew{dhkpieo~nkeo~hkpelebi~liyx`l}}
\vskip 1cm
\centerline{Let us test Hebrew \TeX ing}
\vskip 2cm
To begin with, I will just
type in a few lines of meaningless English text, just to see what
goes on. For example, here I type two Hebrew words so that I
can {\bf see } them naturally, without reversing my display with the
Zentec Zephyr hardware feature: well, {\ivrit aeh axr }! It will be
nice to see this insert. Again, in this case I typed the {\ivrit a } first
and the {\ivrit r } last.
Now I will type the same insert again as \hebrew{rxa~hea},
but this time it was {\bf typed } in natural sequence,
{\ivrit r } first and {\ivrit a } last, and the
macro $\backslash$reflect described by D.~Knuth and P.~MacKay in TuGBoat
Vol.~8, number~1, page~14, was used to correctly build this insert.
The next step for this test is now to type in a longer Hebrew segment.
For this purpose the segment must be delimited by a
leading \ \ivrbar \ and a trailing \ \ivrbar
\ as follows (note that it is not necessary to begin such segments
at the start of a new line, but it is much easier to read them
if they are typed alone in one line,
while editing the \TeX\ input file):
\ivrit
|
okae
izrbd
drya
daeh
ezxfrae
daicpd
ly
`xea
mlerd
jxazi
,eny
rbxl
ixehqid
df
ea
ippd
azek
ziyteg
oeyla
ycewd
ux`a
ycewd
zervn`a
zclwn
zixar
d`exe
iptl
lilnz
ixar
aezk
ekxck
oinin
.l`nyl
|
\parindent=20pt
\rm
That will be enough for this test. I will print this out, and later
add to this file a couple of English and Maths inserts inside the
Hebrew segment.
\vskip 1cm
Well, strange enough, the preceding test worked smooth, so let me
see what happens when I plug in something like $\sin(\theta+{\pi\over2})
=\cos\theta\ $ right in the middle of English test, followed by the
formula:
$$\int_0^{2\pi}\sin x\cdot dx = 0$$
Then I will repeat this exercise inside a new Hebrew segment. Will it
work?
\ivrit
|
ribd
onfd
qipkdl
ze`gqep
lilnza
,ixard
lynl
{
$\sin(
\theta+{
\pi\over2}
)
=
\cos\theta
$}
,
jez
ick
dctwd
lilkdl
z`
rhwd
dveawk
lr
zpn
repnl
z`
ezxiay
oia
izy
zexey
.zekenq
eiykre
wizr`
z`
dgqepd
:zcceand
|
$$\int_0^{2\pi}\sin x\cdot dx = 0$$
|
yi
miyl
al
dgqepy
zccean
efk
ztwen
befa
,mieew
ick
z`vl
zipnf
avnn
.ixar
|
\rm
\vskip 0.5cm
{\bf It's time to rush to the printer now!}
\vskip 2cm
\hbox to\hsize{\hfil \hebrew{irwa~ieqs~belcaxb}}
|