Sorry I realized after I sent it! Paul On 19/01/2012 2:53 PM, John J. Boyer wrote:
The message to which I reply in this one was sent both to me and to the list. Please do not do that. It is very confusing. Please keep all discusion on the list. Moderator ----- Forwarded message from "John J. Boyer"<john.boyer@xxxxxxxxxxxxxxxxx> ----- Subject: Re: [liblouis-liblouisxml] Re: Is liblouis capable of preparing the Norwegian bible for embossing? From: "John J. Boyer"<john.boyer@xxxxxxxxxxxxxxxxx> Date: Thu, 19 Jan 2012 08:46:47 -0600 To: Paul Wood<paulw.torchtrust@xxxxxxxxx> These are good things to know. I am wondering how liblouisutdml could be given such a capability. If a particular style were defined for Bible verses it would be a simple matter to keep track of the first and last on a page. The tag for that style would also have to have an attribute giving the book, chapter and verse. This would also be useful in translating doctionaries. It's another thing to be implemented to make the liblouis suite and BrailleBlaster the equal of any transcription package which can be bought. Finally, I would have much preferred if this discussion had been on the liblouis-liblouisxml list. Others might have ideas. Many would find it interesting and would learn from it. John On Thu, Jan 19, 2012 at 01:58:48PM +0000, Paul Wood wrote:Lars, We are also faced with this problem and I don't think that liblouis's formatter is capable, as John also says. I thought I had was to use Word or similar to automate the footer references from the verse and chapter numbers. I have done this for some Large Print Bible we did a couple of years ago. By using a fixed width font and creating a page the right size for your braille cells, this will format the main text. If you are using uncontracted braille then a series of search and replaces should create the translation, but before that the verse numbers, Chapter names& numbers need to be styled with a character style, this can be automated from the source file markup. Then using Word's footers and the first and last style references the correct verse references can be generated i.e. John 3:1-14 etc. It wasn't perfect as I had to correct when a change in chapter occured at the start of a page, but it saved a lot of work and I can let you have the footer code for Word. If it's contracted braille then it will get complicated to style the numbers etc. I presume you are not trying to also format the UBS way with verse numbers on a left hand column, as this is definately beyond anything I have seen that hasn't been specifically written for Bible formatting. We do have a transcriber who has written code in Fortran to do this from the UBS marked up file, but I don't know that programming language and when I looked at it it wasn't easy to follow. He might be willing to do your job, although he is quite elderly now. Please let me know how you get on, as I'd also like to crack this one as well! Regards Paul "John J. Boyer"<john.boyer@xxxxxxxxxxxxxxxxx> wrote:
-- Paul Wood, Technical Services Leader *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 <mailto: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.