forked from brailleapps/dotify-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Joel Håkansson
committed
Nov 3, 2017
1 parent
21ffa26
commit ac011a2
Showing
10 changed files
with
158 additions
and
142 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,65 +1,73 @@ | ||
[Table of Contents](toc.md) | ||
|
||
# Generate a PEF-file # | ||
Generate a random PEF-file for testing purposes. | ||
Generates a random PEF-file for testing purposes. | ||
|
||
One argument is required: _path to output file_ | ||
|
||
<pre> | ||
Example:<br> | ||
dotify generate output.pef<br> | ||
</pre> | ||
Example: | ||
|
||
Optional arguments include: | ||
`dotify generate output.pef` | ||
|
||
## Optional Arguments ## | ||
The following optional arguments are available: | ||
* volumes | ||
* sections | ||
* pages | ||
* eightdot | ||
* rows | ||
* cols | ||
* duplex | ||
|
||
## Volumes ## | ||
### volumes ### | ||
Set the number of volumes to generate. | ||
|
||
<pre> | ||
Example:<br> | ||
dotify generate output.pef -volumes=3<br> | ||
</pre> | ||
Example: | ||
|
||
## Pages ## | ||
Set the number of pages in each volume. | ||
`dotify generate output.pef --volumes=3` | ||
|
||
<pre> | ||
Example:<br> | ||
dotify generate output.pef -pages=50<br> | ||
</pre> | ||
### sections ### | ||
Sets the number of sections in each volume. | ||
|
||
## Eight dot ## | ||
Set to true to include 8-dot patterns. | ||
Example: | ||
|
||
`dotify generate output.pef --sections=3` | ||
|
||
### pages ### | ||
Set the number of pages in each volume. | ||
|
||
Example: | ||
|
||
<pre> | ||
Example:<br> | ||
dotify generate output.pef -eightdot=true<br> | ||
</pre> | ||
`dotify generate output.pef --pages=50` | ||
|
||
## Rows ## | ||
### rows ### | ||
Set the maximum numbers of rows on a page. | ||
|
||
<pre> | ||
Example:<br> | ||
dotify generate output.pef -rows=29<br> | ||
</pre> | ||
Example: | ||
|
||
`dotify generate output.pef --rows=29` | ||
|
||
## Cols ## | ||
### cols ### | ||
Set the maximum number of characters on a row. | ||
<pre> | ||
Example:<br> | ||
dotify generate output.pef -cols=28<br> | ||
</pre> | ||
|
||
## Duplex ## | ||
Set the duplex property. | ||
<pre> | ||
Example:<br> | ||
dotify generate output.pef -duplex=true<br> | ||
</pre> | ||
|
||
Example: | ||
|
||
`dotify generate output.pef --cols=28` | ||
|
||
## Switches ## | ||
The following switches are available: | ||
* full-range (-f) | ||
* simplex (-s) | ||
|
||
### full-range ### | ||
Set to true to include 8-dot patterns. | ||
|
||
Example: | ||
|
||
`dotify generate output.pef -f` | ||
|
||
|
||
### simplex ### | ||
Creates a single sided PEF-file. | ||
|
||
Example: | ||
|
||
`dotify generate output.pef -s` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,19 @@ | ||
[Table of Contents](toc.md) | ||
|
||
# Merge several PEF-files # | ||
Merge several PEF files into one. | ||
Merges several PEF files into one. | ||
|
||
The purpose is to facilitating the use of PEF-files with braille editors that do not support multi volume files. | ||
|
||
Three arguments are required: _path to input folder_, _path to output file_ and identifier. | ||
|
||
Optional arguments include: | ||
## Optional Arguments ## | ||
The following optional arguments are available: | ||
* sort | ||
|
||
## Sort ## | ||
Set the sorting method to use when ordering files in the input folder. | ||
### Sort ### | ||
Set the sorting method to use when ordering files in the input folder. | ||
|
||
Example: | ||
|
||
`dotify merge /path/to/input /path/to/output identifier --sort=alpha` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,32 @@ | ||
[Table of Contents](toc.md) | ||
|
||
# PEF to Text # | ||
Convert a PEF-file document into a text braille file. | ||
Converts a PEF-file document into a text braille file. | ||
|
||
Two arguments are required _path to input file_ and _path to output file_. | ||
|
||
Optional arguments include: | ||
## Optional Arguments ## | ||
The following optional arguments are available: | ||
* range | ||
* table | ||
* breaks | ||
* fallback | ||
* replacement | ||
|
||
## Range ## | ||
### Range ### | ||
Output a range of pages. | ||
|
||
## Table ## | ||
### Table ### | ||
Set the table (character mapping) to use. | ||
|
||
## Breaks ## | ||
### Breaks ### | ||
Set the line break style. Most braille applications use DOS line breaks. | ||
|
||
## Fallback ## | ||
### Fallback ### | ||
Set the action to use if an eight dot pattern is encountered and the current table does not support eight dot: | ||
* mask | ||
* replace | ||
* remove | ||
|
||
## Replacement ## | ||
### Replacement ### | ||
Set the replacement character to use if an eight dot pattern is encountered and fallback is set to "replace". |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.