Download   Online Shop   Red Hat Network
Home  |  Products & Services  |  Support  |  Training  |  Partners  |  Documentation   
Red Hat Documentation

Overview | HOWTOs | mini-HOWTOs | FAQs | Linux Man-Pages

Linux Belarusian HOWTO : Editing texts Next Previous Contents

3. Editing texts

3.1 Emacs

For most Linux distributions, emacs is able to display Belarusian characters out of box. However, the following conditions should satisfy:

  • Cyrillic iso-8859-5 fonts should be properly installed.
  • Emacs-mule package should be installed.

The user may want to change the default keyboard layout ("input method" in emacs slang) to jcuken. This feature is provided by belarusian.el along with some other goodies. Read the comments in the beginning of belarusian.el for details.

3.2 Spell-checking

  • If you do not have ispell 3.1.20, install it from any Linux distribution CD.
  • Download the package belspell.tar.gz. Unpack it and run
    buildhash belarusian.sml belarusian.aff belarusian.hash
    
  • Copy belarusian.hash to /usr/lib/ispell or wherever your ispell hash tables are.
  • in order to spell-check a file, type
    ispell -d belarusian yourfile.txt
    

Getting belarusian ispell dictionary working with emacs is a bit tricky.

  • Copy ispell.el and ispell.elc into your `$EMACSBIN/../lisp' directory.
  • Copy temporarily `$EMACSBIN/../lisp/loaddefs.el' to `/usr/src/emacs-XX.X/lisp/loaddefs.el' where XX.X stand for emacs version number.
  • Do `M-x update-file-autoloads RET' and enter the path to the ispell.el.
  • Copy back loaddefs.el
  • Restart emacs

3.3 TeX

from Aleksey Novodvorsky:

You need TeX + babel + T2, e.g. teTeX >= 1.0. in order to get partial support for Belarusian,

  • put babel.sty, belarusianb.ldf and belarusianb.sty into "/usr/share/texmf/tex/generic/babel"
  • run "texhash"
  • To use Belarusian in LaTeX: add the following lines in the preamble:
    \documentclass[belarusian]{article} \usepackage[cp1251]{inputenc}
    \usepackage{babel}
    
    or
    \documentclass[belarusian]{article} \usepackage[iso88595]{inputenc}
    \usepackage{babel}
    


Next Previous Contents

 

 
 
Search for:  on    Powered by Google
Products & Services   :   Download   :   Support   :   Training   :   Partners & Programs
© 2001 Red Hat, Inc. All rights reserved.       About Red Hat   :   Legal statement   :   Privacy statement   :   Y2K statement   :   Contact Red Hat