liblouis / liblouisutdml

An open-source library providing complete braille transcription services for xml, html and text documents
http://liblouis.io
GNU General Public License v3.0
24 stars 16 forks source link

Question - Is there any Python wrapper for liblouisutdml #73

Closed gonziee closed 3 years ago

gonziee commented 3 years ago

I have liblouis working under Python but could not get nemeth math to work, I just found out that this is not supported in liblouis and must be done in liblouisutdml with file2brl. Is there any chance to get a python wrapper for libluisutdml or are there technical limitations for this?

egli commented 3 years ago

Hi @gonziee

To my knowledge there is no python wrapper for liblouisutdml. You might want to ask on the mailing list if other people have been or are working on such a thing.

There is definitely a chance to get a python wrapper for libluisutdml. It's just that somebody has to do it :-). You could do it yourself or hire someone to do it for you. The API of libluisutdml is not that huge so it shouldn't be that much work. You can probably steal a lot of the boilerplate from the liblouis python bindings.

gonziee commented 3 years ago

Thanks @egli

Appreciate the confirmation, I will have a look how the wrapper for liblouis has been done, never done a c wrapper before but would be interesting to learn.

egli commented 3 years ago

@gonziee cool! Looking forward to your PR :-)