Created attachment 11603 [details] ePub with different list types Attached ePub contains ordered and unordered lists. mupdf-1.7 doesn’t display the item marker in any of them. list-style-item is the CSS property, described at http://www.w3.org/TR/CSS21/generate.html#list-style. I’ll also attach a screenshot showing the different display from mupdf-1.7 and ebook-viewer from calibre-2.25.
Created attachment 11604 [details] mupdf vs. ebook-viewer display mupdf (on the left) vs. ebook-viewer from calibre-2.25 (on the right).
It has been fixed in master. A question for the developers (especially for Tor Andersson): if I check that I bug report I filed is fixed in master, may I close the bug as RESOLVED/FIXED? Many thanks for your help, Pablo
By all means leave a note here saying that you think it's fixed, but please leave us to close the bugs. Thanks.
Both issues are fixed in master. Report may be closed.
Created attachment 11696 [details] ePub with list and no list style type defined Tor, there is an issue related to lists that I have just discovered. When no style type is included (such as in the newly attached ePub file, list items aren’t numbered (or their numbers are wrong placed). This is weird, since the default CSS in master includes the following line: ol{display:block;list-style-type:decimal;margin:1em 0;padding:0 0 0 30pt} BTW, list item markers are missing from both numbered and unnumbered lists. Many thanks for your help, Pablo
Created attachment 11697 [details] mupdf and ebook-viewer display Tor, mupdf (current master from your repo) on the left vs. ebook-viewer (from calibre-2.8) on the right displaying the previously attached ePub file.
Issue fixed in the following commit: commit 274f92661e7c595185768a5c3cdd7c030bd84bb4 Author: Tor Andersson <tor.andersson@artifex.com> Date: Tue May 26 15:58:37 2015 +0200 epub: Skip initial whitespace flow nodes when finding list anchors. They are skipped during layout, so should also be skipped here. Fixes bug 695943