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

  • From: Bert Frees <bertfrees@xxxxxxxxx>
  • To: "liblouis-liblouisxml@xxxxxxxxxxxxx" <liblouis-liblouisxml@xxxxxxxxxxxxx>
  • Date: Thu, 5 Jan 2017 23:43:43 +0100

Hi Bue. As I explained earlier in this thread it's not a bug. Just the way
it works. The algorithm ends up in a loop. This is only the case when [] is
at the beginning of an expression. In other contexts it works indeed. Best
thing we can do is to add a check and raise a compilation error if this
occurs.


2017-01-05 19:27 GMT+01:00 Bue Vester-Andersen <bue@xxxxxxxxxxxxxxxxxx>:

Hmm, that definitely sounds like a bug to me, because the [] solution works
in other contexts, and it would be the logical way to do it.




-----Oprindelig meddelelse-----
Fra: liblouis-liblouisxml-bounce@xxxxxxxxxxxxx
[mailto:liblouis-liblouisxml-bounce@xxxxxxxxxxxxx] På vegne af Dave Mielke
Sendt: 4. januar 2017 19:53
Til: liblouis-liblouisxml@xxxxxxxxxxxxx
Emne: [liblouis-liblouisxml] Re: SV: Difficulty with the context opcode.

[quoted lines by Bue Vester-Andersen on 2017/01/04 at 19:36 +0100]

In stead of
  context `[%englishLetter] @56*
I would write
  context `[]%englishLetter @56

I am taking care not to replace the %englishLetter, but making an empty
bracket, I insert dots 56 immediately before.

Yes, it's a good theory, but I've already tried that and it doesn't work.
What I get is 256 @56 cells and nothing else.



Other related posts: