Fix lines in README.md

This commit is contained in:
mara 2021-12-10 00:57:21 +01:00
parent f7e33cf49d
commit a45d4922bb

View file

@ -11,15 +11,20 @@ cd zine_maker
## Requirements ## Requirements
You need either python2 or python3 running on the computer You need either python2 or python3 running on the computer
https://www.python.org/downloads/ https://www.python.org/downloads/
And also the pip command And also the pip command
https://pip.pypa.io/en/stable/installation/ https://pip.pypa.io/en/stable/installation/
Once these are installed, from within zine_maker run: Once these are installed, from within zine_maker run:
`pip install -r requirements.txt` `pip install -r requirements.txt`
## For merging the cover.pdf, body.pdf and colophon.pdf there are many pdf merger tools, ## For merging the cover.pdf, body.pdf and colophon.pdf there are many pdf merger tools,
one that is command line based is pdfunite one that is command line based is pdfunite
http://linux-commands-examples.com/pdfunite http://linux-commands-examples.com/pdfunite
from the terminal run: from the terminal run:
`pdfunite cover.pdf body.pdf colophon.pdf output.pdf` `pdfunite cover.pdf body.pdf colophon.pdf output.pdf`
## For shuffling the final pdf and prepare it for printing you need the pdfseparate command ## For shuffling the final pdf and prepare it for printing you need the pdfseparate command
@ -33,27 +38,33 @@ http://www.imagemagick.org/
`python doc_pdf.py ` `python doc_pdf.py `
OR OR
`python doc_pdf.py text/images.txt body/images.pdf` `python doc_pdf.py text/images.txt body/images.pdf`
OR add your text file and replace respectively OR add your text file and replace respectively
`python doc_pdf.py text/<your_file>.txt body/<output-name>.pdf` `python doc_pdf.py text/<your_file>.txt body/<output-name>.pdf`
## To make the cover of the pdf ## To make the cover of the pdf
`python cover.py` `python cover.py`
OR OR
`python cover.py text/cover.txt covers/cover.pdf` `python cover.py text/cover.txt covers/cover.pdf`
OR add your text file and replace respectively OR add your text file and replace respectively
`python cover.py text/<your-cover>.txt covers/<cover-name>.pdf` `python cover.py text/<your-cover>.txt covers/<cover-name>.pdf`
## To make the colophon of the pdf ## To make the colophon of the pdf
`python cover.py ` `python cover.py `
OR OR
`python cover.py text/colophon.txt colophones/colophon.pdf` `python cover.py text/colophon.txt colophones/colophon.pdf`
OR add your text file and replace respectively OR add your text file and replace respectively
`python cover.py text/<your-colophon>.txt colophones/<output-colophon>.pdf` `python cover.py text/<your-colophon>.txt colophones/<output-colophon>.pdf`
## To prepare signatures for printing a small booklet ## To prepare signatures for printing a small booklet