Hello Vincent,
Out of curriousity, what language is this for?
Warm regards,
Alex
Alex Jurgensen
President
Camp Bowen Society for the Visually Impaired
A Chapter of the Canadian Council of the Blind
Fostering Independence Through Friendship
www.campbowen.ca
+1 (604) 947-0021
+1 (844) MYBOWEN (692-6936)
On Apr 18, 2018, at 9:12 AM, Vincent LE GOFF <vincent.legoff.srs@xxxxxxxxx>
wrote:
Hi everyone,
I'm in for a new attempt, here to answer a new tricky need. So roughly, is
there a way to create a new Braille context? Here's some more explanation.
We have roughly two classes of characters. These can have the same dots. A
common example:
lowercase a 1
uppercase A 1
These are two rules with the same dot, but the uppercase uses the capsletter
prefix before. Is that portable to more complex situations?
To take a more concrete example, if I want to create a Braille table for a
language that should support two alphabets at once, and there are not enough
Braille dots for both. Besides, both have clear specifications. So dot 1
could mean a (latin letter) and another letter from a different alphabet.
What I want is a way to distinguish them, so the user knows when it's one
alphabet or the other. The simple way to do that would be to insert special
dots to "mark" the end of a set of characters in an alphabet and the
beginning of a new one. If you read the text, you know it's in alphabet 1...
until you find, say, 123456, which tells you the next characters are in
alphabet 2, until you find another 123456... and so on.
That might be simple and easy to explain to users, but that's not simple to
do with Liblouis (or most Braille engines I've seen for that matter). I
would guess the easiest option would be to handle 123456 like a context
switcher, a switch that would change the display rules... but is that any
possible?
Thank you for your answer,
Vincent
For a description of the software, to download it and links to
project pages go to http://liblouis.org