EPUB MathJax SVGs sometimes render as black boxes

Open
#2,726 3 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
20/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
javascript
Domain
content

Research direction

Reproduce the problem in Calibre using Sample Article section 7.6, then inspect the generated EPUB's MathJax SVG markup for that equation and compare it with an SVG that renders correctly. The issue names no file, so the first task is locating where MathJax SVG output enters the EPUB generation pipeline. Done means 7.6 renders as an equation rather than a black box in Calibre.

Written by the indexing model from the issue text.

Description

epub mathjax

Some SVGs produced by MathJax for EPUBs end up rendering as black boxes (at least in Calibre).

See Sample Article, 7.6:

Image
Dominant language
XSLT
Stars
466
Forks
251
Avg merge
4m
Merged PRs (30d)
13

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from PreTeXtBook/pretext

All issues in PreTeXtBook/pretext

Similar issues

More Content issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.