diff options
author | Karl Berry <karl@freefriends.org> | 2021-09-02 20:33:46 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-09-02 20:33:46 +0000 |
commit | 1d235f97591006894206c714f40043e262cff224 (patch) | |
tree | 2016f3855b81294a1c14236b8ad6a64048618f67 /Master/texmf-dist/doc | |
parent | d38ef59dba4fa1def34cd6aaad21f3682f4dc13e (diff) |
rm kdpbook, renamed to kdpcover
git-svn-id: svn://tug.org/texlive/trunk@60405 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r-- | Master/texmf-dist/doc/latex/kdpbook/DEPENDS.txt | 11 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/kdpbook/README.md | 35 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/kdpbook/kdpcover-signature.pdf | bin | 7256 -> 0 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/kdpbook/kdpcover-vol-1.pdf | bin | 8540 -> 0 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/kdpbook/kdpcover-vol-2.pdf | bin | 6504 -> 0 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/kdpbook/kdpcover-vol-3.pdf | bin | 7156 -> 0 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/kdpbook/kdpcover-vol-4.pdf | bin | 6723 -> 0 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/kdpbook/kdpcover.pdf | bin | 103975 -> 0 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/kdpbook/kdpcover.tex | 82 |
9 files changed, 0 insertions, 128 deletions
diff --git a/Master/texmf-dist/doc/latex/kdpbook/DEPENDS.txt b/Master/texmf-dist/doc/latex/kdpbook/DEPENDS.txt deleted file mode 100644 index 75af288d41d..00000000000 --- a/Master/texmf-dist/doc/latex/kdpbook/DEPENDS.txt +++ /dev/null @@ -1,11 +0,0 @@ -hard iexec -hard xkeyval -hard anyfontsize -hard tikz -hard microtype -hard xifthen -hard xcolor -hard graphicx -hard setspace -hard geometry -hard textpos diff --git a/Master/texmf-dist/doc/latex/kdpbook/README.md b/Master/texmf-dist/doc/latex/kdpbook/README.md deleted file mode 100644 index a3fe02d0f99..00000000000 --- a/Master/texmf-dist/doc/latex/kdpbook/README.md +++ /dev/null @@ -1,35 +0,0 @@ -[](https://github.com/yegor256/kdpcover/actions/workflows/latexmk.yml) -[](https://github.com/yegor256/kdpcover/blob/master/LICENSE.txt) - -This LaTeX class I use to format covers for [my books](https://www.yegor256.com/books.html), -which I sell [on Amazon](https://www.amazon.com/Yegor-Bugayenko/e/B01AM1QMDK). -The problem this class solves is [the necessity](https://kdp.amazon.com/en_US/help/topic/G201953020) -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`](http://qpdf.sourceforge.net/) tool. Obviously, -you need to have it installed. Also, you must -run `pdflatex` with the `--shell-escape` option, in order to allow LaTeX to run `qpdf`. - -First, [install it](https://en.wikibooks.org/wiki/LaTeX/Installing_Extra_Packages) -from [CTAN](https://ctan.org/pkg/kdpcover) -and then use in the preamble: - -```tex -\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} -``` - -The full example and all commands are available in the -[`kdpcover.tex`](https://github.com/yegor256/kdpcover/blob/master/kdpcover.tex) file. - -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. diff --git a/Master/texmf-dist/doc/latex/kdpbook/kdpcover-signature.pdf b/Master/texmf-dist/doc/latex/kdpbook/kdpcover-signature.pdf Binary files differdeleted file mode 100644 index af185666b22..00000000000 --- a/Master/texmf-dist/doc/latex/kdpbook/kdpcover-signature.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/kdpbook/kdpcover-vol-1.pdf b/Master/texmf-dist/doc/latex/kdpbook/kdpcover-vol-1.pdf Binary files differdeleted file mode 100644 index 8ccf53f5174..00000000000 --- a/Master/texmf-dist/doc/latex/kdpbook/kdpcover-vol-1.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/kdpbook/kdpcover-vol-2.pdf b/Master/texmf-dist/doc/latex/kdpbook/kdpcover-vol-2.pdf Binary files differdeleted file mode 100644 index 4dd3c14199e..00000000000 --- a/Master/texmf-dist/doc/latex/kdpbook/kdpcover-vol-2.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/kdpbook/kdpcover-vol-3.pdf b/Master/texmf-dist/doc/latex/kdpbook/kdpcover-vol-3.pdf Binary files differdeleted file mode 100644 index a554387e498..00000000000 --- a/Master/texmf-dist/doc/latex/kdpbook/kdpcover-vol-3.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/kdpbook/kdpcover-vol-4.pdf b/Master/texmf-dist/doc/latex/kdpbook/kdpcover-vol-4.pdf Binary files differdeleted file mode 100644 index a2d12b0d430..00000000000 --- a/Master/texmf-dist/doc/latex/kdpbook/kdpcover-vol-4.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/kdpbook/kdpcover.pdf b/Master/texmf-dist/doc/latex/kdpbook/kdpcover.pdf Binary files differdeleted file mode 100644 index 0b99980c107..00000000000 --- a/Master/texmf-dist/doc/latex/kdpbook/kdpcover.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/kdpbook/kdpcover.tex b/Master/texmf-dist/doc/latex/kdpbook/kdpcover.tex deleted file mode 100644 index 93b9f91eac2..00000000000 --- a/Master/texmf-dist/doc/latex/kdpbook/kdpcover.tex +++ /dev/null @@ -1,82 +0,0 @@ -% (The MIT License) -% -% Copyright (c) 2021 Yegor Bugayenko -% -% Permission is hereby granted, free of charge, to any person obtaining a copy -% of this software and associated documentation files (the 'Software'), to deal -% in the Software without restriction, including without limitation the rights -% to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -% copies of the Software, and to permit persons to whom the Software is -% furnished to do so, subject to the following conditions: -% -% The above copyright notice and this permission notice shall be included in all -% copies or substantial portions of the Software. -% -% THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -% IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -% FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -% AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -% LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -% OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -% SOFTWARE. - -\documentclass[pages=200,6x9]{kdpcover} -\begin{document} -% Here we put the vertical black spine line with two white elements -% inside: the text at the top and the logo at the bottom. Make sure -% the text is short enough so that it doesn't touch the logo. It's -% a good practice to mention the volume number at the end of the text, -% if you have more than one volume, e.g. "my book, vol. 1". I suggest -% using small caps in the text only. -\putSpine{kdpcover, a LaTeX class for KDP books} - -% This one prints the volume picture. It is intentionally made large, -% in order to make it obvious. -\putVolume{1} - -% Here we print the version and it will also add the date of the latest -% Git commit in the current directory. If it's not a Git repository, -% the date won't be printed. -\putVersion{0.2.1} - -% This prints the price, which is a good practice to mention, I believe. -\putPrice{\$0.00} - -% This one prints the copyright short message with the year and the -% name of the autor. -\putCopyright{\the\year}{Yegor Bugayenko} - -% Here we print the title of the book -\putTitle{kdpcover} - -% Here we print the author. -\putAuthor{Yegor Bugayenko} - -% Here we print the TL;DR paragraph, which summarizies the message -% of the entire book. -\putTLDR{I use this LaTeX class to design covers for my books published -by Kindle Direct Publishing; you also can do it, provided you like the layout and the style.} - -% The picture. -\putPicture{cactus.pdf} - -% This is the text on the back of the book, which usually I suggest -% to omit and keep the back empty and white. -\putBack{ - You need to either specify the number of pages - in your PDF book, or provide the path to the PDF. - In the latter case, the pages will be counted using - "qpdf," which has to be installed: - \newline\newline - \char`\\documentclass[pages=200,pdf=book.pdf]\string{kdpcover\string}\newline - \char`\\begin\string{document\string}\newline - \char`\\putSpine\string{my book\string}\newline - \char`\\end\string{document\string} - \newline\newline - See the file "kdpcover.tex" for a full example with all - available commands and class options. - \newline\newline - Even more details you can find on GitHub:\newline - https://github.com/yegor256/kdpcover -} -\end{document}
\ No newline at end of file |