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

Make it possible to pass options to LaTeXML #267

Open asmaier opened 6 years ago

asmaier commented 6 years ago

Latexml has several options (http://dlmf.nist.gov/LaTeXML/manual/commands/latexml.html). Is it possible to pass these options via engrafo to LatexML?

Especially I'm interested in --verbose and --debug, because I'm seeing errors when converting my bibtex file, but engrafo doesn't give enough output to debug these errors

(MakeBibliography index.html processing... [Converting bibliography /workdir/test.bib ...

Fatal:too_many_errors:100 Too many errors (> 100)!
    at Anonymous String; line 1 col 38
    In Core::Document[@0x55df6561e478] at Anonymous String; line 1 col 38
101 errors; 1 fatal error

Conversion complete: 101 errors; 1 fatal error.
Status:conversion:3
... Failed!]
bfirsh commented 6 years ago

:+1: Some kind of way of passing through LaTeXML options is a great idea.

Perhaps --latexml-KEY=VALUE, or --latexml-options="..." which is just passed verbatim.

asmaier commented 6 years ago

I want to add that also the post processing command (http://dlmf.nist.gov/LaTeXML/manual/commands/latexmlpost.html) has several options and it would be nice to be able to pass them through.