[liblouis-liblouisxml] Re: Difficulty with the context opcode.

  • From: "Michael Whapples" <dmarc-noreply@xxxxxxxxxxxxx> (Redacted sender "mwhapples" for DMARC)
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Mon, 2 Jan 2017 10:38:20 +0000

OK, I wasn't certain and now you mention getting repeated dots 56 for that first rule I think I had a similar issue when creating a different rule.


I have done a bit more looking at it and my original suggestion of @56* was wrong, it appears that can be used in the third column. So yes your original suggestion looks correct.


Using your original rules could you try it in lou_trace and see whether your rule is being picked up or not.


I created a similar rule to what you describe and whilst the rule was applied I got something rather unexpected in the output which suggests a bug in LibLouis. Would be good to see what you get to confirm its not something strange specific to my system.


Michael Whapples

On 02/01/2017 08:43, Dave Mielke wrote:

[quoted lines by Michael Whapples on 2017/01/02 at 08:28 +0000]

I think that for the first of the context rules you gave it would
need to be specified as:

context `[]%englishLetter @56
That gives me a zillion dots 56 cells. Yes, I really do mean a zillion. I
didn't count them, but it's a huge nubmer of them. My input, by the way, is:

    abc def

If the second column has no brackets then I think it is assumed the brackets
surround the whole of the second column.
Doing it that way gives me dots 56 followed by the second letter (so the first
character is missing). Same with the second rule done that way (no brackets).


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

Other related posts: