From a6685df77fe05fdfa47c7119b96402a4404f0bb7 Mon Sep 17 00:00:00 2001 From: Mara Karagianni Date: Mon, 11 Mar 2024 11:33:48 +0800 Subject: [PATCH] Update README image --- README.md | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 4621e80..0f1b6cb 100644 --- a/README.md +++ b/README.md @@ -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 /.txt /.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/.jpg. 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 - -./images/printer_settings.png +![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 /.txt /.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/.jpg. 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