summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* Markdown reader: Implemented `Ext_ascii_identifiers`.John MacFarlane2013-04-23
| | | | Closes #807.
* Options: Added `Ext_ascii_identifiers`.John MacFarlane2013-04-23
| | | | | | | This will force `Ext_auto_identifiers` to use ASCII only. Set as default for github markdown. Note: API change.
* Added Text.Pandoc.Asciify utility module.John MacFarlane2013-04-23
| | | | This has functions to create ascii-only versions of identifiers.
* Add slash in internal links in reveal.js.John MacFarlane2013-04-20
| | | | Closes #835.
* Shared: Fixed readDefaultDataFile so it works on Windows.John MacFarlane2013-04-20
|
* Revert "Improved previous patch so it really solves the Windows issue."John MacFarlane2013-04-20
| | | | This reverts commit e80116c813ecfc8cde094cddd36a3b083c108fd8.
* Improved previous patch so it really solves the Windows issue.John MacFarlane2013-04-19
|
* Shared: readDefaultDataFile: normalize the paths.John MacFarlane2013-04-19
| | | | | | | | This fixes bugs in `--self-contained` on pandoc compiled with `embed_data_files`. The bugs affect (a) paths containing `..`, (b) Windows, where `\` is path separator. Closes #833.
* Markdown reader: minor code cleanup.John MacFarlane2013-04-19
|
* Updated tests to match new docbook template.John MacFarlane2013-04-15
|
* DocBook template: Use DocBook 4.5 doctype.John MacFarlane2013-04-15
|
* Fixed footnote numbers in LaTeX/PDF tables.John MacFarlane2013-04-15
| | | | | | | | | This fixes a bug wherein notes were numbered incorrectly in tables. Closes #827. Now that we are using longtable, we can just use regular `\footnote` commands for notes, which simplifies the code considerably.
* Markdown/RST writers: Only autolink absolute URIs.John MacFarlane2013-04-14
| | | | | | | This fixes a regression and closes #830. $ echo '<a href="x">x</a>' | pandoc -f html -t markdown <x>
* BUGS: Added reference to CONTRIBUTING.md.John MacFarlane2013-04-14
|
* Improved CONTRIBUTING.md.John MacFarlane2013-04-14
|
* Haddock reader improvements.John MacFarlane2013-04-14
| | | | | | - Correctly handle ghci sessions. - Fixed spacing issues. - Simplified code.
* Added CONTRIBUTING.md.John MacFarlane2013-04-14
|
* Added `Text.Pandoc.Writers.Custom`, `--print-custom-lua-writer`.John MacFarlane2013-04-14
| | | | | | | | | | pandoc -t data/sample.lua will load the script sample.lua and use it as a custom writer. data/sample.lua is provided as an example. Added `--print-custom-lua-writer` option to print the sample script.
* Added comment/todo to SelfContained.John MacFarlane2013-04-10
|
* Man writer: use one decimal place for column widths.John MacFarlane2013-04-09
| | | | | This, I hope, will fix test failures on GHC 7.6 due to (presumably) different rounding or floating point multiplication.
* Removed unnecessary OPTIONS flag in Haddock/Parse.y.John MacFarlane2013-04-09
|
* Update markdown writer tests for changes in author in titleblock.John MacFarlane2013-04-09
| | | | Authors are now put on separate lines.
* Fixed Haddock reader bugs with list item spaces and examples.John MacFarlane2013-04-09
| | | | Closes #824.
* Markdown writer: Put multiple authors on separate lines in titleblock.John MacFarlane2013-04-08
| | | | | Also, don't wrap long author entries, as new lines get treated as new authors.
* Have `--help` print in and out formats in alphabetical order.John MacFarlane2013-04-08
|
* Fixed haddock test output.John MacFarlane2013-04-08
| | | | | - omit extra spaces in list items - correct line breaks in ghci output
* Haddock reader: add tests.David Lazar2013-04-04
|
* Haddock reader: leaving Space alone in @...@ seems more semantically correct.David Lazar2013-04-04
|
* Haddock reader: derive Show for Token, making debugging easier.David Lazar2013-04-04
|
* LaTeX reader: Support `\textasciitilde`, `\textasciicircum`.John MacFarlane2013-03-31
| | | | Closes #810.
* Docx writer: Use Compact style for Plain block elements.John MacFarlane2013-03-30
| | | | | This differentiates between tight and loose lists. Closes #775.
* Merge pull request #808 from davidlazar/masterJohn MacFarlane2013-03-30
|\ | | | | Improvements to Haddock reader
| * Haddock reader: make clearer which production the comment refers to.David Lazar2013-03-29
| |
| * Haddock reader: add the "haskell" attribute to code blocks so they areDavid Lazar2013-03-29
| | | | | | | | | | highlighted. We reasonably assume that code blocks in Haddock markup wont be used for anything but Haskell code.
| * Haddock reader: improved error reporting.David Lazar2013-03-29
|/
* Parsing: Better error reporting in readWith.John MacFarlane2013-03-28
| | | | | | | - Specialize readWith to String input. - On error have it print the line in which the error occurred, with a caret pointing to the column. - This should help diagnose parsing problems in LaTeX especially.
* Haddock writer: use 'text' builder instead of 'str'.John MacFarlane2013-03-28
| | | | | | | | This articulates strings into Str, Space, allowing them to be hard-wrapped intelligently by the writers. This patch also fixes a bug with trailing spaces and newlines. (See #806.)
* Allow simple tables to be printed as grid tables.John MacFarlane2013-03-28
| | | | | | | | | | if other table options are disabled. This means you can do pandoc -t markdown-pipe_tables-simple_tables-multiline_tables and all tables will render as grid tables.
* Modified haddock reader test stubs so they pass, for now.John MacFarlane2013-03-28
|
* Added stubs for haddock reader tests.John MacFarlane2013-03-28
| | | | | Modify tests/haddock-reader.haddock and tests/haddock-reader.native.
* Documented haddock reader in README.John MacFarlane2013-03-28
|
* Mention haddock reader in cabal description.John MacFarlane2013-03-28
|
* Add reader for Haddock markup based on Haddock's own lexer/parser.David Lazar2013-03-28
|
* Parsing: Further improvements to uri parser.John MacFarlane2013-03-28
| | | | | Don't treat punctuation before percent-encoding as final punctuation. Don't treat '+' as final punctuation.
* Mediawiki reader: Fixed | links inside table cells.John MacFarlane2013-03-28
| | | | Improved attribute parsing.
* Mediawiki reader: Fixed last commit.John MacFarlane2013-03-28
|
* MediaWiki reader: Correctly handle indented preformatted textJohn MacFarlane2013-03-28
| | | | without preceding or following blank line.
* Mediawiki: Fixed regression for `<ref>URL</ref>`.John MacFarlane2013-03-28
| | | | | | | `<` is no longer allowed in URLs, according to the uri parser in Text.Pandoc.Parsing. Added a test case.
* mediawiki reader: allow space before table rows.John MacFarlane2013-03-27
|
* Removed blaze_html_0_5 flag, require blaze-html >= 0.5.John MacFarlane2013-03-26
| | | | | | | Reason: < 0.5 does not provide a monoid instance for Attribute, which is now needed by the HTML writer. Closes #803.