[BRLTTY] Liblouis braille tables in brltty

Dave Mielke dave at mielke.cc
Sat Oct 10 23:39:57 EDT 2009


[quoted lines by Sergei V. Fleytin on 2009/10/10 at 20:31 +0400]

>I just wonder if it is possible touse in brltty braille tables from 
>liblouis? 

Yes, and no. The software to load a liblouis braille table comes with the 
brltty source but isn't included within the brltty executable. It is, however, 
part of brltty's ttbtest utility, so it's possible to convert a liblouis 
braille table to a brltty text table. Support for liblouis braille tables is 
incomplete in that it doesn't support characters which require more than one 
braille cell.

>And, if it is possible, can anyone tell me, how to do that?

First, you need to download and configure a brltty source tarball. See brltty's 
download page for details, and do feel free to ask if anything isn't clear. The 
quick summary is:

   # use your web browser to download the latest release (4.1) of brltty
   tar xfz /path/to/brltty-4.1.tar.gz
   cd brltty-4.1
   ./configure -q

Alternatively, you could check out the latest development source from brltty's 
source repository, and then prepare and configure it. The quick summary is:

   svn checkout svn://mielke.cc/svn/main/brltty
   cd brltty
   ./autogen
   ./configure -q

Next, you need to make the ttbtest utility. You do that like this:

   cd Programs
   make -s ttbtest
   # this will create the ttbtest executable within the Programs subdirectory

Now you can convert the table, like this:

   /path/to/ttbtest-executable -T/path/to/liblouis-directory name.ctb name.ttb

liblouis-directory is the directory containing the liblouis braille tables.
name.ctb is the liblouis braille table that you'd like to convert.
name.ttb is the brltty text table which will be created.

The brltty text table is created within the current working directory.

-- 
Dave Mielke           | 2213 Fox Crescent | The Bible is the very Word of God.
Phone: 1-613-726-0014 | Ottawa, Ontario   | 2011 May 21 is the Day of Judgement.
EMail: dave at mielke.cc | Canada  K2A 1H7   | 2011 Oct 21 is the End of the World.
http://FamilyRadio.com/                   | http://Mielke.cc/bible/


More information about the BRLTTY mailing list