[liblouis-liblouisxml] Re: configtweak, I suppose this is a bug

  • From: Paul Wood <paulw@xxxxxxxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Mon, 4 Jul 2016 17:01:43 +0100

I know this doesn't FIX the bug, but what I have found is a) I can reproduce the error and b) if no text is within the <h4 class='cont' /> then the extra text which is, I have confirmed, the text from the third parameter is not added to the result. I imagine the programmer didn't think that text would be present for the specified xml element used to call the 'configtweak'. Can anyone remember who programmed this, maybe they can shed some light on how to solve this prob?

Cheers
Paul


On 03/07/2016 20:49, Lars Bjørndal wrote:

I'm not sure if anyone are currently working on liblouisutdml. Even
though, I'd like to repport something that I think is a bug.

I'm processing a HTML document with file2brl. In the html.sem file I
have the following line:

configtweak h4,class,cont literaryTextTable=no-g1.ctb

When I process the HTML document, I get a line

literaryTextTable=no-g1.ctb

converted into literary braille, at the point wher <h4
class="cont">Heading text</h4> is placed, directly followed by the
"Heading text". All text after this point is perfectly set according to
the table I specified. The problem is that the literaryTextTable=... is
printed out.

If I do things correctly, and this is a bug, it would be great if it
could be fixed.

Thanks and regards,

Lars
For a description of the software, to download it and links to
project pages go to http://liblouis.org

--
Paulw.torchtrust signature

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

Other related posts: