Comments (7)
On Ubuntu 18.04, I ran into the same issue. It seems the problem was because ImageMagick tightened their security policy so that it prevented the generation of PNG file from the PDF file generated by latex. To fix this problem, I edited /etc/ImageMagick-6/policy.xml, changing the following
<policy domain="coder" rights="none" pattern="PDF />
to
<policy domain="coder" rights="read|write" pattern="PDF />
from ipython-tikzmagic.
The cause of the problem and its solution have been identified and the issue should be closed.
from ipython-tikzmagic.
I have the same issue.
from ipython-tikzmagic.
Did you find any solution ?
from ipython-tikzmagic.
Confirmed that @irustandi solution works!
from ipython-tikzmagic.
Thank you very much @irustandi, your solution worked.
from ipython-tikzmagic.
git clone https://github.com/mkrphys/ipython-tikzmagic.git
pip install -e ./ipython-tikzmagic
pip install pdflatex
sudo apt-get install texlive-latex-base
sudo apt-get install texlive-fonts-recommended; sudo apt-get install texlive-fonts-extra
sudo apt-get install texlive-latex-extra
sudo apt-get install pdf2svg
sudo apt install imagemagick
cd /etc/ImageMagick-6/
cd /etc/ImageMagick-6/
%
<!-- Next, I edited /etc/ImageMagick-6/policy.xml, changing the following
<policy domain="coder" rights="none" pattern="PDF />
to
<policy domain="coder" rights="read|write" pattern="PDF /> -->
%
sudo nano policy.xml
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
- loading tikzmagic in latest jupyter notebook
- Generate SVG output with dvisvgm HOT 4
- 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.