aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-09-26Merge pull request #2419 from mb21/bidiJohn MacFarlane3-13/+59
Support bidirectional text output with XeLaTeX, ConTeXt and HTML
2015-09-26Slightly improved description of citation locators in README.John MacFarlane1-6/+10
2015-09-26Merge pull request #2418 from nickbart1980/patch-3John MacFarlane1-1/+8
Give details of locator terms
2015-09-26Support bidirectional text output with XeLaTeX, ConTeXt and HTMLmb213-13/+59
closes #2191
2015-09-26Give details of locator termsnickbart19801-1/+8
2015-09-26Removed unneeded import.John MacFarlane1-1/+0
2015-09-25Correctly recognize book documentclass in metadata.John MacFarlane1-1/+1
Closes #2395.
2015-09-25Markdown reader: handle 'id' and 'class' in parsing key/value attrs.John MacFarlane1-1/+5
# Header {id="myid" class="foo bar"} is now equivalent to # Header {#myid .foo .bar} Closes #2396.
2015-09-25LaTeX, ConTeXt templates: more specific language variables.John MacFarlane1-6/+7
Instead of directly using `lang`, we now use `babel-lang` and `polyglossia-lang` and `context-lang`. These variables are set by the writers to the necessary values, based on the `lang` variable (which now always takes a value in BCP47 format).
2015-09-23Allow syb 0.6.John MacFarlane1-3/+3
2015-09-23LaTeX reader: support longtable.John MacFarlane1-0/+2
Closes #2411.
2015-09-22Merge pull request #2369 from mb21/language-variablesJohn MacFarlane3-16/+192
`lang` variable is now in BCP47 format
2015-09-20Allow aeson 0.10.John MacFarlane2-2/+3
2015-09-20Merge pull request #2406 from tarleb/org-verse-fixJohn MacFarlane2-1/+10
Make sure verse blocks can contain empty lines
2015-09-19Merge pull request #2405 from lierdakil/rest-normalize-amendJohn MacFarlane2-1/+32
[RST Writer] Don't normalize heading levels below input minimum
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.