mkogg.py: Fix 'self.get_mp4_metadata(self, source)'
[blog.git] / posts / Asymptote.mdwn
index 692a88a1ace581f2e0fcf77200fb598e760da7e3..5c4416143d979e668849c02176657da27f9e4036 100644 (file)
@@ -1,26 +1,23 @@
 [Asymptote][] is a C++ style graphics drawing package for [[LaTeX]].
 I've written a few libraries to make it easier to draw pictures for
 physics problem sets (as part of my [[course website]] package).  Here
-are a few teasers:
+are a few teasers (rendered as SVGs).
 
 Mechanics
 ---------
 
-[[!img Mechanics-test.png alt="Test suite for Mechanics.asy"
-                        title="Test suite for Mechanics.asy" ]]
+<object type="image/svg+xml" data="Mechanics-test.svg"></object>
 
 
 ElectroMag
 ----------
 
-[[!img ElectroMag-test.png alt="Test suite for ElectroMag.asy"
-                         title="Test suite for ElectroMag.asy" ]]
+<object type="image/svg+xml" data="ElectroMag-test.svg"></object>
 
 Circ
 ----
 
-[[!img Circ-test.png alt="Test suite for Circ.asy"
-                   title="Test suite for Circ.asy" ]]
+<object type="image/svg+xml" data="Circ-test.svg"></object>
 
 To see the `Circ` library in full form, check out [[this
 writeup|phys102-chap28-prob71.pdf]] of a recent recitation problem.
@@ -30,8 +27,7 @@ writeup|phys102-chap28-prob71.pdf]] of a recent recitation problem.
 stickfigure
 -----------
 
-[[!img stickfigure-test.png alt="Test suite for stickfigure.asy"
-                          title="Test suite for stickfigure.asy" ]]
+<object type="image/svg+xml" data="stickfigure-test.svg"></object>
 
 
 [[!tag tags/latex]]