Commit graph

3536 commits

Author SHA1 Message Date
Antoine Musso
0ec5538ef0 Handle latex errors when converting to dvi
Whenever latex fails (for example due to a missing package) the code
continue and ends up failing due to a missing svg file.

Handle latex non 0 exit code.
Pass to latex -halt-on-error so it does not attempt to ask user for a
file, that is ignored in batch mode anyway.

Write the latex output to stderr and raise an exception to abort early.

Signed-off-by: Antoine Musso <hashar@free.fr>
2017-05-04 15:43:24 +02:00
Antoine Musso
0db160b792 Make pip to install aggdraw from github
pip is able to install a python module straight from a git repository
and supports pinning a specific commit.

Add scottopell/aggdraw-64bits to requirements.txt

Adjust README.md to drop the manual install step now covered by pip
install.

Test plan

I have created an empty virtual env on Debian GNU/Linux and ran the demo
command:
    python extract_scene.py -p example_scenes.py SquareToCircle

Signed-off-by: Antoine Musso <hashar@free.fr>
2017-05-04 15:07:30 +02:00
Grant Sanderson
6a88ff207c Some calc cleanup 2017-05-02 21:09:56 -07:00
Grant Sanderson
2ea2109694 Remove meta_animations from animation.__init__.py 2017-04-29 18:23:45 -07:00
Grant Sanderson
ad25f65327 Some simple eoc cleanup 2017-04-29 18:23:00 -07:00
Grant Sanderson
6f729fe063 Preliminary end to eoc10 2017-04-27 22:22:42 -07:00
Grant Sanderson
7ab4046b1a Up to RadiusOfConvergenceForLnX in eoc10 2017-04-27 17:25:46 -07:00
Grant Sanderson
c96222fec0 Up to SecondTermIntuition in eoc10 2017-04-27 12:01:33 -07:00
Grant Sanderson
62c43cd306 Fixed issue of buff with curved lines/arrows 2017-04-26 16:40:54 -07:00
Grant Sanderson
fd20472973 FactorialTerms scene of eoc10 2017-04-26 16:22:49 -07:00
Grant Sanderson
db1a5c9f98 Add promotion animations to eoc2 2017-04-26 16:22:21 -07:00
Grant Sanderson
78c3ee854d Super hacky AoPS logo class 2017-04-26 16:22:05 -07:00
Grant Sanderson
fe7d1d5eaf Enabling curvature in Lines/arrows 2017-04-26 16:21:38 -07:00
Grant Sanderson
f80d7e0fcd Start of CubicAndQuarticApproximations in eoc10 2017-04-26 11:26:37 -07:00
Grant Sanderson
fc155e1859 Finished ConstructQuadraticApproximation of eoc10 2017-04-25 23:38:06 -07:00
Grant Sanderson
95249b13b3 Partial progress through very long ConstructQuadraticApproximation in eoc10 2017-04-25 22:14:16 -07:00
Grant Sanderson
85a0f38668 Added simple endscreen animation 2017-04-25 13:17:58 -07:00
Grant Sanderson
2188723c57 Some eoc cleanup 2017-04-21 17:40:49 -07:00
Grant Sanderson
399a30874d A few cleanups to eoc5 and eoc9 2017-04-20 13:30:51 -07:00
Grant Sanderson
cc99bcda37 Antiderivative of eoc9 2017-04-18 23:22:20 -07:00
Grant Sanderson
fbb1156108 Halfway through eoc9 2017-04-18 18:37:15 -07:00
Grant Sanderson
4a9c6a8012 Merge pull request #22 from styxtwo/upstream
Fixed ApplyMethod animation going in reverse for nested objects
2017-04-17 15:58:08 -07:00
Ruben Zoet
21345a6259 ApplyMethod now creates a deep copy of the object it works on 2017-04-18 00:27:45 +01:00
Grant Sanderson
14d2d8fecb Merge pull request #21 from styxtwo/upstream
Merge nested configs instead of overriding
2017-04-17 10:21:58 -07:00
Grant Sanderson
30f91bbcb7 Random cleanups to eoc 2017-04-17 10:19:30 -07:00
Ruben Zoet
de2b68f2cc Nested configs are now merged, instead of overridden 2017-04-17 18:19:09 +01:00
Grant Sanderson
cce24ce93a Fixed Riemann rectangle gap bug 2017-04-15 18:25:06 -07:00
Grant Sanderson
e27e7f539f Merge pull request #20 from mirefek/master
3 little fixes + SVG matrix transform support
2017-04-14 23:32:46 -07:00
Grant Sanderson
c3b8b36e4e Finished eoc8 2017-04-14 23:30:29 -07:00
Grant Sanderson
5300bf24d2 Preliminary end to eoc8 2017-04-14 16:15:39 -07:00
Grant Sanderson
f7b4458f62 Finished fundamental theorem scenes of eoc8 2017-04-14 11:05:04 -07:00
Grant Sanderson
0b7f518366 Further eoc8 progress 2017-04-13 22:29:34 -07:00
Grant Sanderson
18855c0522 Just beginning FTOC animations of eoc8 2017-04-13 13:47:27 -07:00
Grant Sanderson
326e7fc76f Finished giant PiecewiseConstantPlot scene 2017-04-12 17:16:20 -07:00
Grant Sanderson
d30c77c78d Beginning of eoc8 2017-04-12 09:06:04 -07:00
Grant Sanderson
e40c5b86bd Some cleanup on eoc1 2017-04-10 15:15:45 -07:00
Grant Sanderson
967fb7e5c1 Final tweaks to eoc/chapter1 remake 2017-04-08 16:19:27 -07:00
Grant Sanderson
aed097f0a7 Preliminary end to eoc1 remake 2017-04-07 16:05:51 -07:00
Grant Sanderson
6524491953 Improvements to introduce_bubble type scenes 2017-04-06 15:25:53 -07:00
Grant Sanderson
f47d7a03f3 Debugged problem with Scene.remove 2017-04-06 15:25:19 -07:00
Grant Sanderson
dc435e5aa3 Finished first AreaUnderParabola scene 2017-04-04 20:45:27 -07:00
Grant Sanderson
0e09120092 About halfway through eoc1 remake 2017-04-04 16:57:53 -07:00
Grant Sanderson
8b12ec879e Finished ApproximateOneRing scene of eoc1 2017-04-03 11:44:56 -07:00
Grant Sanderson
ce93d88944 First few scens of eoc1 remake 2017-03-31 16:58:18 -07:00
Grant Sanderson
aa2b5b07cd Beginning redo of eoc/chapter1 2017-03-29 16:06:10 -07:00
Grant Sanderson
983e205b3e Finished eoc7 2017-03-29 15:41:09 -07:00
Grant Sanderson
7452486ddf Finished general L'Hoptital example of eoc7 2017-03-28 17:22:39 -07:00
Grant Sanderson
2d191354b6 Simplified TexMobject by making the submobjects of those with multiple expression parts actual TexMobjects themselves, instead of VGroups 2017-03-28 11:12:02 -07:00
Grant Sanderson
6387d5ee02 eoc7 just finished LHopitalExample, but might redo a lot 2017-03-27 18:50:01 -07:00
Grant Sanderson
7fca1dac6b Beginning L'Hopital's example of eoc7 2017-03-27 13:37:19 -07:00