|
24 | 24 | import sys |
25 | 25 | import time |
26 | 26 |
|
| 27 | +# misspellings that aren't |
27 | 28 | ignorelist = frozenset(['Georg','LHR','NonCommercial', |
28 | 29 | 'myplot','num','pos','proj', |
29 | 30 | 'xlabel','xmajorgrids','xmax','xmin','xscale','xshift','xtick','xticklabels', |
@@ -128,15 +129,17 @@ def makefigs(): |
128 | 129 | # -user apexbw=true runs that command in apexconfig.asy |
129 | 130 | # using -bw instead causes the figure to be blacked out (?!) |
130 | 131 | #'BW.pdf': ['-noprc','-user','apexbw=true','-outname',asyfile+'BW','-outformat','pdf'], |
131 | | - 'BW.png': ['-noprc','-user','apexbw=true','-outname',asyfile+'BW','-outformat','png'],#['-render','4'], |
132 | | - '.png': ['-noprc','-outformat','png'],#['-render','4'], |
133 | | - # for some reason, -render kills the png output |
| 132 | + 'BW.png': ['-noprc','-user','apexbw=true','-outname',asyfile+'BW','-outformat','png','-render','4'], |
| 133 | + '.png': ['-noprc','-outformat','png','-render','4'], |
| 134 | + '.html': ['-outformat','html'], |
| 135 | + # for some reason, -render kills the png output. that's been fixed |
134 | 136 | } |
135 | 137 | asyexe = '/usr/local/bin/asy' |
136 | 138 | # version 2.44 has problems with the png |
137 | 139 | # * it doesn't look as nice |
138 | 140 | # * -render 4 causes the compilation to fail (https://github.com/vectorgraphics/asymptote/issues/96) |
139 | 141 | # * the z-index is based on when they appear in the file, not the camera view |
| 142 | + # fixed in version 2.65? |
140 | 143 | for ext,opt in extops.items(): |
141 | 144 | try: |
142 | 145 | if os.path.getmtime(asyfile+ext) <= os.path.getmtime(asyfile+'.asy'): |
|
0 commit comments