% This file is converted for Hebrew from ivrtest.tex
\input ivrtex
\vskip 2cm
\centerline{\hebrew{nkeo~hkpelebi~liyx`l}-\hebrew{dhkpieo}}
\vskip 1cm
\centerline{Let us test Hebrew \TeX ing}
\vskip 2cm
\font\ivrit=redis10
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
\ivron
\ivrword{}
\ivrword{okae}
\ivrword{izrbd}
\ivrword{drya}
\ivrword{daeh}
\ivrword{ezxfrae}
\ivrword{daicpd}
\ivrword{ly}
\ivrword{`xea}
\ivrword{mlerd}
\ivrword{jxazi}
\ivrword{,eny}
\ivrword{rbxl}
\ivrword{ixehqid}
\ivrword{df}
\ivrword{ea}
\ivrword{ippd}
\ivrword{azek}
\ivrword{ziyteg}
\ivrword{oeyla}
\ivrword{ycewd}
\ivrword{ux`a}
\ivrword{ycewd}
\ivrword{zervn`a}
\ivrword{zclwn}
\ivrword{zixar}
\ivrword{d`exe}
\ivrword{iptl}
\ivrword{lilnz}
\ivrword{ixar}
\ivrword{aezk}
\ivrword{ekxck}
\ivrword{oinin}
\ivrword{.l`nyl}
\ivrword{}
\ivroff

\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
\ivron
\ivrword{}
\ivrword{ribd}
\ivrword{onfd}
\ivrword{qipkdl}
\ivrword{ze`gqep}
\ivrword{lilnza}
\ivrword{,ixard}
\ivrword{lynl}
\ivrword{}
\ivrword{$\sin(\theta+{\pi\over2})=
\cos\theta $}
\ivrword{,}
\ivrword{lkyk}
\ivrword{rhwd}
\ivrword{beqn}
\ivrword{df}
\ivrword{`l}
\ivrword{lkei}
\ivrword{xaydl}
\ivrword{oia}
\ivrword{izy}
\ivrword{zexey}
\ivrword{.zekenq}
\ivrword{eiykre}
\ivrword{wizr`}
\ivrword{z`}
\ivrword{dgqepd}
\ivrword{:zcceand}
\ivrword{}
\ivroff

$$\int_0^{2\pi}\sin x\cdot dx = 0$$
\ivron
\ivrword{}
\ivrword{yi}
\ivrword{miyl}
\ivrword{al}
\ivrword{dgqepy}
\ivrword{zccean}
\ivrword{efk}
\ivrword{ztwen}
\ivrword{befa}
\ivrword{,mieew}
\ivrword{ick}
\ivrword{z`vl}
\ivrword{zipnf}
\ivrword{avnn}
\ivrword{.ixar}
\ivroff

\rm
\vskip 0.5cm
{\bf It's time to rush to the printer now!}
\vskip 2cm
\hbox to\hsize{\hfil \hebrew{irwa~ieqs~belcaxb}}
\bye

