aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-04-14Improved CONTRIBUTING.md.John MacFarlane1-20/+108
2013-04-14Haddock reader improvements.John MacFarlane2-11/+7
- Correctly handle ghci sessions. - Fixed spacing issues. - Simplified code.
2013-04-14Added CONTRIBUTING.md.John MacFarlane2-1/+91
2013-04-14Added `Text.Pandoc.Writers.Custom`, `--print-custom-lua-writer`.John MacFarlane6-11/+595
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.
2013-04-10Added comment/todo to SelfContained.John MacFarlane1-0/+1
2013-04-09Man writer: use one decimal place for column widths.John MacFarlane2-4/+4
This, I hope, will fix test failures on GHC 7.6 due to (presumably) different rounding or floating point multiplication.
2013-04-09Removed unnecessary OPTIONS flag in Haddock/Parse.y.John MacFarlane1-1/+0
2013-04-09Update markdown writer tests for changes in author in titleblock.John MacFarlane1-1/+2
Authors are now put on separate lines.
2013-04-09Fixed Haddock reader bugs with list item spaces and examples.John MacFarlane2-12/+10
Closes #824.
2013-04-08Markdown writer: Put multiple authors on separate lines in titleblock.John MacFarlane1-1/+1
Also, don't wrap long author entries, as new lines get treated as new authors.
2013-04-08Have `--help` print in and out formats in alphabetical order.John MacFarlane1-3/+3
2013-04-08Fixed haddock test output.John MacFarlane2-9/+9
- omit extra spaces in list items - correct line breaks in ghci output
2013-04-04Haddock reader: add tests.David Lazar2-1/+95
2013-04-04Haddock reader: leaving Space alone in @...@ seems more semantically correct.David Lazar1-1/+0
2013-04-04Haddock reader: derive Show for Token, making debugging easier.David Lazar1-1/+1
2013-03-31LaTeX reader: Support `\textasciitilde`, `\textasciicircum`.John MacFarlane1-0/+2
Closes #810.
2013-03-30Docx writer: Use Compact style for Plain block elements.John MacFarlane3-3/+9
This differentiates between tight and loose lists. Closes #775.
2013-03-30Merge pull request #808 from davidlazar/masterJohn MacFarlane3-12/+16
Improvements to Haddock reader
2013-03-29Haddock reader: make clearer which production the comment refers to.David Lazar1-2/+3
2013-03-29Haddock reader: add the "haskell" attribute to code blocks so they areDavid Lazar1-4/+4
highlighted. We reasonably assume that code blocks in Haddock markup wont be used for anything but Haskell code.
2013-03-29Haddock reader: improved error reporting.David Lazar3-6/+9
2013-03-28Parsing: Better error reporting in readWith.John MacFarlane2-5/+15
- 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.
2013-03-28Haddock writer: use 'text' builder instead of 'str'.John MacFarlane1-3/+10
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.)
2013-03-28Allow simple tables to be printed as grid tables.John MacFarlane1-11/+14
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.
2013-03-28Modified haddock reader test stubs so they pass, for now.John MacFarlane2-2/+1
2013-03-28Added stubs for haddock reader tests.John MacFarlane4-0/+9
Modify tests/haddock-reader.haddock and tests/haddock-reader.native.
2013-03-28Documented haddock reader in README.John MacFarlane1-5/+7
2013-03-28Mention haddock reader in cabal description.John MacFarlane1-8/+9
2013-03-28Add reader for Haddock markup based on Haddock's own lexer/parser.David Lazar5-1/+395
2013-03-28Parsing: Further improvements to uri parser.John MacFarlane1-2/+4
Don't treat punctuation before percent-encoding as final punctuation. Don't treat '+' as final punctuation.
2013-03-28Mediawiki reader: Fixed | links inside table cells.John MacFarlane1-10/+8
Improved attribute parsing.
2013-03-28Mediawiki reader: Fixed last commit.John MacFarlane1-1/+1
2013-03-28MediaWiki reader: Correctly handle indented preformatted textJohn MacFarlane3-5/+24
without preceding or following blank line.
2013-03-28Mediawiki: Fixed regression for `<ref>URL</ref>`.John MacFarlane3-2/+4
`<` is no longer allowed in URLs, according to the uri parser in Text.Pandoc.Parsing. Added a test case.
2013-03-27mediawiki reader: allow space before table rows.John MacFarlane1-4/+5
2013-03-26Removed blaze_html_0_5 flag, require blaze-html >= 0.5.John MacFarlane2-13/+1
Reason: < 0.5 does not provide a monoid instance for Attribute, which is now needed by the HTML writer. Closes #803.
2013-03-26SelfContained: handle src in embed, audio, source, input tags.John MacFarlane1-9/+4
2013-03-26Shared: openURL now follows redirects.John MacFarlane1-8/+10
Closes #701.
2013-03-25SelfContained: strip off fragment, query of relative URLJohn MacFarlane1-4/+8
before treating as a filename. This fixes `--self-contained` when used with CSS files that include web fonts using the method described here: http://paulirish.com/2009/bulletproof-font-face-implementation-syntax/ Examples from reveal.js themes: "../../lib/font/league_gothic-webfont.eot?#iefix" "../../lib/font/league_gothic-webfont.svg#LeagueGothicRegular" Closes #739.
2013-03-25Slidy: Use slidy.js rather than slidy.js.gz.John MacFarlane4-6/+3022
Reason: some browsers have trouble with the gzipped js file, at least on the local file system. Closes #795.
2013-03-24EPUB writer: Don't put blank title page in reading sequence.John MacFarlane1-1/+4
Set linear="no" if no title block. Addresses #797.
2013-03-24EPUB writer: Add `id="toc-title"` to h1 in nav.xhtml.John MacFarlane1-1/+1
Closes #799.
2013-03-24Fixed typo. Closes #798.John MacFarlane1-1/+1
2013-03-24Added note on nesting of section levels in revealjs.John MacFarlane1-0/+5
2013-03-24Added syntax for "pauses" in beamer or reaveljs slide shows.John MacFarlane3-30/+52
This gives . . . a pause.
2013-03-24revealjs template: include pdf stylesheet by default.John MacFarlane1-7/+5
2013-03-23Documented revealjs in README and pandoc.cabal description.John MacFarlane2-14/+23
2013-03-23Reveal.js improvements.John MacFarlane4-3/+4
Changed name to revealjs (from reveal_js). Set revealjs-url template variable to 'reveal.js' by default.
2013-03-23New revealjs template.John MacFarlane1-6/+6
2013-03-23Added default.revealjs template to cabal file.John MacFarlane1-0/+1