<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">% This file, along with the rest of the hebrew.sty docs 
% is Copywright (c) 1991 by Yaniv Bargury.
% You may use this file in any way you
% like, free of charge,  subject to the following conditions:
% 1) You may not modify its contents without adding a notice that you
%    did so with your name on it.
% 2) You may not remove or change this notice.
% 3) No warranty is supplied. Use at your own risk.

% This is the guide for Hebrew latex. Yaniv's source has been
% modified by Rama; some sections have been completely changed.

\documentstyle[hebrew]{article}
\newcommand{\laxet}{\embox{\LaTeX{-}{-}XeT}}
\begin{document}
\sethebrew
\font\bigheb=TelAviv scaled \magstep3
\centerline{\R{\L{\Large \LaTeX}~~ \bigheb araxiz}}
\bigskip\bigskip
\sethebrew
%\starttoc{toc}
\tableofcontents
\bigskip\bigskip
\input hebcal.sty
\sloppy

nqnj fd nz`x kivc ldkio nqnkim raxiim `e ce-lyepiim arfxz
\L{\LaTeX} araxiz. 
raex nyznyi \L{PC} iy anqnj fd dqax `ecez nrac dznlilim `iipyhiio.

\bsection{\protect{\laxet}}{Hebrew \LaTeX} 

dzekpiz \L{LaTeX} araxiz naeqqz rl dzekpiz \L{\LaTeX} dlerfiz,
azeqtz
twecez niegcez ldtikz kieeo dytd. 
dzekpiz pwx`z \L{PUBTeX} a \L{PC} e \L{latex} `e \L{latex{-}{-}xet}
a \L{Unix}. ancxij fd ziwx` dzekpiz \laxet.

weau \L{.DVI} ypevx rl ici \L{TeX{-}{-}XeT} de` qhpcxhi e`ipe
cexy kl hitel niegc.

\bsection{\protect{\L{hebrew.sty}}}{hebrew.sty}

\L{hebrew.sty} de` weau twecez \L{\LaTeX} lznikd araxiz. iy lklel
`eze adbcxz d \L{documentstyle} ax`y dnqnj aio dtxnhxim yaqebxiim
dnxearim lti `gz dcebn`ez dnetirez ldlo. 

g y e a \L{---} kyreacim a \L{PC} iy lkzea \L{hebrew\_p}.

~~~~~~~~~~~~~~
kyreacim araxiz \L{8 bit}  iy lkzea \L{hebrew\_newcode}.

yim la yiy lynex `z \L{hebrew.sty}
znic ninio ldbcxez dbecl ed \L{twoside}. dcax pgeu kci yddbcxez yle
idie d`gxepez aqcx, ekj do `le yidie azews afno wxi`z y`x dweau.

\unsethebrew
\begin{verbatim}
\documentstyle[hebrew]{report}
\documentstyle[12pt,hebrew]{article}
\documentstyle[11pt,twoside,hebrew,bezier]{book}
\end{verbatim}

\sethebrew
weau fd nbcix `z twecez kieeo dytd ypx`d adnyj. xea dweau ce`b ldz`nz
dtwecez yl \L{\LaTeX} lraxiz. twecez \L{\laxet} afno kziaz `pbliz
`nexez lraec aciew kti yneqax a\cite{latexbook}. `ezo twecez rm `eze
zgaix reacez arfxz \L{hebrew.sty} bm araxiz, `j dtrelez ydo navrez
nez`nez lkieeo dkziad. dfgz tqwd lcebnd pryiz ninio araxiz. apeqs
nebcxez aweau fd twecez dniegcez lraxiz kbeo npid aqtxez raxiez, zeko
rpipim ce lyepi erec. pqwex twecez `ld atxeh adnyj.

`etvid peqtz ywiinz ewyexd l \L{hebrew} dipd \L{hebcal}
)\L{hebcal\_p} kyreacim a \L{PUBTeX} `e \L{hebcal\_newcode}
kyreacim araxiz \L{8 bit}( . `etvid fe
n`tyxz walz z`xikim lti dleg draxi. x`d txhim adnyj.

             
\bsection{twecez aqiqiez lznikd araxiz a\protect\laxet}{Basic commands in 
\protect\laxet}

aqris fd pkix `z dtwecez daqiqiez lznikd araxiz a\laxet.

kl dtwecez yl \L{\LaTeX} wiinez bm a\laxet. twecez \L{\laxet} nzgilez
alekqo dtej e`gxie qicxd yl `eziez.
k`yx reacim a \L{Einstein} dlekqo px`d lrzim rl dnqj
k`ile de` pnv` ninio ltwecd.

azgilz draecd rl dweau kieeo dkziad driwxi de` `pbli.dtwecd
\L{\verb|\sethebrew|} nypd `z dkieeo driwxi lraxiz. dtwecd
\L{\verb|\unsethebrew|} ngfixd `z dkieeo driwxi l`pbliz. `qex ldyzny
atwecez `le azej tqwd. do ikelez ldetir xw aio tqw`ez. 

ldgltz dkieeo fnpiz, lnqtxim elhwqh lerfi nyznyim
atwecd

\hfill \L{$\backslash$ L\{\dots string \dots\}}

lvexj dgltz kieeo fnpiz edkpqz hwqh araxiz azej hwqh lerfi
nyznyim atwecd 

\hfill \L{$\backslash$ R\{\ldots \R{hwqh araxiz} \ldots\}}
\smallskip

pizo lypez `z dkieeo azej whr yae kax yepd dkieeo ll` dbalz renw
dwipeo lcebnd:

\unsethebrew
He said \R{\openquote\ zo li \L{12} ywl aawyd \closequote}, so I did.

\sethebrew

k`yx nyznyim a \L{einstein}, `fi 
lkziaz peqg`ez nznhiez azej tiqwd raxiz `io vexj anrax ytd, dnrax lkziad
nznhiz nglis bm `z dkieeo.  igc rm f`z, lkziaz peqg`ez
nexkaez azej hwqh raxi kc`i n`c lraex qxbl
ki dkieeo dhari apeqg`ez de` nyn`l linio.
peqg`ez nnexkfez pkzaez bm do ll` dtikz dkieeo, `j rm yipei qxbl.

\bigskip
hwqh azej peqg`ez iy ldwis awetqd niegcz y`enxz l\laxet\ lraex
lnva hwqh, acend l\L{\verb|\mbox{}|} yl \L{\LaTeX}. wiinim ypi qebi
wetq`ez k`le, `gc lraxiz \L{\verb|\hmbox{}|}  edypi l`pbliz
\L{\verb|\embox{}|}. akl nwxd `io ldyzny a\L{\verb|\mbox{}|}.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Yaniv -- it is important to include an example here,
%% BUT there is no point in an example which does not show both
%% the input itself and the resulting output.
%% At the moment you generate here only the output.
%% I have marked it as comments. Would you invest time in this?
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%$
%\[
%  \embox{Prime} =
%  \{x\mid x \hmbox{ nglw `z }y\hmbox{ kj y }y\hmbox{ l` wiim}\}
%\]
%\[
%  \embox{Prime} =
%  \{x \mid \embox{There is no }y \embox{ such that } y
%           \embox{ divides } x\}
%\]
       
%%%%   Here comes the original "MIPUY HAOTIYOT HAIVRIYOT".
\newpage
\bsection{twecez peqtez}{Other control sequences}
% Added by rama - taken from hebrew_cs_guide.

lheaz nyznyim ynrcitim lkzea bm `z dtwecez yl \L{\laxet}
araxiz zexbne lraxiz nqtx twecez, epizo ldyzny ado a`gz
nyzi dvexez, raxiz `e `pbliz. kne ko debcxe nqtx
twecez peqtez kci ldzbax rl dweyi yaivixz bxyiim enwtim
itim araxiz kne a`pbliz.
\font\Jer=Jerusalem
dpd xyinz dtwecez:
\bigskip\bigskip
\def\bs{{\char'134}}
\def\lb{{\char"7B}} \def\rb{{\char"7D}}
\def\sb{{\char"5F}} \def\sp{{\char"5E}}
\def\undertext#1{$\underline{\hbox{#1}}$}
\unsethebrew
\begin{tabular}{ l l }
\tt\bs sethebrew&amp;Enter hebrew mode\\
\tt\bs unsethebrew&amp;Go out of Hebrew mode\\
\tt\bs hebrewpar&amp;Starting one hebrew paragraph with indentation\\
\tt\bs hebrewlines&amp;Starting one hebrew paragraph without indentation\\
\\
\tt\bs L\lb\dots string\dots \rb&amp;English string within a Hebrew environment\\
\tt\bs R\lb\dots{\Jer zixciq}\dots\rb &amp;Hebrew string within an English environment\\
cr
\tt\lb\dots\rb{\Jer ybcd}\tt\bs \ or \tt\bs hadgesh\lb\dots\rb&amp;Making bold letters - Poor man's bold \\
\\
{\Jer lecbswn}\tt\bs \ or \tt\bs makafgadol&amp;Like the regular -\thinspace -  producing --~, which doesn't work in Hebrew\\
{\Jer wprswn}\tt\bs \ or \tt\bs makafanak&amp;Like the regular -\thinspace -\thinspace -  producing ---~, which doesn't work in Hebrew\\
\\
{\Jer yxb}\tt\bs \ or \tt\bs geresh&amp;Like the regular `~, which doesn't work in Hebrew\\
{\Jer yxbgzt}\tt\bs \ or \tt\bs opengeresh&amp;\char39\\
{\Jer yxbxebq}\tt\bs \ or \tt\bs closegeresh&amp;`\\
{\Jer hehivgzt}\tt\bs \ or \tt\bs openquote&amp;Like the regular '', which doesn't work in Hebrew\\
{\Jer hehivxebq}\tt\bs \ or \tt\bs closequote&amp;Like the regular ``, which doesn't work in Hebrew\\
\\
{\Jer meid}\tt\bs \ or \tt\bs hebday&amp;Today's regular date in Hebrew\\
\tt\bs Hebrewtoday&amp;Hebrew date in Hebrew (included in hebcal.sty)\\
\tt\bs Hebrewdate&amp;Converting a Georgian date to an  Hebrew (in hebcal.sty)\\
\\
{\Jer dlecbdvitw}\tt\bs &amp;Like the regular \tt\bs bigskip\\
{\Jer zipepiadvitw}\tt\bs &amp;Like the regular \tt\bs medskip\\
{\Jer dphwdvitw}\tt\bs &amp;Like the regular \tt\bs smallskip\\
\\
{\Jer oinidxey}\tt\bs &amp;Like the regular \tt\bs rightline\\
{\Jer l`nydxey}\tt\bs &amp;Like the regular \tt\bs leftline\\
{\Jer fkxn}\tt\bs &amp;Like the regular \tt\bs centerline\\
\\
\tt\bs undertext\lb text \Jer hqwh\rb&amp;Produces \undertext{text \Jer hqwh}\\
\end{tabular}
%
\newpage
\sethebrew

\bsection{nitei d`eziez draxiez}{Hebrew fonts}

wiinim nqtx niteiim l`eziez draxiez erpio fd nqaj `z dyiney
azekpd.

a \L{Unix} wiim \L{Old code} yae d`eziez draxiez zetqez `z
nweno yl d`eziez dlerfiez dwhpez \L{(lower case)}. 

a \L{PC} d`eziez draxiez pnv`ez dgl ndnwem d $128$ 
ahalz \L{ASCII}.  
anicd enraixim weau wlh ydeko a \L{PC}
laiver rl ici \L{latex} a \L{Unix}, vxij ldyzny azekpiz 
wepaxqid nz`ind lvexj draxd lnitei yl \L{Unix}.

a \L{Unix} wiim bm \L{New code} ae d`eziez draxiez pnv`ez dgl
ndnwem d $224$ ahalz \L{ASCII}. yiney anitei fd de` peg lni
yreac a \L{emacs} ea \L{vi} araxiz, nyem y`ld n`tyxim lx`ez
rl dnqj raxiz e`pbliz arz earepd `gz. 


\bsection{niwes eyexez `xekez nci}{Hyphenation and overful hboxes}

\L{\TeX} tezx `z xea dariez aglewz dtiqwd lyexez rl ici niwes. de`
nev` lxea `z kl dnwenez adm nezx lyaex nild aqes yexd rl ici nws,
e`ipe navr niwes anwem l` gewi. lxea dytez dlhipiez iy wavi niwes
niegcim, adm klelez dex`ez lzekpd diko xvei lyaex nlim.
lraxiz rciio `io. apeqs, darid yl niwes ce lyepi rciio l`
ptzxd. klenx `io `tyxez lraec rm iezx nweau niwes `gc lkl bixqd yl
\L{\TeX}. a \L{\LaTeX} nezwo niwes `pbli kydytd driwxiz di`
`pbliz. kydytd driwxiz di` raxiz \L{hebrew.sty} naehl dniwes klil.

dreacd y`io niwes raxi ievxz dxad iezx nwxim adm \laxet\ l` nev` vexd
head lglewz dtiqwd lyexez, kne  abixq`ez dlhipiez. \laxet\ ny`ix
anwxd fd yexez `xekez nci anqnj dzev`d, `j nzxir rlido afno dxivd
eaweau d\L{log} )dzx`ez aqbpeo \L{Overful hbox\ldots}(. apibec
lnvetd, yexez `ld aelhez inipd acs kne a`pbliz. kti ynenlu
a\cite{latexbook} kc`i ldy`ix `z ziweo dyexez d`ld lbixqd d`gxepd yl
dnqnj. txhim kivc lzwo `ezo pizo lnve` a`eze qtx. awvxd, dtzxepez
dnwealim dm yaixz nild rm nws, yipei dxbiyez yl \laxet\ lnxeegim aio
nilim )dtwecd \L{\verb|\sloppy|}(, qiem dyexd ltpi dyeliim `e piqeg
ngcy yl dkzea. dyexd da`d di` cebnd lyexd `xekd nci:\\
\fussy
hxpf`wviez weqnetelihiez `ipcewhaiez pizpez lnpitelvid `bxiqiaiz
wepqhiheviepiz.\\

\sloppy
anwxim xaim, do araxiz edo a`pbliz, dyexez d`xekez pevxez abll kziaz
peqgd nznhiz azej yexez dtiqwd. tzxeo nweal anwxd kfd de` ldtej `z
dpeqgd lpeqgd nnexkfz.

\newpage
\bsection{zeko rpipim exyinz znepez}{Table of contents and List of
figures}

\L{\LaTeX} iecr liivx zeko rpipim exyinz znepez avexd `ehenhiz. afno
riaec dwavim \L{\LaTeX} nkio xyind yl dqritim edznepez awavim ptxcim
aym \L{\verb|.toc|} e \L{\verb|.lof|} adz`nd. axivd da`d de` wex` `z
dwavim d`ld eievx `z dhal`ez. tixey dcax yadxvd dqetiz yl dnqnj iy
ldxiu `z \laxet\ trniim kci leec` ydxyinez nreckpez. dtwecez dxbilez
yl \L{\LaTeX} livixz dkezxz yl dqritim do dce`bez lrcko `z dxyind,
edtwecez

\unsethebrew
\begin{center}
\begin{verbatim}
\starttoc{toc}
\starttoc{lof}
\end{verbatim}
\end{center}

\sethebrew
nkpiqez `z zeko drpipim exyinz dhal`ez adz`nd `l dnqnj. rc k`o `io
gcy. dzeqtez dpcxyez lznikd akziad ce keepiz nze`xez adnyj.

dtwecez livixz kezxz qritim dnetirez a\cite{latexbook} wiinez bm k`o.
dkieeo yl dhwqh yazeko de` dytd dx`yiz. lkziaz hwqh aytd dnypiz azej
kezxez iy ldeqis \L{$\backslash$protect} ltwecz dtikz dkieeo, lcebnd
\begin{center}
\L{\verb|\section{\protect\L{22} |\R{nlkec}\verb|}|}
\end{center}
dkezxz zikza abes dnqnj akieeo dytd dx`yiz a`eze nwem. lrenz f`z zeko
drpipim ikza akieeo dytd dx`yiz anwem ae netird dtwecd
\L{\verb|\starttoc|}. `m kl dnqnj pkza a`ezd ytd `io vexj adqax peqs. 
lrenz f`z `m glw ndnqnj pkza akieeo x`yi yepd iy lc`eb ldz`nz dytd
dx`yiz aio twecez dkezxz yabes dnqnj lzeko drpipim arfxz dztwecez
yldlo.

lkl twecez dqritim dxbilez iy bm bixqd ce keepiz. dtwecd dce keepiz
nzgild a`ez \L{b} eiy ld ypi txnhxim, d`gc araxiz edypi a`pbliz,
lcebnd:
\begin{center}
\L{\verb|\bsection{|\R{hwqh raxi}\verb|}{English text}|}
\end{center} 
dkezxz abes dnqnj zilwg lti dytd dx`yiz ym. dkezxz azeko drpipim
zilwg lti dkieeo dx`yi afno kziaz zeko drpiipim. dcax n`tyx ivixz yzi
bxq`ez yl zeko drpipim anqnj, `gz `pbliz ynetird a`ifex arl ytd x`yiz
`pbliz enkild `z dbixqd d`pbliz yl dkezxez, ed`gxz raxiz dnetird
a`ifex ae dytd dx`yiz raxiz enkild `z dbixqd draxiz yl dkezxez.

afno riaec dtwecd \L{\verb|\starttoc|} apeqs livixz dhald \L{\LaTeX}
negw `z dbixqd dwecnz yl dwavim, kj yafno dnyj dxivd dwavim pevxim
ngcy rl ti dkezxez dpekgiez. txey dcax y`i `tyx ldyzny trniim a`eze
nqnj a`ezm wavi rfx  \L{\verb|.toc|} e \L{\verb|.lof|}. lkj wiinim
ypi tzxepez. d`gc de` dkpqz dtwecd \L{\verb|\nofiles|} akezxz dnqnj
)ltpi \L{\verb|\begin{document}|} ltpi dbixqd dqetiz, edypi de` ivixz
rezw peqs ndwavim d`le aym `gx eyiney ae abixqd dypid yl zeko
drpipim. dtwecez da`ez )a \L{PC}( niivxez rezw peqs yl zeko drpipim ypizo
ldctiqe rm dtwecd \L{\verb|\starttoc{eoc}|}:

\unsethebrew
latex myname

copy myname.toc myname.eoc

latex myname

\sethebrew

\bsection{d`etvid \protect\L{hebcal}}{HEBCAL}

\def\bs{$\backslash$}

`etvid fe n`tyxz walz z`xikim lti dleg draxi.

`m zyzny a`etvid fe, klenx zkzea \L{\bs documentstyle[hebrew,hebcal\dots]\dots}
`fi lxyezj yzi twecez peqtez:
\medskip

$1$. \L{\bs Hebrewtoday} \L{--} nctiqd `z dz`xij draxi yl diem.

\bigskip
$2$. \L{\bs Hebrewdate} \L{--} detkz z`xij bxbexi`pi lraxi.
\medskip
~~~~~~dyiney de` kldlo:

\unsethebrew
\bs newcount\bs day~~~ \bs newcount\bs month~~~ \bs newcount\bs year

\bs day=12 ~~~ \bs month=10 ~~~ \bs year=1884

\bs Hebrewdate\{\bs day\}\{\bs month\}\{\bs year\} 

\sethebrew
dzev`d: 
                              
\newcount\d \newcount\m \newcount\y
\d=12 \m=10 \y=1884
{   }

\Hebrewdate{\d}{\m}{\y}

\bigskip
ll` d`etvid \L{[hebrew]} nzwal dz`xij draxi azrziw lerfi \L{--}

\unsethebrew
\Hebrewdate{\d}{\m}{\y}
\sethebrew
\vskip 0.5cm
g y e a \L{---} 

a \L{PUBTeX} kzea \hfill \L{\bs documentstyle[hebrew\_p,hebcal\_p\dots]\dots}
\smallskip

araxiz \L{8 bit} kzea\hfill \L{\bs documentstyle[hebrew\_newcode,hebcal\_newcode\dots]\dots}
\bsection{pqtg: dkpz dnqnj arfxz \protect\L{IBM PC}}{IBM PC}
\bsubsection{~~~~~~~~`iipyhiio}{Einstein}

`iipyhiio de` nrac znlilim ce-lyepi )raxi `pbli( pteu. agxpe ae nkl
y`x nraci dznlilim dwiinim kiem nyem yde` digici yyenx `z weau draecd
yle avexd ad \L{\LaTeX} xevd lx`ez `z dwlh. wiinim ypi qhpcxhim
lynixz `eziez yl ytd nypiz akieeo kzead dtej azej weau. dyihd dptevd
di` lynex `ezm lti qcx ddetrd rl dnqj `e rl dcs. ayihd fe d`eziez
araxiz ietire aweau dtej nqcx dwxi`d. lcebnd `m pkzea "cpi" aweau
ietir wecm "i" e`gxie "p" elaqes "c". aviec dngyaim d`pbli dxbil, `m
pvib `z dweau rl dnqj `e pctiqe anctqz pwal kza raxi wxi`. dyihd
dypid yenxz `z kl d`eziez dqcx dkziad edwxi`d. `ez ypwx`z wecm zetir
wecm aweau. "cpi" ikza "c" "p" "i". aweau kfd draxiz zx`d kzead dtej
`m pctiq `z dweau, `j fe vexd wld iezx lhitel azekpd. fe dvexd dcxeyd
lpe. kl nrac znlilim `gx yyenx `z d`eziez avexd fe iz`im lnhxzipe.

\bsubsection{~~~~~~~~\protect{\L{T.EXE}}}{T.EXE}

`iipyhiio de` iezx nrexj hwqhim tyeh. de` nkil twecez e`etviez
ynnwnez `eze axnd yl nrac znlilim. twecez kbeo nixkef, dcbyd,
`ipckqim eke.\ wiinez azej `iipyhiio, `j `le txinihiaiez igqiz lklim
dnwailim a\embox{\TeX}. lvexj nney twecez `ld `iyhiio ny`ix azej
dweau qinpim niegcim ynqnpim raexe nzi e`ij ldtril `z dtwecez d`ld.
ltpi nqixz dweau ypevx arfxz `iipyhiio l\embox{\TeX}, iy lptez nzeke
`z dqinpim d`ld. 

pizo lryez f`z rl ici dtrlz dzekpiz \L{T.EXE} dnveid rl dciqwh
dnwexi yl \L{einstein}. 
 

\unsethebrew
\begin{thebibliography}{MM00}

\bibitem[LAT]{latexbook}Leslie~Lamport.
  {\em\LaTeX\ A Document Preperation system}
  Addison-Wesley, 1986. ISBN 0-201-15790-X
\end{thebibliography}

\end{document}

</pre></body></html>