haskell / haddock

Haskell Documentation Tool
www.haskell.org/haddock/
BSD 2-Clause "Simplified" License
361 stars 242 forks source link

$ symbol forbidden as line first character in .lhs files in (cabal haddock) #293

Closed ghc-mirror closed 10 years ago

ghc-mirror commented 10 years ago

Original reporter: pierreetienne.meunier@

haddock recognizes the following file, but cabal haddock doesn't recognize it.

blabla, blibli $a+b$ \begin{code} main=putStrLn "Hello" \end{code}

ghc-mirror commented 10 years ago

Original reporter: fuuzetsu@

If Haddock recognises it but cabal haddock doesn't then it's a problem with how cabal invokes Haddock. Please file a bug with cabal folks.

Here's a re-formatted example for reference.

blabla, blibli
$a+b$
\begin{code}
main=putStrLn "Hello"
\end{code}

Feel free to re-open if you disagree.