blob: b34f4ac5c394cd4c9597c5a1f4e8c0c0bc7725c7 [file] [log] [blame]
Christian Egli52f51b42014-04-25 12:29:27 +00001# Introduction
Christian Egli92277ee2014-04-17 13:05:00 +00002
Christian Egli52f51b42014-04-25 12:29:27 +00003Liblouis is an open-source braille translator and back-translator
4named in honor of [Louis Braille][]. It features support for computer
5and literary braille, supports contracted and uncontracted translation
6for [many languages][] and has support for hyphenation. New languages
7can easily be added through tables that support a rule- or dictionary
8based approach. Tools for testing and debugging tables are also
9included. Liblouis also supports math braille (Nemeth and Marburg).
Christian Egli92277ee2014-04-17 13:05:00 +000010
Christian Egli52f51b42014-04-25 12:29:27 +000011Liblouis has features to support screen-reading programs. This has led
12to its use in two open-source screenreaders, [NVDA][] and [Orca][]. It
13is also used in some commercial assistive technology applications for
14example by [ViewPlus][].
Christian Egli92277ee2014-04-17 13:05:00 +000015
Christian Egli52f51b42014-04-25 12:29:27 +000016Liblouis is based on the translation routines in the [BRLTTY][]
17screenreader for Linux. It has, however, gone far beyond these
18routines. In Linux and Mac OSX it is a shared library, and in Windows
19it is a DLL.
Christian Egli92277ee2014-04-17 13:05:00 +000020
Christian Egli52f51b42014-04-25 12:29:27 +000021Liblouis is free software licensed under the [GNU Lesser GPL][] (see
22the file COPYING.LIB).
Christian Egli92277ee2014-04-17 13:05:00 +000023
Christian Egli52f51b42014-04-25 12:29:27 +000024The command line tools, are licensed under the [GNU GPL][] (see the
25file COPYING).
Christian Egli92277ee2014-04-17 13:05:00 +000026
Christian Egli52f51b42014-04-25 12:29:27 +000027# Documentation
Christian Egli92277ee2014-04-17 13:05:00 +000028
Christian Egli52f51b42014-04-25 12:29:27 +000029For documentation, see the [liblouis documentation][] (either as info
30file, html, txt or pdf) in the doc directory. For examples
31of translation tables, see `en-us-g2.ctb`, `en-us-g1.ctb`,
32`chardefs.cti`, and whatever other files they may include in the
33tables directory. This directory contains tables for many languages.
34The Nemeth files will only work with the sister library
35[liblouisutdml][].
Christian Egli92277ee2014-04-17 13:05:00 +000036
Christian Egli52f51b42014-04-25 12:29:27 +000037# Installation
Christian Egli92277ee2014-04-17 13:05:00 +000038
Christian Egli52f51b42014-04-25 12:29:27 +000039After unpacking the distribution tarball go to the directory it creates.
40You now have the choice to compile liblouis for either 16- or 32-bit
41unicode. By default it is compiled for the former. To get 32-bit Unicode
42run configure with `--enable-ucs4`.
Christian Egli92277ee2014-04-17 13:05:00 +000043
Christian Egli52f51b42014-04-25 12:29:27 +000044After running configure run `make` and then `make install`. You must
45have root privileges for the installation step.
Christian Egli92277ee2014-04-17 13:05:00 +000046
Christian Egli52f51b42014-04-25 12:29:27 +000047This will produce the liblouis library and the programs `lou_allround`
48(for testing the library), `lou_checkhyphens`, `lou_checktable` (for
49checking translation tables), `lou_debug` (for debugging translation
50tables), `lou_translate` (for extensive testing of forward and
51backwards translation) and `lou_trace` (for tracing if individual
52translations). For more details see the liblouis documentation.
Christian Egli92277ee2014-04-17 13:05:00 +000053
Christian Egli52f51b42014-04-25 12:29:27 +000054If you wish to have man pages for the programs you might want to
55install `help2man` before running configure.
Christian Egli92277ee2014-04-17 13:05:00 +000056
Christian Egli52f51b42014-04-25 12:29:27 +000057# Release Notes
Christian Egli92277ee2014-04-17 13:05:00 +000058
Christian Egli52f51b42014-04-25 12:29:27 +000059For notes on the newest and older releases see the file NEWS.
Christian Egli92277ee2014-04-17 13:05:00 +000060
Christian Egli52f51b42014-04-25 12:29:27 +000061# History
Christian Egli92277ee2014-04-17 13:05:00 +000062
Christian Egli52f51b42014-04-25 12:29:27 +000063Liblouis was begun in 2002 largely as a business decision by
64[ViewPlus][]. They believed that they could never have good braille
65except as part of an open source effort and knew that John Boyer was
66dying to start just such a project. So ViewPlus did start it on the
67agreement that they would give a small monthly stipend to John Boyer
68that allowed him to pay for sighted assistants. While ViewPlus has not
69contributed much to the coding, it certainly has contributed and
70continues to contribute to liblouis through that support of John
71Boyer.
Christian Egli92277ee2014-04-17 13:05:00 +000072
Christian Egli52f51b42014-04-25 12:29:27 +000073[Louis Braille]: http://en.wikipedia.org/wiki/Louis_Braille
Christian Egli2ab024f2014-08-27 16:34:17 +020074[many languages]: https://github.com/liblouis/liblouis/tree/master/tables
Christian Egli52f51b42014-04-25 12:29:27 +000075[NVDA]: http://www.nvda-project.org/
76[Orca]: http://live.gnome.org/Orca
77[ViewPlus]: http://www.viewplus.com
78[BRLTTY]: http://mielke.cc/brltty/
79[GNU Lesser GPL]: https://www.gnu.org/licenses/lgpl.html
80[GNU GPL]: https://www.gnu.org/licenses/gpl.html
Christian Egli2ab024f2014-08-27 16:34:17 +020081[liblouisutdml]: http://www.liblouis.org/
Christian Egli52f51b42014-04-25 12:29:27 +000082[liblouis documentation]: http://www.liblouis.org/documentation/liblouis.html
Christian Egli92277ee2014-04-17 13:05:00 +000083
Christian Egli52f51b42014-04-25 12:29:27 +000084<!-- Local Variables: -->
85<!-- mode: markdown -->
86<!-- End: -->