`
+
+Because doing this by hand would be very tedious, Melpomene comes with an helper script that allows generating that HTML for you from SVGs.
+
## Limitations
The following limitations are known and will be improved upon :
@@ -53,42 +64,25 @@ To create the zooms for a comic page, what you need to do is :
3. Once you are done, save the SGV
-## Generating the configuration files
+## Generating the HTML files
Once the SVG for your pages are done, put them in one folder. Then, you can run the zoom generator.
You need to open a terminal and then run :
-+ `python zooms_generator.py
`
The pages need to be in alphabetical order! It assumes the first page is page 1, the next one is page 2, etc..
-The script will then generate the file `zooms_data.json`.
+The script will then generate the file `melpomene_data.html`.
+
+If you wish to run a custom generation process, this generator can output a JSON or a JS file as well, run `python zooms_generator.py -h` for help
You are now ready to integrate Melpomene in your website!
-## Integrating Melpomene
-
-Let's assume your site is `https://my.website/`.
-
-You now need :
-1. Host the Melpomene Javascript and CSS files in your website, e.g. at `https://my.website/melptomene.js` and `https://my.website/melptomene.css`
-2. Host the zooms data on your website, e.g. at `https://my.website/zooms_data.js`
-2. Include the various parts of the HTML snipets :
- 1. `melpomene_head.html` goes in the `head` tag of your page
- * You may need to change the `href` values to where you uploaded the CSS file.
- 2. `melpomene_reader.html` goes where you want somewhere within the `body` tag of your page
- * Change `data-pages-width` and `data-pages-height` with the actual width and height of your pages
- * Change `https://link.to.my/comic/page.jpg` to the actual URL of your comic pages and duplicate the `img`
- tag for each of them
- 3. `melpomene_js.html` goes right after the `body` tag of your page.
- * You may need to change the `href` values to where you uploaded the JS files.
-
-You can now open your page and should see the results.
-
-If you are having troubles, you can open the demo files to see how it was done.
-
# Credits
Most examples and the documentation of Melpomene uses illustrations from David "Deevad" Revoy's "Pepper & Carrot" webcomic, which is published under CC-BY 4.0. Full licence [here](https://www.peppercarrot.com/en/license/index.html).
\ No newline at end of file
diff --git a/demos/pepper_and_carrot_e35_highres.html b/demos/pepper_and_carrot_e35_highres.html
index 10899ff..d2b5845 100644
--- a/demos/pepper_and_carrot_e35_highres.html
+++ b/demos/pepper_and_carrot_e35_highres.html
@@ -11,13 +11,10 @@
-
-
@@ -32,7 +29,6 @@
@@ -32,8 +29,6 @@
-
-
+
+