nlbdev / pipeline

NLB branch of the super-project that aggregates all Pipeline related code. See https://github.com/daisy/pipeline for the main branch.
http://repo.nlb.no/pipeline
3 stars 1 forks source link

No headline for volume TOC #134

Closed josteinaj closed 7 years ago

josteinaj commented 7 years ago

the SCSS contains:

#generated-volume-toc, #generated-document-toc {
        /* ... */

        &::before {
            content: 'Innhold';
            display: block;
            margin-top: 2;
            margin-left: 5;
            margin-right: 5;
            margin-bottom: 1;
            text-align: center;
            border-top: ⠉;
            border-bottom: ⠉;
        }

        /* ... */
}

This seems to carry over fine to OBFL; the unicode braille representation of the "Innhold" headline is in the OBFL for both the document-toc and the volume-toc. However, in the resulting PEF, the volume-toc does not have a headline.

Test here: 2b09cb08b01e0a3f5b9317a02ad8d97c65b8eee1

bertfrees commented 7 years ago

Actually the "Innhold" that you see in the OBFL shouldn't be where it is now, namely at the start of the table-of-contents elements. It should be contained inside on-toc-start elements. This can be accomplished by using the ::-obfl-on-toc-start pseudo-element instead of ::before.

I'll change it in the CSS.

bertfrees commented 7 years ago

Fixed.

KariRudjord commented 7 years ago

Working.