Update README.md
This commit is contained in:
parent
3e2bf5fe1b
commit
c0fdeef11a
1 changed files with 13 additions and 5 deletions
18
README.md
18
README.md
|
|
@ -4,24 +4,32 @@ A set of BASH scripts for turning PDFs that contain multiple rolltables into Jso
|
|||
|
||||
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.
|
||||
|
||||
## I want to be able to use these scripts on x.pdf or y.pdf
|
||||
1. Open an issue in the issues tracker
|
||||
2. Either provide a copy of the pdf or a link to where it can be purchased
|
||||
3. Be patient (Depending on complexity and my leftover energy from everything else I do. The amount of time needed varies)
|
||||
4. profit
|
||||
|
||||
## Step 0
|
||||
|
||||
|
||||
## The Different Scripts and their order
|
||||
### Step 0
|
||||
```bash
|
||||
pdf2text something.pdf
|
||||
```
|
||||
turns pdf into text files
|
||||
|
||||
turns pdf into text files, the text files can then be parsed by my scripts
|
||||
|
||||
|
||||
## Step 1
|
||||
```bash
|
||||
greatSplitter.sh split
|
||||
step-0-Cleaner.sh inputfile [output path]
|
||||
```
|
||||
|
||||
This "detects" rolltables from the input file, and splits them into seperate files
|
||||
|
||||
This does however assume, that the source is cleaned beforehand and each empty line splits the rolltables (not very clean)
|
||||
the greatSplitter.sh has been replaced by step-0-Cleaner instead, as I found a way to do both in the same "step"
|
||||
|
||||
output still needs some cleaning though, hence the cleaner on Step 2, but Step 2 uses the individual outputs from Step 1
|
||||
|
||||
|
||||
## Step 2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue