Skip to content
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

improvements to tikzjax #42

Open
7 tasks
benrbray opened this issue Apr 17, 2023 · 0 comments
Open
7 tasks

improvements to tikzjax #42

benrbray opened this issue Apr 17, 2023 · 0 comments
Labels
enhancement New feature or request external-tikzjax

Comments

@benrbray
Copy link
Owner

benrbray commented Apr 17, 2023

When I have time, I would like to make a fork of drgrice1/tikzjax to address the following issues.

Possible Improvements

  • Currently, the tikzjax document is only rendered when a <script type="tikz"> element is detected on the page. It would be great if there were a way to manually invoke the renderer, for more control.
  • Override the default "loading spinner" provided by tikzjax.
  • Add a way to control the attributes of the SVG output. For instance, a "scale" parameter to the rendering function which multiplies the width and height attributes of the SVG by a fixed amount.
  • When there are TeX rendering errors, find a way to store them in a string rather than printing them line by line to the console. This would make it possible to display the errors to the user.
  • Simplify the build process
  • Make it easier to include custom *.sty files, such as quiver.sty from q.uiver.app
  • some basic symbols & packages are missing, for example \ulcorner and \lrcorner for commutative diagrams

Useful Information

forks of tikzjax:

some of the issues filed in the obsidian-tikzjax repo have useful information:

@benrbray benrbray added enhancement New feature or request external-tikzjax labels Apr 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request external-tikzjax
Projects
None yet
Development

No branches or pull requests

1 participant