Update README image

This commit is contained in:
Mara Karagianni 2024-03-11 11:33:48 +08:00
parent 521c8fbdf6
commit a6685df77f

View file

@ -15,7 +15,7 @@ unzip zinme_maker.zip -d /home/user/destination
## OR use git clone:
```
git clone https://zine-push:glpat-ooaxH2xa9xRoZ23rwHsx@git.systerserver.net/mara/zine_maker.git
git clone https://developer:glpat-38qN45wE_xLiNv1q4n5F@git.systerserver.net/mara/zine_maker.git
cd zine_maker
```
@ -66,18 +66,30 @@ The python scripts `cover.py`, `body.py` and `colophon.py` take a text file as i
The pdf documents are saved in the `output` folder.
To make your own zine modify the text files for the cover, for the body and for the colophon in the input folder.
Or provide your own files with the full pathname:
for example run:
`python body.py <path>/<your-input-file>.txt <path>/<your-output-file>.pdf`
## Add images in the zine
You need to add in your input text file the path of your image.
For example if you add images in the `image` folder you can add them in the `input/body.txt` as `/images/<image-filename>.jpg<img>. You can also give the full path of your system font.
See the `input/images.txt` as an example of how to add images in your content.
## Final PDF
For merging the cover, body and colophon pdf files, there are many pdf merger tools. One that is command line based and is used in this tutorial is pdfunite
http://linux-commands-examples.com/pdfunite
from the root directory run:
`pdfunite covers/cover.pdf body/body.pdf colophons/colophon.pdf output/final.pdf`
```
pdfunite input/cover.pdf input/body.pdf input/colophon.pdf output/final.pdf
```
You shall substitute the file paths to your own corresponding /path/filenames
## See this readme as the generated pdf zine:
open the file output/zinemaker.pdf
open the file `output/zinemaker.pdf`
## Print
# Print
For preparing the final pdf for printing you need the pdfseparate command
http://www.linux-commands-examples.com/pdfseparate
@ -87,8 +99,7 @@ python book.py `output/final.pdf` `output/print_final.pdf`
```
## Prepare pages for printing
<img>./images/printer_settings.png<img>
![printer settings](./images/printer_settings.png)
In the printer settings opt-in for the following settings:
```
@ -97,16 +108,6 @@ In the printer settings opt-in for the following settings:
- Double side - short edge
```
To make your own zine modify the text files for the cover, for the body and for the colophon in the input folder.
Or provide your own files with the full pathname:
for example run:
`python body.py <path>/<your-input-file>.txt <path>/<your-output-file>.pdf`
## Add images in the zine
You need to add in your input text file the path of your image.
For example if you add images in the `image` folder you can add them in the `input/body.txt` as `<img>./images/<image-filename>.jpg<img>. You can also give the full path of your system font.
See the `input/images.txt` as an example of how to add images in your content.
# Miscellaneous
## Fonts