Skip to content

Latest commit

 

History

History
45 lines (29 loc) · 1.27 KB

TextToPef.md

File metadata and controls

45 lines (29 loc) · 1.27 KB

Table of Contents

Text to PEF

Converts a text braille file into a PEF-file.

Two arguments are required path to input file and path to output file.

The input file should be a "braille ready" text file, i.e. broken in rows an pages (using the form feed character), and using one unique character to represent each braille pattern.

Example:

dotify text2pef input.txt output.pef

Optional Arguments##

The following optional arguments are available:

  • mode
  • identifier
  • date
  • author
  • title
  • language

The options identifier, date, author, title and language all involve setting the meta data of the resulting file. It will not affect the contents of the file in any way.

Example:

dotify text2pef input.txt output.pef --date=2013-01-01

mode

Choose a table to use when converting. Note that, if a character is encountered in the file that isn't in the selected table, an error will occur. The default mode is to attempt to detect. If this fail, choose between the tables suggested in the detector failure message.

Example:

dotify text2pef input.txt output.pef --mode=nabcc

Switches

The following switches are available:

  • simplex

simplex

Creates a single sided PEF-file.

Example:

dotify text2pef input.txt output.pef -s