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

  • From: Lars Bjørndal <lars@xxxxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Thu, 7 Jul 2016 20:22:31 +0200

Thank you. I'll have a look at it.

Lars

On Thu, Jul 07, 2016 at 10:59:50AM +0100, Paul Wood (Torch) wrote:

I don't know if this helps but we use the 'changetable' function for
abbreviations which just switches to the grade 1 table. Maybe that will
be suitable for your use case?

Paul

On 05/07/2016 20:58, Lars Bjørndal wrote:

On Mon, Jul 04, 2016 at 05:01:43PM +0100, Paul Wood wrote:

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?

Thank you for pointing this out. Yes <h4 class='cont' /> works. But
strangely not if the tag is closed with </h4>, like <h4 class='cont'></h4>.

Lars


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 [1][1]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: [[2]2]paulw@xxxxxxxxxxxxxx
Website: [3]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.

References

1. [3]http://liblouis.org/
2. [4]mailto:paulw@xxxxxxxxxxxxxx
3. [5]http://www.torchtrust.org/

For a description of the software, to download it and links to
project pages go to [6]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: [7]paulw@xxxxxxxxxxxxxx
Website: [8]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.

References

1. http://liblouis.org/
2. mailto:2]paulw@xxxxxxxxxxxxxx
3. http://liblouis.org/
4. mailto:paulw@xxxxxxxxxxxxxx
5. http://www.torchtrust.org/
6. http://liblouis.org/
7. mailto:paulw@xxxxxxxxxxxxxx
8. http://www.torchtrust.org/
For a description of the software, to download it and links to
project pages go to http://liblouis.org

Other related posts: