kosmikus / lhs2tex

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

Better error message when --pre is called with the unexpected number of arguments #97

Closed sgraf812 closed 10 months ago

sgraf812 commented 10 months ago

In https://github.com/kosmikus/lhs2tex/pull/95 I was very confused when lhs2TeX --pre File.lhs would crash somewhere in display.select. This patch emits a better error message in that case. I also added dist-newstyle to the .gitignore, and bumped the cabal-version to 2.0 autogen-modules are used.

kosmikus commented 10 months ago

Thanks!