Ticket #198 (closed defect: fixed)
Opened 3 years ago
Last modified 3 years ago
Sometimes a chapter is repeated
| Reported by: | adam | Owned by: | douglas |
|---|---|---|---|
| Priority: | major | Milestone: | Bugs |
| Component: | Objavi | Keywords: | |
| Cc: | adam aco douglas |
Description
if you output the audacity manual from booki it repeats the content
of the first chapter
http://objavi.flossmanuals.net/books/audacity-en-2010.06.24-11.08.31.pdf
Change History
comment:1 Changed 3 years ago by douglas
- Status changed from new to accepted
comment:2 Changed 3 years ago by adam
I found it in this manual as well
http://objavi.flossmanuals.net/books/civicrm7-en-2010.07.09-15.20.02.pdf
I see here that the section heading and the name of the first chapter are the same.
http://www.booki.cc/civicrm-7/
I am guessing this means the id for both is also the same. I'm making a note of it here while testing #196 since the issue appears to be the same at first (wrong page numbers in the TOC) but the incorrect page numbering in this manual is a result of repeated content.
comment:3 Changed 3 years ago by douglas
- Resolution set to fixed
- Status changed from accepted to closed

This is related to #209: Booki tries to use the id "introduction" for two different files. What makes this different is that the second file was also html.
Interestingly enough, both files are in the zip with the same name ("introduction.html"), so even if they had separate manifest entries, it would still fail, as the zip can't know which "introduction.html" objavi wants.
Aco: I will fix this in lib/booki/common.py unless you object.