[liblouis-liblouisxml] Re: ASCII Math Table

  • From: "Michael McDonald" <dmarc-noreply@xxxxxxxxxxxxx> ("mmcdonald")
  • To: "liblouis-liblouisxml@xxxxxxxxxxxxx" <liblouis-liblouisxml@xxxxxxxxxxxxx>
  • Date: Fri, 13 May 2022 20:09:27 +0000

I think starting to create a list of test cases is a great beginning step. I've 
been moving through the UEB Math tutorial to try and get a baseline of what is 
currently supported and what is not. I think I can pretty easily create a yaml 
file to expand on that testing.

As I have new to Liblouis, I'm not familiar with the test mechanisms.  Do they 
support forward and backwards tests?

Thanks,
Mike




________________________________
From: liblouis-liblouisxml-bounce@xxxxxxxxxxxxx 
<liblouis-liblouisxml-bounce@xxxxxxxxxxxxx> on behalf of Bert Frees 
<bertfrees@xxxxxxxxx>
Sent: Friday, May 13, 2022 4:23 AM
To: liblouis-liblouisxml@xxxxxxxxxxxxx <liblouis-liblouisxml@xxxxxxxxxxxxx>
Subject: [liblouis-liblouisxml] Re: ASCII Math Table

Hi Mike,

Very happy to hear this news. I'm sure it will be a challenge and I don't know
if it can be done without changes to Liblouis itself, but I'm happy to work with
you to make the table a success because it will be a very useful addition.

But first I need to understand the requirements a bit better.

I see support for the symbol grade 1 indicator, but not the word or passage
indicator.

I don't know. Can anyone confirm this? Does anyone know if Liblouis has tests
for it?

a numerator with multiple terms such as x+2 will need to have parentheses
added around the numerator, but not if it is a single term

Maybe we should start with some YAML tests (ASCIIMath input, braille output) to
make these examples more concrete. Without concrete examples it is hard to
experiment and find out what is missing from Liblouis.

Thanks,
Bert



Michael McDonald writes:

I'm working on an ASCII Math table for UEB and have a couple of questions.
I'm new to table development so I still don't have my head wrapped around all
of concepts and opcodes. I'm looking at forward and backwards translations.

Looking at the current UEB tables, I see support for the symbol grade 1
indicator, but not the word or passage indicator. Would these additions be
possible with the current opcodes, or would this require changes to Liblouis
itself?

Currently one of the biggest areas I'm running into some issues with is
complex and nested fractions. For example, a numerator with multiple terms
such as x+2 will need to have parentheses added around the numerator, but not
if it is a single term. I could always do some post processing by using
fraction begin and end indicators but was wondering if this would be possible
to do with Liblouis. Does anyone have an ideas how this might be achieved?

Thanks,
Mike

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

Other related posts: