w7cook / AoPL

A book on programming languages, using Haskell

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lhs2tex misinterprets symbols in code blocks.

wting opened this issue · comments

The root issue is lhs2tex is converting a lot of symbols in Haskell code into their math equivalents. For example == is converted into and . to . I'm not sure what a good solution is though...

Yes, lhs2tex causes problems. The makefile performs many transformations to fix these problems. It's messy, but I don't know a better way to do this.

See the comment on the other issue, about lambdas. There are two PDF versions generated, and one has fancy symbols and the other does not.