macmillanpublishers / htmlmaker_js

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

Autojson #22

Closed mattretzer closed 7 years ago

mattretzer commented 7 years ago

Hi @nelliemckesson, This PR is to merge in the style_config.json exported from "WordTemplateStyles.xlsm".

Because there are differences in this json and the previous one, there were a few differences in my test output html files using one json or the other: with the new style_config.json (from the excel file) there were more inserted PageBreaks. So we may want to hold off on this PR and go over what needs to be updated in the Excel?

Also, I had to move the var footnotetextselector = ["div.footnote"]; selector back into htmltohtmlbook.js since I didn't see an easy way to represent this in the excel document.

mattretzer commented 7 years ago

@nelliemckesson , I made a couple of changes to this and re-tested, and I think it's ready to go now (please review when you get a chance): -As we discussed, I moved the 'footnotetextselector' back to the json (& reverted htmltohtmlbook.js to the master branch version)