Paulw.torchtrust signatureHi Paul, Here are the files I produced or changed. They are in a zip file because the LibLouis list did not accept dll fils as an attachment. The dll is 32 bits, I use 2 bytes for the widechar setting (short int). liblouis.dll, liblouis.lib and configure.mk are in the map windows, liblouis.h in the map windows\include, the other files (*.c) are in liblouis. liblouis.h was copied from liblouis.h.in with only a few lines changed. I did not use WIDECHAR_TYPE because it is used in a compiler directive in the makefile, but would have to be defined separately when the file is included in my program. lou_translateString.c I moved the lines int k; int goodTrans = 1; forward (function trace_translate), because it seems that declarations after a line “return 0;” are not accepted by my compiler (Visual Studio .net 2003). It gave errors similar to the errors reported by Bue. In logging.c I replaced vsnprintf by _vsnprintf as is the name of the function in Visual Studio. I hope this covers all the changes that I made in the code. This was only to get it working. Integrating with the Unix version would require more thought. Best Regards, Arend From: Paul Wood Sent: Wednesday, March 11, 2015 11:36 AM To: liblouis-liblouisxml@xxxxxxxxxxxxx Subject: [liblouis-liblouisxml] Re: letter indicator upate Hi Arend, It's Michael's version I want, thanks. If you send it to the list then others can have it if they want. I personally just need the dll 32-bit please. Thanks Paul On 11/03/2015 10:14, Arend Arends wrote: Hi Paul, Do you want the files for version 2.6.1 or for the version that Michael created? And should I send them to the list or to your personal address? I suppose you need liblouis.dll, liblouis.lib and liblouis.h. Arend From: Paul Wood Sent: Wednesday, March 11, 2015 10:31 AM To: liblouis-liblouisxml@xxxxxxxxxxxxx Subject: [liblouis-liblouisxml] Re: letter indicator upate Hi Arend, Could you let us have the dll you have managed to generate? I would like to start testing to see where with our general use there are still issues. Many Thanks Paul On 11/03/2015 09:17, Arend Arends wrote: Hi Michael, I finally got your version of LibLouis working (there are some small problems with using the current files in Windows that are also present in version 2.6.1 as Bue Vester-Andersen reported). As I suspected, the nocontractsign and numericnocontchars definitions are necessary also in en-ueb-g1.ctb because otherwise there would be no Grade 1 symbol indicator added after a sequence of digits, followed by a letter a-j. I moved the lines nocontractsign 56 numericnocontchars abcdefghij to en-ueb-g1.ctb and now it works correctly there too, see attachment. Arend Arends -----Oorspronkelijk bericht----- From: Michael Gray Sent: Monday, March 9, 2015 8:30 PM To: liblouis-liblouisxml@xxxxxxxxxxxxx Subject: [liblouis-liblouisxml] Re: letter indicator upate I hope the following answers any questions: How are nocontractsign and numericnocontchars used or defined in en-ueb-g1.ctb? I could not find them there. If defined there, they would not need to be defined in en-ueb-g2.ctb. They are defined only in en-ueb-g2.ctb as they do not seem necessary for grade 1. I would personally prefer to keep most of the old names of LibLouis keywords like letsign, capsign, begcaps, endcaps etc. even if they get a slightly different meaning. Maybe you can do that in a following stage after the changes have proven to be reliable. I felt that had I simply updated letsign to do the behavior that nocontractsign is doing, then it would seem to be confusing since nocontractsign goes beyond working with just letters. It works with the contraction opcode for any length of characters. Note that each letter except a, I, and o are defined as a contraction, so the letter opcodes are not needed. Is this intended primarily for UEB or also for other tables? I have tried my best to keep the new functionality UEB independent so that other tables can used them if needed. I have tried to set things up so that not defining these opcodes will cause LibLouis to revert back to its original behavior. For example I did not call the nocontractsign opcode grade1sign. Are these changes in keywords being reviewed and/or approved? Will the documentation be adapted? That is the reason I am posting to this mailing list MRG For a description of the software, to download it and links to project pages go to http://liblouis.org -- 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 ____________________________________________________ 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. -- 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 ____________________________________________________ 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.
Attachment:
mail.zip
Description: Zip compressed data