View Single Post
Old 07-31-2016, 04:23 PM   #3
NullNix
Guru
NullNix ought to be getting tired of karma fortunes by now.NullNix ought to be getting tired of karma fortunes by now.NullNix ought to be getting tired of karma fortunes by now.NullNix ought to be getting tired of karma fortunes by now.NullNix ought to be getting tired of karma fortunes by now.NullNix ought to be getting tired of karma fortunes by now.NullNix ought to be getting tired of karma fortunes by now.NullNix ought to be getting tired of karma fortunes by now.NullNix ought to be getting tired of karma fortunes by now.NullNix ought to be getting tired of karma fortunes by now.NullNix ought to be getting tired of karma fortunes by now.
 
Posts: 929
Karma: 15576314
Join Date: Jan 2013
Location: Ely, Cambridgeshire, UK
Device: Kindle Oasis 3, Kindle Oasis 1
Quote:
Originally Posted by kovidgoyal View Post
You want to put chapter titles in the header, look at the manual, it has examples of doing that.

http://manual.calibre-ebook.com/conv...verting-to-pdf

See the use of _SECTION_
Oh ho! The question now is... was this introduced in the last week or two, or can I just not read? I've been more or less *living* on that page and in the PDF template substitution code and completely failed to notice the existence of _SECTION_ at all. ... but then given that I also overlooked odd_page and even_page I think I simply missed it.

Calibre is, as ever, the king of pre-emptive feature additions! and also of stunningly fast responses to questions

I needed to do a few regex substitutions on it (don't want the chapter number in there, if there is one) but that works very well, thank you!
NullNix is offline   Reply With Quote