Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Numbered notes each chapter #224

Open
KariRudjord opened this issue Jul 31, 2019 · 1 comment
Open

Numbered notes each chapter #224

KariRudjord opened this issue Jul 31, 2019 · 1 comment

Comments

@KariRudjord
Copy link

KariRudjord commented Jul 31, 2019

563313 have numbered notes for each chapter. Chapters are small and notes from chapter 1 and 2 end up in the same volume numbered 1-2-3-1-2. Confusing.

It seems that only notes marked * is handled after the main rule in PIP (number the notes and put in end of volume). I therefore had to move all notes to end of book and rename them with * to get the automathed work to function (then they became number 1 ... 45 in braille) - using the tag:

<section epub:type="backmatter footnotes" id="level1_60">
<ol class="list-style-type-none" style="list-style-type: none;">
<li class="notebody" epub:type="rearnote" id="c04001">* Under Reform 27 ble alle videregående skoler i landet.</li>

Lots of work. Is there a way to override the counting in notes so that they always count from 1-2-3-4 ... through the entire book? Notes are also marked (1), 1) and otherwise, sometimes with a picture (I've been told). I want them to be counted 1-2-3-4 always.

@bertfrees
Copy link
Collaborator

bertfrees commented Aug 2, 2019

Hi Kari! I can't access the test server anymore to get the book. (But I guess I don't really need it.)

The automatic numbering of "*" notes has been implemented in XSLT by @josteinaj. If you really don't care about the original numbering, then we can re-number all the notes, no problem. However I would suggest to maybe implement it in CSS instead of XSLT, that should be possible too (I think).

If in some books you would like to preserve the numbering, we can also make a switch for it.

@josteinaj josteinaj added M Medium size job Punktskrift Braille labels Jan 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
PIP - further improvements 2021
Waiting for clarification
Development

No branches or pull requests

4 participants