Commit Graph

14 Commits

Author SHA1 Message Date
Lluís Alemany Puig 527216eb95
Optionally specify margin size #396 (#411)
Whoever wants to shrink the margins, they can now do so via the new
optional command line arguments

--geometry:left
--geometry:right
--geometry:top
--geometry:bottom

which are default options in pandoc (see pandoc's documentation
[here](https://pandoc.org/demo/example33/6.2-variables.html)).

Their default value is ''. These options are not passed to pandoc when
their value is ''.

The argument parser added can be extended easily with other pandoc's
argument options. If the new options' default value is '' then they will
not be passed to pandoc.
2025-08-30 15:04:00 +02:00
Alexander Overvoorde a5d2e8b620 Remove spaces from ebook filenames 2023-03-27 22:09:26 +02:00
Alexander Overvoorde 9ee1426c38 Clean up script and regenerate ebooks 2023-03-08 23:06:57 +01:00
Hristo Hristov 418558bb2e Minor tweaks 2023-02-22 23:23:08 +02:00
Hristo Hristov 3da8d07c86 Formatting 2023-02-22 23:16:53 +02:00
Hristo Hristov e935a359b2 More cleanup 2023-02-22 22:58:06 +02:00
Hristo Hristov 88ce6741d5 Renamed `build_ebook_v2.py` -> `build_ebook.py` 2023-02-22 22:48:35 +02:00
Hristo Hristov c3855b7912 Made scripts executable 2023-02-21 19:40:18 +02:00
Alexander Overvoorde d26fdba804 Add proper cover image to epub versions of ebook 2021-05-16 20:49:54 +02:00
Alexander Overvoorde 40f6eb34f5 Update ebook script to work with new Inkscape versions 2021-05-13 15:07:49 +02:00
Alexis Ronez db718f3b7c Just a little change in the script to make it nicer 2019-06-17 18:41:06 +02:00
feyleth 7404a3f8a6 add generation for multy language 2019-06-17 18:17:59 +02:00
Alexander Overvoorde 4beee51c24 Update ebooks and fix code overflowing in PDF (fixes #96) 2018-07-09 20:56:55 +02:00
Alexander Overvoorde 990aa2cc04 Update e-book and add proper build process for it 2017-11-28 23:59:12 +01:00