![](https://secure.gravatar.com/avatar/46562c7d27388490d62e8d7a5bc960dd.jpg?s=120&d=mm&r=g)
On 1/6/2020 7:08 PM, Rik Kabel wrote:
A couple of small issues with the css for epub output.
First, back-exp.lua creates, in \jobname-styles.css
@namespace context url('%namespace%') ;
This should probably be:
@namespace context url('http://www.pragma-ade.com/context/export') ;
That file also has:
document, %namespace%div.document { font-size : %size% !important ; max-width : %width% !important ; text-width : %align% !important ; hyphens : %hyphens% !important ; }
which contains the invalid css property text-width. Perhaps that should be text-align or text-justify.
Something else appears to be creating, in \jobname-defaults.css:
pubfld[detail="title"], div.pubfld.title { display : inline ; font-weight : italic ; }
which incorrectly assigns italic to font-weight when of course it is a font-style as far as css is concerned. This can be seen in file export-example.css in the distribution. can you make a mwe ...
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------