macmillanpublishers / bookmaker

Macmillan's Bookmaker tool
ISC License
27 stars 2 forks source link

Need to edit two path variables in stylesheets.rb #151

Open MacmillanWorkflows opened 7 years ago

MacmillanWorkflows commented 7 years ago

In Stylesheets.rb, path variables: find_pdf_css_file & find_epub_css_file paths are defined using Metadata.epubcss & Metadata.pdfcss, but should be defined using base filenames 'pdf.css' & 'epub.css' respectively.

eg., find_pdf_css_file = File.join(Bkmkr::Paths.submitted_images, Metadata.printcss) should be: find_pdf_css_file = File.join(Bkmkr::Paths.submitted_images, 'pdf.css')

https://github.com/macmillanpublishers/bookmaker/blob/master/core/stylesheets/stylesheets.rb#L143-L144