Skip to content
cjshawMIT edited this page Mar 30, 2018 · 1 revision

If you include a bibliography but would like it to not appear on the sidebar navigation menu, you can flag it as a bibliography in the ePub metadata, and content player will instead open the page with a button in the footer. The text used in this button changes with the <dc:language> setting of the ePub.

Content player screenshot showing the "Citations" button highlighted

When the drawer is opened, the specified page will appear as a drawer on the right-hand side of the screen:

Bibliography drawer sliding in from the right-hand side of the viewport

Configuration Instructions

To flag it as a bibliography, there are two changes you need to make.

  1. In the Citation.html page, change the epub:type from chapter to bibliography. So the section tag would look like: <section epub:type="bibliography">.
  2. In content.opf, in the guide section, add an entry for the bibliography, so it looks like the following. The href of the reference MUST match the src of the content tag, in the toc.ncx file's navPoint tag that corresponds to the citation page:

content.opf

<guide>
  <reference type="toc" title="Table of Content" href="Text/nav.html"/>
  <reference type="bibliography" title="Citations" href="Text/Citation.html"/>
</guide>

toc.ncx

<navPoint id="navPoint9">
  <navLabel>
    <text>Citation</text>
  </navLabel>
  <content src="Text/Citation.html"/>
</navPoint>

NOTE: you should leave the Citation.html page in the content.opf's spine section, so that other ePub readers still display the citations properly.

Clone this wiki locally