Damien Elmes
70eb44bce2
latex improvements
...
- move latex preamble into a deck var and include amsmath by default
- include the pre/postamble in the hash, so changes to the preamble result in
newly generated images
2010-12-11 02:05:00 +09:00
Damien Elmes
b0f300bb74
fix latex generation bug caused my mediaDir() always chdiring now
2010-12-11 01:46:29 +09:00
Damien Elmes
4d2d9eab81
generate latex at fact modification, not review
...
- latex now slots in to the formatQA hook to render images in the q/a
- moved call() to utils
- cache/uncache latex have been obsoleted. User can delete manually, and
images will be regenerated with a DB check
2010-12-11 01:40:49 +09:00
Damien Elmes
4a35dbe6b2
python2.7/win32 fix for latex
2010-11-12 13:05:43 +09:00
Damien Elmes
5fe42791c3
use relative path in latex generation
2010-07-26 17:14:49 +09:00
Damien Elmes
095ac330b5
fix first-time latex generation in a deck with no media dir
2010-02-01 03:33:13 +09:00
Damien Elmes
bf35112bd0
improve latex error message
2010-01-12 04:38:44 +09:00
Damien Elmes
11c1e7799b
use relative paths in latex as the path may contain foreign chars
2009-09-26 05:47:52 +09:00
Damien Elmes
13a14e498c
increase mod in delete
2009-07-08 12:29:09 +09:00
Damien Elmes
50103693d1
add progress to cache/uncache
2009-07-08 12:28:48 +09:00
Damien Elmes
95d6ba64ab
fix uncache latex
2009-07-08 12:24:25 +09:00
Damien Elmes
6f27ae52cc
revert to old style file-only latex handling
2009-07-08 12:20:56 +09:00
Damien Elmes
6af560da9a
make sure to set ret if wait=False
2009-03-19 11:06:53 +09:00
Damien Elmes
66cda18a69
fix call()
2009-03-15 06:41:53 +09:00
Damien Elmes
df3185ab0f
add wait kwarg to call()
2009-03-15 06:36:19 +09:00
Damien Elmes
75d6123dc3
identify temp files as anki, quiet lame
2009-01-17 16:29:45 +09:00
Damien Elmes
b161d6e485
add option to avoid building latex
2008-12-24 15:48:54 +09:00
Damien Elmes
3b3fef4ebc
refactor latex into media support
2008-12-23 18:00:12 +09:00
Damien Elmes
6a21be9d19
refactor latex handling
2008-12-23 16:24:06 +09:00
Damien Elmes
5da3a0f5d3
initial commit from hg
2008-09-27 23:50:03 +09:00