[liblouis-liblouisxml] Re: SV: help again!

  • From: "John J. Boyer" <john.boyer@xxxxxxxxxxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Tue, 14 Oct 2014 08:48:27 -0500

In en-us-g1.ctb this problem is handled by the following two rules.

context _$d["a"] @56-1
context _$d["A"] @56-1

John

On Tue, Oct 14, 2014 at 03:11:00PM +0200, Bue Vester-Andersen wrote:
> Hi Paul,
> 
>  
> 
> I haven't tested if it works, but you might try this:
> 
>  
> 
> before digit word a 56-1
> 
>  
> 
> The "word" opcode should ensure that it is only being used when the a is not
> grouped together with other letters.
> 
> You should also test it backwards, since you might run into trouble if the
> back-translator does not recognize that the next thing to come is a digit.
> 
>  
> 
> HTH Bue
> 
>  
> 
>  
> 
> Fra: liblouis-liblouisxml-bounce@xxxxxxxxxxxxx
> [mailto:liblouis-liblouisxml-bounce@xxxxxxxxxxxxx] På vegne af Paul Wood
> Sendt: 14. oktober 2014 14:33
> Til: Liblouis-Liblouisxml@Freelists. Org
> Emne: [liblouis-liblouisxml] help again!
> 
>  
> 
> Hi Guys,
> One of you clever people should know how to do this!
> The normal 'a' word doesn't have a letter sign, but if it's followed by a
> number for instance 3a, then it requires it in British braille. How do I
> define that?
> a is already defined as a largesign
> 
> I tried endnum but that didn't do anything.
> Thanks
> Paul
> 
> -- 
> 
> Paul Wood, Chief Technical Officer
> Torch Trust
> Torch House, Torch Way,
> Market Harborough, Leics. LE16 9HL, UK
> Direct Line: +44(0)1858 438269
> Tel: +44(0)1858 438260, Fax: +44(0)1858 438275
> Email: paulw@xxxxxxxxxxxxxx
> Website: www.torchtrust.org <http://www.torchtrust.org/> 
> 
> ____________________________________________________
> 
> Chief Executive: Dr Gordon Temple
> Charity No. 1095904
> 
> Privileged/Confidential Information may be contained in this message. 
> If you are not the intended recipient please destroy this message 
> and kindly notify the sender by reply email. The computer from which 
> this mail originates is equipped with virus screening software. 
> However Torch Trust cannot guarantee that the mail and its attachments 
> are free from virus infection.  
> 

-- 
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

Other related posts: