macmillanpublishers / htmlmaker_js

Repo for testing and finalizing htmlmaker javascript implementation
0 stars 1 forks source link

Using sectionstart para contents for epub ncx/toc (including "notoc" instruction) #69

Closed mattretzer closed 7 years ago

mattretzer commented 7 years ago

@lsquill, please review, @ericawarren fyi :) I looked at doing this a couple of ways in the htmltohtmlbook script:

I went with the latter b/c leveraging the header meant I could leave the existing O'Reilly ncx.xsl intact, and this seemed like a reasonable use of the header element.

An accompanying PR will be submitted shortly from the bookmaker_addons repo; moving the header removal from epubmaker_preprocessing to epubmaker_postprocessing.

mattretzer commented 7 years ago

Approved in Asana task: https://app.asana.com/0/435955636292439/423253954875564