[liblouis-liblouisxml] Re: xml2brl - I'm confused!

  • From: "John J. Boyer" <john.boyer@xxxxxxxxxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Sun, 30 Mar 2008 18:35:12 -0500

Lars,

I cannot reproduce this error. The messages are coming from liblouis. 
Below is the configuration file I used for testing.
--------------------

outputFormat
        cellsPerLine 32
        linesPerPage 25
        interpoint no
        backFormat html
        hyphenate yes
translation
        literaryTextTable no-NO-g0.utb,hyph_no_NO.dic
        compbrlTable en-us-comp8.ctb
xml
        internetAccess no

--------------------

On Sun, Mar 30, 2008 at 10:11:37PM +0200, Lars Bjrndal wrote:
> This is really strange: I convert a html file with the following
> config file settings for xml2brl:
> 
> outputFormat
>       cellsPerLine 33
>       linesPerPage 29
>       pageEnd \f
>       interpoint yes
>       braillePages yes
>       backFormat html
>       hyphenate yes
> translation
>       literaryTextTable No-No-g1.ctb,hyph_no_NO.dic
>       compbrlTable en-us-comp8.ctb
> xml
>       internetAccess yes
>       newEntries yes
> style heading2
>       linesBefore 1
>       format centered
>       linesAfter 0
> style heading3
>         LinesBefore 1
>       LeftMargin 4
>       FirstLineIndent 0
> style heading4
>         LinesBefore 1
>       LeftMargin 0
>       FirstLineIndent 0
> style exercise2
>       leftMargin 4
>       firstLineIndent 0
> 
> That all works well.
> 
> However, I have some info I want in uncontracted braille, and I did
> the following change:
> 
>       literaryTextTable No-No-g0.utb,hyph_no_NO.dic
> 
> And no, I get lots of the following error message (and no other
> output): 
> 
> Cannot open contraction table 'hyph_no_NO.dic'
> 1 errors found.
> 
> If I omit the hyphenation, by setting hyphenate to no and omit the
> hyph_no_NO.dic table, it seems that the include no-gen.dis file with
> the display opcodes is not used. This file is included in
> No-No-g0.utb, and No-No-g0.utb is included by No-No-g1.ctb. And I
> really don't understand this!
> 
> Do some of you see the problem, and how I can solve it (in a hurry)?
> 
> Thanks 
> 
> Lars
> For a description of the software and to download it go to
> http://www.jjb-software.com

-- 
John J. boyer; President, Chief Software Developer
JJB Software, Inc.
http://www.jjb-software.com
Madison, WI USA
Developing software for people with disabilities

For a description of the software and to download it go to
http://www.jjb-software.com

Other related posts: