aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-09-19Make sure verse blocks can contain empty linesAlbert Krewinkel2-1/+10
The previous verse parsing code made the faulty assumption that empty strings are valid (and empty) inlines. This isn't the case, so lines are changed to contain at least a newline. It would generally be nicer and faster to keep the newlines while splitting the string. However, this would require more code, which seems unjustified for a simple (and fairly rare) block as *verse*. This fixes #2402.
2015-09-19[RST Writer] Don't normalize heading levels below input minimumNikolay Yakimov2-1/+32
2015-09-17Markdown writer: in TOC, add links to headers.John MacFarlane1-2/+5
Closes #829.
2015-09-15sample.lua - define CaptionedImage, add newline at end.John MacFarlane1-1/+7
Cloess #2393.
2015-09-09Tests: docx writer tests now use "../data" for data directory.John MacFarlane1-1/+4
This allows tests to be run without installing first.
2015-09-09Use user data directory for reference docx archive.John MacFarlane1-1/+1
This allows the test suite to work without installing pandoc first. It also brings the docx writer in line with the odt writer.
2015-09-09stack.yaml - bump to latest LTS Stackage.John MacFarlane1-1/+1
2015-08-25Removed obsolete reference to default.csl.John MacFarlane1-2/+2
Closes #2372. @cinaeco as the pandoc-citeproc man page describes, the current behavior if no style is specified is to look in `~/.csl/chicago-author-date.csl`, and if nothing is found there, to use a default version of chicago-author-date.csl. You may want to open a separate issue on jgm/pandoc-citeproc suggesting the use of `default.csl` rather than `chicago-author-date.csl`. I agree that this would make sense.
2015-08-20`lang` variable is now in BCP47 formatmb213-16/+192
strings are converted for LaTeX and ConTeXt output, closes #1614
2015-08-17Merge pull request #2364 from gbataille/bugDocJohn MacFarlane1-6/+6
[BUG] Haddock : * and ^ to be escaped in docs
2015-08-17[BUG] Haddock : * and ^ to be escaped in docsGrégory Bataille1-6/+6
2015-08-16stack-yaml: use lts 3.1 resolver.John MacFarlane1-1/+1
2015-08-16Merge pull request #2352 from ousia/masterJohn MacFarlane1-1/+4
added selectors for nested emphasis (epub.css)
2015-08-15Use cabal-install-head in travis for ghc 7.10.1.John MacFarlane1-2/+2
See https://www.reddit.com/r/haskell/comments/3f4bgr/the_version_of_cabal_being_used_has_changed/ Maybe this will fix the Cabal version mismatch problem?
2015-08-15Travis: removed diagnostics, add cabal path to PATH, back to ghc 7.10.1.John MacFarlane1-7/+3
ghc 7.10.2 isn't whitelisted yet. https://github.com/travis-ci/travis-ci/issues/4478
2015-08-15Added some travis diagnostics.John MacFarlane1-0/+4
2015-08-15Travis: build with ghc 7.10.2 instead of 7.10.1.John MacFarlane1-2/+2
2015-08-15Use real jpg (not empty) for docx tests to avoid warning.John MacFarlane3-0/+0
2015-08-15RST reader: better handling of indirect roles.John MacFarlane3-12/+14
Previously the parser failed on this kind of case .. role:: indirect(code) .. role:: py(indirect) :language: python :py:`hi` Now it currectly recognizes `:py:` as a code role. The previous test for this didn't work, because the name of the indirect role was the same as the language defined its parent, os it didn't really test for this behavior. Updated test.
2015-08-15Merge pull request #2360 from jg/issue-2354John MacFarlane3-22/+56
Org reader: add auto identifiers if not present on headers
2015-08-15Added note to CONTRIBUTING.md about ghc versions and travis.John MacFarlane1-0/+7
2015-08-15Org reader: add auto identifiers if not present on headersJuliusz Gonera3-22/+56
Refs #2354 This should also fix the table of contents (--toc) when generating a html file from org input
2015-08-13RST writer: ensure that `\ ` is inserted when needed...John MacFarlane1-0/+2
...before Cite and Span elements that begin with a "complex" element. Closes jgm/pandoc-citeproc#157.
2015-08-13Updated man page.John MacFarlane1-16/+54
2015-08-13Added `--bash-completion` option.John MacFarlane4-1/+89
This generates a bash completion script. To use: eval "$(pandoc --bash-completion)"
2015-08-13Added stack install instructions to INSTALL.John MacFarlane1-2/+20
2015-08-13Added a stack.yaml.John MacFarlane1-0/+11
2015-08-12RST writer: Don't insert `\ ` when complex expression in matched pairs.John MacFarlane1-3/+4
E.g. `` [:sup:`3`] `` is okay; you don't need `` [:sup:`3`\ ] ``.
2015-08-11LaTeX template: reverted change in abstract position.John MacFarlane1-6/+5
2015-08-11Revert "LaTeX template: move abstract to before `\maketitle`."John MacFarlane1-5/+8
This reverts commit aa08b4cd677b975cf63c451a3414df447e31b55c.
2015-08-10EPUB TOC: replace literal "<br/>" with space.John MacFarlane1-0/+1
Closes #2105.
2015-08-10Update version to 1.15.1.John MacFarlane1-1/+1
2015-08-10EPUB reader: stop mangling external URLs.John MacFarlane3-15/+8
Closes #2284. Note the changes to the test suite. In each case, a mangled external link has been fixed, so these are all positive.
2015-08-10Allow latest criterion version.John MacFarlane1-1/+1
2015-08-10Docx writer: Moved invalid character stripping to `formattedString`.John MacFarlane1-4/+4
This avoids an inefficient generic traversal. Updates f3aa03e. Closes #2356.
2015-08-09LaTeX template: move abstract to before `\maketitle`.John MacFarlane1-8/+5
See http://tex.stackexchange.com/questions/139469/to-have-abstract-in-the-docu ment-class-revtex
2015-08-08Text.Pandoc: disable auto_identifiers for epub.John MacFarlane1-2/+1
The epub writer inserts its own auto identifiers; this is more complex due to splitting into "chapter" files.
2015-08-08Updated html reader for new automatic header attributes.John MacFarlane1-33/+33
2015-08-08MediaWiki reader: handle unquoted table attributes.John MacFarlane2-3/+3
Closes #2355.
2015-08-08Revert "Travis: call test program directly rather than by cabal."John MacFarlane1-4/+1
This reverts commit 8bcaea5bd18c4dc26319d9ee9cb5c39de0ba2ed3.
2015-08-08Travis: call test program directly rather than by cabal.John MacFarlane1-1/+4
2015-08-08Clarified what is "out of scope" in README and CONTRIBUTING.md.John MacFarlane2-0/+36
2015-08-08HTML reader: add auto identifiers if not present on headers.John MacFarlane1-7/+17
This makes TOC linking work properly. The same thing needs to be done to the org reader to fix #2354; in addition, `Ext_auto_identifiers` should be added to the list of default extensions for org in Text.Pandoc.
2015-08-08DocBook reader: handle informalexample.John MacFarlane1-1/+4
It is parsed into a Div with class `informalexample`. Closes #2319.
2015-08-08LaTeX reader: Implement \Cite.John MacFarlane1-0/+1
See #2335.
2015-08-07added selectors for nested emphasis (epub.css)Pablo Rodríguez1-1/+4
2015-08-07Merge pull request #2327 from hftf/list-styleJohn MacFarlane5-24/+92
HTML Reader: Correctly parse inline list-style(-type) for <ol>
2015-08-06Clarify docs on block quotes.John MacFarlane1-2/+9
The space after `>` is optional. Closes #2346.
2015-08-01Merge pull request #2338 from trofi/masterJohn MacFarlane1-1/+2
fix build failure with --flags=-https
2015-07-30fix build failure with --flags=-httpsSergei Trofimovich1-1/+2
The issue was originally reported by CasperVector as https://github.com/gentoo-haskell/gentoo-haskell/issues/427 Mainfests itself as a builg failure full of missing zip-archive names: src/Text/Pandoc/Shared.hs:756:49: Not in scope: type constructor or class ‘Archive’ src/Text/Pandoc/Shared.hs:777:38: Not in scope: ‘toEntry’ src/Text/Pandoc/Shared.hs:786:19: Not in scope: ‘toArchive’ Perhaps you meant ‘mbArchive’ (line 778) Included Codec.Archive.Zip unconditionally. Signed-off-by: Sergei Trofimovich <siarheit@google.com>