Comments (4)
Hi David
your fork is still active because this base looks not being updated any more? (no replies for many recent issues)
from ipython-tikzmagic.
@parthi2929 I made some changes to incorporate dvisvgm support. I am currently using this on an almost daily basis, but I have not needed to make many changes to the code.
You may wish to try out my fork. Using the --dvisvgm
option (assuming you have dvisvgm installed), the output file now scales much more logically, and it probably solves your issue #27.
Please understand that this is just a volunteer project created for the dev's on needs. Resolving everyone else's issues requires time and commitment that not everyone has.
from ipython-tikzmagic.
this @mkrphys base has an svg option, but when i try it fails.
from ipython-tikzmagic.
The standard SVG conversion option is based on generating a PDF, then extracting an SVG with imagemagick. Imagemagick needs to be installed, also this extension needs to know where to find it. Under windows the default executable name is different to what the extension is expecting, so I added a -i
option to allow the filename and path of imagemagick to be specified.
The approach I added in this issue is quite different. It generates a dvi, then converts to svg using dvisvgm (which should be already installed on any modern latex distribution). I found the output is much better quality, and scaling works better. Also, this approach enables SVG ids to be added to elements of the drawing, for making them interactive with javascript.
from ipython-tikzmagic.
Related Issues (20)
- Doc suggestion: no ImageMagick on ElCapitan and Sierra HOT 2
- In windows bit64 Could not find \expanded. HOT 2
- "No image generated." HOT 7
- loading tikzmagic in latest jupyter notebook
- Support for tikz-feynman
- Fatal error occurred, no output PDF file produced HOT 2
- Bug : The "-po, --pictureoptions" argument should not contains quotes after processing HOT 1
- Error in python 2 conda notebook HOT 1
- LaTeX terminated with signal -1 HOT 2
- Too low image size HOT 1
- Two tikz side by side
- draw coordinates wrong when using pgfplots HOT 1
- unable to generate svg HOT 3
- No image generated; permission issue? HOT 3
- ModuleNotFoundError in Python 3.8 HOT 1
- RGB color space not permitted on grayscale PNG HOT 2
- word splitting in arguments to %%tikz HOT 1
- Google Colab install via pip fails HOT 3
- Log messages are visible in the result HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ipython-tikzmagic.