Skip to content

Epub-only: sublist items have inconsistent vertical padding, are missing numbers #57

@mattretzer

Description

@mattretzer

(Encountered when testing with our test manuscript)

There is a complex set of nested lists (for testing) near the end of Chapter 2 of our test manuscript.
For the most part htmlmaker_js handles the lists much better than the xsl conversion did.

The output looks good in the pdf, however in the epub some of the vertical padding is inconsistent with sublist items, and numbers are missing from the numerical sublist items.

Here's a screenshot of epub output from the htmlmaker_js styled test ms:
screen shot 2017-06-06 at 10 15 25 am

Here is the relevant html:

<ul class="">
    <li class="ListBulletbl">
        <p class="ListBulletbl" id="idqphcjqa5n">Bullet list item one</p>
    </li>
    <li class="ListBulletbl">
        <p class="ListBulletbl" id="idjrjuobusy">Second bullet list item</p>
        <ol class="sublist">
            <li class="ListNumSubentrynsl">
                <p class="ListNumSubentrynsl" id="idkfzeyk2iw">A nested numbered list</p>
            </li>
            <li class="ListNumSubentrynsl">
                <p class="ListNumSubentrynsl" id="id51ywvswqy">A second nested numbered list item</p>
            </li>
        </ol>
    </li>
    <li class="ListBulletbl">
        <p class="ListBulletbl" id="idm74np86l4">Third level-1 bullet list item</p>
        <ol class="sublist">
            <li class="ListNumSubentrynsl">
                <p class="ListNumSubentrynsl" id="idb730mjb9m">Here&#x2019;s a second nested numbered list, with just one item</p>
            </li>
        </ol>
    </li>
    <li class="ListBulletbl">
        <p class="ListBulletbl" id="idfsbiuavo2">The fourth top-level list item</p>
        <ul class="sublist">
            <li class="ListBulletSubentrybsl">
                <p class="ListBulletSubentrybsl" id="idxcvhelkx2">A nested bulleted list</p>
            </li>
            <li class="ListBulletSubentrybsl">
                <p class="ListBulletSubentrybsl" id="idp84hwjeqo">Second nested bullet item</p>
            </li>
        </ul>
    </li>
    <li class="ListBulletbl">
        <p class="ListBulletbl" id="id4miyqwofq">The fifth and final top level item</p>
    </li>
</ul>
<p class="Text-Standardtx" id="idw4b4c75lf">&quot;If this is your present temper, my friend, you will perhaps be glad to see a letter that has been lying here some days for you; it is from your cousin, I believe.&quot;</p>
<ol class="">
    <li class="ListAlphaal">
        <p class="ListAlphaal" id="idf9o5t1wyc">Here&#x2019;s a single-level alpha list</p>
    </li>
    <li class="ListAlphaal">
        <p class="ListAlphaal" id="id5og9whb7b">A second alpha list item</p>
    </li>
</ol>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions