Dave recently pointed out the brltty-trtxt command for converting
among braille display codes. I have a unicode file I need to convert
to 8-dot brf. I attach here as "input".

Attachment: input
Description: Binary data

I tried running brltty-trtxt -o brf input > output
and got the attached output

Attachment: output
Description: Binary data

I think anything with dots 7 and 8 is being replaced by "replacement
character" which makes me suspect the conversion is using a 6-dot brf
file. I see there is an 8-dot brf display table at
text_nabcc.dis
First, am I diagnosing the problem correctly? If so, can I substitute
the 8-dot brf display table?
I tried:
brltty-trtxt -o /usr/share/liblouis/tables/text_nabcc.dis input >output
which didn't work with llots of errors, presumably I was handing it a
display table when it wanted a text table.
I could hack something together to do this but I suspect it's a job
brltty has already done better.
Pointers welcome.
thanks in advance
Peter
-- 
Peter Rayner (he/him)
My work days are Monday-Thursday, responses at other times might be slow.
The Superpower Institute <https://www.superpowerinstitute.com.au/>
Level 3 105 Victoria St. Fitzroy 3065
Transparent, actionable and auditable data on Australia's methane emissions 
<https://openmethane.org>
mobile +61 402 752 379
zoom id 4431343191, join at  
<https://unimelb.zoom.us/j/4431343191?pwd=a1E5Z3JEOTRVQUJsaVdRbVUvR1QyZz09>
mail-to: [email protected]
google scholar: 
<https://scholar.google.com.au/citations?user=H3up71wAAAAJ&hl=en>
I acknowledge the Traditional Custodians of the land on which I work, the 
Wurundjeri people of the Kulin nation, and pay my respect to their Elders, past 
and present
I am sending this email when convenient for me, please only respond when 
convenient for you
_______________________________________________
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: [email protected]
For general information, go to: http://brltty.app/mailman/listinfo/brltty

Reply via email to