Convert visible text in PlantUML to braille text.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Aamon Magnusson 547ed1f856 update readme 7 months ago
LICENSE Add license 10 months ago
README.md update readme 7 months ago
exe.sh Script to copy out put to clipboard 7 months ago
plantuml_braille Initial commit 10 months ago
plantuml_braille.py Initial commit 10 months ago
requirements.txt Add explaintation of library 10 months ago

README.md

plantuml_braille

Convert the visible text in plantuml (.puml) to braille.

Defualt configuration is:

plain text -> Canadian (8-dot) braille [en_CA.tbl] -> Unicode braille [unicode-braille.utb]

You must know the exact name of the table you want to use if you want to use any other braille table. On Linux, you can find the list of tables in: /usr/share/liblouis/tables/

Usage

$ ./plantuml_braille text_test.puml > braille_test.puml

Or the exe.sh script can be used to copy the output to the clipboard. (This does only work using X in Linux) The text version of the PUML file should be called text_diagram.puml.

$ ./exe.sh

Requirements

  • python (v3.6+)
    • louis (python library, in requirements.txt)
  • liblouis (usually called this in your repo packaes)

Contribution

Please send a pull request to the Github repo unless you work with Bytetools and have permissions.