Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 984 Bytes

README.md

File metadata and controls

36 lines (24 loc) · 984 Bytes

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.