Question: Folio top running headers - we need to add the book title and chapter titles to the top ‘running header’ folios. What do you recommend for Vivliostyle to access this information and where should we store these names and what is the CSS to access them.
Question: Folio top running headers - we need to add the book title and chapter titles to the top ‘running header’ folios. What do you recommend for Vivliostyle to access this information and where should we store these names and what is the CSS to access them.
Answer: With CSS Paged Media, the standard way will be named strings but unfortunately not implemented in Vivliostyle (issue: https://github.com/vivliostyle/vivliostyle.js/issues/545). Instead,
env(pub-title)
andenv(doc-title)
can be used (related PR: https://github.com/vivliostyle/vivliostyle.js/pull/512).