aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-07-13Added a slidy writer.John MacFarlane7-71/+171
Resolves Issue #122.
2010-07-13Put insert-before text before the title h1 in HTML.John MacFarlane2-4/+4
+ This is the documented behavior; the insert-before text comes after the <body> tag. + Resolves Issue #241.
2010-07-13Made latex \section, \chapter parsers more forgiving of whitespace.John MacFarlane1-0/+3
2010-07-13Parse \chapter{} in latex.John MacFarlane2-4/+24
+ Added stateHasChapters to ParserState. + If a \chapter command is encountered, this is set to True and subsequent \section commands (etc.) will be bumped up one level.
2010-07-12Added tests for example lists.John MacFarlane2-1/+18
2010-07-12Modified example refs so they can occur before or after target.John MacFarlane2-7/+17
The refs are now replaced by numbers at the final stage, using processWith.
2010-07-11Merge branch 'atlists'. Added auto-numbered example lists.John MacFarlane10-15/+78
2010-07-11Moved headerShift from pandoc.hs to Shared.John MacFarlane2-7/+10
2010-07-11Slight code cleanup on substitute function.John MacFarlane1-4/+4
2010-07-09Cleaned up EPUB writer.John MacFarlane1-33/+43
2010-07-09Adjusted epub css. (No more highlighting styles.)John MacFarlane1-21/+2
2010-07-08EPUB writer: don't put multiple copies of same image in epub.John MacFarlane1-10/+17
2010-07-08Get default stylesheet in EPUB writer, rather than pandoc.hs.John MacFarlane2-12/+12
2010-07-08Added writerUserDataDir to WriterOptions.John MacFarlane3-6/+8
2010-07-08Added writerSourceDirectory to WriterOptions.John MacFarlane4-16/+20
This allows us to remove an argument from the ODT and EPUB writers.
2010-07-08Updated PROFILING instructions.John MacFarlane1-5/+3
2010-07-07Addendum to the fix to issue #242.John MacFarlane1-1/+1
The previous fix resulted in bird tracks being included in both html and html+lhs renderings of literate haskell sections when pandoc was compiled without highlighting support. This change make pandoc without highlighting behave like pandoc with highlighting: the bird tracks are used only if html+lhs output is specified.
2010-07-06Changed order of functions in Shared.John MacFarlane1-26/+26
2010-07-06Documented grid tables in README.John MacFarlane1-3/+25
Resolves Issue #43.
2010-07-06Minor comment change.John MacFarlane2-2/+1
2010-07-06Allow language-neutral table captions.John MacFarlane7-15/+19
+ Captions may now begin simply with ':', instead of 'Table:' + Captions may now appear either above or below the table. + Resolves Issue #227.
2010-07-05More refactoring of grid table code.John MacFarlane3-107/+85
2010-07-05Minor reformatting.John MacFarlane1-2/+4
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-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.)