Open MacmillanWorkflows opened 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.
find_pdf_css_file
find_epub_css_file
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')
find_pdf_css_file = File.join(Bkmkr::Paths.submitted_images, Metadata.printcss)
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
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