Closed idontgetoutmuch closed 8 years ago
I have removed Cabal 1.25 and installed 1.24
~/Dropbox/Private/Libraries/Kalman $ /Users/dom/Library/Haskell/ghc-8.0.1/lib/cabal-install-1.24.0.0/bin/cabal --version
cabal-install version 1.24.0.0
compiled using version 1.24.0.0 of the Cabal library
I no longer get an error but neither do I get any output :(
~/Dropbox/Private/Libraries/Kalman $ /Users/dom/Library/Haskell/ghc-8.0.1/lib/diagrams-haddock-0.3.0.11/bin/diagrams-haddock
~/Dropbox/Private/Libraries/Kalman $
I think the Cabal version mismatch is a red herring. Cabal versions can definitely be a problem with diagrams-haddock
, but if that were the problem you would get error messages about mismatched versions, instead of simply getting no output.
I think the real problem is in the line
-- <<diagrams/src_Numeric_Kalman_diag.svg#diag=diag&height=600&width=500>>
You have ...#diag=diag
but you cannot abbreviate the diag
on the LHS like that. So diagrams-haddock simply ignores this line since it does not parse. Instead you should write
-- <<diagrams/src_Numeric_Kalman_diag.svg#diagram=diag&height=600&width=500>>
does that work?
Perfect - thanks - sorry about the noise
And also
But
Also if I try to create a diagram from one source file
AFAICS no output is produced.
Here's the haddock that I hoped would produce a diagram