kosmikus / lhs2tex

Preprocessor for typesetting Haskell sources with LaTeX
Other
99 stars 28 forks source link

FAQ entry addressing compile time performance #101

Open sgraf812 opened 9 months ago

sgraf812 commented 9 months ago

For years I wondered why performance of the code generated by the lhs2TeX styling template I use (due to Richard Eisenberg) is so abyssmal when using acmart. It turns out this is due to an interaction between microtype and newtxmath. I could speed up the pipeline greatly by getting rid of any entering of math mode from within \text, e.g., \text{$x$} is "bad". (Measurably so only with acmart.)

I added a FAQ entry.