arxiv-vanity / engrafo

Convert LaTeX documents into beautiful responsive web pages using LaTeXML.
https://www.arxiv-vanity.com
Apache License 2.0
1.07k stars 92 forks source link

Write test documents for most common packages #421

Open bfirsh opened 6 years ago

bfirsh commented 6 years ago

We should make a thorough set of test documents to test the HTML and visual output of various LaTeXML features/packages. These can also be used to develop CSS in Storybook.

@dginev sent this advice about prioritising packages via email:

For now I only keep track of the unsupported packages, and in another ten days we will have the fully up-to-date list for 0.8.3. This is the list of ~14,000 with 50% of arXiv (upto 07.2018) converted:

https://corpora.mathweb.org/corpus/arxmliv/tex_to_html/warning/missing_file?all=true

I could discuss with Bruce if we could emit info messages for all loaded files (we do emit messages as it is, but not as structured messages for the log harness), and then I should be able to show a report... Feel free to open a latexml issue if that sounds like something you really need.

For now, what you could do as an approximation is look at the .ltxml files supported by LaTeXML, which is the full list of supported remaining files in arXiv, and look at the dates they were added to the repository, as we have been trying to add the most frequent missing packages first, while developing. And if you only look at the .cls.ltxml files, we have 40 of them total anyway -- .sty packages tend to be more functional than stylistic, although with notable exceptions, such as the AMSmath set.

Here is an approximation of that, oldest-to-newest:

lib/LaTeXML/Package$ while read file; do echo $(git log --pretty=format:%ad --reverse --date=raw -- $file|head -1) $file; done < <(git ls-tree -r --name-only HEAD) | sort -k1,1n

<snip, included as checklist below>

Checklist

See also

bfirsh commented 6 years ago

See also https://github.com/dginev/CorTeX/pull/39#issuecomment-418901317