Commit graph

15 commits

Author SHA1 Message Date
Damien Elmes
15b349e3a8 start port to python 3
unit tests pass and main screens of GUI load
2016-05-12 14:45:35 +10:00
Damien Elmes
c243c583d8 update latex path for osx 10.10 2015-08-31 19:33:58 +10:00
Arne Ludwig
b5f375cc24 Adjusted code for bad latex commands to pass tests 2015-07-30 12:44:58 +02:00
Arne Ludwig
b2cf86b905 Don't mind LaTeX commands beginning with bad names 2015-07-30 11:44:47 +02:00
Damien Elmes
77dfd63f1e comment out high-dpi+transparent latex example 2014-10-09 18:12:25 +09:00
Damien Elmes
d46bbabae7 add class=latex to latex img tags 2014-09-19 18:00:11 +09:00
dae
8cdfce4dd8 fix latex generation caused by bug in patch 2014-06-03 17:35:19 +09:00
dae
cc4b9938c7 add note about latexCmds 2014-06-03 16:33:43 +09:00
Joel Meyer-Hamme
980c68b2b0 Expose latex command tool chain
Dvi isn't compatible with quite a few Latex packages. I have been trying to include chemical formulas with the chemfig package. Exposing the tool chain to plugins would be very useful. For the record, I'm currently using:

´´´python
latexCmds = [
    ["pdflatex", "-interaction=nonstopmode", "tmp.tex"],
    ["pdflatex", "-interaction=nonstopmode", "tmp.tex"],
    ["pdfcrop", "tmp.pdf"],
    ["convert", "-density", "300", "tmp-crop.pdf", "tmp.png"]
]
´´´
2014-05-20 19:08:54 +02:00
Damien Elmes
988fc102d8 remove redundant regex in latex code 2013-07-19 19:42:20 +09:00
Damien Elmes
adf4f4687c allow includegraphics in latex 2013-07-18 19:04:38 +09:00
Damien Elmes
2ba8c41fec replace nbsp with standard space when stripping html
fixes https://anki.tenderapp.com/discussions/ankidesktop/1952-duplicate-not-detected-on-paste
2013-07-11 21:23:13 +09:00
Damien Elmes
3326254eec fix cloze+latex issue in media check, and duplicate answers (#757, #758)
we were replacing spans with spaces during review but not during media check.
just strip the tags instead, which makes the media check consistent and
doesn't result in multiple identical answers
2013-05-18 18:07:34 +09:00
Damien Elmes
b2457811a2 optimize imports 2012-12-22 09:17:10 +09:00
Damien Elmes
d477df8c28 merged libanki and ankiqt into single distro 2012-12-21 16:51:59 +09:00