Open msiniscalchi opened 7 years ago
Obviously this is not ideal from the user's standpoint. Perhaps the system check could try to compile a standalone tex file to see what happens.
I also thought about something like this, but don't think system check should trigger anything since it is just a check. We could add an additional button the phantom like
(Manual Compilation) (Check System) (Show Report)
So you can trigger the compilation from the phantom.
Finally this is a separate issue, but math preview seems pretty slow on all of my machines. By comparison, Overleaf (which is a web app!!) displays previews for all the equations in a document, and compilation of equations happens almost instantly. Just something to think about.
I assume overleaf uses the javascript library MathJax for this preview. This is way faster, because it does not need an additional program and is less complex and powerful. Since we use python and only have a subset of html we can't use that.
So compiling a document like the one we use to generate previews with \listfiles
, I get this list:
File Name |
---|
standalone.cls |
ifluatex.sty |
ifpdf.sty |
ifxetex.sty |
xkeyval.sty |
xkeyval.tex |
standalone.cfg |
article.cls |
size10.clo |
preview.sty |
luatex85.sty |
prtightpage.def |
xcolor.sty |
color.cfg |
pdftex.def |
amsmath.sty |
amstext.sty |
amsgen.sty |
amsbsy.sty |
amsopn.sty |
amssymb.sty |
amsfonts.sty |
latexsym.sty |
mathtools.sty |
calc.sty |
mhsetup.sty |
supp-pdf.mkii |
graphicx.sty |
graphics.sty |
trig.sty |
graphics.cfg |
umsa.fd |
umsb.fd |
ulasy.fd |
I suppose it'd be easy to hard-code the rest of this list---at least the sty
files---into the System Check.
The subject line says it all. More detail:
luatex85
) was installed.Obviously this is not ideal from the user's standpoint. Perhaps the system check could try to compile a standalone tex file to see what happens.
Finally this is a separate issue, but math preview seems pretty slow on all of my machines. By comparison, Overleaf (which is a web app!!) displays previews for all the equations in a document, and compilation of equations happens almost instantly. Just something to think about.