Calibre book footer remaining pages in section
Paste next text into Calibre Header Template:
<header style="justify-content: center;font-size:x-small"><div class="even_page">_AUTHOR_</div><div class="odd_page"><i>_TITLE_</i></div></header>
Paste next text into Calibre Footer Template:
<footer style="justify-content: center;font-size:x-small"><div></div><script>document.currentScript.parentNode.querySelector("div").innerHTML = ""+ _PAGENUM_ +" of " + _TOTAL_PAGES_ +" (" + parseInt(_PAGENUM_*100/_TOTAL_PAGES_) + "%) / " +_TOP_LEVEL_SECTION_PAGENUM_ + " of " + _TOP_LEVEL_SECTION_PAGES_ + " ("+ parseInt(_TOP_LEVEL_SECTION_PAGENUM_*100/_TOP_LEVEL_SECTION_PAGES_) +"%)"</script></footer>
Comments