Mte90 / Contribute-to-opensource-the-right-way

Be a part of the open source world can be the 21 century skills that you deserve?
https://leanpub.com/contributetoopensource-therightway/
GNU General Public License v3.0
130 stars 6 forks source link

Proposal: switch build system to LaTeX #25

Closed d1nuc0m closed 2 years ago

d1nuc0m commented 2 years ago

Possible solution to #20 and to the problem of generating PDFs of #23. The leanpub Python package generates a PDF that in the metadata reports "Creator: LaTeX via pandoc, Producer: pdfTeX-1.40.24", while the PDF of the 2020.1 release reports "Creator: LaTeX with hyperref package, Producer: XeTeX 0.99999".

So, as leanpub looks like a kind of wrapper for LaTeX, what about switching to LaTeX without passing trough the additional steps? It would require more work initially, but would give way more control over the final result (and if I understood correctly, leanpub.com also accepts PDFs/ePubs created externally).

Mte90 commented 2 years ago

It is not possible. https://leanpub.com/ service has it is own standard and this book uses it, the script it is just a way to get the PDF version manually.

https://leanpub.com/contributetoopensource-therightway/ when everything is on the master I can generate some pre release version also in mobi and other formats. I don't want to have to deal with custom layouts and so on and just focus on the content so the service will generate by the repo files the definitive ebook.