CTAN Comprehensive TeX Archive Network

Directory macros/latex/contrib/kdpcover

README.md

make CTAN License

This class I use to format covers for my books, which I sell on Amazon. The problem this class solves is the necessity to change the size of the cover PDF respectfully to the number of pages in the book — the bigger the book, the larger must be the cover. The provided class makes necessary calculations on-fly, using the qpdf tool. Obviously, you need to have it installed. Also, you must run pdflatex with the --shell-escape option, in order to allow to run qpdf.

First, install it from CTAN and then use in the preamble:

\documentclass[pdf=my-book.pdf]{kdpcover}
\begin{document}
% Here you print the cover as you wish, but I recommend
% you to use the commands available in the class, such as:
\putSpine{my book, vol. 1}
\putAuthor{Yegor Bugayenko}
\end{document}

If you want to contribute yourself, make a fork, then create a branch, then run make in the root directory. It should compile everything without errors. If not, submit an issue and wait. Otherwise, make your changes and then run make again. If the build is still clean, submit a pull request.

Download the contents of this package in one zip archive (434.0k).

kdpcover – Covers for books published by Kindle Direct Publishing

The problem this class solves is the necessity to change the size of the cover PDF according to the number of pages in the book — the bigger the book, the larger the spine of the book must be. The provided class makes the necessary calculations on-the-fly, using the qpdf tool. Obviously, you need to have it installed. Also, you must run pdflatex with the --shell-escape option, in order to allow to run qpdf.

Packagekdpcover
Bug trackerhttps://github.com/yegor256/kdpcover/issues
Repositoryhttps://github.com/yegor256/kdpcover
Version0.5.1 2022-11-30
LicensesMIT License
Copyright2021–2022 Yegor Bugayenko
MaintainerYegor Bugayenko
Contained inTeX Live as kdpcover
MiKTeX as kdpcover
TopicsDocument template
Covers
Class
Std conform
...
Guest Book Sitemap Contact Contact Author