hatex-guide 1.0.1.5 → 1.0.1.6
raw patch · 3 files changed
+15/−12 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- Text/LaTeX/Guide/Auto.hs +10/−10
- Text/LaTeX/Guide/Backend/LaTeX.hs +4/−1
- hatex-guide.cabal +1/−1
Text/LaTeX/Guide/Auto.hs view
@@ -1,10 +1,10 @@--- | Automatically generated module.-module Text.LaTeX.Guide.Auto (- guideVersion- ) where--import Data.Version---- | The version of the guide. Based on the version of the package.-guideVersion :: Version-guideVersion = Version [1,0,1,5] []+-- | Automatically generated module. +module Text.LaTeX.Guide.Auto ( + guideVersion + ) where + +import Data.Version + +-- | The version of the guide. Based on the version of the package. +guideVersion :: Version +guideVersion = Version [1,0,1,6] []
Text/LaTeX/Guide/Backend/LaTeX.hs view
@@ -42,13 +42,16 @@ in color c <> f t <> normalcolor hatexSyntax _ (URL t) = let u = createURL $ unpack t in url u-hatexSyntax fp (IMG t) = center $ includegraphics [] $ fp </> unpack t+hatexSyntax fp (IMG t) = center $ includegraphics [] $ forwardSlashes $ fp </> unpack t hatexSyntax _ LaTeX = latex hatexSyntax _ HaTeX = hatex hatexSyntax _ (Math t) = math $ raw t hatexSyntax fp (Footnote s) = footnote $ hatexSyntax fp s hatexSyntax fp (Append s1 s2) = hatexSyntax fp s1 <> hatexSyntax fp s2 hatexSyntax _ Empty = mempty++forwardSlashes :: String -> String+forwardSlashes = fmap $ \c -> if c == '\\' then '/' else c thePreamble :: LaTeX thePreamble =
hatex-guide.cabal view
@@ -1,5 +1,5 @@ Name: hatex-guide-Version: 1.0.1.5+Version: 1.0.1.6 Author: Daniel Díaz Build-type: Custom Category: LaTeX