
Hi, James. If you are interested in seeing how ebookmaker works, all the code is here: https://github.com/gutenbergtools/ebookmaker Contributions, issue reports, and other input is most welcome! Project Gutenberg isn't planning on accepting hand-crafted EPUB or PDF files. Instead, we want to maintain just a small number of master formats, from which derivatives are made automatically. The master formats are HTML, plain text, RST, and TeX (sometimes also TEI). Derived formats include EPUB, MOBI, and HTML (only when plain text is the only master). I would value the ability to automatically create PDF as a derived format, preferably via modification to the ebookmaker application referenced above. Your general specifications for PDF seem reasonable to me. There are relatively few RST master files in Project Gutenberg (perhaps 700, versus 56,000+ HTML), so conversion to PDF would be most useful if it targeted all master formats, or minimally HTML as well as any others. Those are some thoughts on your inquiry. In general, I would consider the possibility of conversion from EPUB to PDF, not only from RST to PDF. The EPUB conversion seems to work fairly well, though I don't know that it meets all of your requirements. We are planning on integrating Calibre with ebookmaker for various conversions, and this might be a stepping stone to other functionality. - Greg Newby On Sun, May 17, 2020 at 03:09:10PM -0500, nicestep@gmail.com wrote:
I have made some printed books based on Project Gutenberg texts. One example:
https://www.amazon.com/Mahabharata-Book-I-Beginning/dp/1492299227/
What I ended up doing was importing the HTML version into Libre Office, saving it in the native format, adding styles, moving footnotes from the back of the texts to the bottoms of pages, etc. It was a lot of tedious work but the results were excellent.
I would like to make books like this from my own PG donations, which were done as RST files. I noticed that the PDF generated from my RST was surprisingly good. For one thing, the footnote were already at the bottoms of pages. There were things I didn't like about the PDF, but with a little work whatever generated it might make something suitable for publishing through Create Space, These are the kinds of changes I would make:
1. The page size should be 6" by 9", a standard trade paperback size.
2. The fonts should be larger, maybe 12 pt. I'd like to choose the fonts used, and add custom fonts for title pages, etc.
3. Margins should be suitable for Create Space (or whatever Amazon is calling it now).
I program computers for a living, so I could make these changes for myself with a few hints on what software is used to convert the RST to PDF format. I have found a utility that does that:
However, this does not give the result I want. It puts the footnotes at the end of the book, and there are other issues with it. The manual explains how to deal with some of them, but not the footnotes. So I am looking for some explanation of how the PG epub maker does this.
Thanks.
James Simmons
_______________________________________________ gutvol-d mailing list gutvol-d@lists.pglaf.org https://lists.pglaf.org/mailman/listinfo/gutvol-d Unsubscribe: https://lists.pglaf.org/mailman/options/gutvol-d