created the initial draft of a cleaner for the pure pdftotext output
This commit is contained in:
parent
b4891f3061
commit
523b0f3e82
2 changed files with 46 additions and 1 deletions
|
|
@ -2,12 +2,17 @@
|
|||
|
||||
A set of BASH scripts for turning PDFs that contain multiple rolltables into Json filess that can be imported in FoundryVTT 12-13
|
||||
|
||||
Initially these scripts are intended for "The book of random tables" series by Matt Davids, but will look into adding other sources as I find need for it.
|
||||
|
||||
|
||||
## Step 0
|
||||
```bash
|
||||
pdf2text something.pdf
|
||||
```
|
||||
turns pdf into text files
|
||||
|
||||
|
||||
|
||||
## Step 1
|
||||
```bash
|
||||
greatSplitter.sh split
|
||||
|
|
@ -21,7 +26,7 @@ This does however assume, that the source is cleaned beforehand and each empty l
|
|||
|
||||
## Step 2
|
||||
```bash
|
||||
fundrycleaner.sh dice|title|numbers|sort|lines|auto [inputFile] [outputFile]
|
||||
foundrycleaner.sh dice|title|numbers|sort|lines|auto [inputFile] [outputFile]
|
||||
```
|
||||
recommended is auto, as that performes all changes
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue