summaryrefslogtreecommitdiff
path: root/pandoc.cabal
Commit message (Collapse)AuthorAge
...
* Added support for Cite to Markdown reader, and conditional support for ↵fiddlosopher2008-08-04
| | | | | | | | | | | | citeproc module. + The citeproc cabal configuration option sets the _CITEPROC macro, which conditionally includes code for handling citations. + Added Text.Pandoc.Biblio module. + Made highlighting option default to False. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1376 788f1e2b-df1e-0410-8736-df70ead52e1b
* Improved configuration options and CPP macros.fiddlosopher2008-08-03
| | | | | | | | | | | | + Now all macros that serve as flags start with a single _. + Added message to '-v' output about UTF-8 support. + Made highlighting the default. If the highlighting-kate library is not present, cabal will deselect the option (unless it was explicitly set). + Add UTF8 support to test function in Text.Pandoc.Shared. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1374 788f1e2b-df1e-0410-8736-df70ead52e1b
* Added 'utf8' configuration flag to pandoc.cabal.fiddlosopher2008-08-03
| | | | | | | | | This makes it possible to compile pandoc without utf8, using '-f-utf8' at configuration time. Utf-8 support is still the default. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1373 788f1e2b-df1e-0410-8736-df70ead52e1b
* Improved template handling:fiddlosopher2008-08-02
| | | | | | | | | | + Split template haskell functions into new module, Text.Pandoc.TH + Distinguish contentsOf and binaryContentsOf; the former uses text mode in Windows, while the latter uses binary mode git-svn-id: https://pandoc.googlecode.com/svn/trunk@1368 788f1e2b-df1e-0410-8736-df70ead52e1b
* Fixes to make haddock work with template haskell:fiddlosopher2008-08-01
| | | | | | | | + Added CPP, TemplateHaskell, FlexibleInstances to cabal file "Extensions" field + Added #ifndef __HADDOCK__ cpp declarations in the files using template haskell. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1366 788f1e2b-df1e-0410-8736-df70ead52e1b
* Removed FlexibleInstances Extension line from pandoc.cabal; it isn't neededfiddlosopher2008-08-01
| | | | | | | because the relevant files have pragmas. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1365 788f1e2b-df1e-0410-8736-df70ead52e1b
* Removed 'CPP' from Extension in pandoc.cabal.fiddlosopher2008-08-01
| | | | | | | | | It is not needed (since the relevant files have a pragma anyway), and it causes problems on windows (Cabal thinks pandoc.cabal has changed every time configure is run). git-svn-id: https://pandoc.googlecode.com/svn/trunk@1360 788f1e2b-df1e-0410-8736-df70ead52e1b
* Don't use OverloadedStrings in ODT writer.fiddlosopher2008-08-01
| | | | | | | Remove version dependency from bytestring. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1359 788f1e2b-df1e-0410-8736-df70ead52e1b
* Depend on bytestring-0.9.0.1 and provide a ByteString instance for IsString ↵fiddlosopher2008-08-01
| | | | | | | | | | manually, in Text/Pandoc/ODT.hs. Upgrading to 0.9.1.0 causes problems unless every package has been built with that version, so for now we stick with 0.9.0.1. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1358 788f1e2b-df1e-0410-8736-df70ead52e1b
* Simplified build process using template haskell.fiddlosopher2008-08-01
| | | | | | | | | | | | | | + Text/Pandoc/ASCIIMathML.hs, Text/Pandoc/DefaultHeaders.hs, and Text/Pandoc/Writers/S5.hs are no longer built in Setup.hs from templates in the templates/ directory. + Instead, they use template haskell to read data at compile time from the relevant files in data/. + Setup.hs is back to the default simple configuration. + Removed old templates and Extra-Tmp-Files field from pandoc.cabal. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1357 788f1e2b-df1e-0410-8736-df70ead52e1b
* Use template haskell to store reference.odt as blob in pandoc.fiddlosopher2008-08-01
| | | | | | | | | | + Added contentsOf to Text.Pandoc.Shared. + Use this to get contents of reference.odt at compile time in Text.Pandoc.ODT + Added bytestring and template-haskell dependencies to pandoc.cabal. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1355 788f1e2b-df1e-0410-8736-df70ead52e1b
* Added code for xml library (Text.XML.Light) to source tree,fiddlosopher2008-08-01
| | | | | | | | since there is currently no debian package. Removed dependency on xml library. Added license to debian/copyright. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1351 788f1e2b-df1e-0410-8736-df70ead52e1b
* Compatibility fixes for CPP, Cabal, and haddock:fiddlosopher2008-07-31
| | | | | | | | + Use CPP in "Extensions" field in pandoc.cabal. + Removed use of backslash string continuations in source files. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1350 788f1e2b-df1e-0410-8736-df70ead52e1b
* Removed superfluous binary and bytestring dependencies in pandoc.cabal.fiddlosopher2008-07-31
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1349 788f1e2b-df1e-0410-8736-df70ead52e1b
* Use utf8-string's System.IO.UTF8 to replace Text.Pandoc.UTF8.fiddlosopher2008-07-31
| | | | | | | | | | | + removed Text/Pandoc/UTF8.hs + removed UTF8.hs notice from debian/copyright + adjusted main.hs, Text/Pandoc.hs, and Text/Pandoc/ODT.hs to use System.IO.UTF8 instead of Text.Pandoc.UTF8 + Added dependency on utf8-string to pandoc.cabal git-svn-id: https://pandoc.googlecode.com/svn/trunk@1347 788f1e2b-df1e-0410-8736-df70ead52e1b
* Added 'library' and 'executable' configuration flags.fiddlosopher2008-07-31
| | | | | | | | Cabal can now be told to build just the library or just the executable. Updated INSTALL accordingly. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1346 788f1e2b-df1e-0410-8736-df70ead52e1b
* Added 'odt' output option to pandoc:fiddlosopher2008-07-31
| | | | | | | | | | | | | | | | | Not a writer, but a module that inserts the output of the OpenDocument writer into an ODT archive. This replaces markdown2odt. + Added odt output option to Main.hs. + Added default for .odt output file. + Changed defaults so that .xml and .sgml aren't automatically DocBook. + Added odt writer to Text.Pandoc exports. + Added Text.Pandoc.ODT and included in pandoc.cabal. + Added reference.odt as data-file in pandoc.cabal. + Handle picture links in OpenDocument files using xml library. + Removed markdown2odt and references from Makefile, README, man. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1345 788f1e2b-df1e-0410-8736-df70ead52e1b
* Fixed typo in pandoc.cabal.fiddlosopher2008-07-31
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1343 788f1e2b-df1e-0410-8736-df70ead52e1b
* Simplified Setup.hs by removing PostClean hooks.fiddlosopher2008-07-31
| | | | | | | Added Extra-Tmp-Files to pandoc.cabal; this does the same thing. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1342 788f1e2b-df1e-0410-8736-df70ead52e1b
* Improved pandoc.cabal:fiddlosopher2008-07-31
| | | | | | | | + Added Extra-Source-Files so sdist contains everything needed to build + Added "Build-Type" field to avoid warning. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1341 788f1e2b-df1e-0410-8736-df70ead52e1b
* Use CPP to simplify build procedure for Highlighting.hs module.fiddlosopher2008-07-31
| | | | | | | This is no longer built by Setup.hs in the pre-configure phase. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1339 788f1e2b-df1e-0410-8736-df70ead52e1b
* Added MediaWiki writer.fiddlosopher2008-07-27
| | | | | | | | | | | | | | | | | + Added Text/Pandoc/Writers/MediaWiki.hs + Added to pandoc.cabal + Added to Main.hs and Text/Pandoc.hs exports. + Added tests for mediawiki writer & table writer. + Added information on MediaWiki writer to README. + Added mediawiki markup to list of formats in pandoc(1) man page. + Updated debian/control with mediawiki output format. + Added mediawiki markup to description in macports portfile. + Updated freebsd package description to include mediawiki format. + Mention MediaWiki output format in web page index. + Added mediawiki demo to website. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1337 788f1e2b-df1e-0410-8736-df70ead52e1b
* Added OpenDocument format to cabal description.fiddlosopher2008-07-24
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1335 788f1e2b-df1e-0410-8736-df70ead52e1b
* Added -Wall to ghc-options in pandoc.cabal.fiddlosopher2008-06-17
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1290 788f1e2b-df1e-0410-8736-df70ead52e1b
* Moved XML-formatting functions to new unexported module Text.Pandoc.XML.fiddlosopher2008-03-19
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1253 788f1e2b-df1e-0410-8736-df70ead52e1b
* Andrea Rossato's patch for OpenDocument support.fiddlosopher2008-03-19
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1252 788f1e2b-df1e-0410-8736-df70ead52e1b
* Require parsec < 3.fiddlosopher2008-03-06
| | | | | | | | | The compatibility module in parsec 3.0.0 gives far worse performance than parsec 2.1. Eventually pandoc will be upgraded to use the new bytestring version of parsec, and then we'll go to parsec 3.0.0. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1248 788f1e2b-df1e-0410-8736-df70ead52e1b
* Added Texinfo writer to exported modules in pandoc.cabal.fiddlosopher2008-02-24
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1247 788f1e2b-df1e-0410-8736-df70ead52e1b
* Updated package URL for pandoc.cabal and pandoc.cabal.ghc66.fiddlosopher2008-02-24
| | | | | | | | Updated pandoc.cabal.ghc66 with highlighting modules and new location for DefaultWriters. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1240 788f1e2b-df1e-0410-8736-df70ead52e1b
* Added build option for syntax highlighting, with *optional* dependency on ↵fiddlosopher2008-02-09
| | | | | | | | | | | | | | | | | highlighting-kate. + pandoc.cabal includes a flag, 'highlighting', that causes a dependency on highlighting-kate. + if Setup.hs detects this dependency, it copies templates/Highlighting.yes.hs to Text/Pandoc/Highlighting.hs. Otherwise, it copies templates/Highlighting.no.hs. + The HTML writer imports this new module instead of Text.Highlighting.Kate. The new module exports highlightHtml, which either uses highlighting-kate to perform syntax highlighting or automatically returns a failure code, depending on whether highlighting support was selected. + --version now prints information about whether syntax highlighting support is compiled in. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1221 788f1e2b-df1e-0410-8736-df70ead52e1b
* Removed Text.Regex dependencies by rewriting using plain Haskell:fiddlosopher2008-02-09
| | | | | | | | | | + from Text.Pandoc.Writers.RTF + from Text.Pandoc.Writers.HTML + from Main + from pandoc.cabal git-svn-id: https://pandoc.googlecode.com/svn/trunk@1219 788f1e2b-df1e-0410-8736-df70ead52e1b
* Moved Text.Pandoc.Writers.DefaultHeaders -> Text.Pandoc.DefaultHeaders.fiddlosopher2008-02-09
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1218 788f1e2b-df1e-0410-8736-df70ead52e1b
* Included highlighting-kate in build-depends.fiddlosopher2008-02-09
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1212 788f1e2b-df1e-0410-8736-df70ead52e1b
* Bumped version to 0.47.fiddlosopher2008-01-08
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1187 788f1e2b-df1e-0410-8736-df70ead52e1b
* Changed copyright dates where appropriate to include 2008.fiddlosopher2008-01-08
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1181 788f1e2b-df1e-0410-8736-df70ead52e1b
* Bumped version number to 0.46.fiddlosopher2007-12-10
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1147 788f1e2b-df1e-0410-8736-df70ead52e1b
* Added Text.Pandoc.Readers.TeXMath and changed default handling of math.fiddlosopher2007-12-02
| | | | | | | | | | | | | | + Text.Pandoc.Readers.TeXMath exports readTeXMath, which reads raw TeX math and outputs a string of pandoc inlines that tries to render it as far as possible, lapsing into literal TeX when needed. + Added Text.Pandoc.Readers.TeXMath to pandoc.cabal + ghc66 version. + Modified writers so that readTeXMath is used for default HTMl output in HTML, S5, RTF, Docbook. + Updated README with information about how math is rendered in all formats. + Updated test suite. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1129 788f1e2b-df1e-0410-8736-df70ead52e1b
* Changed references to source directory in Makefile and pandoc.cabal.*.fiddlosopher2007-11-29
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1105 788f1e2b-df1e-0410-8736-df70ead52e1b
* Use Ghc-Prof-Options to ensure that '-auto-all' is usedfiddlosopher2007-11-22
| | | | | | | when '--enable-*-profiling' is specified. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1090 788f1e2b-df1e-0410-8736-df70ead52e1b
* Modified build procedure to allow compilation with GHC 6.8:fiddlosopher2007-11-06
| | | | | | | | | | | | | | | + pandoc.cabal now uses Cabal configurations and requires Cabal >=1.2. + An alternative pandoc.cabal.ghc66 is provided for those who have older versions of Cabal. + Debian build process has been modified to use pandoc.cabal.ghc66, as a temporary measure until GHC 6.8 gets into debian unstable. + INSTALL instructions have been updated. + Makefile has been updated to accommodate changes in pandoc.cabal. + pandoc.cabal.ghc68 has been removed, since the default version now works with GHC 6.8. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1066 788f1e2b-df1e-0410-8736-df70ead52e1b
* Reverted back to state as of r1062. The template haskell changesfiddlosopher2007-11-03
| | | | | | | are more trouble than they're worth. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1064 788f1e2b-df1e-0410-8736-df70ead52e1b
* Use template haskell to avoid the need for templates:fiddlosopher2007-11-03
| | | | | | | | | | | | | | | | | | + Added library Text.Pandoc.Include, with a template haskell function $(includeStrFrom fname) to include a file as a string constant at compile time. + This removes the need for the 'templates' directory or Makefile target. These have been removed. + The base source directory has been changed from src to . + A new 'data' directory has been added, containing the ASCIIMathML.js script, writer headers, and S5 files. + The src/wrappers directory has been moved to 'wrappers'. + The Text.Pandoc.ASCIIMathML library is no longer needed, since Text.Pandoc.Writers.HTML can use includeStrFrom to include the ASCIIMathML.js code directly. It has been removed. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1063 788f1e2b-df1e-0410-8736-df70ead52e1b
* Changed pandoc home page to http://johnmacfarlane.net/pandoc/.fiddlosopher2007-09-13
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1014 788f1e2b-df1e-0410-8736-df70ead52e1b
* Bumped version to 0.45.fiddlosopher2007-09-05
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1010 788f1e2b-df1e-0410-8736-df70ead52e1b
* Bump version numbers to 0.44, which will be the nextfiddlosopher2007-09-02
| | | | | | | bug-fix release (when enough bug fixes have accumulated). git-svn-id: https://pandoc.googlecode.com/svn/trunk@1001 788f1e2b-df1e-0410-8736-df70ead52e1b
* Simplify autolink parsing code, using Network.URI to test forfiddlosopher2007-09-01
| | | | | | | | URIs. Added dependency on network library to debian/control and pandoc.cabal. git-svn-id: https://pandoc.googlecode.com/svn/trunk@982 788f1e2b-df1e-0410-8736-df70ead52e1b
* Version bump to 0.43.fiddlosopher2007-08-30
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@962 788f1e2b-df1e-0410-8736-df70ead52e1b
* Re-exposed Text.Pandoc.ASCIIMathML. We need it in Text.Pandoc.Readers.HTML.fiddlosopher2007-08-26
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@901 788f1e2b-df1e-0410-8736-df70ead52e1b
* Bumped version numbers to 0.42 in anticipation of nextfiddlosopher2007-08-23
| | | | | | | bugfix release. git-svn-id: https://pandoc.googlecode.com/svn/trunk@881 788f1e2b-df1e-0410-8736-df70ead52e1b
* Bump version to 0.41.fiddlosopher2007-08-19
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@867 788f1e2b-df1e-0410-8736-df70ead52e1b