blob: 4958a7e1a46ff8cfe119dccd91c0d398de7a03bd [file] [log] [blame]
Christian Egli52f51b42014-04-25 12:29:27 +00001# Introduction
Christian Egli92277ee2014-04-17 13:05:00 +00002
Christian Eglic39a6672014-10-22 16:32:34 +02003[![Build Status](https://travis-ci.org/liblouis/liblouis.svg?branch=master)](https://travis-ci.org/liblouis/liblouis)
4
Christian Egli52f51b42014-04-25 12:29:27 +00005Liblouis is an open-source braille translator and back-translator
6named in honor of [Louis Braille][]. It features support for computer
7and literary braille, supports contracted and uncontracted translation
8for [many languages][] and has support for hyphenation. New languages
9can easily be added through tables that support a rule- or dictionary
10based approach. Tools for testing and debugging tables are also
11included. Liblouis also supports math braille (Nemeth and Marburg).
Christian Egli92277ee2014-04-17 13:05:00 +000012
Christian Egli52f51b42014-04-25 12:29:27 +000013Liblouis has features to support screen-reading programs. This has led
14to its use in two open-source screenreaders, [NVDA][] and [Orca][]. It
15is also used in some commercial assistive technology applications for
16example by [ViewPlus][].
Christian Egli92277ee2014-04-17 13:05:00 +000017
Christian Egli52f51b42014-04-25 12:29:27 +000018Liblouis is based on the translation routines in the [BRLTTY][]
19screenreader for Linux. It has, however, gone far beyond these
20routines. In Linux and Mac OSX it is a shared library, and in Windows
21it is a DLL.
Christian Egli92277ee2014-04-17 13:05:00 +000022
Christian Egli52f51b42014-04-25 12:29:27 +000023Liblouis is free software licensed under the [GNU Lesser GPL][] (see
24the file COPYING.LIB).
Christian Egli92277ee2014-04-17 13:05:00 +000025
Christian Egli52f51b42014-04-25 12:29:27 +000026The command line tools, are licensed under the [GNU GPL][] (see the
27file COPYING).
Christian Egli92277ee2014-04-17 13:05:00 +000028
Christian Egli52f51b42014-04-25 12:29:27 +000029# Documentation
Christian Egli92277ee2014-04-17 13:05:00 +000030
Christian Egli52f51b42014-04-25 12:29:27 +000031For documentation, see the [liblouis documentation][] (either as info
32file, html, txt or pdf) in the doc directory. For examples
33of translation tables, see `en-us-g2.ctb`, `en-us-g1.ctb`,
34`chardefs.cti`, and whatever other files they may include in the
35tables directory. This directory contains tables for many languages.
36The Nemeth files will only work with the sister library
37[liblouisutdml][].
Christian Egli92277ee2014-04-17 13:05:00 +000038
Christian Egli52f51b42014-04-25 12:29:27 +000039# Installation
Christian Egli92277ee2014-04-17 13:05:00 +000040
Christian Egli52f51b42014-04-25 12:29:27 +000041After unpacking the distribution tarball go to the directory it creates.
42You now have the choice to compile liblouis for either 16- or 32-bit
43unicode. By default it is compiled for the former. To get 32-bit Unicode
44run configure with `--enable-ucs4`.
Christian Egli92277ee2014-04-17 13:05:00 +000045
Christian Egli52f51b42014-04-25 12:29:27 +000046After running configure run `make` and then `make install`. You must
47have root privileges for the installation step.
Christian Egli92277ee2014-04-17 13:05:00 +000048
Christian Egli52f51b42014-04-25 12:29:27 +000049This will produce the liblouis library and the programs `lou_allround`
50(for testing the library), `lou_checkhyphens`, `lou_checktable` (for
51checking translation tables), `lou_debug` (for debugging translation
52tables), `lou_translate` (for extensive testing of forward and
53backwards translation) and `lou_trace` (for tracing if individual
54translations). For more details see the liblouis documentation.
Christian Egli92277ee2014-04-17 13:05:00 +000055
Christian Egli52f51b42014-04-25 12:29:27 +000056If you wish to have man pages for the programs you might want to
57install `help2man` before running configure.
Christian Egli92277ee2014-04-17 13:05:00 +000058
Christian Egli52f51b42014-04-25 12:29:27 +000059# Release Notes
Christian Egli92277ee2014-04-17 13:05:00 +000060
Christian Egli52f51b42014-04-25 12:29:27 +000061For notes on the newest and older releases see the file NEWS.
Christian Egli92277ee2014-04-17 13:05:00 +000062
Christian Egli52f51b42014-04-25 12:29:27 +000063# History
Christian Egli92277ee2014-04-17 13:05:00 +000064
Christian Egli52f51b42014-04-25 12:29:27 +000065Liblouis was begun in 2002 largely as a business decision by
66[ViewPlus][]. They believed that they could never have good braille
67except as part of an open source effort and knew that John Boyer was
68dying to start just such a project. So ViewPlus did start it on the
69agreement that they would give a small monthly stipend to John Boyer
70that allowed him to pay for sighted assistants. While ViewPlus has not
71contributed much to the coding, it certainly has contributed and
72continues to contribute to liblouis through that support of John
73Boyer.
Christian Egli92277ee2014-04-17 13:05:00 +000074
Christian Egli52f51b42014-04-25 12:29:27 +000075[Louis Braille]: http://en.wikipedia.org/wiki/Louis_Braille
Christian Egli2ab024f2014-08-27 16:34:17 +020076[many languages]: https://github.com/liblouis/liblouis/tree/master/tables
Christian Egli52f51b42014-04-25 12:29:27 +000077[NVDA]: http://www.nvda-project.org/
78[Orca]: http://live.gnome.org/Orca
79[ViewPlus]: http://www.viewplus.com
80[BRLTTY]: http://mielke.cc/brltty/
81[GNU Lesser GPL]: https://www.gnu.org/licenses/lgpl.html
82[GNU GPL]: https://www.gnu.org/licenses/gpl.html
Christian Egli2ab024f2014-08-27 16:34:17 +020083[liblouisutdml]: http://www.liblouis.org/
Christian Egli52f51b42014-04-25 12:29:27 +000084[liblouis documentation]: http://www.liblouis.org/documentation/liblouis.html
Christian Egli92277ee2014-04-17 13:05:00 +000085
Christian Egli52f51b42014-04-25 12:29:27 +000086<!-- Local Variables: -->
87<!-- mode: markdown -->
88<!-- End: -->