[liblouis-liblouisxml] Re: Where is the computer braille indicator?

  • From: Gary Campbell <campg2003@xxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Mon, 30 Sep 2019 03:01:35 -0600

Hi James,

I don't remember the exact name of it, but the American Grade 2 that preceded UEB in the U.S., the one I grew up with.

Gary


On 9/30/2019 2:38 AM, James Bowden wrote:

Hi Gary,

Sorry, before attempting to answer your question, what braille code(s) are your 
files encoded in?

With best regards

James.


-----Original Message-----
From: liblouis-liblouisxml-bounce@xxxxxxxxxxxxx 
[mailto:liblouis-liblouisxml-bounce@xxxxxxxxxxxxx] On Behalf Of Gary Campbell
Sent: 28 September 2019 05:26
To: liblouis-liblouisxml@xxxxxxxxxxxxx
Subject: [liblouis-liblouisxml] Where is the computer braille indicator?

Hi,

My BrailleLite M20 died, and I need to backtranslate my files.  The M20 allows 
you to escape text from translation by surrounding it with dots 4-36 and 4-123. 
 You can also escape a single character with dot 4.


1.  Can I do what I want by changing the computer braille indicator in the 
table to those characters?  (I'll have to process the single-character escape 
to turn it into the 4-36 4-123 sequence.)  If so, where is the computer braille 
indicator defined.  I looked through en-us-g2.ctb and a couple of other files 
and did not find it.

2.  If that won't work, it looks like I could preprocess it to make XML for 
brl2file.  Is there a Windows binary for liblouisutdml and brl2file?

3.  Failing that, my brief look at the documentation suggests that I should be 
able to take __init__.py and setup.py from the python folder of the liblouis 
source and write a Python program to call

lou_backTranslateString to translate the strings between escapes and 
concatenate them with the escaped strings.  I assume there's no state that 
needs to be preserved across the escapes.  Will that work?

Is there a better simpler totally obvious way to do this that I've missed?

Any help greatly appreciated.


Thanks.

Gary Campbell


--

Celebrating 150 years of creating change for blind and partially sighted people.
To help us continue removing the barriers that can stop people with sight loss 
thriving, visit www.rnib.org.uk to donate.

--


DISCLAIMER:

NOTICE: The information contained in this email and any attachments is 
confidential and may be privileged.  If you are not the intended recipient you 
should not use, disclose, distribute or copy any of the content of it or of any 
attachment; you are requested to notify the sender immediately of your receipt 
of the email and then to delete it and any attachments from your system.

RNIB endeavours to ensure that emails and any attachments generated by its 
staff are free from viruses or other contaminants.  However, it cannot accept 
any responsibility for any  such which are transmitted.

We therefore recommend you scan all attachments.

Please note that the statements and views expressed in this email and any 
attachments are those of the author and do not necessarily represent those of 
RNIB.

RNIB Registered Charity Number: 226227

Website: https://www.rnib.org.uk
��u��*m���~�^�����޶�h�yhiحjwe�y,��k�7����z�(��m����&��org=
For a description of the software, to download it and links to
project pages go to http://liblouis.org

Other related posts: