Graphalyze 0.14.0.1 → 0.14.0.2
raw patch · 2 files changed
+14/−13 lines, 2 filesdep ~pandoc
Dependency ranges changed: pandoc
Files
- Data/Graph/Analysis/Reporting/Pandoc.hs +12/−11
- Graphalyze.cabal +2/−2
Data/Graph/Analysis/Reporting/Pandoc.hs view
@@ -29,15 +29,16 @@ import Data.Graph.Analysis.Reporting -import Data.GraphViz.Commands(GraphvizOutput(Png, Svg))-import Text.Pandoc+import Data.GraphViz.Commands (GraphvizOutput (Png, Svg))+import Text.Pandoc+import qualified Text.Pandoc.Shared as P -import Data.List(intersperse)-import Data.Maybe(isNothing, fromJust)-import Control.Arrow((***))-import Control.Exception(SomeException, try)-import System.Directory(removeDirectoryRecursive)-import System.FilePath((</>), (<.>))+import Control.Arrow ((***))+import Control.Exception (SomeException, try)+import Data.List (intersperse)+import Data.Maybe (fromJust, isNothing)+import System.Directory (removeDirectoryRecursive)+import System.FilePath ((<.>), (</>)) -- ----------------------------------------------------------------------------- @@ -131,7 +132,7 @@ } -- | Used when traversing the document structure.-data PandocProcess = PP { secLevel :: Int+data PandocProcess = PP { secLevel :: Int , visParams :: VisParams } deriving (Eq, Ord, Show, Read)@@ -191,11 +192,11 @@ -- | The meta information makeMeta :: DocInline -> String -> String -> Meta-makeMeta tle a t = Meta (inlines tle) [[Str a]] [Str t]+makeMeta tle a t = P.makeMeta (inlines tle) [[Str a]] [Str t] -- | Html output doesn't show the author and date; use this to print it. htmlInfo :: String -> String -> Block-htmlInfo auth dt = RawBlock "html" html+htmlInfo auth dt = RawBlock (Format "html") html where heading = "<h1>Document Information</h1>" html = unlines [heading, htmlize auth, htmlize dt]
Graphalyze.cabal view
@@ -1,5 +1,5 @@ Name: Graphalyze-Version: 0.14.0.1+Version: 0.14.0.2 Synopsis: Graph-Theoretic Analysis library. Description: A library to use graph theory to analyse the relationships inherent in discrete data.@@ -31,7 +31,7 @@ bktrees >= 0.2 && <0.4, fgl >= 5.4.2.3 && < 5.5, graphviz >= 2999.15 && < 2999.17,- pandoc == 1.10.*,+ pandoc == 1.12.*, text Exposed-Modules: Data.Graph.Analysis