Health-Sprints / A-Machine

A-Machine
GNU General Public License v3.0
1 stars 0 forks source link

Image caption numbering #1

Open mrchristian opened 3 years ago

mrchristian commented 3 years ago

Image caption numbering breaks number sequence in each document when EPUB or HTML because css counter-increment and and only can be maintained in a single X/HTML This happens for all formats: plain HTML export, website Markdown (Docsify), Vivlio (Web and PDFs), and EPUB. We want image caption numbers to be generated by CSS and not hard coded. Note Fidus allows for image caption numbers to be turned on and off, e.g., photos can have none, and figures have numbers.

mrchristian commented 3 years ago

First investigate if the EPUB standard can support numbering across chapters. If EPUB can apply numbering types consecutively with CSS then we should see if this can be done in our other outputs like Vivlio when using a number of files to make a book.

mrchristian commented 3 years ago

looks interesting https://idpf.github.io/epub3-samples/30/samples.html