macmillanpublishers / htmlmaker_js

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

For an epub with only one Chapter, set its default ncx entry to 'Begin Reading' #48

Closed mattretzer closed 7 years ago

mattretzer commented 7 years ago

In this test manuscript, when we restyled and removed the ChapTitleNonPrinting, the auto-inserted h1 is just called 'Chapter', and that's what ends up in the ncx. We may want to set that to 'Begin Reading' for a book with only one Chapter... or is that more trouble than it's worth / a non-optimal outcome in cases with Sections like Intro-Chapters & Prefaces?

MacmillanWorkflows commented 7 years ago

➤ 9491251705208 commented:

This is turned off intentionally, for the editor to do: https://github.com/macmillanpublishers/bookmaker_addons/blob/c225e1502e8e216ec29fc6b09b0a71e40de2fdb3/epubmaker_preprocessing.js#L75-L77