aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-07-05Moved generic grid table functions from RST reader -> Parsing.John MacFarlane2-76/+91
Here they can be used by the Markdown reader as well.
2010-07-05Comment change in Templates (thanks to Alexander Hirzel).John MacFarlane1-1/+1
Resolves Issue #245.
2010-07-05Version bump to 1.6, due to removed functions.John MacFarlane1-1/+1
2010-07-05Don't allow colon in autogenerated HTML identifiers.John MacFarlane1-2/+2
They have a special meaning in XML (e.g. in EPUB).
2010-07-05Documented EPUB writer and --epub-{stylesheet,metadata} options.John MacFarlane2-15/+58
2010-07-05Made -Wall clean.John MacFarlane1-1/+1
2010-07-05Removed links (internal and external).John MacFarlane1-15/+17
2010-07-05Process user-supplied EPUB metadata.John MacFarlane1-7/+21
Read a sequence of elements from the file. Ignore anything that's not valid Dublin Core. If title, language, uuid not supplied, supply them.
2010-07-05Added writerEPUBMetadata field and --epub-metadata option.John MacFarlane2-0/+14
2010-07-05Removed writerInclude{Before,After} from WriterOptions.John MacFarlane2-12/+0
This is no longer used with the new templating system.
2010-07-05Moved Pandoc prettyprinting code from Shared to new Native writer.John MacFarlane5-58/+90
+ 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 MacFarlane9-512/+552
+ Text.Pandoc.Parsing
2010-07-05Added an EPUB writer.John MacFarlane6-4/+382
+ 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 MacFarlane5-117/+102
+ 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-06-30Use unicode for smart punctuation in plain, markdown, rst formats.John MacFarlane5-92/+92
2010-06-30Let markdown2pdf recognize citeproc options.John MacFarlane1-1/+2
2010-06-28Add birdtracks to lhs in HTML when compiled wo -fhighlighting.John MacFarlane1-1/+4
Resolves Issue #242. Previously the bird tracks would be stripped off when pandoc was not compiled with highlighting support, even if -t html+lhs was specified. Thanks to Nicholas Wu for pointing out the problem.
2010-05-17Added Textile writer module.John MacFarlane10-14/+1346
2010-05-08Made KeyTable a map instead of an association list.John MacFarlane6-50/+67
* This affects the RST and Markdown readers. * The type for stateKeys in ParserState has also changed. * Pandoc, Meta, Inline, and Block have been given Ord instances. * Reference keys now have a type of their own (Key), with its own Ord instance for case-insensitive comparison.
2010-05-07Use explicit imports from Data.Generics.John MacFarlane1-1/+1
Otherwise we have a conflict with the 'empty' symbol, introduced in syb >= 0.2. Thanks to ddssff for pointing out the problem. Resolves Issue #237.
2010-05-06UTF8: Modified readFile and getContents to strip BOM if present.John MacFarlane1-2/+9
2010-05-06Updated man page and README.John MacFarlane2-6/+3
Pandoc no longer respects locale, even when compiled by GHC 6.12.
2010-05-06No longer need to set LANG in RunTests.John MacFarlane1-2/+1
2010-05-06Use new UTF8 module in Shared, ODT, and the executables.John MacFarlane4-56/+35
2010-05-06Added Text.Pandoc.UTF8 for portable UTF8 string IO.John MacFarlane2-0/+66
2010-05-04Convert command-line arguments to UTF8.John MacFarlane1-1/+2
Resolves Issue #234.
2010-04-26Changed rawLaTeXInline to accept '\section', '\begin', etc.John MacFarlane1-3/+8
Use new rawLaTeXInline' in LaTeX reader, and export rawLaTeXInline for use in markdown reader. Fixes bug wherein '\section{foo}' was not recognized as raw TeX in markdown document.
2010-04-26Man writer: convert math to unicode when possible.John MacFarlane2-10/+10
(As in other writers.)
2010-04-25Use texmath's parser in TexMath module.John MacFarlane8-336/+83
* This replaces a lot of custom parser code, and expands the tex -> unicode conversion. * The behavior has also changed: if the whole formula can't be converted, the whole formula is left in raw TeX. Previously, pandoc converted parts of the formula to unicode and left other parts in raw TeX. * Added (but not yet exported) readTeXMath', which returns a Maybe. * Updated tests
2010-04-25RunTests: use UTF8 no matter what the locale.John MacFarlane1-4/+8
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-10In parsing smart quotes, leave unicode curly quotes alone.John MacFarlane1-14/+12
Resolves Issue #143.
2010-04-10Removed obsolete markdown2pdf script.John MacFarlane1-136/+0
2010-04-10Removed 'library' Cabal flag.John MacFarlane2-14/+7
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-10Give LaTeX images a maximum width using the prelude onlyMax Bolingbroke3-1/+19
2010-04-09Updated HCAR entry.John MacFarlane1-12/+16
2010-04-06Removed markdown2pdf from list of data-files.John MacFarlane1-3/+1
2010-03-29Updated version in windows setup file.John MacFarlane1-1/+1
2010-03-29Bumped version to 1.5.1.1, updated changelog.John MacFarlane2-1/+8
2010-03-28Shared: Fixed uniqueIdent so it behaves as described in README.John MacFarlane1-33/+34
Previously some characters that are illegal in HTML identifiers, such as '<', were being allowed in header identifiers. The logic has now been fixed. Thanks to Xyne for reporting.
2010-03-27Implemented @ for sequentially numbered examples.John MacFarlane9-11/+75
Also implemented (@label) for example labels and references.
2010-03-27Removed unneeded single quotes in README.John MacFarlane1-4/+4
2010-03-23Updated RELEASE-CHECKLIST.John MacFarlane1-2/+4
2010-03-23Updated changelog.John MacFarlane1-8/+14
2010-03-23Markdown, RST writers: unescape URI in links, to make them readable.John MacFarlane2-5/+8
(Since they aren't required to be escaped in these formats.)
2010-03-23Shared: Export unescapeURI.John MacFarlane1-2/+9
2010-03-23Properly escape URIs in all readers.John MacFarlane4-44/+37
2010-03-23Added multilingual URL tests for markdown reader.John MacFarlane2-1/+13
2010-03-23Shared: Rewrote uri and emailAddress to return original text + escaped URI.John MacFarlane1-12/+17