yegor256 / kdpcover

LaTeX class rendering a cover for a book published by Kindle Direct Publishing (KDP)
https://ctan.org/pkg/kdpcover
MIT License
14 stars 5 forks source link

Compilation fails #11

Closed lyderic closed 1 year ago

lyderic commented 1 year ago

I am trying to compile this very simple cover to test this package:

$ cat jane.tex
\documentclass[pages=442,6x9]{kdpcover}
\begin{document}
\putSpine{Jane - Un roman comme il faut}
\putTitle{Jane}
\putAuthor{Georges Minesson}
\end{document}

Notes:

Here is the command I ran and the (abbreviated) output (I also attach jane.log):

$ pdflatex jane.tex
[...]
(/usr/local/texlive/2022/texmf-dist/tex/latex/microtype/microtype.cfg

! LaTeX Error: The font size command \normalsize is not defined:
               there is probably something wrong with the class file.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              

l.75    }

Many thanks for looking at this!

L.

jane.log

yegor256 commented 1 year ago

@lyderic it was a bug, sorry. Now it's fixed, Try version 0.5.0. just do:

$ tlmgr update kdpcover
lyderic commented 1 year ago

Many thanks Yegor. I confirm it's working now. L.