summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Documented EPUB writer and --epub-{stylesheet,metadata} options.John MacFarlane2010-07-05
|
* Made -Wall clean.John MacFarlane2010-07-05
|
* Removed links (internal and external).John MacFarlane2010-07-05
|
* Process user-supplied EPUB metadata.John MacFarlane2010-07-05
| | | | | | Read a sequence of elements from the file. Ignore anything that's not valid Dublin Core. If title, language, uuid not supplied, supply them.
* Added writerEPUBMetadata field and --epub-metadata option.John MacFarlane2010-07-05
|
* Removed writerInclude{Before,After} from WriterOptions.John MacFarlane2010-07-05
| | | | This is no longer used with the new templating system.
* Moved Pandoc prettyprinting code from Shared to new Native writer.John MacFarlane2010-07-05
| | | | | + Text.Pandoc.Writers.Native + The function prettyPandoc is now gone. Use writeNative instead.
* Moved parsing functions from Text.Pandoc.Shared to new module.John MacFarlane2010-07-05
| | | | + Text.Pandoc.Parsing
* Added an EPUB writer.John MacFarlane2010-07-05
| | | | | | | | + 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.
* Made a proper ODT writer.John MacFarlane2010-07-05
| | | | | | | | | | | | | | + 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.
* Use unicode for smart punctuation in plain, markdown, rst formats.John MacFarlane2010-06-30
|
* Let markdown2pdf recognize citeproc options.John MacFarlane2010-06-30
|
* Add birdtracks to lhs in HTML when compiled wo -fhighlighting.John MacFarlane2010-06-28
| | | | | | | | 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.
* Made KeyTable a map instead of an association list.John MacFarlane2010-05-08
| | | | | | | | * 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.
* Use explicit imports from Data.Generics.John MacFarlane2010-05-07
| | | | | | 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.
* UTF8: Modified readFile and getContents to strip BOM if present.John MacFarlane2010-05-06
|
* Updated man page and README.John MacFarlane2010-05-06
| | | | Pandoc no longer respects locale, even when compiled by GHC 6.12.
* No longer need to set LANG in RunTests.John MacFarlane2010-05-06
|
* Use new UTF8 module in Shared, ODT, and the executables.John MacFarlane2010-05-06
|
* Added Text.Pandoc.UTF8 for portable UTF8 string IO.John MacFarlane2010-05-06
|
* Convert command-line arguments to UTF8.John MacFarlane2010-05-04
| | | | Resolves Issue #234.
* Changed rawLaTeXInline to accept '\section', '\begin', etc.John MacFarlane2010-04-26
| | | | | | | | 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.
* Man writer: convert math to unicode when possible.John MacFarlane2010-04-26
| | | | (As in other writers.)
* Use texmath's parser in TexMath module.John MacFarlane2010-04-25
| | | | | | | | | | | * 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
* RunTests: use UTF8 no matter what the locale.John MacFarlane2010-04-25
|
* Removed parsec < 3 restriction.John MacFarlane2010-04-23
|
* Added 'threaded' flag.John MacFarlane2010-04-20
| | | | | | | | + 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.
* In parsing smart quotes, leave unicode curly quotes alone.John MacFarlane2010-04-10
| | | | Resolves Issue #143.
* Removed obsolete markdown2pdf script.John MacFarlane2010-04-10
|
* Removed 'library' Cabal flag.John MacFarlane2010-04-10
| | | | | | | | | | | | | | | | 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.
* Give LaTeX images a maximum width using the prelude onlyMax Bolingbroke2010-04-10
|
* Updated HCAR entry.John MacFarlane2010-04-09
|
* Removed markdown2pdf from list of data-files.John MacFarlane2010-04-06
|
* Updated version in windows setup file.John MacFarlane2010-03-29
|
* Bumped version to 1.5.1.1, updated changelog.John MacFarlane2010-03-29
|
* Shared: Fixed uniqueIdent so it behaves as described in README.John MacFarlane2010-03-28
| | | | | | 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.
* Updated RELEASE-CHECKLIST.John MacFarlane2010-03-23
|
* Updated changelog.John MacFarlane2010-03-23
|
* Markdown, RST writers: unescape URI in links, to make them readable.John MacFarlane2010-03-23
| | | | (Since they aren't required to be escaped in these formats.)
* Shared: Export unescapeURI.John MacFarlane2010-03-23
|
* Properly escape URIs in all readers.John MacFarlane2010-03-23
|
* Added multilingual URL tests for markdown reader.John MacFarlane2010-03-23
|
* Shared: Rewrote uri and emailAddress to return original text + escaped URI.John MacFarlane2010-03-23
|
* Shared: enamed stringToURI -> escapeURI.John MacFarlane2010-03-23
|
* Don't escape URIs in HTML writer.John MacFarlane2010-03-23
| | | | This should be done in the readers instead.
* Better definition of stringToURI.John MacFarlane2010-03-23
| | | | | | Now it escapes all characters that aren't allowed in a URI. %, ?, /, and other characters that are allowed in a URI are left alone. Unicode high characters are UTF-8 encoded.
* Removed refs to hsmarkdown, html2markdown from pandoc man page.John MacFarlane2010-03-23
|
* Updated COPYRIGHT file.John MacFarlane2010-03-23
|
* Updated copyright notices.John MacFarlane2010-03-23
|
* Updated changelog.John MacFarlane2010-03-23
|