w7cook / AoPL

A book on programming languages, using Haskell

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unintentional lambda symbol.

wting opened this issue · comments

While the source shows > f'3 = \x -> x * 2, the generated PDF actually shows:

screenshot from 2014-02-03 18 43 54

The reason is lhs2tex converts \ to \hslambda which is then rendered by Pandoc. I think you can use an unset flag to disable lambda.fmt, but it also disables other symbol conversions (e.g. ->, lambda_).

I'm not sure if this is the route you want to take or if it's worth fixing.

which generated PDF are you looking at? anatomy.pdf or anatomyVerbatim.pdf ? The anatomy version uses lots of pretty symbols, while the Verbatim one is supposed to look like text.