aboutsummaryrefslogtreecommitdiff
path: root/pandoc.cabal
AgeCommit message (Collapse)AuthorFilesLines
2011-01-05Updated for texmath 0.5.John MacFarlane1-1/+1
2010-12-30New HTML reader using tagsoup as a lexer.John MacFarlane1-2/+4
* The new reader is faster and more accurate. * API changes for Text.Pandoc.Readers.HTML: - removed rawHtmlBlock, anyHtmlBlockTag, anyHtmlInlineTag, anyHtmlTag, anyHtmlEndTag, htmlEndTag, extractTagType, htmlBlockElement, htmlComment - added htmlTag, htmlInBalanced, isInlineTag, isBlockTag, isTextTag * tagsoup is a new dependency. * Text.Pandoc.Parsing: Generalized type on readWith. * Benchmark.hs: Added length calculation to force full evaluation. * Updated HTML reader tests. * Updated markdown and textile readers to use the functions from the HTML reader. * Note: The markdown reader now correctly handles some cases it did not before. For example: <hr/> is reproduced without adding a space. <script> a = '<b>'; </script> is parsed correctly.
2010-12-22Removed all dependencies on 'pretty' package.John MacFarlane1-2/+2
2010-12-17Added new prettyprinting module.John MacFarlane1-4/+6
* Added Text.Pandoc.Pretty. This is better suited for pandoc than the 'pretty' package. One advantage is that we now get proper wrapping; Emph [Inline] is no longer treated as a big unwrappable unit. Previously we only got breaks for spaces at the "outer level." We can also more easily avoid doubled blank lines. Performance is significantly better as well. * Removed Text.Pandoc.Blocks. Text.Pandoc.Pretty allows you to define blocks and concatenate them. * Modified markdown, RST, org readers to use Text.Pandoc.Pretty instead of Text.PrettyPrint.HughesPJ. * Text.Pandoc.Shared: Added writerColumns to WriterOptions. * Markdown, RST, Org writers now break text at writerColumns. * Added --columns command-line option, which sets stColumns and writerColumns. * Table parsing: If the size of the header > stColumns, use the header size as 100% for purposes of calculating relative widths of columns.
2010-12-15test-pandoc: removed need to depend on MissingH.John MacFarlane1-2/+2
2010-12-15Added 'tests' Cabal flag.John MacFarlane1-7/+21
+ This ensures that test-pandoc gets built. + 'cabal test' now runs this. + The old tests/RunTests.hs has been removed, and src/test-pandoc.hs added.
2010-12-11Added JSON reader and writer.John MacFarlane1-2/+4
The JSON reader is about 20x faster than the native reader. So this can be a good way to serialize a pandoc document.
2010-12-10Added Benchmark.hs to extra-source-files.John MacFarlane1-0/+2
2010-12-09Added json format for reading and writing.John MacFarlane1-2/+4
This is faster to parse than native.
2010-12-07Improved process to create man page from README.John MacFarlane1-1/+4
Previously it relied on pandoc already being installed. Now it uses dist/package.conf.inplace.
2010-12-05Documented org-mode writer in README, cabal, man pages.John MacFarlane1-1/+2
2010-12-05Added templates/org.template to pandoc.cabal.Puneeth Chaganti1-1/+1
2010-12-04Added Org-mode writerPuneeth Chaganti1-0/+1
+ Added Text/Pandoc/Writers/Org.hs + Added to pandoc.cabal + Added to pandoc.hs and Text/Pandoc.hs exports.
2010-12-03Merge branch 'citeproc' into master.John MacFarlane1-15/+10
Conflicts: src/Text/Pandoc/Definition.hs
2010-12-03more support for Textile reader (explicit links, images), tests and cabal ↵Paul Rivier1-1/+3
entries
2010-11-27Merge branch 'master' into citeprocJohn MacFarlane1-2/+6
2010-11-27Merge branch 'textile'John MacFarlane1-2/+6
Conflicts: README man/man1/pandoc.1.md pandoc.cabal
2010-11-23Removed citeproc flag and CPP conditionals.John MacFarlane1-11/+3
2010-11-20Made citeproc flag default to True.John MacFarlane1-1/+1
2010-11-18Added default.csl to data files.John MacFarlane1-0/+2
2010-11-06cabal file: Made library and executable build-depends match.John MacFarlane1-2/+3
2010-11-06Changes to use citeproc-hs 0.3.John MacFarlane1-1/+1
2010-11-05Removed Text.Pandoc.Definition, bump version to 1.7.John MacFarlane1-3/+3
We now get Text.Pandoc.Definition from the new pandoc-types package. This will make it possible for other programs to supply output in Pandoc format, without depending on the whole pandoc package.
2010-10-26Bump version to 1.6.1.John MacFarlane1-1/+1
2010-10-26Process LaTeX macros in markdown, and apply to TeX math.John MacFarlane1-1/+1
Example: \newcommand{\plus}[2]{#1 + #2} $\plus{3}{4}$ yields: 3+4
2010-07-24pandoc.cabal: Remove profiling options from 'else' clause.John MacFarlane1-2/+2
2010-07-22Moved Text.Pandoc.Writers.S5 -> Text.Pandoc.S5.John MacFarlane1-1/+1
Now it doesn't export a writer, just some CSS and JS.
2010-07-22Moved s5 writing from S5 module to HTML.John MacFarlane1-1/+1
Now s5 is handled in more or less the same way as slidy, as a variant of HTML.
2010-07-22Added new --offline option for slidy.John MacFarlane1-0/+3
Added slidy/slidy.min.{css,js}.
2010-07-22Require texmath >= 0.3, adjusted for new elements.John MacFarlane1-1/+1
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-17Added Textile writer module.John MacFarlane1-1/+5
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