aboutsummaryrefslogtreecommitdiff
path: root/pandoc.cabal
AgeCommit message (Collapse)AuthorFilesLines
2010-07-21Reintroduced 'library' cabal flag.John MacFarlane1-20/+50
It is needed for the Windows installer, since if a library is produced, the binary can't be made relocatable. See http://www.haskell.org/ghc/docs/6.12.2/html/Cabal/builders.html section 4.1.2.3.
2010-07-15Updated pandoc to use css for highlighting-kate 0.2.7.John MacFarlane1-1/+1
Note: Update any custom CSS or templates accordingly.
2010-07-13Added a slidy writer.John MacFarlane1-0/+1
Resolves Issue #122.
2010-07-05Version bump to 1.6, due to removed functions.John MacFarlane1-1/+1
2010-07-05Moved Pandoc prettyprinting code from Shared to new Native writer.John MacFarlane1-0/+1
+ Text.Pandoc.Writers.Native + The function prettyPandoc is now gone. Use writeNative instead.
2010-07-05Moved parsing functions from Text.Pandoc.Shared to new module.John MacFarlane1-0/+1
+ Text.Pandoc.Parsing
2010-07-05Added an EPUB writer.John MacFarlane1-3/+7
+ New writer module Text.Pandoc.Writers.EPUB + Stylesheet in epub.css + --epub-stylesheet command-line option. + New utility module Text.Pandoc.UUID to generate random UUIDs for EPUBs.
2010-07-05Made a proper ODT writer.John MacFarlane1-1/+1
+ Transformed the old Text.Pandoc.ODT module into a proper writer module, Text.Pandoc.Writers.ODT. + Instead of saveOpenDocumentAsODT, we now have writeODT, which takes a Pandoc document and produces a bytestring. saveOpenDocumentAsODT has been removed. + To extract the images and insert them into the ODT, we now use processPandocM on the Pandoc document rather than a custom XML parser. + Handle the case where the image is remote (or not found) by converting the Image element into an Emph with the label. + Plumbing in pandoc.hs changed slightly to accomodate this, and to allow other writers that live in the IO monad.
2010-05-06Added Text.Pandoc.UTF8 for portable UTF8 string IO.John MacFarlane1-0/+1
2010-04-23Removed parsec < 3 restriction.John MacFarlane1-1/+1
2010-04-20Added 'threaded' flag.John MacFarlane1-3/+9
+ GHC lacks a threaded runtime on some architectures. Provide a 'threaded' flag that can be disabled for compiling on these architectures. + Removed '-threaded' from pandoc's ghc-options. '-threaded' is only needed for markdown2pdf, due to its use of readProcess.
2010-04-10Removed 'library' Cabal flag.John MacFarlane1-8/+1
Reason: starting with Cabal 1.8, installing pandoc with '-library +executable' did not work, since the build-depends in the Library stanza were ignored. The problem could be solved by repeating the build-depends in the Executable stanza, but this seems non-ideal (and might lead to errors later on). The '-library' option isn't so useful anyway, since to compile pandoc in the first place, you need a large number of Haskell libraries installed, and in this case, why balk at another? It was chiefly intended for packagers, but packagers will need to use a chroot environment anyway, and they can then simply copy the executable and not the library. Thanks to Jim Pryor for calling the problem to my attention in connection with an arch linux package.
2010-04-06Removed markdown2pdf from list of data-files.John MacFarlane1-3/+1
2010-03-29Bumped version to 1.5.1.1, updated changelog.John MacFarlane1-1/+1
2010-03-23Version bump to 1.5.1.John MacFarlane1-1/+1
2010-03-21Updated changelog and bumped version to 1.5.0.1.John MacFarlane1-1/+1
2010-03-20cabal: included several missing test files.John MacFarlane1-1/+4
2010-03-19Depend on extensible-exceptions, remove CPP in Templates module.fiddlosopher1-2/+3
It's safe to depend on extensible-exceptions, since this is shipped with GHC 6.10 and 6.12. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1911 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-18Added --mathml option; removed Text.Pandoc.LaTeXMathML.fiddlosopher1-4/+3
* Added data/MathMLinHTML.js, which is included when no URL is provided for --mathml. This allows MathML to be displayed in better browsers, as text/html. * The module was no longer necessary; its functionality (two lines) was incorporated into pandoc.hs. * Consolidated the two LaTeXMathML.js files into one. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1909 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-18Added plain writer.fiddlosopher1-1/+1
Text.Pandoc.Writers.Markdown now exports a writePlain, which writes plain text without links, pictures, or special formatting (not even markdown conventions). git-svn-id: https://pandoc.googlecode.com/svn/trunk@1907 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-18cabal: Depend on extensible-exception for GHC < 6.10.fiddlosopher1-2/+2
This, I hope, will allow pandoc to be compiled on ghc 6.8 again. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1903 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-07Cabal file: depend on HTTP >= 4000.0.5.fiddlosopher1-1/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1870 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-02-06Removed html2markdown and hsmarkdown.fiddlosopher1-16/+3
html2markdown is no longer needed, since you can pass URI arguments to pandoc and directly convert web pages. (Note, however, that pandoc assumes the pages are UTF8. html2markdown made an attempt to guess the encoding and convert them.) hsmarkdown is pointless -- a large executable that could be replaced by 'pandoc --strict'. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1834 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-02-03Bump version to 1.5 since API has changed.fiddlosopher1-1/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1831 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-02-02Allow absolute URI as parameter (in this case, content is downloaded).fiddlosopher1-1/+2
+ Adds dependency on HTTP. + If a parameter is an absolute URI, pandoc will try to get the content via HTTP. + So, you can do: pandoc -r html -w markdown http://www.fsf.org git-svn-id: https://pandoc.googlecode.com/svn/trunk@1826 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-01-17Removed ref to Makefile in cabal file.fiddlosopher1-2/+0
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1819 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-01-10Version bump to 1.4.1.fiddlosopher1-1/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1802 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-01-03Removed unneeded dependency on template-haskell.fiddlosopher1-1/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1791 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-01-01Moved data/ui -> s5. Added note on this in README.fiddlosopher1-8/+8
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1763 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Updated copyright date in cabal file.fiddlosopher1-1/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1762 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Added --reference-odt option.fiddlosopher1-7/+2
This allows the user to customized the styles used in pandoc-generated ODTs. The user may also put a default reference.odt in the ~/.pandoc directory. We have removed the old data/odt directory and replaced it with a reference.odt. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1760 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Make the -fno-warn-unused-do-bind conditional on ghc >= 6.12.fiddlosopher1-2/+8
This option isn't recognized by older ghcs. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1753 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Revised tested-with field to be more precise.fiddlosopher1-1/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1751 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Added GHC versions to tested-with field in cabal file.fiddlosopher1-1/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1749 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Removed unneeded Extensions from cabal file.fiddlosopher1-6/+6
Also disable compiler warnings for discarded values in do blocks. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1746 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Version bump to 1.4.fiddlosopher1-1/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1745 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Got s5 writer working with html template.fiddlosopher1-1/+1
s5 css and js is included using header-includes variable. We don't need a separate s5 template, so it has been removed. Use linebreak to separate authors in S5 title page. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1705 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Moved odt-styles -> odt. Changed ODT module to look at user data first.fiddlosopher1-6/+6
So if the user has an odt-styles directory in ~/.pandoc, it will be used instead of the default. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1694 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Removed TH module; refactored LaTeXMathML not to use TH.fiddlosopher1-1/+0
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1692 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Removed TH dependency from S5 module, removed DefaultTemplates.fiddlosopher1-27/+21
S5 module now exports s5HeaderIncludes, which pandoc.hs includes if writer is s5 and standalone. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1691 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Added getDefaultTemplate to Templates.fiddlosopher1-2/+2
Exposed Templates module in API. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1688 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Added templates/ directory.fiddlosopher1-1/+6
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1687 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Renamed headers -> templates.fiddlosopher1-8/+8
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1677 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Added templates module.fiddlosopher1-0/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1673 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Changed RunTests.hs to use the Diff library.fiddlosopher1-1/+0
Previously a copy of Diff.hs was included. But it is better to use the compiled, installed version, since speed can be a problem in some cases. This change means that 'cabal test' presupposes that the Diff library is installed. Removed tests/Diff.hs from cabal file. Changed RunTests to use local environment. We need at least HOME, so pandoc can find its data directory. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1672 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-07Removed reference to html2markdown wrapper in wrapper flag description.fiddlosopher1-2/+2
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1653 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-01Version bump to 1.3 (because of change to ParserState).fiddlosopher1-1/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1641 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-11-28Bumped version to 1.2.2 and updated changelog.fiddlosopher1-1/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1630 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-11-22Version bump to 1.2.1.1.fiddlosopher1-1/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1625 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-11-22Added markdown2pdf.1 to tmp-files in cabal.fiddlosopher1-1/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1623 788f1e2b-df1e-0410-8736-df70ead52e1b