Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Index pages use – but it can not be used in ePub #12359

Copy link
Copy link
Closed
@methane

Description

@methane
Issue body actions

Describe the bug

Books.app shows "error on line 34 at column 29: Entity 'ndash' not defined" on index pages.

epubcheck shows

FATAL(RSC-016): build/epub/Python.epub/genindex-A.xhtml(34,29): Fatal Error while parsing file: The entity "ndash" was referenced, but not declared.

How to Reproduce

make venv && make epub in Doc/ folder in Python source tree.
Show build/epub/Python.epub with Books.app or epubcheck --locale en-US build/epub/Python.epub 2>python-epub-errors.txt

Environment Information

Platform:              darwin; (macOS-14.4.1-arm64-arm-64bit)
Python version:        3.12.2 (main, Feb 25 2024, 03:55:42) [Clang 17.0.6 ])
Python implementation: CPython
Sphinx version:        7.3.7
Docutils version:      0.21.2
Jinja2 version:        3.1.4
Pygments version:      2.18.0

Sphinx extensions

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.