packages feed

highlighting-kate 0.5.3.9 → 0.5.4

raw patch · 4 files changed

+13/−4 lines, 4 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

README view
@@ -165,7 +165,7 @@     kate/part/syntax/data  There is information on the syntax highlighting definitions at-<http://docs.kde.org/stable/en/kde-baseapps/kate/highlight.html>.  See also+<http://docs.kde.org/stable/en/applications/kate/highlight.html>.  See also <http://kate-editor.org/2005/03/24/writing-a-syntax-highlighting-file/>.  Thanks are due to all the authors of these syntax definitions.
Text/Highlighting/Kate/Format/LaTeX.hs view
@@ -27,7 +27,7 @@ -- command by the macros produced by 'styleToLaTeX'. -- A @KeywordTok@ is rendered using @\\KeywordTok{..}@, and so on. formatLaTeXInline :: FormatOptions -> [SourceLine] -> String-formatLaTeXInline _opts ls = "|" ++ formatLaTeX True ls ++ "|"+formatLaTeXInline _opts ls = "\\VERB|" ++ formatLaTeX True ls ++ "|"  sourceLineToLaTeX :: Bool -> SourceLine -> String sourceLineToLaTeX inline contents = concatMap (tokenToLaTeX inline) contents@@ -91,7 +91,7 @@   [ "\\usepackage{color}"   , "\\usepackage{fancyvrb}"   , "\\newcommand{\\VerbBar}{|}"-  , "\\DefineShortVerb[commandchars=\\\\\\{\\}]{\\|}"+  , "\\newcommand{\\VERB}{\\Verb[commandchars=\\\\\\{\\}]}"   , "\\DefineVerbatimEnvironment{Highlighting}{Verbatim}{commandchars=\\\\\\{\\}}"   , "% Add ',fontsize=\\small' for more characters per line"   ] ++
changelog view
@@ -1,3 +1,12 @@+highlighting-kate 0.5.4 (26 June 2013)+++  * LaTeX formatter:  Render inline code as `\VERB|code|`+    rather than `|code|`.  Define `\VERB` macro in preamble+    rather than defining `|` as a shortverb character.  This+    prevents troublesome clashes with `|` characters in array+    environments and such.  See pandoc#891.+ highlighting-kate 0.5.3.9 (06 May 2013)    * LaTeX formatter:  Avoid using \textbar, which gives a bar that
highlighting-kate.cabal view
@@ -1,5 +1,5 @@ Name:                highlighting-kate-Version:             0.5.3.9+Version:             0.5.4 Cabal-Version:       >= 1.10 Build-Type:          Simple Category:            Text