Assumption: you use vi to edit your tex files. (It is also possible to use emacs; we do not discuss it here.)
set path=($path ~haran/bin)
alias xet 'haranxetsetup -d -b -cs -l -r -rev -set -hebinp.tmp -rm ' #for vim user
alias laxet 'haranxetsetup -d -b -cs -l -r -rev -set -latex -hebinp.tmp -rm ' # for latex vim user
(Pay attention that none of these 3 lines breaks into two separate lines!)
cp ~haran/vimrc ~/.vimrc
cp ~haran/bin/develop/demo.xet .
cp ~haran/TeXInputs/moshe.fnt .
cp ~haran/TeXInputs/hebrew.mac .
cp ~haran/TeXInputs/heb_macros_newcode.tex .
cp ~haran/TeXInputs/hebcal_newcode.sty .
cp ~haran/TeXInputs/nikud.tex .
ln -s ~haran/texmf ~/texmf
will create a usual X-window with hebrew/english font.
Inside this window:
vim -H blabla.xet
will open file blabla.xet (please do use the ending .xet for later processing).
Use usual vi commands. Use Ctrl-/ to switch between hebrew and english. Furthermore, if you are in hebrew mode, F9 will put you into "math-mode" (between two dollars), while F10 will put you into "english mode" for writing short passages in english (this is something needed for tex; to escape from either of them use Ctrl-/).
File demo.xet (in your prefered directory by now) contains something in tex with hebrew. (Look at it.) To process it, give command
This will create files "demo.log" and "demo.dvi". To process a LaTeX file file.xet, give command
To view/print the file you can use the usual xdvi/dvips commands.
How does it work?
- If you are a faculty member, you can search for phone numbers of
faculty members. Type on the command line in Hebrew (!)
where xxxx is the name (in Hebrew) of the person. Thus to look for Haran you will actually have typed