@@ -179,9 +179,6 @@ Source-repository head
179179Flag threaded
180180 Description: Compile markdown2pdf with -threaded option.
181181 Default: True
182−Flag highlighting
183− Description: Compile in support for syntax highlighting of code blocks.
184− Default: False
185182Flag executable
186183 Description: Build the pandoc executable.
187184 Default: True
@@ -225,14 +222,12 @@ Library
225222 dlist >= 0.4 && < 0.6,
226223 tagsoup >= 0.12.5 && < 0.13,
227224 base64-bytestring >= 0.1 && < 0.2,
228− zlib >= 0.5 && <= 0.6
225+ zlib >= 0.5 && <= 0.6,
226+ highlighting-kate >= 0.4 && < 0.5
229227 if impl(ghc >= 6.10)
230228 Build-depends: base >= 4 && < 5, syb >= 0.1 && < 0.4
231229 else
232230 Build-depends: base >= 3 && < 4
233− if flag(highlighting)
234− Build-depends: highlighting-kate >= 0.4 && < 0.5
235− cpp-options: -D_HIGHLIGHTING
236231 if impl(ghc >= 6.12)
237232 Ghc-Options: -O2 -Wall -fno-warn-unused-do-bind
238233 else
@@ -313,14 +308,12 @@ Executable pandoc
313308 dlist >= 0.4 && < 0.6,
314309 tagsoup >= 0.12.5 && < 0.13,
315310 base64-bytestring >= 0.1 && < 0.2,
316− zlib >= 0.5 && <= 0.6
311+ zlib >= 0.5 && <= 0.6,
312+ highlighting-kate >= 0.4 && < 0.5
317313 if impl(ghc >= 6.10)
318314 Build-depends: base >= 4 && < 5, syb >= 0.1 && < 0.4
319315 else
320316 Build-depends: base >= 3 && < 4
321− if flag(highlighting)
322− Build-depends: highlighting-kate >= 0.4 && < 0.5
323− cpp-options: -D_HIGHLIGHTING
324317 if impl(ghc >= 6.12)
325318 Ghc-Options: -O2 -Wall -fno-warn-unused-do-bind
326319 else
@@ -353,8 +346,6 @@ Executable markdown2pdf
353346Executable test-pandoc
354347 Hs-Source-Dirs: src
355348 Main-Is: test-pandoc.hs
356− if flag(highlighting)
357− cpp-options: -D_HIGHLIGHTING
358349 if impl(ghc >= 7)
359350 cpp-options: -D_LIT=lit
360351 else