| 1 |
[[https://github.com/liblouis/liblouis/actions/workflows/main.yml][https://github.com/liblouis/liblouis/actions/workflows/main.yml/badge.svg]] |
| 2 |
[[https://github.com/liblouis/liblouis/actions/workflows/mingw.yml][https://github.com/liblouis/liblouis/actions/workflows/mingw.yml/badge.svg]] |
| 3 |
[[https://github.com/liblouis/liblouis/actions/workflows/emscripten.yml][https://github.com/liblouis/liblouis/actions/workflows/emscripten.yml/badge.svg]] |
| 4 |
[[https://api.securityscorecards.dev/projects/github.com/liblouis/liblouis][https://api.securityscorecards.dev/projects/github.com/liblouis/liblouis/badge]] |
| 5 |
|
| 6 |
* Introduction |
| 7 |
|
| 8 |
Liblouis is an open-source braille translator and back-translator |
| 9 |
named in honor of [[http://en.wikipedia.org/wiki/Louis_Braille][Louis Braille]]. It features support for computer and |
| 10 |
literary braille, supports contracted and uncontracted translation for |
| 11 |
[[https://github.com/liblouis/liblouis/tree/master/tables][many languages]] and has support for hyphenation. New languages can |
| 12 |
easily be added through tables that support a rule- or dictionary |
| 13 |
based approach. Tools for testing and debugging tables are also |
| 14 |
included. Liblouis also supports math braille (Nemeth and Marburg). |
| 15 |
|
| 16 |
Liblouis has features to support screen-reading programs. This has led |
| 17 |
to its use in two open-source screenreaders, [[http://www.nvda-project.org/][NVDA]] and [[http://live.gnome.org/Orca][Orca]]. It is also |
| 18 |
used in some commercial assistive technology applications for example |
| 19 |
by [[http://www.viewplus.com][ViewPlus]]. |
| 20 |
|
| 21 |
Liblouis is based on the translation routines in the [[http://mielke.cc/brltty/][BRLTTY]] |
| 22 |
screenreader for Linux. It has, however, gone far beyond these |
| 23 |
routines. In Linux and Mac OSX it is a shared library, and in Windows |
| 24 |
it is a DLL. |
| 25 |
|
| 26 |
Liblouis is free software licensed under the [[https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html][GNU LGPLv2.1+]] (see the |
| 27 |
file COPYING.LESSER). |
| 28 |
|
| 29 |
The command line tools, are licensed under the [[https://www.gnu.org/licenses/gpl.html][GNU GPLv3+]] (see the |
| 30 |
file COPYING). |
| 31 |
|
| 32 |
* Documentation |
| 33 |
|
| 34 |
For documentation, see the [[http://www.liblouis.io/documentation/liblouis.html][liblouis documentation]]. If you build |
| 35 |
liblouis from source you can get the documentation in various formats |
| 36 |
(either as info file, html, txt or pdf) in the doc directory, see the |
| 37 |
HACKING file for details. |
| 38 |
|
| 39 |
For examples of translation tables, see =en-us-g2.ctb=, |
| 40 |
=en-us-g1.ctb=, =chardefs.cti=, and other files in the tables |
| 41 |
directory which contains tables for many languages. |
| 42 |
|
| 43 |
* Installation |
| 44 |
|
| 45 |
After unpacking the distribution tarball from [[https://github.com/liblouis/liblouis/releases][releases]] go to the |
| 46 |
directory it creates. You now have the choice to compile liblouis for |
| 47 |
either 16- or 32-bit unicode. By default it is compiled for the |
| 48 |
former. To get 32-bit Unicode run configure with =--enable-ucs4=. |
| 49 |
|
| 50 |
After running =./configure= run =make= and then =sudo make install=. |
| 51 |
As a final step you might have to run =sudo ldconfig=. For other ways |
| 52 |
of installation, see the file HACKING. |
| 53 |
|
| 54 |
This will produce the liblouis library and the programs =lou_allround= |
| 55 |
(for testing the library), =lou_checkhyphens=, =lou_checktable= (for |
| 56 |
checking translation tables), =lou_debug= (for debugging translation |
| 57 |
tables), =lou_translate= (for extensive testing of forward and |
| 58 |
backwards translation) and =lou_trace= (for tracing if individual |
| 59 |
translations). For more details see the liblouis documentation. |
| 60 |
|
| 61 |
If you wish to have man pages for the programs you might want to |
| 62 |
install =help2man= before running configure. |
| 63 |
|
| 64 |
If you want to run the test suite with =make check= you should install |
| 65 |
=libyaml= as that will enable extensive tests on the tables. If you |
| 66 |
want to skip those tests you can do so by running =configure |
| 67 |
--without-yaml=. |
| 68 |
|
| 69 |
* Participating |
| 70 |
|
| 71 |
You can contribute to Liblouis in several different ways: |
| 72 |
|
| 73 |
- If you have comments, questions, or want to use your knowledge to |
| 74 |
help others, come join the conversation on either the mailing list |
| 75 |
or on IRC. You can reach us at [email protected] or |
| 76 |
in channel #liblouis on irc:irc.libera.chat. |
| 77 |
- To report a problem or request a feature, please file an issue. |
| 78 |
- Of course, we welcome pull requests and patches. |
| 79 |
|
| 80 |
Finally, if you want to see what we have for the future and learn more |
| 81 |
about our release cycles, all this information is detailed on the [[https://github.com/liblouis/liblouis/wiki/Release-schedule][wiki]] |
| 82 |
|
| 83 |
* Release Notes |
| 84 |
|
| 85 |
For notes on the newest and older releases see the file NEWS. |
| 86 |
|
| 87 |
* History |
| 88 |
|
| 89 |
Liblouis was begun in 2002 largely as a business decision by [[http://www.viewplus.com][ViewPlus]]. |
| 90 |
They believed that they could never have good braille except as part |
| 91 |
of an open source effort and knew that John Boyer was dying to start |
| 92 |
just such a project. So ViewPlus did start it on the agreement that |
| 93 |
they would give a small monthly stipend to John Boyer that allowed him |
| 94 |
to pay for sighted assistants. While ViewPlus has not contributed much |
| 95 |
to the coding, it certainly has contributed and continues to |
| 96 |
contribute to liblouis through that support of John Boyer. |