Skip to content

Inserting MathML into a PDF #4427

Discussion options

You must be logged in to vote

Interesting question! As usual, our base library MuPDF does the lion's share of achieving the results of .insert_htmlbox. It supports a syntax subset of HTML version 4 and CSS version 2.
This probably explains the observed differences.

Maybe you can make a SVG version of your equation. This can be mixed in other HTML text as the attached example shows. It it a script that outputs a HTML table where some cells display images - of which one is a SVG.
example.zip

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@XHJ-TS9527
Comment options

@JorjMcKie
Comment options

@XHJ-TS9527
Comment options

@JorjMcKie
Comment options

@XHJ-TS9527
Comment options

Answer selected by XHJ-TS9527
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants