hatex-guide 1.2.0.0 → 1.3.0.0
raw patch · 5 files changed
+12/−14 lines, 5 filesdep ~HaTeXdep ~blaze-htmldep ~directory
Dependency ranges changed: HaTeX, blaze-html, directory, filepath, time, transformers
Files
- README.md +1/−1
- Text/LaTeX/Guide/Auto.hs +1/−1
- Text/LaTeX/Guide/Backend/HTML.hs +1/−0
- Text/LaTeX/Guide/Backend/Wiki.hs +2/−5
- hatex-guide.cabal +7/−7
README.md view
@@ -45,7 +45,7 @@ # Contributing to the guide There are several things to keep in mind to contribute to the guide.-If you contribute, do not forget to add your name to the `contributors` list to bound in the+If you contribute, do not forget to add your name to the `contributors` list which you can find in the `Text.LaTeX.Guide.Info` module. ## Sections
Text/LaTeX/Guide/Auto.hs view
@@ -7,4 +7,4 @@ -- | The version of the guide. Based on the version of the package. guideVersion :: Version-guideVersion = Version [1,2,0,0] []+guideVersion = Version [1,3,0,0] []
Text/LaTeX/Guide/Backend/HTML.hs view
@@ -155,6 +155,7 @@ d <- utctDay <$> getCurrentTime return $ H.docTypeHtml $ do H.head $ do+ H.title "The HaTeX User's Guide" H.link ! A.rel "stylesheet" ! A.href "https://rawgithub.com/Daniel-Diaz/hatex-guide/master/hatex.css" H.body $ htmlTitle d <> H.hr <> h
Text/LaTeX/Guide/Backend/Wiki.hs view
@@ -7,7 +7,7 @@ import Text.LaTeX.Guide.Syntax import Text.LaTeX.Guide.Info hiding (Backend(..))-import Data.Monoid (Monoid (..))+import Data.Monoid import Data.Text import Data.Text.IO import Data.Functor@@ -15,9 +15,6 @@ import Prelude (Eq (..), Num (..),IO,Monad (..), Int, uncurry, Show (..)) import Data.String (IsString (..)) -(<>) :: Monoid m => m -> m -> m-(<>) = mappend- tag :: Text -> Text -> Text tag t x = mconcat [ "<" , t , ">" , x , "</" , t , ">" ] @@ -38,7 +35,7 @@ syntaxWiki (Section n s) = let m = 1 + n d = text $ replicate m "="- in d <> syntaxWiki s <> d+ in d <> syntaxWiki s <> d <> text "\n\n" syntaxWiki (Bold s) = let d = text "'''" in d <> syntaxWiki s <> d
hatex-guide.cabal view
@@ -1,5 +1,5 @@ Name: hatex-guide-Version: 1.2.0.0+Version: 1.3.0.0 Author: Daniel Díaz Build-type: Custom Category: LaTeX@@ -32,14 +32,14 @@ Library Build-depends: base == 4.*- , HaTeX >= 3.7.0.0 && < 3.8.0.0+ , HaTeX >= 3.7.0.0 && < 3.10.0.0 , text == 0.11.*- , filepath+ , filepath >= 1.1.0.0 && < 1.4 , parsec >= 3.1.2 && < 3.2- , directory- , blaze-html- , transformers- , time+ , directory >= 1.2.0.0 && < 1.3+ , blaze-html >= 0.5.1.0 && < 0.7+ , transformers >= 0.3.0.0 && < 0.4+ , time >= 1.2.0.2 && < 1.5 Exposed-modules: Text.LaTeX.Guide Other-modules: