This repository was archived by the owner on Mar 25, 2023. It is now read-only.
svg support - #23
Open
zeratax wants to merge 17 commits into
Open
Conversation
possibly try to change to svg?
This reverts commit b3dd7f5.
In Python 3, ConfigParser has been renamed to configparser for PEP 8 compliance filter() in Python 3 does not return a list, but a iterable filter object.
pdflatex is in most usecases the best solution
use the original expression for the alt tag
revert to using the simple expression for ids
new mode to export the dvi as svg
adjusts tests for new svg mode
…into svg-export
default to svg export
combine _latex_to_png_base64 and _latex_to_svg_base64 to _latex_to_base64 also changes tests config file to use svg rendering and updated links in the README
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I made this years ago and never made a pr, since the project seemed inactive at the time, but since then PRs have been merged and maybe there is interest in this.
By default this will produce svgs, but you can set the config to produce pngs, like this:
[general] mode = pngShould even be backwards compatible with an existing cache