packages feed

highlighting-kate 0.5.0.6 → 0.5.1

raw patch · 3 files changed

+16/−4 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

Text/Highlighting/Kate/Format/LaTeX.hs view
@@ -23,10 +23,11 @@ formatLaTeX _ = intercalate "\n" . map sourceLineToLaTeX  -- | Formats tokens as LaTeX using custom commands inside--- a @\\Highlight@ command.  A @KeywordTok@ is rendered--- using @\\KeywordTok{..}@, and so on.+-- @|@ characters. Assumes that @|@ is defined as a short verbatim+-- command by the macros produced by 'styleToLaTeX'.+-- A @KeywordTok@ is rendered using @\\KeywordTok{..}@, and so on. formatLaTeXInline :: FormatOptions -> [SourceLine] -> String-formatLaTeXInline opts ls = "\\Verb{" ++ formatLaTeX opts ls ++ "}"+formatLaTeXInline opts ls = "|" ++ formatLaTeX opts ls ++ "|"  sourceLineToLaTeX :: SourceLine -> String sourceLineToLaTeX contents = concatMap tokenToLaTeX contents
changelog view
@@ -1,3 +1,14 @@+highlighting-kate 0.5.1 (29 May 2012)++  * Fixed inline LaTeX formatting:  it should be `|...|`+    rather than `\Verb{...}`.++highlighting-kate 0.5.0.6 (27 Apr 2012)++  * Added zenburn style.++  * Updated for compatibility with blaze-html 0.5.*.+ highlighting-kate 0.5.0.5 (14 Feb 2012)    * Update 'synStPrevNonspace' at end of line.
highlighting-kate.cabal view
@@ -1,5 +1,5 @@ Name:                highlighting-kate-Version:             0.5.0.6+Version:             0.5.1 Cabal-Version:       >= 1.6 Build-Type:          Simple Category:            Text