The latest UEBC rule list that I saw stated that contractions were indeed to be used in computer addresses. They are supposed to be treated the same as the literary text. If anyone has a fresher UEBC rule book please let me know. Also a contact is telling me that the UEBC now allows the lower-cell double letter contractions but my rulebook says otherwise. Anyone know if it is correct to use them or not in UEBC? Thanks Mike -----Original Message----- From: liblouis-liblouisxml-bounce@xxxxxxxxxxxxx [mailto:liblouis-liblouisxml-bounce@xxxxxxxxxxxxx] On Behalf Of John J. Boyer Sent: Monday, February 09, 2009 2:46 AM To: liblouis-liblouisxml@xxxxxxxxxxxxx Subject: [liblouis-liblouisxml] Re: liblouis infinite loop James, Computer braille translation is handled by the functions doCompbrl and doCompTrans in lou_translateString.c . There may also be a problem when a hyphen proceeds a string to be translated in computer braille. This is true even if there is a space. There is also some special code to handle the case where a joinableword proceeds something to be translated in computer braille, but I can't remember where that is at the moment. Does UEBC even have computer braille? I thought that what is computer braille in en-us-g2.ctb is simply uncontracted in UEBC. I'm not surprised that these problems don't occur in en-us-g2.ctb, because that's where the testing was done. Hope this helps, John On Mon, Feb 09, 2009 at 05:01:10PM +1000, James Teh wrote: > Hi all, > > Here is a very strange bug that is causing me grief at present. > > If I translate the string: > " - com.au" > with UEBC-g2.ctb (or UEBC-g1.utb,countries.cti), liblouis gets stuck in > an infinite loop. (countries.cti defines ".au" as a string that requires > compbrl.) > > Interestingly, this does not occur with en-us-g1.ctb. At a guess, this > could be because it translates " - " to "--". It *does* occur with > de-de-g2.ctb. > > Note that it seems to happen with any word beginning with com and > containing a compbrl opcode. For example: > " - comp.lang.python" > reproduces the bug as well. (This is what caused me to discover this in > the first place.) > > Any ideas where I might start looking to track this one down? I could > sort of understand it faling on a grade 2 table, but grade 1 tables > don't define contractions for "com", so this doesn't make any sense to me. > > -- > James Teh > Email/MSN Messenger/Jabber: jamie@xxxxxxxxxxx > Web site: http://www.jantrid.net/ > For a description of the software and to download it go to > http://www.jjb-software.com -- My websites: http://www.godtouches.org http://www.jjb-software.com Location: Madison, WI, USA For a description of the software and to download it go to http://www.jjb-software.com For a description of the software and to download it go to http://www.jjb-software.com