[Enhancement] Add PDF TOC Title, More Margin Options and ePub TOC Heading 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I want to suggest three enhancements, which, for me at least, would greatly improve Calibre.
Firstly, it would be useful to specify a TOC title for the PDF output. The ePub and Mobi output both have the ability to specify a title for the table of contents, but the PDF is still missing that feature. If I'm not mistaken, this shouldn't be too hard to implement either.
Secondly, it would be great to have more options when it comes to margins in the PDF output. It's great to be able to specify the left and right margin of the PDF output, but it would be nice to overwrite it with inside and outside margins. In a PDF, inside margins are those on the inside when two opposite pages are shown together (e.g. page 2 and 3). Outside margins are the ones on the outside. It's just another way of looking at the margins and useful if the book is intended for printing an actual book. This might be harder to implement as the PDF engine may need to be altered a bit.
Thirdly, it would be nice to have a heading 1 tag (<h1>) for the title of the ePub TOC output. Currently the output plugin puts the title within a heading 2 tag (<h2>).
Thanks if you choose to implement any of those enhancements!
Option to set pdf toc title will be in next release.
You can style the title for epub/azw3 output however you like using
extra css. Use Tweak Book to see the html/css used for the title. IIRC,
it is:
#calibre_ generated_ inline_ toc h2 {
whatever
}