aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-12-03Textile Reader: image attributesmb211-2/+9
closes #2515
2015-12-02Parse CSS that doesn't contain the optional semicolonmb211-1/+1
2015-12-01Use lts-3.16.John MacFarlane5-5/+5
2015-12-01Docx writer: better handling of PDF images.John MacFarlane1-8/+2
Previously we tried to get the image size from the image even if an explicit size was specified. Since we still can't get image size for PDFs, this made it impossible to use PDF images in docx. Now we don't try to get the image size when a size is already explicitly specified.
2015-11-28stack.full.yaml - use local versions of everything.John MacFarlane2-9/+6
2015-11-24Markdown writer: use raw HTML for link/image attributes whenJohn MacFarlane1-2/+12
the `link_attributes` extension is unset and `raw_html` is set. Closes #2554.
2015-11-24s/mb21/Mauro Bieg/ in README contributor list and changelog.John MacFarlane2-18/+20
2015-11-24Added stack.full.yaml to build pandoc-citeproc as well.John MacFarlane1-0/+22
2015-11-24Added bodyless pipe table test case.John MacFarlane2-1/+11
See #2556.
2015-11-24Updated README for new pipe table behavior.John MacFarlane1-4/+4
2015-11-24Allow pipe tables with no body rows.John MacFarlane1-2/+3
Previously this raised a runtime error. Closes #2556.
2015-11-24LaTeX reader: Improved smart quote parsing.John MacFarlane1-14/+13
This fixes redering of unmatched quotes. Closes #2555.
2015-11-24Improved fetchItem so that C:/Blah/Blah.jpg isn't treated as URL.John MacFarlane1-6/+19
The Haskell URI parsing routines will accept "C:" as a scheme, so we rule that out manually. This helps with `--self-contained` and absolute Windows paths. See http://stackoverflow.com/questions/33899126/rchart-in-markdown-doesnt-render-due-to-invalidurlexception-from-pandoc
2015-11-23LaTeX reader: Use curly quotes for unmatched `.John MacFarlane2-2/+9
Partially addresses #2555. Note that there's still a problem with the code sample given.
2015-11-23Beamer writer: mark frame as fragile when it contains verbatim.John MacFarlane1-5/+1
Closes #1613.
2015-11-23AsciiDoc writer: Fixed code blocks.John MacFarlane2-27/+26
Closes #1861.
2015-11-23Define a `meta-json` variable for all writers.John MacFarlane3-4/+10
This contains a JSON version of all the metadata, in the format selected for the writer. So, for example, to get just the YAML metadata, you can run pandoc with the following custom template: $meta-json$ Closes #2019. The intent is to make it easier for static site generators and other tools to get at the metadata.
2015-11-23Document limitations of --self-contained.John MacFarlane1-1/+5
See #2553.
2015-11-23Docx Reader: Remove DummyListItem typeJesse Rosenthal2-12/+7
Change 5527465c introduced a `DummyListItem` type in Docx/Parse.hs. In retrospect, this seems like it mixes parsing and iterpretation excessively. What's *really* going on is that we have a list item without and associate level or numeric info. We can decide what to do what that in Docx.hs (treat it like a list paragraph), but the parser shouldn't make that decision. This commit makes what is going on a bit more explicit. `LevelInfo` is now a Maybe value in the `ListItem` type. If it's a Nothing, we treat it as a ListParagraph. If it's a Just, it's a normal list item.
2015-11-22hlint fixesJohn MacFarlane1-1/+1
2015-11-22hlint fixesJohn MacFarlane1-12/+13
2015-11-22hlint changesJohn MacFarlane1-3/+1
2015-11-22hlint fixes.John MacFarlane1-3/+1
2015-11-22hlint fixes.John MacFarlane1-5/+5
2015-11-22hlint refactorings.John MacFarlane1-38/+34
2015-11-21Improved Citations section of README.John MacFarlane1-3/+10
Added information about `link-citations` and a link to the pandoc-citeproc man page. Closes #2551.
2015-11-21Travis: only use ghc 7.10.2 for now.John MacFarlane1-9/+9
We can go back to the old cabal-based travis once pandoc-types and texmath have been released.
2015-11-21Travis: Use --system-ghc.John MacFarlane1-5/+1
2015-11-21Added sanity check in .travis.yml to diagnose problem.John MacFarlane1-0/+4
2015-11-21Fixed travis again.John MacFarlane1-2/+1
2015-11-21Fixed travis.John MacFarlane1-1/+4
2015-11-21Back to stack-based .travis.yml; use stack 1.8.John MacFarlane1-44/+18
2015-11-21Simpler travis - build pandoc, pandoc-citeproc, texmath together.John MacFarlane1-36/+1
No caching. This is temporary until we release pandoc-types and texmath.
2015-11-21ImageSize: use safeRead instead of readMaybe.John MacFarlane1-2/+1
readMaybe is only provided in base 4.6+.
2015-11-21Travis, make_travis_yml: reverted addition of 'cabal test' in tgz.John MacFarlane2-2/+2
2015-11-21Further travis tweaks.John MacFarlane1-9/+9
2015-11-21Fix travis problem.John MacFarlane1-1/+1
2015-11-21Fixed .travis.yml syntax.John MacFarlane1-8/+8
2015-11-21travis: install unreleased pandoc-types & texmath.John MacFarlane1-0/+8
2015-11-21Back to cabal-based .travis.yml.John MacFarlane2-19/+72
Modified make_travis_yml so that we do a 'cabal test' with the unpacked tarball.
2015-11-20Tweaked travis.yml.John MacFarlane1-1/+1
2015-11-20More travis/stack tweaks.John MacFarlane1-2/+2
2015-11-20Removed ./travis_long from .travis.yml.John MacFarlane1-2/+2
2015-11-20New stack-based .travis.yml.John MacFarlane1-71/+18
For now, at least, we need to use stack to build in travis, since we depend on unreleased packages.
2015-11-20Updated tests for context template changes.John MacFarlane2-23/+18
2015-11-20context template: use simplefonts for font loading.John MacFarlane1-7/+7
This is needed for things to work on ConTeXt stable from TeXLive 2015. Thanks to Pablo Rodríguez.
2015-11-20context template: Revert use of `\setuphead` in title block.John MacFarlane1-11/+7
Thanks to Andrew Dunning and Rik Kabel.
2015-11-20latex template changes.John MacFarlane5-27/+28
* Removed setting of `subject` in PDF metadata. This used to be set to the subtitle, but really the subtitle need not give the subject. Also, `subtitle` can contain formatting, so we'd need, at least, a plain text version for this. * Moved `header-includes` before setting of `\title`, `\author`, etc. This allows these macros to be redefined. * Use `\subtitle` command for `subtitle`, instead of tacking it on to the title as before. We give a no-op fallback definition if it is not defined. This change should produce much better results in classes that support `\subtitle`. With the default article class, which does not define `\subtitle`, subtitles will no longer be printed unless the user defines `\subtitle` and redefines `\maketitle`. * Moved redefinitions of `\paragraph` and `\subparagraph` to before header-includes.
2015-11-19Renamed link attribute extensions.John MacFarlane4-15/+15
* Old `link_attributes` -> `mmd_link_attributes` * Recently added `common_link_attributes` -> `link_attributes` Note: this change could break some existing workflows.
2015-11-19Merge branch 'new-image-attributes' of https://github.com/mb21/pandoc into ↵John MacFarlane81-748/+1181
mb21-new-image-attributes * Bumped version to 1.16. * Added Attr field to Link and Image. * Added `common_link_attributes` extension. * Updated readers for link attributes. * Updated writers for link attributes. * Updated tests * Updated stack.yaml to build against unreleased versions of pandoc-types and texmath. * Fixed various compiler warnings. Closes #261. TODO: * Relative (percentage) image widths in docx writer. * ODT/OpenDocument writer (untested, same issue about percentage widths). * Update pandoc-citeproc.