New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
integrate support for minted.sty #291
Comments
Unless we get some extra time to look into this soon, moving into the Future milestone. |
For the record: since it uses an external python program/library, |
We have, unsurprisingly, received a request for minted at Authorea. And it turns out even pandoc "supports" it already by writing out a verbatim code block. Probably something to consider as a stop gap, I'm unsure if a partial implementation is better than no implementation here. |
Writing out a code block probably works in many cases, but will fail if there are user defined macros inside; likewise it isn't really correct to attempt to "partially" expand only those user defined macros, although it might work occasionally. Anyway, I guess it's time to admit that this binding isn't going to happen any time in the near future. Sorry.l |
cross-referencing an author's comment for 2109.04981 in ar5iv, where minted support was mentioned explicitly. I won't reopen the issue yet, but maybe we'll revisit it eventually... |
Is a partial implementation of
For the purpose of ar5iv, minted never needs to execute python anyway, and runs on cached latex output from pygments consisting of a handful of style commands. |
@eric-wieser appropriate that you mention ar5iv - there is a stub implementation for minted.sty already available there, which tries to emulate minted blocks via listings.sty listings. I'm now nearing 50 additional .ltxml files for ar5iv, which mostly just try to do basic damage mitigation, until the mainline LaTeXML repository can integrate fully fleshed out support. |
Ah, then perhaps my diagnosis of dginev/ar5iv#143 was incorrect; I assumed it was a lack of support for minted! |
Another high-profile use of minted (if one day we are looking for real-life tests) can be found recommended in Lean 4's user manual, particularly Syntax Highlighting Lean in LaTeX . |
[Originally Ticket 1615]
http://code.google.com/p/minted/ has been making my day all week (running under pdflatex).
This would be lovely to have working within LaTeXML.
The text was updated successfully, but these errors were encountered: