[liblouis-liblouisxml] Re: en-us-g2.ctb fix and question.

  • From: Ken Perry <kperry@xxxxxxx>
  • To: "liblouis-liblouisxml@xxxxxxxxxxxxx" <liblouis-liblouisxml@xxxxxxxxxxxxx>
  • Date: Wed, 9 Oct 2013 01:26:25 +0000

Hmm what do you mean error I know people use double dashes in text now triple 
might be ridiculous but it might happen but I am not sure how the translation 
should work if it does.  I know in the English grade 1 tables it has a repeat 
code for more than three dashes.  I guess I will need to talk to one of our 
translators on the best method of dealing with this.  

Ken
-----Original Message-----
From: liblouis-liblouisxml-bounce@xxxxxxxxxxxxx 
[mailto:liblouis-liblouisxml-bounce@xxxxxxxxxxxxx] On Behalf Of John J. Boyer
Sent: Tuesday, October 08, 2013 5:53 PM
To: liblouis-liblouisxml@xxxxxxxxxxxxx
Subject: [liblouis-liblouisxml] Re: en-us-g2.ctb fix and question.

Multiple hyphens, as in 18--cell are an error. We shouldn't worry about whether 
they are translated correctly. Or you could use the correct opcode to try to 
fix it.

John

On Tue, Oct 08, 2013 at 06:43:21PM +0000, Ken Perry wrote:
> 
> The following two lines fix  a digit followed by a dash followed by a 
> character that is a digit in us-en-g2.
> 
> class letnum abcdefghij
> context _$d["-"]%letnum @36-56
> 
> The problem is if there are multiple dashes like:
> 
> 18-cell
> 18---cell
> 
> This does not fix it.  My questions are these.  First is the translation 
> write for something with multiple dashes. If yes is there a way in the 
> context test to suck up multiple dashs so it works like my fix for 18-cell?
> 
> Ken

--
John J. Boyer; President, Chief Software Developer Abilitiessoft, Inc.
http://www.abilitiessoft.com
Madison, Wisconsin USA
Developing software for people with disabilities

For a description of the software, to download it and links to project pages go 
to http://www.abilitiessoft.com
For a description of the software, to download it and links to
project pages go to http://www.abilitiessoft.com

Other related posts: