-
Notifications
You must be signed in to change notification settings - Fork 38
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
Bookworm showing number instead of correct heading level formatting in epub files #151
Comments
@mush42 Interestingly, the following log errors were found in debug mode error.commandline logERROR - bookworm.bookworm.bootstrap - 25/04/2022 13:11:18 - MainThread (3296): Invalid or unknown document uri: nul Traceback (most recent call last): File "bookworm\bootstrap.py", line 72, in _open_arg_file File "bookworm\document\uri.py", line 117, in from_base64_encoded_string File "base64.py", line 133, in urlsafe_b64decode File "base64.py", line 87, in b64decode binascii.Error: Incorrect padding WX logbabel\dates.py:161: PytzUsageWarning: The normalize method is no longer necessary, as this time zone supports the fold attribute (PEP 495). For more details on migrating to a PEP 495-compliant implementation, see https://pytz-deprecation-shim.readthedocs.io/en/latest/migration.html Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): |
@DraganRatkovich are you still encountering this problem? |
Hi, @pauliyobo Yes, sometimes. |
Hello |
I know again that the title of the question is a little tricky when it gets read, but I'll try to explain the specific problem in as much detail as possible.
Describe the Problem
When opening an epub file that contains heading level 1 formatting to list book chapters, Bookworm, sometimes, only shows numbers instead of heading formatting.
To be more precise, in the places, where the screen reader should say "Heading level 1" and the text of the chapter, it only says 1.
This problem occurs periodically and after a while, it resolves itself again. Sometimes, the documents that I opened and were properly formatted and also displayed without errors in Bookworm, after a while, these documents also did not display the heading formatting correctly and only displayed the number instead of the heading formatting.
During a bug where Bookworm only shows a number instead of the correct formatting, the H also doesn't move to the correct heading and there is no heading in the document, but the table of contents shows the chapters without problems and when you click any of the chapters, the Bookworm jumps to the right chapter, but again, there is no heading formatting, and only the number 1 is displayed.
This issue only occurs with epub files, a Word document, that is also formatted with a heading level 1 displays without problems.
To Reproduce
Actually, not sure because this problem only occurs intermittently, but just open the epub file and see the result. There is nothing special to say, because, perhaps, the problem does not even arise for someone.
Expected behavior
Bookworm should display heading formatting without errors in epub files, just like in Word documents.
Desktop (please complete the following information):
Additional context
@mush42 I know you don't have much time these days, but please, consider tackling this issue when you have free time.
The text was updated successfully, but these errors were encountered: