openstax / oer.exports

Converter to various book formats (PDF, epub, mobi)
2 stars 0 forks source link

Chemistry => Position of the Page Number for the Chapter Page Header #503

Closed nyxer95 closed 10 years ago

nyxer95 commented 10 years ago

The position of the page number in the chapter page header in the Chemistry template is different in the PDF on naginata than the annotated template.

Annotated Template chem_page_header_template

PDF from Naginata chem_page_header_naginata

sosproduction commented 10 years ago

Fixed location of page number so that it precedes the Chapter header string on left and right pages. But there are two additional things for the header that are enhancements that will require changes to the numbering files.

  1. For us to remove the pipe (|) between Chapter 1 | Thermochemistry and make it Chapter 1 Thermochemistry we will have to modify the numbering-slots.less file to possibly be able to do these customizations by book, so this will require some extra coding.
  2. Also, in the design template there is about 15px of padding between the page number and Chapter heading string. The page counter and chapter header string aren't inside individual containers so we can get at them to add this spacing. We will have to investigate how to extend our page header code to compensate for these types of customizations.

These changes, if made now will affect all other books. We may want to actually settle on a standardized header / page count structure for all OSC titles if possible. If we need by-the-book customization....we will need to add some additional code for these. We should add this issue to the remaining 20% template to be delivered. Deferring this one until then.

header

nyxer95 commented 10 years ago

Pipe and location of page number fix verified on naginata.

chemistry_page_header_fix