home *** CD-ROM | disk | FTP | other *** search
/ Hackers Toolkit v2.0 / Hackers_Toolkit_v2.0.iso / HTML / archive / Unix / HOWTOs / HEBREW-H < prev    next >
Text File  |  1999-11-04  |  22KB  |  640 lines

  1.   The Hebrew HOWTO
  2.   Maintained by Yair G. Rajwan, <tt>yair@hobbes.jct.ac.il</tt>
  3.   v0.4, 12 September 1995
  4.  
  5.   This `Frequently Asked Questions' (FAQ) / HOWTO document describes how
  6.   to configure your Linux machine to use Hebrew characters on X-Windows
  7.   and Virtual Consoles. The most up-to-date version of the Hebrew-HOWTO
  8.   may be obtained from my Web page
  9.   <http://shekel.jct.ac.il/~rajwan/Hebrew.html> or from
  10.   <tt>ftp://hobbes.jct.ac.il</tt> <ftp://hobbes.jct.ac.il>.
  11.  
  12.   1.  Introduction
  13.  
  14.   Any language setup, other than the original American English, has two
  15.   issues:
  16.  
  17.   1. Displaying the right characters (fonts) - for Hebrew it's
  18.      ISO-8859-8 standard.
  19.  
  20.   2. Mapping the keyboard.
  21.  
  22.   There is much more to Hebrew than that (like right to left, geometry
  23.   in X-Windows,etc), but this HOWTO (at least for the first draft) deals
  24.   only with the basic issues.
  25.  
  26.   More information can be found in the various "national" HOWTOs
  27.   (German, Danish, etc.) and in the ISO 8859-1 HOWTO
  28.   (ftp://ftp.vlsivie.tuwien.ac.at/pub/8bit
  29.   <ftp://ftp.vlsivie.tuwien.ac.at/pub/8bit>  FAQ-ISO-8859-1).
  30.  
  31.   1.1.  Changes.
  32.  
  33.   ╖  FIRST DRAFT to 0.2.
  34.  
  35.      Most of this file is taken from the first draft by Vlad Moseanu.
  36.  
  37.   ╖  0.2 to 0.3Beta.
  38.  
  39.      Added excerpts from documents from the archive e-brew.zip from
  40.      ftp://ftp.jer1.co.il/pub/software/msdos/communication
  41.      <ftp://ftp.jer1.co.il/pub/software/msdos/communication>, and some
  42.      bug fixes with the help of JCT Linux-il group members.
  43.  
  44.   ╖  0.3Beta to 0.4.
  45.  
  46.      After the first release of the Hebrew-HOWTO to the Linux-il it
  47.      contain all the E-mail send to me regarding spelling/grammer and
  48.      Tex-Xet, Mule and Vim info.
  49.  
  50.   1.2.  Thanks
  51.  
  52.   This HOWTO prepared by the help of all the group: Linux-il - 'The
  53.   Israeli Linux users group' and especially by:
  54.  
  55.   The Linux-il group      (Linux-il@hagiga.jct.ac.il)
  56.  
  57.   Vlad Moseanu            (vlad@actcom.co.il)
  58.  
  59.   Gili Granot             (gil@csc.cs.technion.ac.il)
  60.  
  61.   Harvey J. Stein         (hjstein@math.huji.ac.il)
  62.  
  63.   Dovie Adler             (dadler@hobbes.jct.ac.il)
  64.  
  65.   Gavrie Philipson        (gavrie@shekel.jct.ac.il)
  66.  
  67.   2.  Standards for representation of Hebrew characters
  68.  
  69.   2.1.  ASCII
  70.  
  71.   To make one thing clear, for once and forever: There is no such thing
  72.   as 8-bit ASCII. ASCII is only 7 bits. Any 8-bit code is not ASCII, but
  73.   that doesn't mean it's not standard. ISO-8859-8 is standard, but not
  74.   ASCII. Thanks!
  75.  
  76.   2.2.  DOS Hebrew
  77.  
  78.   The Hebrew encoding starts at 128d for Aleph. Therefore, encoding
  79.   requires 8 bits. This is what you have on the Video card EPROM
  80.   hardware fonts, all of the Hebrew DOS based editors use this table
  81.   (Qtext, HED, etc.).
  82.  
  83.   2.3.  ISO Hebrew
  84.  
  85.   The Hebrew encoding starts at 224 for Aleph. This is the Internet
  86.   standard, international standard and basically the standard for Ms-
  87.   Windows and for Macintoshes (Dagesh, etc...).
  88.  
  89.   2.4.  OLD PC Hebrew
  90.  
  91.   This is 7-bit, and obsolete, as it occupies essentially the same ASCII
  92.   range as English lowercase letters. So, it is best avoided. However,
  93.   when ISO Hebrew gets its eighth bit stripped off by some ignorant Unix
  94.   mail program (so you get a jumble of English letters for the Hebrew
  95.   part of your message and the regular English, reversed or not, mixed
  96.   in), you will get this, and will need to transform it to PC or ISO. If
  97.   there was English mixed in with the Hebrew, this will be a sad
  98.   situation, as you will either get Hebrew plus jumble, or English plus
  99.   jumble...
  100.  
  101.   2.5.  Conversions
  102.  
  103.   Here are some simple scripts to convert from each standard to the
  104.   other:
  105.  
  106.        DOS - ISO:      tr '\200-\232' '\340-\372' < {dos_file} > {iso_file}
  107.        ISO - DOS:      tr '\340-\372' '\200-\232' < {iso_file} > {dos_file}
  108.        OLD - DOS:      tr -z '\200-\232' < {old_Hebrew_file} > {dos_file}
  109.  
  110.   NOTE:   The numbers use by tr are in octal!
  111.  
  112.   3.  Virtual Consoles (VCs)
  113.  
  114.   Every distribution of Slackware comes with kbd; the package is called
  115.   keytbls under Slackware (a4 in 2.3.0 - kbd 0.90). Joel Hoffman has
  116.   contributed Hebrew fonts and keymaps from his original codepage.tar.Z
  117.   file. Look under /usr/lib/kbd for iso08.* files. It follows ISO 8859-8
  118.   and the Hebrew keytables and maps.
  119.   Put the following lines in /etc/rc.d/rc.local:
  120.  
  121.        -----
  122.        #!/bin/sh
  123.        #       Put any local setup commands in here
  124.        #
  125.        INITTY=/dev/tty[1-6]
  126.        PATH=/sbin:/etc:/bin:/usr/sbin:/usr/bin
  127.        #
  128.        #       kbd - Set the the console font and keyboard
  129.        #       set numlock and set metabit mode on tty1 .. tty8
  130.        for tty in $INITTY
  131.        do
  132.        #       setleds -D +num < $tty > /dev/null
  133.                setmetamode metabit < $tty > /dev/null
  134.        done
  135.        #       Latin8(Hebrew) keyboard/console
  136.        setfont iso08.f16
  137.        mapscrn trivial
  138.        loadkeys Hebrew
  139.        #       enable mapping
  140.        for tty in $INITTY
  141.        do
  142.                echo -n -e "\\033(K" >$tty
  143.        done
  144.        -----
  145.  
  146.   NOTE: If you are using X Windows be careful with "setleds", it may
  147.   hang the X server.
  148.  
  149.   The above setup works fine with the Hebrew version of pico (pine) and
  150.   displays correctly ISO 8859-8 Hebrew (X Windows, MS Windows).
  151.  
  152.   4.  X Windows setup - XFree86 3.1
  153.  
  154.   4.1.  Hebrew fonts.
  155.  
  156.   XFree86 3.1 comes with two Hebrew fonts: heb6x13, heb8x13. Additional
  157.   Hebrew fonts can be found on the Net:
  158.  
  159.   ╖  The web Type1 fonts (Helvetica/David style (proportional) and
  160.      Courier/Shalom Stick style (fixed space) ) from the snunit-project
  161.      archive at ftp://snunit.huji.ac.il/pub/fonts/
  162.      <ftp://snunit.huji.ac.il/pub/fonts/>, it's good for netscape Hebrew
  163.      pages.
  164.  
  165.   ╖  Avner Lottem, (lottem@techUnix.technion.ac.il) put some Hebrew-ISO
  166.      8859-8 fonts on archive at
  167.      ftp://sunsite.unc.edu/pub/Linux/X11/fonts/hebxfonts-0.1.tgz
  168.      <ftp://sunsite.unc.edu/pub/Linux/X11/fonts/>, it has a font that's
  169.      good for dosemu under X-Windows (read his README file).
  170.  
  171.   4.2.  Installing fonts
  172.  
  173.   ╖  Fonts exaptable: pcf (Portable Compiled Format), bdf (Bitmap
  174.      Distribution Format), pfb (Type1 fonts).
  175.  
  176.   ╖  Move the fonts to some existing directory (/usr/lib/X11/fonts/misc)
  177.      or create a new one (/usr/lib/X11/fonts/Hebrew). compress (to *.Z)
  178.      the fonts to save space (NOT GZIP!!!).
  179.  
  180.   ╖  Run the mkfontdir to create/re-create the fonts.dir and edit
  181.      fonts.alias (optional) to define new aliases.
  182.  
  183.   ╖  For Type1 fonts, mkfontdir does nothing. You have to add these
  184.      fonts to fonts.dir manually.
  185.  
  186.   ╖  Make sure that the directory is in the X server path. Edit the
  187.      XF86Config and add the appropriate path -- FontPath
  188.      "/usr/X11R6/lib/X11/fonts/...".
  189.  
  190.   4.3.  Making an X application to use Hebrew fonts.
  191.  
  192.   In short you need to set the appropriate resource.
  193.  
  194.   4.3.1.  Xterm
  195.  
  196.   Put the following line in the $HOME/.Xresources:
  197.  
  198.   xterm*font:  heb8x13
  199.  
  200.   or simply start xterm with xterm -fn heb8x13 The above font is way too
  201.   small, so search for a better one ...  See the comments/examples on
  202.   starting X11.
  203.  
  204.   4.3.2.  Netscape
  205.  
  206.   Usaly you can use the hebrew fonts from ``snunit - webfonts'', Install
  207.   it ``as described'', and then put the next defaults in your local
  208.  
  209.        ----
  210.        *documentFonts.latin1.variable.italic*slant:            r
  211.        *documentFonts.latin1.variable.boldItalic*slant:        r
  212.        *documentFonts.latin1.variable*family:                  web
  213.        *documentFonts.latin1.fixed*family:                     webmono
  214.        *documentFonts.latin1*registry:                         iso8859
  215.        *documentFonts.latin1*encoding:                         8
  216.        ----
  217.  
  218.   In general you can put any fonts insted of the webfonts files as long
  219.   as its supported by X11 ``as described''.
  220.  
  221.   4.4.  Mapping the keyboard.
  222.  
  223.   For some reason the X server doesn't inherit the keymap from the
  224.   previous paragraph, and anyway I would like to define ALT Left and ALT
  225.   Right and Scroll Lock. When pressing ALT together with some key it
  226.   will generate a Hebrew character, Scroll Lock will lock in Hebrew
  227.   mode.
  228.  
  229.   To do that we need to use xmodmap. Following is a Xmodmap which also
  230.   corrects the bugs with the "Num Lock":
  231.  
  232.   -----
  233.   ! Hebrew key mapping for XFree86 (for US/Hebrew keyboards).
  234.   ! By Vlad Moseanu
  235.   !
  236.   keysym Alt_L = Mode_switch
  237.   keysym Alt_R = Mode_switch
  238.   !clear Mod1
  239.   clear Mod2
  240.   !add Mod1 = Alt_L
  241.   add Mod2 = Mode_switch
  242.   !
  243.   ! Set the mapping for each key
  244.   !
  245.   keycode   8 =
  246.   keycode   9 = Escape
  247.   keycode  10 = 1 exclam
  248.   keycode  11 = 2 at
  249.   keycode  12 = 3 numbersign
  250.   keycode  13 = 4 dollar
  251.   keycode  14 = 5 percent
  252.   keycode  15 = 6 asciicircum
  253.   keycode  16 = 7 ampersand
  254.   keycode  17 = 8 asterisk
  255.   keycode  18 = 9 parenleft
  256.   keycode  19 = 0 parenright
  257.   keycode  20 = minus underscore
  258.   keycode  21 = equal plus
  259.   keycode  22 = Delete
  260.   keycode  23 = Tab
  261.   keycode  24 = q Q slash Q
  262.   keycode  25 = w W apostrophe W
  263.   keycode  26 = e E 0x00f7 E
  264.   keycode  27 = r R 0x00f8 R
  265.   keycode  28 = t T 0x00e0 T
  266.   keycode  29 = y Y 0x00e8 Y
  267.   keycode  30 = u U 0x00e5 U
  268.   keycode  31 = i I 0x00ef I
  269.   keycode  32 = o O 0x00ed O
  270.   keycode  33 = p P 0x00f4 P
  271.   keycode  34 = bracketleft braceleft
  272.   keycode  35 = bracketright braceright
  273.   keycode  36 = Return
  274.   keycode  37 = Control_L
  275.   keycode  38 = a A 0x00f9 A
  276.   keycode  39 = s S 0x00e3 S
  277.   keycode  40 = d D 0x00e2 D
  278.   keycode  41 = f F 0x00eb F
  279.   keycode  42 = g G 0x00f2 G
  280.   keycode  43 = h H 0x00e9 H
  281.   keycode  44 = j J 0x00e7 J
  282.   keycode  45 = k K 0x00ec K
  283.   keycode  46 = l L 0x00ea L
  284.   keycode  47 = semicolon colon 0x00f3 colon
  285.   keycode  48 = apostrophe quotedbl comma quotedbl
  286.   keycode  49 = grave asciitilde semicolon asciitilde
  287.   keycode  50 = Shift_L
  288.   keycode  51 = backslash bar
  289.   keycode  52 = z Z 0x00e6 Z
  290.   keycode  53 = x X 0x00f1 X
  291.   keycode  54 = c C 0x00e1 C
  292.   keycode  55 = v V 0x00e4 V
  293.   keycode  56 = b B 0x00f0 B
  294.   keycode  57 = n N 0x00ee N
  295.   keycode  58 = m M 0x00f6 M
  296.   keycode  59 = comma less 0x00fa less
  297.   keycode  60 = period greater 0x00f5 greater
  298.   keycode  61 = slash question period question
  299.   keycode  62 = Shift_R
  300.   keycode  63 = KP_Multiply
  301.   !keycode  64 = Alt_L Meta_L
  302.   keycode  65 = space
  303.   keycode  66 = Caps_Lock
  304.   keycode  67 = F1
  305.   keycode  68 = F2
  306.   keycode  69 = F3
  307.   keycode  70 = F4
  308.   keycode  71 = F5
  309.   keycode  72 = F6
  310.   keycode  73 = F7
  311.   keycode  74 = F8
  312.   keycode  75 = Escape
  313.   keycode  76 = F10
  314.   keycode  77 = Num_Lock
  315.   keycode  78 = Scroll_Lock
  316.   keycode  79 = KP_7
  317.   keycode  80 = KP_8
  318.   keycode  81 = KP_9
  319.   keycode  82 = KP_Subtract
  320.   keycode  83 = KP_4
  321.   keycode  84 = KP_5
  322.   keycode  85 = KP_6
  323.   keycode  86 = KP_Add
  324.   keycode  87 = KP_1
  325.   keycode  88 = KP_2
  326.   keycode  89 = KP_3
  327.   keycode  90 = KP_0
  328.   keycode  91 = KP_Decimal
  329.   keycode  92 = Sys_Req
  330.   keycode  93 =
  331.   keycode  94 =
  332.   keycode  95 = F11
  333.   keycode  96 = F12
  334.   keycode  97 = Home
  335.   keycode  98 = Up
  336.   keycode  99 = Prior
  337.   keycode 100 = Left
  338.   keycode 101 = Begin
  339.   keycode 102 = Right
  340.   keycode 103 = End
  341.   keycode 104 = Down
  342.   keycode 105 = Next
  343.   keycode 106 = Insert
  344.   keycode 107 = Delete
  345.   keycode 108 = KP_Enter
  346.   keycode 109 = Control_R
  347.   keycode 110 = Pause
  348.   keycode 111 = Print
  349.   keycode 112 = KP_Divide
  350.   !keycode 113 = Alt_R Meta_R
  351.   keycode 114 = Break
  352.   !
  353.   ! This xmodmap file can be use to set the correct numerical keypad mapping
  354.   ! when "ServerNumLock" is set in the XF86Config file.  In this case the
  355.   ! Xserver takes care of the Num Lock processing.
  356.   !
  357.   !
  358.   keycode  136 = KP_7
  359.   keycode  137 = KP_8
  360.   keycode  138 = KP_9
  361.   keycode  139 = KP_4
  362.   keycode  140 = KP_5
  363.   keycode  141 = KP_6
  364.   keycode  142 = KP_1
  365.   keycode  143 = KP_2
  366.   keycode  144 = KP_3
  367.   keycode  145 = KP_0
  368.   keycode  146 = KP_Decimal
  369.   keycode  147 = Home
  370.   keycode  148 = Up
  371.   keycode  149 = Prior
  372.   keycode  150 = Left
  373.   keycode  151 = Begin
  374.   keycode  152 = Right
  375.   keycode  153 = End
  376.   keycode  154 = Down
  377.   keycode  155 = Next
  378.   keycode  156 = Insert
  379.   keycode  157 = Delete
  380.   -----
  381.  
  382.   To use the Xmodmap above define "Scroll-Lock  Mode-Lock" in the
  383.   XF86Config.
  384.  
  385.   4.5.  Integrating all the above, examples.
  386.  
  387.   If you are using xdm a $HOME/.xsession should look like the following:
  388.  
  389.   -----
  390.   #!/bin/sh
  391.   # $XConsortium: Xsession,v 1.9 92/08/29 16:24:57 gildea Exp $
  392.   #
  393.   # General defs
  394.   #
  395.   export OPENWINHOME=/usr/openwin
  396.   export MANPATH=/usr/local/man:/usr/man/preformat:/usr/man:/usr/X11R6/man
  397.   #export HOSTNAME="`cat /etc/HOSTNAME`"
  398.   export PATH="/bin: /usr/bin: /usr/X11/bin: /usr/X386/bin: /usr/TeX/bini: /usr/local/bin: /usr/games:."
  399.   LESS=-MM
  400.   if [ -z $XAPPLRESDIR ]; then
  401.           XAPPLRESDIR=/usr/lib/X11/app-defaults:/usr/local/lib/X11/app-defaults
  402.   else
  403.           XAPPLRESDIR=$XAPPLRESDIR:/usr/lib/X11/app-defaults
  404.   fi
  405.   export XAPPLRESDIR
  406.   #
  407.   sysresources=/usr/lib/X11/Xresources
  408.   sysmodmap=/usr/lib/X11/Xmodmap
  409.   resources=$HOME/.Xresources
  410.   xmodmap=$HOME/.Xmodmap
  411.   if [ -f $sysresources ]; then
  412.           xrdb -merge $sysresources
  413.   fi
  414.   if [ -f $sysmodmap ]; then
  415.           xmodmap $sysmodmap
  416.   fi
  417.   if [ -f $resources ]; then
  418.           xrdb -merge $resources
  419.   fi
  420.   if [ -f $xmodmap ]; then
  421.           xmodmap $xmodmap
  422.   fi
  423.   #
  424.   # Start applications
  425.   #
  426.   # xterm -ls -sb &
  427.   xhost +                 # look out !!!
  428.   exec fvwm
  429.   -----
  430.  
  431.   If you prefer startx use the above as an example for .xinitrc.
  432.  
  433.   5.  Shells setup.
  434.  
  435.   For more details read the ``ISO 8859-1'' HOWTO.
  436.  
  437.   5.1.  bash
  438.  
  439.   Create a $HOME/.inputrc contain the following:
  440.  
  441.        -----
  442.        set meta-flag On
  443.        set convert-meta Off
  444.        set output-meta On
  445.        -----
  446.  
  447.   5.2.  tcsh
  448.  
  449.   Define the following in the $HOME/.login or /etc/csh.login:
  450.        setenv LANG iw_IL.ISO8859-8 (or iw_IL) Actually because the
  451.   binary version of tcsh is complied without nls the LANG can be set to
  452.   anything and it will still work (no need for /usr/lib/nls...).  The
  453.   lang. name also shows my Digital bias ...
  454.  
  455.   6.  Applications
  456.  
  457.   6.1.  Vim
  458.  
  459.   ╖  The Vim is a Vi IMproved editor with some enhanced commands and the
  460.      hebrew support was made bu Dov Grobgeld (HED developer).
  461.  
  462.   ╖  Another Vim patch announced by Avner Lottem,
  463.      lottem@techunix.technion.ac.il and can be obtained from
  464.      ftp://sunsite.unc.edu/pub/Linux/apps/editors/vi/vim3.0-rlh0.1.tgz
  465.      <ftp://sunsite.unc.edu/pub/Linux/apps/editors/vi/vim3.0-rlh0.1.tgz>.
  466.  
  467.   ╖  For more info, you can look at
  468.      http://www.cs.technion.ac.il/~gil/var.html
  469.      <http://www.cs.technion.ac.il/~gil/var.html>
  470.  
  471.   6.2.  Hebrew pine and pico
  472.  
  473.   The pine and it's additional editor pico had been changed by Helen
  474.   Zommer from CC-huji and has a bug-report mail: pineh-
  475.   bug@horizon.cc.huji.ac.il. It can be down-loaded from
  476.   ftp://horizon.cc.huji.ac.il/pub <ftp://horizon.cc.huji.ac.il/pub>.
  477.  
  478.   6.3.  Some emacs Hebrew ports.
  479.  
  480.   ╖  Hebrew package by Joseph Friedman. It includes some Hebrew fonts in
  481.      BDF format, patch for emacs 18.58 and an elisp package. It is fine,
  482.      but nobody uses emacs 18.* anymore. It can be obtained from:
  483.      ftp://archive.cis.ohio-state.edu/pub/gnu/emacs/elisp-
  484.      archive/misc/Hebrew.tar.Z <ftp://archive.cis.ohio-
  485.      state.edu/pub/gnu/emacs/elisp-archive/misc/Hebrew.tar.Z>.
  486.  
  487.   ╖  A very simple Hebrew package. Includes only right-to-left cursor
  488.      movement support and right-to-left sorting. Works without any
  489.      patches with FSF emacs 19. Can be obtained from
  490.      ftp://archive.cis.ohio-state.edu/pub/gnu/emacs/elisp-
  491.      archive/misc/Hebrew.el.Z <ftp://archive.cis.ohio-
  492.      state.edu/pub/gnu/emacs/elisp-archive/misc/Hebrew.el.Z>.
  493.  
  494.   ╖  One of emacs branches - MULE (Multi Lingual Emacs) Supports a lot
  495.      of languages including Hebrew. It compiles and runs under Linux
  496.      with no problem.  It is full Emacs, with Hebrew support and double-
  497.      direction handling. It can be obtained from:
  498.      ftp://kelim.jct.ac.il/pub/Hebrew <ftp://kelim.jct.ac.il/pub/Hebrew>
  499.  
  500.   6.4.  Dosemu
  501.  
  502.   For a VC dosemu you can use your Hebrew from the Video card EPROM, and
  503.   if you don't have it there are plenty of Hebrew dos fonts from EGA
  504.   support to the VGA Hebrew support.
  505.  
  506.   For X-Windows support you should download the file:
  507.   ftp://sunsite.unc.edu/pub/Linux/X11/fonts/hebxfonts-0.1.tgz
  508.   <ftp://sunsite.unc.edu/pub/Linux/X11/fonts/hebxfonts-0.1.tgz> it's
  509.   contain some fonts include one called vgah.pcf that you should install
  510.   it on your fonts directory as describe ``above'' the fonts are:
  511.  
  512.   6.5.  XHTerm
  513.  
  514.   There is a main port of the regular X-Term program for use with a
  515.   Hebrew fonts - XHTerm =  xterm +  Hebrew support. The port for a sun
  516.   machine was made avalible by the help of Danny
  517.   <tt>danny@cs.huji.ac.il</tt>. Evgeny has some patch for use this port
  518.   under Linux. His version should come with a pre-compiled XHTerm for
  519.   both X11R5 and X11R6. You should use xhterm with the option -fn and a
  520.   Hebrew font ``as described''!  Danny's port (for SUN) can be obtained
  521.   from: ftp://ftp.huji.ac.il/pub/local/xhterm
  522.   <ftp://ftp.huji.ac.il/pub/local/xhterm> and the patched version of
  523.   Evgeny Stambulchik is on: ftp://plasma-
  524.   gate.weizmann.ac.il/pub/software/linux <ftp://plasma-
  525.   gate.weizmann.ac.il/pub/software/linux> Get it from there and you'll
  526.   get 5 ``fonts with  it'': [heb10x20.pcf, heb6x13.bdf, heb6x13.pcf,
  527.   heb8x13.bdf, heb8x13.pcf]
  528.  
  529.   6.6.  TeX--XeT - Hebrew Tex.
  530.  
  531.   The bigest problem with Tex with Hebrew is that the charecters should
  532.   go backwards relative to Visual look (i.e. pico inserts the charecters
  533.   from right to left), so the best thing is to get XHterm with a regular
  534.   emacs and write the Hebrew left to right, backwards as well.
  535.  
  536.   The newer NTeX distribution on sunsite (v1.5) includes everything,
  537.   including TeX--XeT, precompiled for Linux. It can be obtained from
  538.   ftp://sunsite.unc.edu.gz/pub/Linux/apps/tex/ntex
  539.   <ftp://sunsite.unc.edu.gz/pub/Linux/apps/tex/ntex>. An older version
  540.   of TeX--XeT can be obtained from ftp://noa.huji.ac.il/tex
  541.   <ftp://noa.huji.ac.il/tex>. This older version, however, has to be
  542.   recompiled (not recommended).
  543.  
  544.   These TeX distributions are fine if you use LaTeX2.09. If you want to
  545.   use LaTeX2e (the current de facto standard) you have a problem.  Alon
  546.   Ziv (alonz@csa.cs.technion.ac.il) is currently working in support for
  547.   LaTeX2e with Hebrew, using the Babel languages system. I don't know
  548.   the current status of his work -- ask him!
  549.  
  550.   7.  Printer setup
  551.  
  552.   Mainly there is not to say, if you have a regular ASCII line printer
  553.   (who does, these days?) there is a good chance that there are Hebrew
  554.   fonts in it on the EPROM chip.
  555.  
  556.   If you use PostScript, you should download soft fonts to the printer
  557.   (you can always use the ``earlier mentioned'' Web fonts for that.
  558.   These fonts are also useable with Ghostscript).
  559.  
  560.   If you have a PCL printer (LaserJet etc.), you can either use font
  561.   cartridges or use Ghostscript.
  562.  
  563.   8.  Commercial products.
  564.  
  565.   8.1.  El-Mar software.
  566.  
  567.   The Hebrew Support for X-Windows & Motif, is a product of El-Mar
  568.   Software, which adds Hebrew functionality to many of the parts and
  569.   layers of X-Windows and Motif, including Xlib, all of the widgets of
  570.   Motif, hterm (Hebrew xterm), demos and simple useful applications
  571.   (e.g. bi-lingual Motif-based editor), fonts (including scalable
  572.   Type1), keyboard-manager in order to allow Hebrew and push-mode for
  573.   non-Motif applications, etc.
  574.  
  575.   Despite allowing many new features and variations for Motif widgets,
  576.   the support doesn't have any modification to internal data-structures
  577.   of Motif, so existing applications which were compiled and linked
  578.   under non-Hebrew environment and libraries, can be relinked (without
  579.   compilation!) and run with Hebrew (you can replace shared-libraries,
  580.   so even the relink is not needed!)
  581.  
  582.   By using another tool of us, Motif/Xplorer, you can take commercial
  583.   applications (without their source) and translate them to Hebrew. This
  584.   was the way of giving Hebrew support for Oracle Forms 4, Intellicorp's
  585.   Kappa and OMW, CA-Unicenter, and many other leading UNIX tools sold in
  586.   Israel. This product was purchased and adopted by most of the
  587.   workstation vendors (9 of them, including the biggest: Sun, HP, SGI),
  588.   and many other software houses.  There are Makefiles for more than 30
  589.   platforms and operating systems.
  590.  
  591.   We believe only in open software, so all the customers get the
  592.   compelete source code. We have good relations with the leading forces
  593.   in this industry, including the technical staff of X-Consortium and
  594.   the technical staff of COSE.
  595.  
  596.        Eli Marmor
  597.        El-Mar Software Ltd.
  598.        Voice: 050-237338
  599.        FAX: 09-984279
  600.  
  601.   marmor@sunshine.cs.biu.ac.il
  602.  
  603.   P.S.: The announcement of the Arabic Support for X-Windows & Motif, is
  604.   expected in January. English, Hebrew, and Arabic will be handled by 8
  605.   bits (!), including the full set of Arabic glyphes.
  606.  
  607.   9.  Hebrew around the Internet.
  608.  
  609.   9.1.  WWW
  610.  
  611.   ╖  Jerusalem 1 - has many program and FAQ files about Hebrew on Unix
  612.      and other platforms http://www.jer1.co.il <http://www.jer1.co.il>.
  613.  
  614.   ╖  Gili Granot's Hebrew archive page - sumerize of all Hebrew related
  615.      issues around the Web (include all kind of files)
  616.      http://www.cs.technion.ac.il/~gil
  617.      <http://www.cs.technion.ac.il/~gil>.
  618.  
  619.   ╖  Gavrie has some info about Hebrew on his ftp site:
  620.      ftp://kelim.jct.ac.il <ftp://kelim.jct.ac.il>
  621.  
  622.   9.2.  Gopher
  623.  
  624.   ╖  A one word testing for Hebrew-gopher can be found on
  625.      gopher://shekel.jct.ac.il <gopher://shekel.jct.ac.il>
  626.  
  627.   9.3.  Ftp
  628.  
  629.   ╖  Some Tex-Xet programs and the main FTP site for Tex Hebrew support
  630.      for PC and Unix is at ftp://noa.huji.ac.il/tex
  631.      <ftp://noa.huji.ac.il/tex>.
  632.  
  633.   ╖  Horizon site as ``said allready'' contains the main site of
  634.      pine/pico Hebrew support - ftp://horizon.huji.ac.il/pub
  635.      <ftp://horizon.huji.ac.il/pub>.
  636.  
  637.   ╖  Gili Granot's Hebrew archive page ftp site is at
  638.      ftp://ssl.cs.technion.ac.il/pub <ftp://ssl.cs.technion.ac.il/pub>.
  639.  
  640.