You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ePub opens fine in Calibre/iBooks, but since each stylesheet gets the same ID of style, it ticks off validators and is causing conversion to MOBI to fail for Kindle readers.
Is --css meant to be used multiple times in this way? Would it be enough to generate unique ids, or do the stylesheets need to be concatenated?
I thought I'd be clever and use a named pipe to concatenate them first, but apparently it interferes with processing a JSON AST from stdin.
To reuse styling between my web and epub versions, I split up my styling into several files and add them with
--css
:I'm using Pandoc 2.7.2. The resultant
content.opf
file has this:The ePub opens fine in Calibre/iBooks, but since each stylesheet gets the same ID of
style
, it ticks off validators and is causing conversion to MOBI to fail for Kindle readers.Is
--css
meant to be used multiple times in this way? Would it be enough to generate uniqueid
s, or do the stylesheets need to be concatenated?I thought I'd be clever and use a named pipe to concatenate them first, but apparently it interferes with processing a JSON AST from stdin.
The text was updated successfully, but these errors were encountered: