
Hi, There is a bug in cabal haddock, when lines in an lhs file start with a $, which is quite common when writing a paper with large TeX fragments in the programs. For instance, cabal haddock fails on the following lhs file: blabla, blibli $a+b$ \begin{code} main=putStrLn "Hello" \end{code} I first thought it was a haddock bug, but the haddock maintainers disagree:http://trac.haskell.org/haddock/ticket/293 Pierre-Étienne Meunier

Hi,
On 26 March 2014 11:18, Pierre-Étienne Meunier
Hi,
There is a bug in cabal haddock, when lines in an lhs file start with a $, which is quite common when writing a paper with large TeX fragments in the programs.
Can you please file an issue at https://github.com/haskell/cabal/issues/new ? I'll look into this when I'll have time.
participants (2)
-
Mikhail Glushenkov
-
Pierre-Étienne Meunier