Closed arjpar closed 7 months ago
Numbered lists are supported. Maybe you could extract a relevant excerpt from the KEPUB and the associated style?
Numbered lists are supported. Maybe you could extract a relevant excerpt from the KEPUB and the associated style?
Book in Plato:
Book in Calibre's ereader:
Relevant css:
li.x06-Questionairre-Q {
font-size: 0.875em;
list-style-type: decimal;
margin: 0 0 0 1.43em;
text-indent: 0;
}
Does Plato support list-style-type?
-- I was also thinking, could it be possible to replace Plato's built in epub engine with Servo for HTML/CSS rendering?
Thanks. Could you also extract the HTML for the list?
@baskerville sorry for the late response, here's the HTML if you still need it:
<ol>
<li class="x06-Questionairre-Q">
<p class="x06-Questionairre-Q">Family (other than marriage or parenting)</p>
<p class="x06-Questionairre-A">1 2 3 4 5 6 7 8 9 10</p>
</li>
<li class="x06-Questionairre-Q">
<p class="x06-Questionairre-Q">Marriage/couples/intimate relations</p>
<p class="x06-Questionairre-A">1 2 3 4 5 6 7 8 9 10</p>
</li>
<li class="x06-Questionairre-Q">
<p class="x06-Questionairre-Q">Parenting</p>
<p class="x06-Questionairre-A">1 2 3 4 5 6 7 8 9 10</p>
</li>
<li class="x06-Questionairre-Q">
<p class="x06-Questionairre-Q">Friends/social life</p>
<p class="x06-Questionairre-A">1 2 3 4 5 6 7 8 9 10</p>
</li>
<li class="x06-Questionairre-Q">
<p class="x06-Questionairre-Q">Work</p>
<p class="x06-Questionairre-A">1 2 3 4 5 6 7 8 9 10</p>
</li>
<li class="x06-Questionairre-Q">
<p class="x06-Questionairre-Q">Education/training</p>
<p class="x06-Questionairre-A">1 2 3 4 5 6 7 8 9 10</p>
</li>
<li class="x06-Questionairre-Q">
<p class="x06-Questionairre-Q">Recreation/fun</p>
<p class="x06-Questionairre-A">1 2 3 4 5 6 7 8 9 10</p>
</li>
<li class="x06-Questionairre-Q">
<p class="x06-Questionairre-Q"><span epub:type="pagebreak" id="page_236" title="236" />Spirituality</p>
<p class="x06-Questionairre-A">1 2 3 4 5 6 7 8 9 10</p>
</li>
<li class="x06-Questionairre-Q">
<p class="x06-Questionairre-Q">Citizenship/community life</p>
<p class="x06-Questionairre-A">1 2 3 4 5 6 7 8 9 10</p>
</li>
<li class="x06-Questionairre-Q">
<p class="x06-Questionairre-Q">Physical self-care (diet, exercise, sleep)</p>
<p class="x06-Questionairre-A">1 2 3 4 5 6 7 8 9 10</p>
</li>
<li class="x06-Questionairre-Q">
<p class="x06-Questionairre-Q">Environmental issues</p>
<p class="x06-Questionairre-A">1 2 3 4 5 6 7 8 9 10</p>
</li>
<li class="x06-Questionairre-Q">
<p class="x06-Questionairre-Q">Art, creative expression, aesthetics</p>
<p class="x06-Questionairre-A">1 2 3 4 5 6 7 8 9 10</p>
</li>
</ol>
I've noticed with EPUBs numbered lists aren't supported. Is this because I'm using KEPUBs, or because it just isn't supported in Plato yet (despite using the built in reader)?